4 - 16 4 - 16
MELSEC-Q
4 MODBUS
R
STANDARD FUNCTIONS
(2) Response message format (Slave Master)
(When completed normally)
Number of
response
data bytes
(m 2+N 2)
Data
(L)
Function code
Function code
(14
H
)
Device data
1
(H)
(H)
(L)
Sub-request 1
Number of
read bytes
(n1 2+1)
(Number of read bytes n1 2 + 1)
Reference
number
(06
H
)
Device data
n1
(Number of response data bytes m 2 + N 2)
Data
(L)
Device data
1
(H)
(H)
(L)
Sub-request m
Number of
read bytes
(nm 2+1)
Reference
number
(06
H
)
Device data
nm
(Number of response data bytes m 2 + N 2)
(Number of read bytes nm 2 + 1)
"N" in the above diagram represents the total (n1 +
+ nm) of the device
data.
(When completed with an error)
Data
Exception code*
Function code
Function code
(94
H
)
: 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.