4
MODBUS(R) STANDARD FUNCTIONS
4.15 Write Multiple Registers (FC: 16)
4
- 52
1
O
VER
VIE
W
2
SYS
T
E
M
CO
NF
IG
U
R
A
T
IO
N
3
S
P
E
CIFICA
TI
ONS
4
MODB
US
(R)
S
TA
NDA
RD
FUN
C
TIO
N
S
5
FUNC
TI
ON
6
PR
E
-O
PER
A
T
ION
AL
P
R
OCED
URE
S A
ND
SE
TTINGS
7
P
A
RA
MET
E
R S
E
TTI
N
G
8
UTIL
ITY P
A
CK
AGE
(G
X Co
nf
ig
u
rat
o
r-M
B)
4.15 Write Multiple Registers (FC: 16)
Writes values to multiple holding registers.
(1) Request message format (Master Slave)
* 1 The number of the specified write points must be matched with the number of bytes.
(2) Response message format (Slave Master)
(When completed normally)
(When completed with an error)
* 2 Exception and error codes are stored in the buffer memory in the case of error completion.
Refer to the following for storage location, confirmation methods, and detailed contents.
Figure 4.85 Write multiple registers (Request message)
Figure 4.86 Write multiple registers (Normal response message)
Figure 4.87 Write multiple registers (Exception message)
Data
(L)
(L)
. . .
(L)
(L)
Function code
Function
code
(10
H
)
Head holding
register number
(0000
H
to FFFF
H
)
Write points
n *1
(0001
H
to 007B
H
)
Number of
bytes, n x 2 *1
(0001
H
to
00F6
H
)
Device
data
1
Device
data
n
(Number of bytes n x 2)
(H)
(H)
(H)
(H)
Data
(L)
(L)
Function code
Function
code
(10
H
)
Head holding register number
(The value same as in the
request message is stored.)
Write points
(The value same as in the request
message is stored.)
(H)
(H)
Data
Function code
Function
code
(90
H
)
Exception
code *
2
Содержание QJ71MB91
Страница 1: ......
Страница 2: ......
Страница 366: ...App 14 Appendix 4 External Dimensions APPENDICES Memo ...
Страница 371: ......
Страница 372: ......