What's the opposite of skipping steps?

More
24 Mar 2026 17:35 #344679 by frankomatic
What's the opposite of skipping steps? was created by frankomatic
My 3 axis router developed an interesting issue a while ago and after a lot of experimentation I'm pretty sure the problem is with the 7i96s.
The first thing that went wrong was that the X axis started moving more than it should. According to math the steps/mm should be 480, but suddenly something decided that about 455 is the correct number. On it's own, that wouldn't be much of a problem, but it seems to occasionally switch to a different number and loose its position.
I have tried the following:
- different acceleration settings (it happily did 3000mm/s2 for a while, returning to within 0,01mm, but sometimes lost steps at 250mm/s2) 
- different stepper drivers, both open and closed loop
- different wiring between the 7i96s and driver
- new linuxcnc installation
- flashed the firmware to the 7i96s again
- completely new configuration through pncconf
- moved x axis from stepgen 0 to stepgen 4

The other axis work perfectly everytime and for about a year so did X, at 480 steps/mm. Z axis has the same motor, driver and encoder as X.
I have access to a 7i96 and I will try it out on friday, but I still want to ask if anyone has a different idea for what could cause this?

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

More
24 Mar 2026 18:51 #344682 by PCW
Replied by PCW on topic What's the opposite of skipping steps?
If the problem stays with the X axis with motor driver and 7I96S channel changes,
it really sounds like the issue is more likely to be mechanical than electrical.

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

More
24 Mar 2026 20:05 #344685 by frankomatic
Replied by frankomatic on topic What's the opposite of skipping steps?
I thought about that, so I marked the position of the pulley on the motor and ballscrew, but they didn't move and the belt didn't skip. Also the ballnut mounting and the bearings on the fixed side of ballscrew have no backlash.
I think the primary problem is the 455 steps/mm. The microstepping is set to 3200, the motor pulley is 20 teeth, the ballscrew pulley has 30 teeth and the ballscrew pitch is 10mm. That should be 480 steps/mm, but if I set it to that it moves about 5% farther than it should. I should somehow count the pulses coming out of the 7i96s, but I haven't been able to convince my oscilloscope to count reliably. Is there something in halscope that would show that?

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

More
24 Mar 2026 20:27 #344687 by PCW
Replied by PCW on topic What's the opposite of skipping steps?
If you want to, you can loop back a step/dir channel to the 7I96S's encoder
Step to A and DIR to B  with the encoder set to UP/DOWN  =  counter mode

This is how the hardware Step generator was originally tested

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

More
24 Mar 2026 22:01 #344689 by frankomatic
Replied by frankomatic on topic What's the opposite of skipping steps?
Thanks, that sounds like exactly what I need. Do I need to connect it electrically or can it all happen in hal?

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

More
24 Mar 2026 22:06 #344690 by PCW
Replied by PCW on topic What's the opposite of skipping steps?
Needs to be done with physical wiring
 

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

More
29 Mar 2026 21:42 - 29 Mar 2026 21:43 #344932 by frankomatic
Replied by frankomatic on topic What's the opposite of skipping steps?
I was finally able to try out your suggestion this weekend and of course stepgen produces exactly the number of pulses it's supposed to.
So I also connected the motor encoder to the 7i96s and used it to calibrate the number of steps/mm and it turned out to be 456, which is exactly 5% fewer than expected. Since my small pulley has 20 teeth, this led me to inspect the mechanics again and it turns out I have T5 pulleys with an AT5 belt, which resulted in it skipping one tooth forward once per motor rotation. Then I guess occasionally it wouldn't skip and my machine would lose it's position.

Thanks for your help, I learned a lot more about hal. I just have one more sort of related question: can you tell me the capacitance and voltage of the C73 capacitor on a 7i96?
Last edit: 29 Mar 2026 21:43 by frankomatic.

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

More
30 Mar 2026 00:15 #344935 by PCW
Replied by PCW on topic What's the opposite of skipping steps?
C73 on a 7I96 (there is no C73 on a 7I96S)  is 22 uF 10V or 16V size 1210

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

More
01 Apr 2026 05:23 #345027 by frankomatic
Replied by frankomatic on topic What's the opposite of skipping steps?
Thank you very much.

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

Moderators: PCWjmelson
Time to create page: 0.110 seconds
Powered by Kunena Forum