Read Holding Register Response; Force Single Coil - Function Code 05; Force Single Coil Query; Force Single Coil Response - ABB C1300 User Manual Supplement

Advanced circular chart recorder
Hide thumbs Also See for C1300:
Table of Contents

Advertisement

C1300
Advanced Circular Chart Recorder

5.2.2 Read Holding Register Response

The addressed slave responds with its address and function code, followed by the information field. The information field contains 1
byte describing the quantity of data bytes to be returned. The contents of each register requested (DATA) is two bytes, the first byte
includes the high order bits and the second the low order bits.
Example – the response to the read holding register query shows the following:
Alarm trip A1 – 150
Alarm trip B1 – 50
Alarm trip C1 – 100
Alarm trip D1 – 400
Alarm trip A2 – 0
Alarm trip B2 – 0
Byte
Address Function
Count
01
03
0C
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 do not affect the coil.
Note. To write to a coil the coil offset address must be used, e.g. to write to coil 149, the coil address 148(94H) is transmitted.
The use of slave address zero (broadcast mode) forces all attached slaves to modify the desired coil.
Example – a force single coil request to switch ON coil address 149 (auto/manual state, channel 1) in slave 01 is shown below.
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
10
Holding
Holding
Register 121
Register 122
Register 123
High
Low
High
Low
00
96
00
32
Coil Offset
High
Low
00
94
Coil Offset
High
Low
00
94
Holding
Holding
Register 124
Register 125
High
Low
High
Low
High
00
64
00
90
Data Value High
High
FF
Data Value High
High
FF
5 Modbus Functions
Holding
Holding
Error Check Field
Register 126
Low
High
Low
00
00
00
00
Error Check Field
Low
00
CD
Error Check Field
Low
00
CD
IM/C1300–MOD
(CRC-16)
D9
91
(CRC-16)
D6
(CRC-16)
D6
Rev. C

Advertisement

Table of Contents
loading

Table of Contents