F145 Send] Data Transmission (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.4 [F145 SEND] Data Transmission (MODBUS Master: Function Code
Specification)
 Instruction format
R0
 Devices that can be specified (indicated by ●)
Oper-
WX
WY
ands
S1
S2
D
n
(*1): A character constant cannot be specified.
 Operands
Items
Settings
Specify the COM port No. of a master unit, send MODBUS command, and
S1
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.
[S1]:
COM port
Command
(H1 / H2 / HF)
(H5 to H6)
(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 for [S2]
16-Bit device:
WX, WY, WR, WL, DT,
LD
1-Bit device:
X, Y, R, L
(Note 3): 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.
(Note 4): 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.
8-8
F145 SEND
WR
WL
SV
EV
Operation memory area that stores data to be sent.
Specify a MODBUS address
Specify the number of send data. (Note 1) (Note 2)
Unit No. (H01 to HFF)
(1 to 255)
Transfer
method
Register
transmission
Bit
transmission
DT10
DT20
S1
S2
DT
LD
In
SWR SDT
Number of
MODBUS command to be sent
send 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):
H10
H20
D
n
Constant
K
H
Setting range
(Note 1)
H0 to HFFFF
1 to 127 words
1 to 2040 bits
Index
modifier
(*1)

Advertisement

Table of Contents
loading

Table of Contents