Hi,
I currently have an air compressor being controlled by solenoid via Mach3 and when a job starts, the M8 signal is sent, air starts, and when the job finishs the M9 command stops it.


However, as my compressor isn't so powerful, it's sort of at an equilabrium and so runs constantly throughout a job. What I'd like to do is have it on only when needed, during cuts, and off during rapids or lead ins..


Short of going through the Gcode with M8/M9/M8/M9.. is there a more elegant solution/program that could handle it? I'm currently using HSMexpress for CAM..


Any tips or tricks?