Alarm setup on stepper driver
24 Feb 2021 07:30 #199930
by Aciera
You are telling the controller that your x-axis is more than 10 meters long. So as you say, your limits are too large by a factor of 10.
I don't quite understand why you did that. Your STEP_SCALE tells the controller how many steps it needs to generate to move the axis one mm. If you command a move of say 200mm and the DRO shows the axis to have moved 200mm after the motion has stopped then your STEP_SCALE is correct.
MIN_LIMIT and MAX_LIMIT have nothing to do with that. They enable the controller to look ahead and foresee that the axis will exceed its physical limits. This is the "soft limit" of the axis. The dotted lines in the preview window show these soft limits.
Replied by Aciera on topic Alarm setup on stepper driver
To be fair I have to say that in my ini file my correct scale is 160 and to the peace of everything physically working fine I needed to multiply by 10 the max limit distance.
MIN_LIMIT = -10
MAX_LIMIT = 10700
You are telling the controller that your x-axis is more than 10 meters long. So as you say, your limits are too large by a factor of 10.
I don't quite understand why you did that. Your STEP_SCALE tells the controller how many steps it needs to generate to move the axis one mm. If you command a move of say 200mm and the DRO shows the axis to have moved 200mm after the motion has stopped then your STEP_SCALE is correct.
MIN_LIMIT and MAX_LIMIT have nothing to do with that. They enable the controller to look ahead and foresee that the axis will exceed its physical limits. This is the "soft limit" of the axis. The dotted lines in the preview window show these soft limits.
Please Log in or Create an account to join the conversation.
24 Feb 2021 08:22 #199935
by sibelius
Replied by sibelius on topic Alarm setup on stepper driver
Hello
Thanks again for your precious help.
Yes you are right again.
The scale is correct; my calculation considered a 5mm pitch screw and a 800steps per revolution to have a linear movement of 5mm.
So to have a 1mm linear movement the step have to be 160.
That's works; the mistake as you point out is the scale of the max limits.
When I do these sort of thought most of the time I am behind the mirror; I apologize for that.
At this link spiral_test , you can see the machine performing the spiral test.
Thank you very much again for your help.
V.
Thanks again for your precious help.
Yes you are right again.
The scale is correct; my calculation considered a 5mm pitch screw and a 800steps per revolution to have a linear movement of 5mm.
So to have a 1mm linear movement the step have to be 160.
That's works; the mistake as you point out is the scale of the max limits.
When I do these sort of thought most of the time I am behind the mirror; I apologize for that.
At this link spiral_test , you can see the machine performing the spiral test.
Thank you very much again for your help.
V.
Please Log in or Create an account to join the conversation.
24 Feb 2021 08:40 #199938
by Aciera
Replied by Aciera on topic Alarm setup on stepper driver
No need to apologize, we all started somewhere.
Nice machine.
Nice machine.
The following user(s) said Thank You: sibelius
Please Log in or Create an account to join the conversation.
24 Feb 2021 09:25 #199948
by sibelius
Replied by sibelius on topic Alarm setup on stepper driver
Thanks
Took me 3 evening months to build it and it is not finished yet.
V.
Took me 3 evening months to build it and it is not finished yet.
V.
Please Log in or Create an account to join the conversation.
22 Mar 2021 12:13 #203230
by rodw
Replied by rodw on topic Alarm setup on stepper driver
If it helps, I helped a guy on Sunday to get his table going and we achieved in a few hours what took me many months to achieve first time round.
Please Log in or Create an account to join the conversation.
23 Mar 2021 06:49 #203355
by sibelius
Replied by sibelius on topic Alarm setup on stepper driver
Thanks Mr Rod
Your help is always much appreciated.
Regards,
V.
Your help is always much appreciated.
Regards,
V.
The following user(s) said Thank You: rodw
Please Log in or Create an account to join the conversation.
Time to create page: 0.079 seconds