Force Single Coil - Function Code 05 - ABB COMMANDER 100 Operating Manual

Modbus (rtu) communications option
Table of Contents

Advertisement

5.3 Force Single Coil – Function Code 05
5.3.1 Force Single Coil Query
This message forces a single coil either ON or OFF. The data value 65,280 (FF00
HEX) sets the coil ON and the value zero turns it OFF. All other values are illegal
and have no effect on coil status.
Note. To write to a coil its offset address (one less than the coil number)
must be used, e.g. to write to coil 30, the coil address 29 (1CH) is transmitted.
The use of slave address zero (broadcast mode) forces all attached slaves to
modify the desired coil.
Example. Switch ON coil address 30 (auto/manual state) in slave 01.
Address
Function
01
05
5.3.2 Force Single Coil Response
The response is confirmation of the query after the coil state has been altered.
Example
Address
Function
01
05
Coil
Coil
Offset
Offset
High
Low
00
1D
Coil
Coil
Offset
Offset
High
Low
00
1D
5 MODBUS FUNCTIONS...
Data
Data
Value
Value
High
Low
FF
00
Data
Data
Value
Value
High
Low
FF
00
Error
Check
(CRC-16)
Field
80
FF
Error
Check
(CRC-16)
Field
28
60
11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Commander 150Commander 160Commander v100

Table of Contents