Panasonic FP-XH Series User Manual page 86

Hide thumbs Also See for FP-XH Series:
Table of Contents

Advertisement

8.1 Communication Instruction
(Note 1)
In [S1], specify the combination of the COM port No. of a master unit, MODBUS function code and the
unit number of a destination unit. When the COM port No. is 0, specify HF for the highest digit.
Example: In the case of COM port No. 1, MODBUS function code 3, and destination unit No. 10,
specify H130A.
COM port selection (upper four bits)
Port no.
(Note 2)
For the number of receive data [n], specify the number of words in the case of register transfer, and
specify the number of bits in the case of bit transfer.
(Note 3)
Depending on the operation memory type specified in operand [D], and the number of receive data
specified in operand [n], the transfer method and the function code of MODBUS command vary.
Device specified in [D]
16-Bit device:
WX, WY, WR, WL, DT, LD
1-bit device
X, Y, R, L
Flag operations
Name
R9007
R9008
(ER)
8-10
Transfer method
Register
transmission
Bit transmission
Description
Turns ON when the [S1] control data value is outside the specified range.
Turns ON when the COM port specification of control data specified in [S1] is not MODBUS
mode.
Turns ON when the number of receive data [n] is 0
Turns ON when the number of receive data is negative
Turns ON when the number of receive data [n] exceeds MODBUS specification
Turns ON when the operation memory area specified in [D] is exceeded if the number of
receive data [n] is received.
HF
H1
COM0
COM1
MODBUS command to be sent
H1: Read coil state (01)
H2: Read input state (02)
H3: Read hold register (03)
H4: Read input register (04)
H1: Read coil state (01)
H2: Read input state (02)
H2
H3
COM2
COM3
WUME-FPXHCOMG-02

Advertisement

Table of Contents
loading

Table of Contents