Operan
d
16-Bit device:
32-Bit
device:
Integer
Real
numbe
r
St
rin
g
Index
modifie
r
W
X
W
Y
W
R
W
L
W
S
S
D
D
T
L
D
U
M
WI
W
O
TS
C
S
TE
C
E
IX
K
U
H SF
D
F
" "
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
Bit device
Specification of bit of
word device
Index
modifier
X
Y
R
L
T
C
P
E
SR
IN
OT
DT.n
LD.n
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.6 SEND (MODBUS Master: Function Code Specification)
15-38
WUME-FP7CPUPGR-12
Summary of Contents for FP7 Series
Page 2: ... MEMO 2 WUME FP7CPUPGR 12 ...
Page 18: ... MEMO xviii WUME FP7CPUPGR 12 ...
Page 52: ... MEMO 1 34 WUME FP7CPUPGR 12 ...
Page 104: ... MEMO 2 52 WUME FP7CPUPGR 12 ...
Page 123: ...3 9 ANS AND stack WUME FP7CPUPGR 12 3 19 ...
Page 125: ...3 10 ORS OR Stack WUME FP7CPUPGR 12 3 21 ...
Page 129: ...3 11 PSHS Push stack RDS Read stack POPS Pop stack WUME FP7CPUPGR 12 3 25 ...
Page 190: ...3 26 JP LBL Jump Label 3 86 WUME FP7CPUPGR 12 ...
Page 239: ...Name Description SR8 ER 3 46 ST ST ST ST ST ST Data Comparison Start WUME FP7CPUPGR 12 3 135 ...
Page 246: ... MEMO 3 142 WUME FP7CPUPGR 12 ...
Page 258: ... MEMO 4 12 WUME FP7CPUPGR 12 ...
Page 304: ... MEMO 5 46 WUME FP7CPUPGR 12 ...
Page 321: ...Name Description ER 6 7 DIVFP2 Division FP2 Compatible WUME FP7CPUPGR 12 6 17 ...
Page 348: ... MEMO 6 44 WUME FP7CPUPGR 12 ...
Page 388: ... MEMO 7 40 WUME FP7CPUPGR 12 ...
Page 438: ... MEMO 8 50 WUME FP7CPUPGR 12 ...
Page 450: ... MEMO 9 12 WUME FP7CPUPGR 12 ...
Page 520: ... MEMO 10 70 WUME FP7CPUPGR 12 ...
Page 602: ... MEMO 11 82 WUME FP7CPUPGR 12 ...
Page 622: ... MEMO 12 20 WUME FP7CPUPGR 12 ...
Page 650: ... MEMO 13 28 WUME FP7CPUPGR 12 ...
Page 1160: ... MEMO 18 66 WUME FP7CPUPGR 12 ...
Page 1188: ... MEMO 19 28 WUME FP7CPUPGR 12 ...
Page 1220: ... MEMO WUME FP7CPUPGR 12 ...
Page 1221: ... MEMO WUME FP7CPUPGR 12 ...