If step lenght > 5.000, I found a wrong timing of the base_thread.
e.g. step len = 20.000, jitter = 20000 results in min base_period = 40.000, max freq = 12.500 Hz displayed on the first page of Stepconf.
This is correct.
But when I do the "test axis" dialog and measure the pulses with a scope, the base_period is approx. 53.000.
The base_period performes well, when steplen <= 5000 is used.
When export ini+hal and use EMC (2.3.4), the base_period is also fine.
Stepconf file
shall be in Category Stepconf
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Archived Bugs"
I think I found the complete solution for this and the previous item:
1980,1983c1980
< if data.doublestep():
< period = int(1e9 / maxvel / scale)
< else:
< period = int(0.5e9 / maxvel / scale)
---
> period = int(1e9 / maxvel / scale)
1992,1995c1989
< if data.doublestep():
< maxvel = 1e9 / minperiod / abs(scale)
< else:
< maxvel = 0.5e9 / minperiod / abs(scale)
---
> maxvel = 1e9 / minperiod / abs(scale)
regards, Gerd
Thank you for the patch. The version you posted on the mailing list has been applied to the v2.4_branch and will be in emc 2.4.0 when it is released.