I create G codes and use M codes for digital outputs. I use M%1 and call program. These subprograms called M... contains makros, digital i/o on/off.
If you go by apt you can insert code directly and it will be formatted correctly into robodk.
Elseif
you have imported an actual curve form a cad system, I recon the path will be just that and you can use path start and finish. <- never tried this myself
In the window (attached below), how do I trigger a digital output to ON at the start of path and turn OFF at the end of the path.
Thanks
Thanks for sharing your insights. Could you please let me know how can I generate M codes for a certain 3d object made in SolidWorks? Afterwards, how can I incorporate those digital I/O commands in the M code in a way RoboDK can understand?
You should be able to activate the Path start and Path end event triggers and select the plut button (+) right beside the name of the program you want to run.
There you can enter custom code output that will be exported when you generate the program.