SUbroutines
Posted: Sun Feb 07, 2021 11:08 am
Hello All:
I need to place several parts on a sheet for manufacturing. To get the best packaging I need to place the parts with rotations of 90, 180 and 270 degrees.
My parts need to be cut one at a time and any other part can't be started until the current part is finished.
We have unreliable power and when it crashes I do not want to lose more than necessary.
I am a programmer by trade so it is rather simple for me to read in a Gcode file, strip out the header, part routine and footer.
Then reading another file that contains part positioning information I could generate a new output file that does what I need.
My question to the group is will the controller support subroutine calls. M98 and M99.
see: https://www.cnccookbook.com/m98-m99-g-c ... bprograms/
Will the shark controller support this feature.
Thank You in advance.
I need to place several parts on a sheet for manufacturing. To get the best packaging I need to place the parts with rotations of 90, 180 and 270 degrees.
My parts need to be cut one at a time and any other part can't be started until the current part is finished.
We have unreliable power and when it crashes I do not want to lose more than necessary.
I am a programmer by trade so it is rather simple for me to read in a Gcode file, strip out the header, part routine and footer.
Then reading another file that contains part positioning information I could generate a new output file that does what I need.
My question to the group is will the controller support subroutine calls. M98 and M99.
see: https://www.cnccookbook.com/m98-m99-g-c ... bprograms/
Will the shark controller support this feature.
Thank You in advance.