7
8
9
Rung # 7: When OPEN_SUCCESS is set it triggers READ_REQ, which enables execution of the BLKMOV, MOVE
and COMMREQ functions for the Modbus/TCP Read COMMREQ. READ_REQ is a one-shot (Positive Transition)
coil, activating once when OPEN_SUCCESS transitions from OFF to ON.
Rung # 8: The MOVE WORD function moves a zero to the CRS word referenced in the Command Block (see rung
#9). This clears the CRS word. This rung also resets the READ_FLT output coil of the COMMREQ Function Block
in rung #10.
Rung # 9: The BLKMV INT functions set up the COMMREQ Command Block contents. When this rung is
activated, the constant operands are moved into the memory beginning at the address indicated in the
instruction. The constant operands in this example are defined in the Modbus/TCP Read Example in this
chapter.
GFK-2224Q
Figure 60: COMMREQ Ladder Logic Segment (continued)
January 2017
Chapter 9. Modbus/TCP Client
165