Can't get DoubleStep to work ? SOLVED

More
04 Jun 2019 21:59 #135867 by Lezard
OK got it, so I'll try again tomorrow and will let you know.

Thank you for your time and patience !

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

More
05 Jun 2019 13:32 #135941 by Lezard
So, I've modified my .hal file in order to reset only the Step pins, and not the Dirs, but this didn't seem to improve things much :

The drives still don't receive the expected count of pulses for a given move, as seen from the ASDA monitoring software. The loss is maybe a bit reduced, but I can't tell for sure as it is a bit random.

So, for the time being, I think I'll refrain from using DoubleStep on my current setup. This is not a deal-breaker, and this matter will probably resolve by itself when I upgrade my hardware.

Thank you all for your help,
Best regards

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

More
05 Jun 2019 23:12 #135983 by tommylight
Try it with a bit higher base thread period, might get you what you want.

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

More
06 Jun 2019 14:57 #136057 by andypugh

Try it with a bit higher base thread period, might get you what you want.


Doublestep / reset is independent of the base thread.

What actually happens is that the reset function is called last, and then it busy-waits until there has been at least reset-time nS since the parallel port pins were written. Typically this is a very short wait, or no wait at all, if there is some other function running between parport-write and reset.
The following user(s) said Thank You: tommylight

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

Time to create page: 0.088 seconds
Powered by Kunena Forum