Write Single Coil (Fc: 05) - Mitsubishi QJ71MB91 User Manual

Table of Contents

Advertisement

4
MODBUS(R) STANDARD FUNCTIONS

4.8 Write Single Coil (FC: 05)

Writes a value (ON/OFF) to one coil.
(1) Request message format (Master
(2) Response message format (Slave
(When completed normally)
The slave returns the request message received from the master without change.
(When completed with an error)
Figure 4.22 Write single coil (Exception message)
Function code
Function
Coil number
code
(0000
to FFFF
H
(05
)
H
(H)
Figure 4.21 Write single coil (Request message)
Data
Function code
Function
Exception
code
code*
1
(85
)
H
* 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
ON/OFF specification
)
H
0000
: OFF
H
FF00
: ON
H
(L)
(L)
(H)
Master)
4.8 Write Single Coil (FC: 05)
1
2
3
4
5
6
7
8
4
- 22

Advertisement

Table of Contents
loading

Table of Contents