Communication with Modbus
2CMC48001M0201
103
A43/A44
Revision: C
User Manual
9.2.2 Function Code 16 (Write multiple registers)
General
Function code 16 is used to modify settings in the meter, such as date/time, to
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
Function
Start
No. of
Byte
Register
Error
Address
Code
Address
Registers
Count Values
Check
Example of a
The following is an example of a request (set Date/Time to November 11, 2010,
request
12:13:14):
Slave address
0x01
Function code
0x10
Start address, high byte
0x8A
Start address, low byte
0x00
No. of registers, high byte
0x00
No. of registers, low byte
0x03
Byte count
0x06
Value of register 0x8A00, high byte
0x0A
Value of register 0x8A00, low byte
0x0B
Value of register 0x8A01, high byte
0x0B
Value of register 0x8A01, low byte
0x0C
Value of register 0x8A02, high byte
0x0D
Value of register 0x8A02, low byte
0x0E
Error check (CRC), high byte
0x8C
Error check (CRC), low byte
0x82
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.
Summary of Contents for A43
Page 1: ...A43 A44 User Manual ...
Page 40: ...Meter Settings A43 A44 40 2CMC48001M0201 User Manual Revision C ...
Page 55: ...Technical Description 2CMC48001M0201 55 A43 A44 Revision C User Manual ...
Page 58: ...Technical Description A43 A44 58 2CMC48001M0201 User Manual Revision C ...
Page 61: ...Technical Description 2CMC48001M0201 61 A43 A44 Revision C User Manual ...
Page 75: ...Technical Description 2CMC48001M0201 75 A43 A44 Revision C User Manual ...
Page 84: ...Measurement Methods A43 A44 84 2CMC48001M0201 User Manual Revision C ...
Page 91: ...Measurement Methods 2CMC48001M0201 91 A43 A44 Revision C User Manual ...
Page 95: ...Measurement Methods 2CMC48001M0201 95 A43 A44 Revision C User Manual ...
Page 102: ...Communication with Modbus A43 A44 102 2CMC48001M0201 User Manual Revision C ...
Page 107: ...Communication with Modbus 2CMC48001M0201 107 A43 A44 Revision C User Manual ...
Page 131: ...Communication with Modbus 2CMC48001M0201 131 A43 A44 Revision C User Manual ...
Page 147: ...Communication with Modbus 2CMC48001M0201 147 A43 A44 Revision C User Manual ...
Page 154: ...Communication with Modbus A43 A44 154 2CMC48001M0201 User Manual Revision C ...
Page 157: ...Communication with Modbus 2CMC48001M0201 157 A43 A44 Revision C User Manual ...
Page 161: ...Communication with Modbus 2CMC48001M0201 161 A43 A44 Revision C User Manual ...
Page 166: ...Communication with Modbus A43 A44 166 2CMC48001M0201 User Manual Revision C ...
Page 180: ...Communication with M Bus A43 A44 180 2CMC48001M0201 User Manual Revision C ...
Page 182: ...Communication with M Bus A43 A44 182 2CMC48001M0201 User Manual Revision C ...
Page 188: ...Communication with M Bus A43 A44 188 2CMC48001M0201 User Manual Revision C ...
Page 195: ...Communication with M Bus 2CMC48001M0201 195 A43 A44 Revision C User Manual ...
Page 254: ...Communication with M Bus A43 A44 254 2CMC48001M0201 User Manual Revision C ...
Page 257: ...Communication with M Bus 2CMC48001M0201 257 A43 A44 Revision C User Manual ...