LCNC and Stepspeed?

More
19 Oct 2026 06:29 #350330 by Holzwurm56
LCNC and Stepspeed? was created by Holzwurm56
Hello,
When using a parallel port, entering the jitter value in Stepconf results in the calculation of the maximum step rate. Does this figure—for example, 33333 Hz—apply to each axis individually, or to all axes combined?
Best regards,
Hans

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

More
19 Oct 2026 11:24 - 19 Oct 2026 11:25 #350337 by tuxcnc
Replied by tuxcnc on topic LCNC and Stepspeed?
Stepconf is there so that the user does not know what he is doing and why, a beautiful example of which we have here.
The stepgen component is called in each base_thread interrupt and sends or does not send pulses to the engine drivers (all of them), and if sent, it updates the counters from which the position reached is calculated.
If you set base_thread period too small, at maximum speed stepgen will send too few pulses and the following error will increase. For example, a machine may work reasonably well for short travels, but refuse to work for long travels.
This will most likely happen with G0, because G1 is generally not driven at maximum speed. With a small machine, it is not worth setting a high maximum speed at all, because it will cause more problems than benefits.
A completely different case is very high jitter, but it occurs sporadically (typical of "saving" energy or cooling the processor by suspending it). Then, many subsequent pulses may be missing and, in extreme cases, the stepper motor may stop (servos cope better with this).

A completely different matter is the microstepping of the controller.
There's a lot of crap written about this on the internet.
It is true that the stepper motor does not work well at full step, but increasing the microstep gives less and less results and other problems increase.
In short, there is a big difference between 1/2 and 1/4 and almost no difference between 1/128 and 1/256. Only that 1/256 is 64 times higher pulse frequency than at 1/4...
Last edit: 19 Oct 2026 11:25 by tuxcnc.

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

Time to create page: 0.170 seconds
Powered by Kunena Forum