Re: Auto off on slave when comm. is lost.


[ Follow Ups ] [ Post Followup ] [ Internet PLC Forum ] [ FAQ ]

Posted ByLeon on February 05, 2002 at 13:41:53:

In Reply to: Auto off on slave when comm. is lost. posted byKen Talley on February 04, 2002 at 23:58:22:

Example: Set up a clock pulse to get the master to periodically (says, every second) write to the timerPV[1] of the slave with a value of 50. Once this value is written to the timerPV[1] the timer #1 of the slave will start to count down.

If the RS485 is active, then the value for timerPV[1] will be reset to 50 everytime the master write to the slave via RS485 and will have no chance of timing out.

If within 5 seconds the slave did not receive any input from the master, the timer will time-out, so the slave can use the timer contact for timer #1 to shut off all the outputs.


: Hello,

: I am using two T100MX 1616 PLC's. They are configured in a Master/Slave situation. My question is what is the simplest code to put on the slave that would make all outputs turn off if the RS 485 Communication is lost?

: Thank You,
: Ken Talley




Follow Ups



Post Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Internet PLC Forum ] [ FAQ ]