User`s manual
74
FX3U Series Programmable Controllers
User’s Manual - MODBUS Serial Communication Edition
7 MODBUS Standard Commands
7.15 Write Multiple Registers (Command Code: 0x10)
7.15 Write Multiple Registers (Command Code: 0x10)
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 special data registers and special auxiliary relays in the case
of error completion. Refer to Chapter 6 for storage location, confirmation methods, and other detailed
contents.
Data
(L) (L)
. . .
(L) (L)
Function code
Function
code
(10
H)
Head holding
register number
(0000
H to FFFFH)
Write points
n
*1
(0001
H to 007BH)
Number of
bytes, n x 2
*1
(0002
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