RugBot 1000

More
06 Aug 2019 13:21 - 06 Aug 2019 13:23 #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.
Last edit: 06 Aug 2019 13:23 by Todd Zuercher.

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

More
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.



File Attachment:

File Name: rugbotsamp...8-11.ngc
File Size:35 KB

File Attachment:

File Name: rugbot1501...8-11.hal
File Size:6 KB

File Attachment:

File Name: rugbot1501...8-11.ini
File Size:2 KB

File Attachment:

File Name: M101.txt
File Size:0 KB

File Attachment:

File Name: M102.txt
File Size:0 KB
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
Powered by Kunena Forum