(Note 4): Depending on the transfer method specified for operand [S1] and the device type specified for operand [S2],
the function code of MODBUS command to be sent varies.
Device type specified
for [S2]
16-Bit device:
WX, WY, WR, WL, DT, LD
1-Bit device:
X, Y, R, L
(Note 5): The area of the destination unit is specified by the combination of operands [D] and [n]. When [D]=DT0 and
[n]=K100, the memory area of the destination unit starts with DT100.
Flag operations
Name
Description
Turns ON when the [S1] / [S1+1] control data value is outside the specified range.
Turns ON when the [S2] or [D] area is exceeded, if the number of words specified in [S1] is
taken during transfer in word units.
R9007
Turns ON when [D]+[n] exceeds the [D] area
R9008
Turns ON when the COM port specification of control data specified in [S1+1] is not
(ER)
MODBUS mode.
Turns ON when the [D] area is DT during transfer in bit units.
Turns ON when the [D] device number is not 0.
KEY POINTS
•
This is convenient to write data into Panasonic's PLC via MODBUS RTU.
For MODBUS reference Nos. and device Nos., see "6.1.2Device No.
•
Correspondence Table".
Transfer method
specified for [S1]
Register transmission
Bit transmission
8.2 Communication Instruction
MODBUS function code to be sent
Force multiple coils (15)
Preset multiple registers (16)
Force multiple coils (15):
8-13