RugBot 1000

More
7 years 2 months ago #141526 by Todd Zuercher
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.

Please Log in to join the conversation.

More
7 years 2 months ago #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.



Attachment not found

Attachment not found

Attachment not found

Attachment not found

Attachment not found

Please Log in to join the conversation.

Time to create page: 0.041 seconds
Powered by Kunena Forum