stepper motor does not move

More
12 Oct 2026 14:40 #350213 by geebee
stepper motor does not move was created by geebee
Hallo

I cant get my stepper motor to turn. It is linuxcnc version 2.9.4, a leadshine cs-d508 and a transmotec SHW4247-09-168. The configuration files originate from a 7i95t setup via MesaCT, but I have tried to adjust the prarameters of the ini file in order to get it running. When starting linuxcnc (axis gui) it powers the motor up (blocks the shaft) and at first does not show any errors. (Later with the test ngc file error finishing read and joint following error) The gui shows the movements according to the test ngc, but goes beyond x=50.

Only the x axis was set up since I wanted to keep ini and hal files as simple as possible in order to alleviate debuging and error tracking. I am aware the cs-d508 is a closed loop driver. After the system is correctly behaving, I intend to retrofit a DRO to my lathe and use its signal for a closed loop system

It does turn when used with an arduino and tb6600 With linuxcnc it turns neither with cs-d508 nur tb6600.
Any ideas what I am missing ?

Thx

geebee

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

More
12 Oct 2026 23:37 - 12 Oct 2026 23:38 #350225 by PCW
Replied by PCW on topic stepper motor does not move
You have the step length set to 10 ns

STEPLEN = 10

I would try 5 usec to start:

STEPLEN = 5000
Last edit: 12 Oct 2026 23:38 by PCW.

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

More
13 Oct 2026 08:39 #350228 by geebee
Replied by geebee on topic stepper motor does not move
steplengths 5000, 7000, and 15000 all give joint following or finishing read errors.
Obviously, my parameters for speeds, acceleration, and the values in [joint 0] are still far from the right ballpark.

In addition to this, my ini in section [MESA] has an empty parameter called firmware. I copied these files in the directory as assigned by mesact. I am not sure what is required here but I want to emphasize the 7i95t manual strongly recommends not to use firmware for the 7i95 ( no T at the end) board.

Does someone have any advice on this ?

Cheers

geebee

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

More
13 Oct 2026 14:22 #350230 by PCW
Replied by PCW on topic stepper motor does not move
Those errors are due to host network latency issues and this must be solved before proceeding.

You do not need to change any firmware unless you need to support an added parallel
daughtercard or add a feature like Modbus support or step/dir homing to index.

To get a rough idea where you are network latency wise, run this command:

sudo chrt 99 ping -i .001 -q -c 60000 [card_ip_address]

Where [card_ip_address] is either 192.168.1.121 or 10.10.10.10 depending on 7I95T jumpering.

The command will run for 1 minute and then print timing statistics,   please post the result here.

Also, what is the host hardware?

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

Time to create page: 0.152 seconds
Powered by Kunena Forum