- Posts: 83
- Thank you received: 0
Help please !!! Servo configuration with stepconf.
- ishman
- Offline
- Premium Member
-
Thanks !Probably not all that relevant with that drive. But a you always stop before changing direction, it doesn't matter too much. 20,000 ought to be safe.
Now I think I have all the numbers needed to run my machine with servo and step/dir with stepconf.
Step Time = 1000
Step Space = 1000
Direction hold = 20000
Direction setup = 20000
Step/Revolution = 10000
Drive Microstepping = ??? (oops! one thing still to understand.)
Pully teeth = 1:1
Lead-screw pitch = 5mm
Maximum Velocity = 1
Maximum Acceleration = 25000/10000*5 = 12.5mm per sec * electronic gear ratio.
Please Log in or Create an account to join the conversation.
- ishman
- Offline
- Premium Member
-
- Posts: 83
- Thank you received: 0
I found an indirect solution is to divide screw pitch according to drives gearing ratio. But I think there should be any direct solution.
Right now I have just jogged and tuned the servo with stepconf because I have only two servo drives expansion board in my hand.
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
- Posts: 7368
- Thank you received: 2181
steps per revolution is meaning the motor - most are 200 steps per rev.
you put 10000 steps per rev which would seem to mean 200 motor steps/rev and 50 microsteps (200x50=10000)
But as you have found out either way will still give you the right scaling. (just wanted you to understand why)
to me your max velocity and max acceleration seem odd - but I never read the rest of the thread.
your max velocity is 1mm/s (60mm per minute) which is pretty damn slow.
but your acceleration is 12.5 mm per sec (x something else) which seems really fast.
and it looks like you calculated the acceleration....I must be missing something
Please Log in or Create an account to join the conversation.
- ishman
- Offline
- Premium Member
-
- Posts: 83
- Thank you received: 0
The reason for my conclusion was when I increased the ratio on screen it changes the speed accordingly. I didn't even touched the drive's gear during test.drive microstepping is just that - the DRIVE'S microstepping factor (nothing to do with linuxcnc internals)
you caught a good point. my velocity is 1mm and acceleration is 12.5mm.............lol.
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
- Posts: 19899
- Thank you received: 4655
I found an indirect solution is to divide screw pitch according to drives gearing ratio. But I think there should be any direct solution.
Well, there is only one number to set the scaling, and that is a combination of all the other factors. So, it doesn't matter how you do it as long as the single scale factor for that axis in the HAL is correct.
Please Log in or Create an account to join the conversation.
- ishman
- Offline
- Premium Member
-
- Posts: 83
- Thank you received: 0
here is the schematic image.
Many thanks in advance.
Please Log in or Create an account to join the conversation.