RugBot 1000
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
06 Aug 2019 13:21 - 06 Aug 2019 13:23 #141526
by Todd Zuercher
The stepgen in Linuxcnc still counts steps and calculates position even when in velocity mode. In fact that how many hardware step-generators are controlled.
Replied by Todd Zuercher on topic RugBot 1000
It would be very helpful if the needle stepper would still count steps - even when it is in spindle mode.
The stepgen in Linuxcnc still counts steps and calculates position even when in velocity mode. In fact that how many hardware step-generators are controlled.
Last edit: 06 Aug 2019 13:23 by Todd Zuercher.
Please Log in or Create an account to join the conversation.
11 Aug 2019 20:13 - 11 Aug 2019 20:15 #141927
by Badger
Replied by Badger on topic RugBot 1000
Attached are a basic .ngc file and the .svg from inkscape that created it. The o100 subroutine at the end of the path uses M102 to rotate the needle motor at a fixed rate until the needle is fully retracted and signal P01 is sensed, and then M101 puts the motor back into velocity control, which is stopped at this point. (signal P01 is triggered with each rotation but is ignored except during the subroutine) Signal P0 is triggered when the punch mechanism is manually retracted and also un-enables the needle motor so it doesn't rotate during the move to the next path. Also there is no Z axis controlled by LCNC but the gcode is easier to leave in place than remove, and doesn't effect anything.
Hope this helps.
Hope this helps.
Last edit: 11 Aug 2019 20:15 by Badger.
The following user(s) said Thank You: Aciera
Please Log in or Create an account to join the conversation.
Time to create page: 0.110 seconds