Write Single Register (Fc: 06) - Mitsubishi QJ71MB91 User Manual

Table of Contents

Advertisement

4
MODBUS(R) STANDARD FUNCTIONS

4.9 Write Single Register (FC: 06)

Writes a value to one holding register.
(1) Request message format (Master
(2) Response message format (Slave
4
- 23
4.9 Write Single Register (FC: 06)
Function code
Holding register number
Function
(0000
code
H
(06
)
H
(H)
Figure 4.23 Write single register (Request Message)
(When completed normally)
The slave returns the request message received from the master without change.
(When completed with an error)
Function code
Data
Function
Exception
code
1
code*
(86
)
H
Figure 4.24 Write single register (Exception message)
* 1 Exception and error codes are stored in the buffer memory in the case of error completion.
Refer to the following for storage location, confirmation methods, and detailed contents.
Section 11.4
Slave)
Data
Write data
to FFFF
)
(0000
H
H
(L)
(H)
Master)
to FFFF
)
H
(L)

Advertisement

Table of Contents
loading

Table of Contents