Write Multiple Registers - Function Code 16 - ABB COMMANDER 100 Operating Manual

Modbus (rtu) communications option
Table of Contents

Advertisement

...5 MODBUS FUNCTIONS
5.6
Write Multiple Registers – Function Code 16
5.6.1
Write Multiple Registers Query
This message is used to change the contents of up to eight holding registers at a
time. When used with slave address zero (broadcast mode) all slave controllers
load the selected registers with the contents specified.
Note. To write to a register, its offset address (one less than the register
number) must be used, e.g. to write to register 25, the offset address 24 (18H)
is transmitted.
Example. Write the value 500 to the register address 25 (proportional band 1 –
heat) and the value 100 to the register address 26 (integral action time) in slave 01.
Address
Function
01
10
Holding
Register 24
Register 24
High
01
5.6.2
Write Multiple Registers Response
The Write Multiple Registers Response confirms slave identification, function code,
starting register address and quantity only.
Example
Address
Function
01
10
14
Register
Start
Offset High
00
Holding
Holding
Register 25
Low
High
F4
00
Register
Start Offset
High
00
Register
Start
Offset Low
18
Holding
Register 25
Low
64
Register
Number of
Start Offset
Registers
Low
18
00
Number of
Registers
00
02
Error Check
Field
(CRC16)
B2
Error
Check
(CRC-16)
Field
02
C1
Byte
Count
04
E0
CF

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Commander 150Commander 160Commander v100

Table of Contents