4 - 8 4 - 8
MELSEC-Q
4 MODBUS
R
STANDARD FUNCTIONS
4.3.3 Read holding registers (FC: 03)
Reads the values of one or more holding registers.
Number of accessible devices with one message
1 to 125 points
(1) Request message format (Master Slave)
Head holding register number
Data
Read points
(H)
(L)
(H)
(L)
Function code
Function code
(0000
H
to FFFF
H
)
(03
H
)
(0001
H
to 007D
H
)
(2) Response message format (Slave Master)
(When completed normally)
Data
(H)
Function code
Function code
Device data
1
Device data
n
(Number of read bytes n 2)
*1:
(L)
(H)
(L)
Number of
read bytes
n 2*1
(03
H
)
For example, when n = 4, the number of
read bytes is 4 2 = 8 bytes.
(When completed with an error)
Data
Function code
Function code
(83
H
)
Exception
code*
2: When completed with an error, the exception code and error code are stored
into the buffer memory.
Refer to Section 11.3 for the storage location, confirmation method and more
details.