[F146 Recv] Data Reception (Modbus Master: Function Code Specification) - Panasonic FP0H User Manual

Programmable controller
Hide thumbs Also See for FP0H:
Table of Contents

Advertisement

Instruction References
8.2.5 [F146 RECV] Data Reception (MODBUS Master: Function Code
Specification)
 Instruction format
R0
 Devices that can be specified (indicated by ●)
Oper-
WX
WY
ands
S1
S2
n
D
(*1): A character constant cannot be specified.
 Operands
Items
Settings
Specify the COM port No. of a master unit, transmission MODBUS
S1
command, and the unit number of a destination unit.
Specification of
S2
a destination unit
Specification of
n
a destination unit
Specification of
D
a master 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 No. 1, MODBUS function code 3, and destination unit No.10, specify
H130A.
[S1]:
COM port
Command
(H1 / H2 / HF)
(H1 to H4)
(Note 2): 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
(Note 3): 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.
8-10
F146 RECV
WR
WL
SV
EV
Specify a MODBUS address
Specify the number of receive data. (Note 1) (Note 2)
Operation memory area that stores receive data.
Unit No. (H01 to HFF)
(1 to 255)
Transfer method
Register
transmission
Bit transmission
DT10
H10
H20
S1
S2
DT
LD
In
SWR SDT
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)
DT50
n
D
Constant
Index
modifier
K
H
(*1)
Setting range
(Note 1)
H0 to HFFFF
1 to 127 words
1 to 2040 bits

Advertisement

Table of Contents
loading

Table of Contents