4
MODBUS(R) STANDARD FUNCTIONS
4.8 Write Single Coil (FC: 05)
4
- 22
1
O
VER
VIE
W
2
SYS
T
E
M
CO
NF
IG
U
R
A
T
IO
N
3
S
P
E
CIFICA
TI
ONS
4
MODB
US
(R)
S
TA
NDA
RD
FUN
C
TIO
N
S
5
FUNC
TI
ON
6
PR
E
-O
PER
A
T
ION
AL
P
R
OCED
URE
S A
ND
SE
TTINGS
7
P
A
RA
MET
E
R S
E
TTI
N
G
8
UTIL
ITY P
A
CK
AGE
(G
X Co
nf
ig
u
rat
o
r-M
B)
4.8 Write Single Coil (FC: 05)
Writes a value (ON/OFF) to one coil.
(1) Request message format (Master Slave)
(2) Response message format (Slave Master)
(When completed normally)
The slave returns the request message received from the master without change.
(When completed with an error)
* 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.
Figure 4.21 Write single coil (Request message)
Figure 4.22 Write single coil (Exception message)
Data
(L)
(L)
Function code
Function
code
(05
H
)
Coil number
(0000
H
to FFFF
H
)
ON/OFF specification
0000
H
: OFF
FF00
H
: ON
(H)
(H)
Data
Function code
Function
code
(85
H
)
Exception
code*
1
Summary of Contents for QJ71MB91
Page 1: ......
Page 2: ......
Page 366: ...App 14 Appendix 4 External Dimensions APPENDICES Memo ...
Page 371: ......
Page 372: ......