Example 1
Write the I2 bit status of Master xLogic to Slave xLogic with No.1 and control Q1 of Slave via RS485 port.
The program of master can be made as follows:
I1of master is used to control the communication .If I1 is high and the communication is established
successfully, one alarm message (text message block) will be displayed on LCD. Then the Q1 of slave
No.1 will be controlled by I2 of master. If I2 is high, Q1 of slave No.1 would be ON and if I2 is low, Q1 of
slave would be OFF.
Note: The Q1 must be free, it means the in the program of Slave No.1, the input pin of Q1 must be not
linked to other blocks.
Example 2, manual mode input value