Function Code 16 (Write Multiple Registers) - ABB A43 User Manual

Hide thumbs Also See for A43:
Table of Contents

Advertisement

Communication with Modbus

9.2.2 Function Code 16 (Write multiple registers)

Function code 16 is used to modify settings in the meter, such as date/time, to
General
control output and to reset values, such as power fail counter. It is possible to write
up to 123 consecutive registers in a single request. This means that several
settings can be modified and/or several reset operations can be performed in a
single request.
Request frame
A request frame has the following structure:
Slave
Address
The following is an example of a request (set Date/Time to November 11, 2010,
Example of a
12:13:14):
request
Slave address
Function code
Start address, high byte
Start address, low byte
No. of registers, high byte
No. of registers, low byte
Byte count
Value of register 0x8A00, high byte
Value of register 0x8A00, low byte
Value of register 0x8A01, high byte
Value of register 0x8A01, low byte
Value of register 0x8A02, high byte
Value of register 0x8A02, low byte
Error check (CRC), high byte
Error check (CRC), low byte
In this example the master sends a write request to the slave that has the
Modbus address 1. The first register to write is 0x8A00 and the number of
registers to write is 0x03. This means that the registers 0x8A00 to 0x8A02 are
written. Register 0x8A00 is set to the value 0x0A0B, and so on.
2CMC48001M0201
Revision: C
Function
Start
Code
Address
103
No. of
Byte
Register
Registers
Count
Values
0x01
0x10
0x8A
0x00
0x00
0x03
0x06
0x0A
0x0B
0x0B
0x0C
0x0D
0x0E
0x8C
0x82
Error
Check
A43/A44
User Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

A44

Table of Contents