Can't get DoubleStep to work ? SOLVED
- Lezard
- Offline
- Senior Member
Less
More
- Posts: 56
- Thank you received: 4
04 Jun 2019 21:59 #135867
by Lezard
Replied by Lezard on topic Can't get DoubleStep to work ? SOLVED
OK got it, so I'll try again tomorrow and will let you know.
Thank you for your time and patience !
Thank you for your time and patience !
Please Log in or Create an account to join the conversation.
- Lezard
- Offline
- Senior Member
Less
More
- Posts: 56
- Thank you received: 4
05 Jun 2019 13:32 #135941
by Lezard
Replied by Lezard on topic Can't get DoubleStep to work ? SOLVED
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
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.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19529
- Thank you received: 6554
05 Jun 2019 23:12 #135983
by tommylight
Replied by tommylight on topic Can't get DoubleStep to work ? SOLVED
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.
- andypugh
- Offline
- Moderator
Less
More
- Posts: 23178
- Thank you received: 4864
06 Jun 2019 14:57 #136057
by andypugh
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.
Replied by andypugh on topic Can't get DoubleStep to work ? SOLVED
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.079 seconds