Panasonic FP-XH Series User Manual page 65

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

Advertisement

Code Description
MODBUS command
(3)
(Note 1)
MODBUS unit number
(4)
of a destination unit
Memory area of a
(5)
master unit that stores
send data
Destination unit send
(6)
data storage area
(7)
Number of send data
(Note 1)
When H5 or H6 is specified, if multiple points are specified for the number of send data, they are
automatically converted into Command 15 or 16 for sending multiple bits or words.
● Other F145 (SEND) / F146 (RECV) instructions cannot be executed at the same time to a
communication port during master communication. Confirm that the "SEND / RECV instruction
execution flag" is ON, and execute the instructions.
● F145 (SEND) / F146 (RECV) instruction cannot be executed at the same time to a port during
slave communication.
● The processing of F145 (SEND) / F146 (RECV) instruction is handled during the execution of
ED instruction. Check the SEND / RECV instruction execution end flag to confirm the
completion of transmission / reception. Turned ON in the case of an error, and an error code is
stored in DT90123-DT90128. (Example: Function code error = H1)
● In the case of COM0 port, specify "HF" as a COM port No. for an operand of the F145 (SEND) /
F146 (RECV) instruction.
Special relays / special data registers
Operation
SEND/RECV
0: Not executable
instruction
1: Executable
execution flag
SEND/RECV
0: Successful
instruction
execution end
1: Unsuccessful
flag
SEND/RECV
When unsuccessful,
instruction end
an error code is
code
stored.
(Note 1)
The Nos. in brackets indicate devices that are compatible with existing FP-X / FPsigma.
WUME-FPXHCOMG-02
6.3 MODBUS RTU Master Communication (SEND)
HF: COM0 port; H1: COM1 port; H2: COM2 port; H3: COM3 port; H4: COM4
port
Specify a MODBUS command for Bit 11 to Bit 8 of control data.
H5: Command 05 (Force a single coil) or Command 15 (Force multiple coils)
H6: Command 06 (Preset a single register) or Command 16 (Preset multiple
registers)
HD: One-bit transfer by Command 15
HE: One-word transfer by Command 16
Specify a unit number of a destination unit for Bit 7 to Bit 0 of control data.
Range: H00 to HFF (K0 to K255)
Specify the memory area of a master unit that stores send data.
Specify the MODBUS address of the memory area of a destination unit that
stores send data.
In the case of bit data, the max. number is 2040 (07F8H).
In the case of word data, the max. number is 127 (7FH).
COM0
COM1
R913C
R9134
(R9044)
R913D
R9135
(R9045)
DT90123
DT90124
COM2
COM3
R9144
R914C
(R904A)
R9145
R914D
(R904B)
DT90125
DT90127
COM4
R9154
R9155
DT90128
6-7

Advertisement

Table of Contents
loading

Table of Contents