Quote from MASSO Support on February 4, 2019, 8:38 am
Hi Mitch,
You can easily add additional instructions to your Vectric Post Processor to turn on and off relays or other outputs as you describe.
Open your post processor in a text editing software like Wordpad and where you see the M3 instruction to turn on the spindle add a line before or after it to turn on one of the 16 TTL outputs or one of the 6 relay outputs you want to use. You can use the M62 P(output number) command to turn on the output and the M63 P(output number) to turn it off
In the Masso select your desired output 1-16 or Relay 1-6 if you want to use a relay output and allocate a function of M62/M63 P5 Output for example. The in the post processor file add the M62 P5 before or after the M3 command and the M63 P5 before or after the M5 command. The placement of the new command will depend on whether you want the new output to turn on before or after the spindle. Put the M62 P5 and M63 P5 on their own lines, not on the same line as the M3 or M5.
Save the file as a different name so you don't loose the original and can tell it is the modified one. Restart the vectric software for the new Post Processor to take effect. Make a new Gcode file and you will see the extra Gcode command in your file.
I hope this makes sense
Cheers
Peter