Schrittmotoren brummen im Stillstand

More
07 Apr 2023 19:50 #268542 by Julien
Yes, I already did that before.
I double checked it now and did everything in the man including flashing hostmot2 (7i96s_d from your website)
halcmd: loadrt hm2_eth board_ip=192.168.1.121
both successful.

The ping is now around 250ms bit I still get error finishing read! after a few seconds. Sometimes immediately after starting Linuxcnc, sometimes after 10 seconds.

Please Log in or Create an account to join the conversation.

More
07 Apr 2023 23:48 #268564 by PCW
250 usec is pretty bad for a ping

Did you verify that IRQ coalescing is off?

ethtool -c

will show this

If you still have bad Ethernet latency, you may need a different kernel
( many of the default  Debian "real time" kernels aren't )

The latest RT kernel seems quite good (6.3-rc5-rt8)

 

Please Log in or Create an account to join the conversation.

More
08 Apr 2023 01:54 #268575 by scotth
Where can we get (6.3-rc5-rt8)

Please Log in or Create an account to join the conversation.

More
08 Apr 2023 11:37 #268600 by Julien
We can get it here
git.kernel.org/pub/scm/linux/kernel/git/rt/linux-rt-devel.git
but I haven't figured out how to install it, yet.
The following user(s) said Thank You: scotth

Please Log in or Create an account to join the conversation.

More
08 Apr 2023 14:44 #268610 by chris@cnc

Please Log in or Create an account to join the conversation.

More
09 Apr 2023 16:55 #268690 by Julien
So I got 6.3-rc5-rt8 up and running. What a ride...

I double checked hostmot2 + hm2_eth
Checked coalescing is off

Sadly still the same ping. I am close to just buy another intel NUC or something similar in size. Any recommendations?

Please Log in or Create an account to join the conversation.

More
09 Apr 2023 17:09 #268692 by Julien
By the way, it is this PC:

Intel NUC Celeron N5105 Mini PC

Please Log in or Create an account to join the conversation.

More
09 Apr 2023 18:17 - 09 Apr 2023 20:56 #268696 by PCW
Are you sure all power management options are disabled in the BIOS?

Also any network related Intel MEBx BIOS options should be disabled (like AMT)

A kernel command line this may help:

quiet splash intel_idle.max_cstate=1 processor.max_cstate=1 idle=poll intel_idle.max_cstate=1 i915.enable_dc=0
Last edit: 09 Apr 2023 20:56 by PCW.

Please Log in or Create an account to join the conversation.

More
09 Apr 2023 18:27 - 09 Apr 2023 18:31 #268699 by tommylight
What are the step time and step space set at?
Does it still loose connection to Mesa when LinuxCNC is running?
Edit,
Check motor wiring, wrong wiring will cause motors to just buzz in place. Disconnected any wire causes the same thing.
Make sure step from mesa goes to step on the drive, misswiring this also causes buzzing in standstill.
Check the drive current is set correctly, to low causes buzzing...
Last edit: 09 Apr 2023 18:31 by tommylight.

Please Log in or Create an account to join the conversation.

More
10 Apr 2023 21:50 #268785 by Julien
omg it is alive. I turned every BIOS option off that smells just a little bit like "intel" or "power".
Now the ping is around 85us.

Linuxcnc is running stable as long as I dont turn on the motors. When I do so I still get the
hm2/hm2_7i96s.0: Error finishing read!
ITER=5711
from time to time but I was able to set up the basic speeds, ranges and referencing of the axes. I needed some movement of the machine to feel better.

I don't know if and how much time I'll have this week but I will do some switcheroo in the BIOS to figure out what was the problem.

Next step: get finally rid of that finished read error.

My current setup for the axes is:
Driver: MA860H
8x Microstepping (1600 steps per rev)
differential wiring

[JOINT_0]
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 41.666666666666664
MAX_ACCELERATION = 500.0
# Die folgenden Werte sollten 25% größer sein als MAX_VELOCITY und MAX_ACCELERATION
# Bei Verwendung der UMKEHRSPIEL-Kompensation sollte STEPGEN_MAXACCEL um 100% größer sein.
STEPGEN_MAXVEL = 52.08
STEPGEN_MAXACCEL = 625.00
P = 1000.0
I = 0.0
D = 0.0
FF0 = 0.0
FF1 = 1.0
FF2 = 0.0
BIAS = 0.0
DEADBAND = 0.0
MAX_OUTPUT = 0.0
# diese sind in Nanosekunden
DIRSETUP = 10000
DIRHOLD = 10000
STEPLEN = 5000
STEPSPACE = 5000
STEP_SCALE = -1600.0
MIN_LIMIT = -0.01
MAX_LIMIT = 203.2
HOME_OFFSET = 0.000000
HOME_SEARCH_VEL = -5.000000
HOME_LATCH_VEL = 0.100000
HOME_FINAL_VEL = 0.000000
HOME_USE_INDEX = NO
HOME_SEQUENCE = 1

Please Log in or Create an account to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum