Panasonic FP7 Series Command Reference Manual page 832

Cpu unit
Hide thumbs Also See for FP7 Series:
Table of Contents

Advertisement

15.6 SEND (MODBUS Master: Function Code Specification)
Operan
d
W
W
X
Y
D2
D3
(Note 1)
When the destination unit is FP7, only global devices can be specified. (Local devices cannot be
specified.)
Available bit devices (●: Available)
Operand
X
S
n
D1
D2
D3
Outline of operation
● The MODBUS command is sent from the communication port of the unit to perform the data
transmission with external devices.
● Data can be read and written by specifying station numbers and memory addresses and
executing the SEND and RECV instructions in a user program, because PLC automatically
creates messages according to the protocol.
● Select a communication mode in the configuration menu of the tool software FPWIN GR7.
● Specify the MODBUS command to be used, and the partner MODBUS station number, in a
Hex format in [D1].
● When the SEND instruction is executed, data are read from the device in the master unit,
starting with [S], and stored in the address starting with [D2] of the partner unit.
● The transfer method (register transfer/bit transfer) and the type of MODBUS command that
can be used vary, depending on the type of device specified by [S] and data amount
specified by [n].
● The amount of sent data [n] is specified in words for the register transfer, and in the number
of bits for the bit transfer.
● The execution result code is stored in the one-word area of the master unit that is specified
by [D3].
Specification of [S], [n] and [D1]
● The transfer method and the MODBUS function code that can be used vary, depending on
the type of device specified by the operand [S] and the sent data amount specified by [n].
15-38
16-Bit device:
W
W
W
S
D
R
L
S
D
T
Bit device
Y
R
L
T
C
32-Bit
device:
TS
TE
L
U
W
WI
C
C
D
M
O
S
E
P
E
SR
IN
Real
Integer
numbe
IX
K
H
SF
(N
ote
1)
Specification of bit of
word device
OT
DT.n
LD.n
WUME-FP7CPUPGR-12
St
rin
r
g
Index
modifie
r
D
" "
F
Index
modifier

Advertisement

Table of Contents
loading

Table of Contents