#include vars.h main() { parameter=15; //OFF command=112+3; //channel 3 message=PLCCMD_SET_CNC_VAR; timer=2;do{timer--;}while(timer>0); parameter=2+16; //Attach to Z command=112+4; //channel 4 turning off message=PLCCMD_SET_CNC_VAR; timer=2;do{timer--;}while(timer>0); exit(99); };