Interlocking
If you are going to use more than one Receive and/or Send instruction with the same
server(slave), you need to be sure only one of the instructions is enabled at any point during
the operation. The technique to execute more than one Receive and/or Send instructions in
order is called ‘Interlocking’. When the Interlocking sample program below is executed, one
Receive instruction and one Send instruction is executed one-by-one for each server.
Example Program: Interlocking with Two Servers
Port 1
Ethernet Network
Server
1. Execute the Receive instruction.
2. Execute the Send instruction.
(IP Address = 10.11.0.3)
Continue these steps.
Server
1. Execute the Receive instruction.
2. Execute the Send instruction.
(IP Address = 10.11.0.4)
Continue these steps.
NOTE:
Port 1 can establish the connection with up to 4 servers at the same time.
CLICK PLUS PLC Hardware User Manual, 1st Edition, Rev. B – C2-USER-M
4-39
Chapter 4: PLC Communications