Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: rkowash on February 26, 2009, 04:14:54 PM

Title: Turning off outputs
Post by: rkowash on February 26, 2009, 04:14:54 PM
I am running Mach3 with a PLC06 as a modbus slave.  I need to put some sort of monitor on the outputs of the PLC.  When I shut down mach, the PLC does not release the outputs for up to 1 minute.  Is there a simple piece of code I can add into the PLC to see if there is communication with mach and if not shut down the outputs?

Thanks