4
MODBUS(R) STANDARD FUNCTIONS
4.15 Write Multiple Registers (FC: 16)
4 - 52
1
OVERVIEW
2
SYSTEM
CONFIGURATION
3
SPECIFICATIONS
4
MODBUS(R) STANDARD
FUNCTIONS
5
FUNCTION
6
PRE-OPERATIONAL
PROCEDURES AND
SETTINGS
7
PARAMETER SETTING
8
UTILITY PACKAGE
(GX Configurator-MB)
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.
Section 11.4
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 FFFFH)
Write points
n *1
(0001H to 007BH)
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