Alternate Spindle control using Step/Direction

More
21 Jul 2012 15:03 #22269 by PCW
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

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

More
21 Jul 2012 18:35 #22290 by cmorley
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.

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

More
21 Jul 2012 19:05 #22292 by PCW
Right, thats I meant by the first statement.
(connect step enable to machine-on)

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

More
22 Jul 2012 00:08 #22310 by cmorley
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.

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

Moderators: cmorley
Time to create page: 0.061 seconds
Powered by Kunena Forum