● Use the UNITSEL instruction immediately before the SEND/RECV instruction to specify a
target port for communication.
● Master communication is only valid when MODBUS is selected. Confirm that the "Master
communication Clear to send flag" (XC - XF) for the targeted channel is ON, and execute
SEND/RECV instruction.
● Another SEND/RECV instruction cannot be executed for a communication port where master
communication is in progress. Confirm that the "Master communication Sending active flag"
(YC - YF) is OFF, and execute instruction.
● If no response is received, the "Master communication Sending active flag" (YC - YF) remains
ON throughout the timeout setting time specified in CPU configuration.
● A SEND/RECV instruction cannot be executed for a port where slave communication is in
progress.
● Up to 16 SEND/RECV instructions can be executed simultaneously for differing COM. ports.
8.4.2 SEND (MEWTOCOL Master / MODBUS Master)
■
Ladder diagram
(Note 1)
The above figure shows the case that S1=U0 (CPU unit with built-in SCU) and S2=U1 (port number 1)
are specified by the UNITSEL instruction.
■
Available operation units (●: Available)
Operatio
bit
n unit
i
■
List of operands
Operand
Description
S
Starting address of the sender data area
n
Amount of sent data
D1
Partner station number
D2
Starting address of the device in the receiver data area of the partner unit
D3
Starting address of the device area of the master unit that stores the execution result code (1 word)
WUME-FP7COM-07
8.4 MODBUS RTU Master Communication (SEND)
US
SS
●
●
UL
SL
SF
DF
8-23