- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- Alternate Spindle control using Step/Direction
Alternate Spindle control using Step/Direction
21 Jul 2012 15:03 #22269
by PCW
Replied by PCW on topic Re:Alternate Spindle control using Step/Direction
If the stepgen is used for spindle this make more sense
Also you should be able to set the stepgen maxaccel to
some low value so it ramps slowly when given stepped
velocity commands
Also you should be able to set the stepgen maxaccel to
some low value so it ramps slowly when given stepped
velocity commands
Please Log in or Create an account to join the conversation.
21 Jul 2012 18:35 #22290
by cmorley
Replied by cmorley on topic Re:Alternate Spindle control using Step/Direction
oh yes velocity and acceleration limits work great.
Oh course the stepgens doesn't use them if you set the enable false.
I connected the motion.spindle-on pin to the stepgens enable, so if you turn off the spindle or set the speed to zero
it actually disabled the stepgen which then stoped immediately.
Oh course the stepgens doesn't use them if you set the enable false.
I connected the motion.spindle-on pin to the stepgens enable, so if you turn off the spindle or set the speed to zero
it actually disabled the stepgen which then stoped immediately.
Please Log in or Create an account to join the conversation.
21 Jul 2012 19:05 #22292
by PCW
Replied by PCW on topic Re:Alternate Spindle control using Step/Direction
Right, thats I meant by the first statement.
(connect step enable to machine-on)
(connect step enable to machine-on)
Please Log in or Create an account to join the conversation.
22 Jul 2012 00:08 #22310
by cmorley
Replied by cmorley on topic Re:Alternate Spindle control using Step/Direction
I have pushed the changes to PNCconf. I tested and it now ramps down if you select S0 or M05.
only if you turn the machine off or estop will it try to stop immediately.
In my test rig I am not using an enable to the step drive and if I did, on estop It would coast to a stop.
only if you turn the machine off or estop will it try to stop immediately.
In my test rig I am not using an enable to the step drive and if I did, on estop It would coast to a stop.
Please Log in or Create an account to join the conversation.
Moderators: cmorley
- Configuring LinuxCNC
- Configuration Tools
- PnCConf Wizard
- Alternate Spindle control using Step/Direction
Time to create page: 0.061 seconds