42
3 MODBUS STANDARD FUNCTION DETAILS
3.12 Write Multiple Registers (FC: 10H)
3.12 Write Multiple Registers (FC: 10H)
Operation description
Writes values to multiple holding register areas.
Request message format (from master to slave)
Ensure that the specified number of write points matches the number of bits specified with the number of
bytes.
Response message format (from slave to master)
â– When completed successfully
â– When completed with an error
• Start holding register number: Stores the same value as the start holding register number of the request message.
• Number of write points: Stores the same value as the number of write points of the request message.
10H
(H) (L) (H) (L) (H) (L) (H) (L)
DataFunction code
Number of write points nStart holding register number
specification
Device data 1Number of
bytes n×2
Device data n
Number of bytes n×2
(0000H to FFFFH) (0001H to 007BH) (01H to F6H)
(H) (L) (H) (L)
10H
Start holding register number
Data
Number of write points
Function code
90H
Data
Exception code
Function code