Panasonic FP-XH Series User Manual page 84

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

Advertisement

8.1 Communication Instruction
Operands
Item
Settings
Specify the COM port No. of a master unit, MODBUS command to be
S1
sent, and the unit number of a destination unit.
Specification of
S2
a master unit
Specification of
D
a destination
unit
Specification of
n
a destination
unit
(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 1, MODBUS function code 6, and destination unit No. 10, specify
H160A.
COM port selection (upper four bits)
Port no.
(Note 2)
Depending on the operation memory type specified in operand [S1] and the number of send data
specified in operand [n], the transfer method and the function code of MODBUS command to be sent
vary.
Device type specified
in [S2]
16-Bit device:
WX, WY, WR, WL, DT,
LD
1-bit device
X, Y, R, L
(Note 3)
When "0" is specified for the destination unit number, global transfer is applied. In this process, there is
no response message from a destination unit.
(Note 4)
For the number of send 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.
Flag operations
Name
R9007
R9008
8-8
Operation memory area that stores data to be sent.
Specify a MODBUS address
Specify the number of sent data.
Transfer
method
Register
transmission
Bit
transmission
Description
Turns ON when the [S1] control data value is outside the specified range.
(Note 3)
(Note 2)(Note 4)
HF
H1
COM0
COM1
Send
MODBUS command to be sent
No. of data
[n]
1
Preset single register (06)
HF: Force multiple coils (15)
2 to 127
H10: Preset multiple registers (16)
1
H5: Force single coil (05)
2 to 2040
HF: Force multiple coils (15):
Setting range
(Note 1)
(Note 2)
H0 to HFFFF
1 to 127 words
1 to 2040 bits
H2
H3
COM2
COM3
WUME-FPXHCOMG-02

Advertisement

Table of Contents
loading

Table of Contents