Write Single Register, 0X06; Write Multiple Registers, 0X10 - Grundfos CIM 200 Functional Profile And User Manual

Modbus for level control 2x1/2x2
Hide thumbs Also See for CIM 200:
Table of Contents

Advertisement

12.4 Write single register, 0x06

This function is used for writing a single holding register in the
slave. The request telegram specifies the address of the register
that is to be written. Register addresses start from zero, meaning
that a register numbered 10 is addressed as 9.
The normal response is an echo of the request, indicating that the
value was written.
Example of a request from the master to a slave. Note that CRC
fields are not shown.
Field
Address
Function code
Address HI
Address LO
Value HI
Value LO
In the request, the slave with address 1 is asked to write the
value of 0xAFFE to the register at address 0x1000.
Example of a response from a slave to the master. Note that CRC
fields are not shown.
Field
Address
Function code
Address HI
Address LO
Value HI
Value LO
The response is an echo of the request.
46

12.5 Write multiple registers, 0x10

This function is used for writing a block of contiguous holding
registers in the slave. Register addresses start from zero,
meaning that a register numbered 100 is addressed as 99.
Example of a request from the master to a slave. Note that CRC
fields are not shown.
Value
0x01
0x06
0x10
0x00
0xAF
0xFE
In the request, the slave with address 1 is asked to write the
value of 0x0001 to the register at address 0x0020 and the value
Value
of 0xB0B0 to the register at address 0x0021.
Example of a response from a slave to the master. Note that CRC
0x01
fields are not shown.
0x06
0x10
0x00
0xAF
0xFE
The response returns the function code, starting address and
quantity of registers written.
Field
Address
Function code
Start address HI
Start address LO
Quantity HI
Quantity LO
Byte count
Register 33 HI
Register 33 LO
Register 34 HI
Register 34 LO
Field
Address
Function code
Start address HI
Start address LO
Quantity written HI
Quantity written LO
Value
0x01
0x10
0x00
0x20
0x00
0x02
0x04
0x00
0x01
0xB0
0xB0
Value
0x01
0x10
0x00
0x20
0x00
0x02

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cim 260Cim 500

Table of Contents