PmcEditor 1.0 GENERATOR=LUA Code CYCLE=10 OUTFILE=C:\Mach4Hobby\Pmc\Coolantoffwithspin.lua IO LIST FSpinOn at Signal/Spindle On FCoolantout at Signal/Coolant On GEstop at Signal/E-Stop END PROGRAM RUNG COMMENT --This PMC code is to turn off the Coolant output if an Estop is pressed OR if an M5 is sent-- END RUNG PARALLEL CONTACTS 0 FSpinOn 0 Signal/1141 CONTACTS 0 GEstop 1 Signal/164 END OSF COIL 0 FCoolantout 0 0 1 Signal/1144 END