stepper motor does not move

More
2 weeks 4 days ago - 2 weeks 4 days ago #350250 by PCW
Replied by PCW on topic stepper motor does not move
You are pinging the host PC, not the 7I95T
try:

sudo chrt 99 ping -i .001 -q -c 60000 10.10.10.10

( It will run for 1 minute then print timing statistics )

 
Last edit: 2 weeks 4 days ago by PCW.

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

More
2 weeks 4 days ago #350251 by geebee
Replied by geebee on topic stepper motor does not move
 Please note that according to the advice from tommylight I set the ip adress of the mesacard to 10.10.10.11 instead of 10.10.10.10.In opposition to the ones above the ping results are now with mesacard on the Intel adapter, not the Realtek.

--- 10.10.10.11 ping statistics ---
60000 packets transmitted, 60000 received, 0% packet loss, time 59999ms
rtt min/avg/max/mdev = 0.004/0.005/0.103/0.001 ms
geebee@debian:~$ sudo chrt 99 ping -i .001 -q -c 60000 10.10.10.10
PING 10.10.10.10 (10.10.10.10) 56(84) bytes of data.

--- 10.10.10.10 ping statistics ---
60000 packets transmitted, 60000 received, 0% packet loss, time 59999ms
rtt min/avg/max/mdev = 0.139/0.253/0.368/0.010 ms
geebee@debian:~$ 


 

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

More
2 weeks 4 days ago #350252 by PCW
Replied by PCW on topic stepper motor does not move
The ping times show that the host is set to a 10.10.10.11 IP address and the 7I95T is set to 10.10.10.10

With and Intel MAC you should disable IRQ coalescing:

man hm2_eth

For testing, you can temporarily disable IRQ coalescing with this command:

sudo ethtool -C eno1 rx-usecs 0

( replace en01 with your Ethernet device name if different )

For testing general host latency,  when a base thread is not used (like with Mesa cards), 
you should run the latency test with the base thread disabled:

latency-test 1ms

or

latency-histogram --nobase -sbinsize 500

Also you should go through all the standard latency reducing methods here including the isolcpus grub setting:

linuxcnc.org/docs/html/install/latency-test.html


Just to get things going you should make sure the step time is 5000
and worst case you may need to increase the servo tread period to say 2 ms
(2000000 ns)




 

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

More
2 weeks 4 days ago #350253 by tommylight

 Please note that according to the advice from tommylight I set the ip adress of the mesacard to 10.10.10.11 instead of 10.10.10.10.
 
It clearly states to set the PC network attached to Mesa to 10.10.10.11 or anything else except 10.10.10.10 as this is the actual Mesa card IP.
You have set it correctly as your ping results to 10.10.10.10 prove, so all is good.

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

More
2 weeks 4 days ago #350254 by tommylight

The motor vibrates when it is supposed to move but I cannot see or feel, respectively, any movement.
Causes for that might be wrong motor wiring to drive, or to low current set on the drive.
Check the motor wiring to drive first, there are strict rules on wiring winding A to output A, and winding B to output B.
Then read the manuals and set the drives to correct current for the motors you are using.
-
Was this with the step timing set to something extremely low like 2ns or similar? Why would you change stuff at random?
Friendly advice, stop messing with things and expecting them to work, do a bit of reading before actually wiring and running stuff.

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

More
2 weeks 4 days ago #350255 by tuxcnc
Replied by tuxcnc on topic stepper motor does not move
The stepper motor pins can be checked without any tools.
Disconnect the motor from the controller.
Jump any two pins together.
Turn the motor shaft by hand.
If you feel a clear resistance, the pins belong to the same coil.
If the shaft rotates freely, the pins belong to other coils.
Shaft vibration instead of rotation is a typical symptom of confused wiring.
However, if the engine stands still and squeaks, it is a matter of settings, either the controller or the program.

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

Time to create page: 0.211 seconds
Powered by Kunena Forum