Write Single Coil (Fc: 05H) - Mitsubishi Electric MELSEC iQ-R Series Reference Manual

Modbus and modbus/tcp
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

3.5

Write Single Coil (FC: 05H)

Operation description
Writes a value (ON/OFF) to one coil.
Request message format (from master to slave)
Function code
Coil number specification
05H
(H)
Response message format (from slave to master)
■ When completed successfully
The slave returns the request message received from the master as-is.
■ When completed with an error
Function code
Data
Exception code
85H
3 MODBUS STANDARD FUNCTION DETAILS
18
3.5 Write Single Coil (FC: 05H)
Data
(0000H to FFFFH)
(L)
ON/OFF specification
FF00H: ON
0000H: OFF
(H)
(L)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents