Write Multiple Registers (Fc: 10H) - Mitsubishi Electric MELSEC iQ-R Series Reference Manual

Modbus and modbus/tcp
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

3.12

Write Multiple Registers (FC: 10H)

Operation description
Writes values to multiple holding register areas.
Request message format (from master to slave)
Function code
Start holding register number
specification
10H
(0000H to FFFFH)
(H)
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
Function code
Start holding register number
10H
(H)
• 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.
■ When completed with an error
Function code
Data
Exception code
90H
3 MODBUS STANDARD FUNCTION DETAILS
42
3.12 Write Multiple Registers (FC: 10H)
Number of write points n
(0001H to 007BH)
(L)
(H)
(L)
Data
Number of write points
(L)
(H)
Data
Number of
Device data 1
bytes n×2
(01H to F6H)
(H)
(L)
(L)
Device data n
(H)
(L)
Number of bytes n×2

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents