Hello Guest it is April 20, 2024, 05:41:44 AM

Author Topic: Turning off outputs  (Read 2136 times)

0 Members and 1 Guest are viewing this topic.

Turning off outputs
« 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?