Our post processor uses M03/M05 for torch On/Off, we understand that means Start/Stop for our THC's process. We've also noticed that our post processor places an M11P5 and M10P5 for corner in corner out, which seems very useful to use those to deactivate and activate our THC. A look back at the g-code sequence above will show the torch gets to the circle, M03 will start the torch, the THC will do its thing and fire the torch for us, and then calls the M11P5 for the corner. (in this case the corner is a circle) We've tried to use the M11.m1s and M10.m1s in our macros folder to activate and deactivate an output, but cant seem to get it to work. I'm thinking it has something to do with the P5 being in front of the M11 (i.e. M11P5) so, I tried using parameters. The macros files for M11.m1s and M10.m1s look like this:
If it's any help...
The command M11P5 will activate Output#5 and the command M10P5 will deactivate Output#5
only at the instant an axis (any axis) moves.
The command M11P4 / M10P4 will activate / deactivate Output#4 (in exactly the same way) and so on.
You cannot modify the actions of these commands in a macro (as you have found with M11.m1s etc.)
Tweakie.