English (GB)
45
13.7 Diagnostics register interpretation
The diagnostics register is interpreted as follows:
A bit value of 1 means true, unless otherwise specified. The
diagnostics register is read using function code 0x08 and
subcode 0x02.
13.8 Diagnostics: Return query data
This function is useful to ensure that the communication path and
slave configuration are correct. It will echo the request in the
response.
In the example, slave address 0x01 is used.
Request from master to slave
Example of response from slave to master
If there is no response from the slave, see section
13.9 Reading the CIM configuration register block
This section shows how to read the first four registers of the CIM
configuration register block.
In the example, slave address 0x01 is used.
Request from master to slave
Example of response from slave to master
If there is no response from the slave, see section
.
13.10 Reading the pit water level
This section shows how to read and interpret the water level of
the pit. In the example, slave address 0x01 is used.
Request from master to slave
Example of response from slave to master
A pit water level value of 220 [0.01 m] equals a water level of 2.20
metres.
If there is no response from the slave, see section
.
Bit
Description
0
Communication failure with the Grundfos product.
1
EEPROM self-test failed. The test is carried out when
system is booted.
2
Grundfos product not supported.
3
Modbus address offset is different from default value, i.e.
it differs from 0.
4
Using software-defined Modbus transmission speed
(Modbus RTU only).
5
RESERVED
6
RESERVED
7
RESERVED
8
RESERVED
9
RESERVED
10
RESERVED
11
RESERVED
12
RESERVED
13
RESERVED
14
RESERVED
15
RESERVED
Field
Value
Description
Slave address
0x01
-
Function code
0x08
Diagnostics
Subcode
0x00
Echo request
Data
0xAB
Test data
Data
0xCD
Test data
Field
Value
Description
Slave address
0x01
-
Function code
0x08
Diagnostics
Subcode
0x00
Echo request
Data
0xAB
Test data
Data
0xCD
Test data
Field
Value
Description
Slave address
0x01
-
Function code
0x04
Read input registers
Start address HI
0x00
Start address: 0x0001
Start address LO
0x00
Quantity HI
0x00
Number of registers:
0x0004
Quantity LO
0x04
Field
Value
Description
Slave address
0x01
-
Function code
0x04
Read input registers
Byte count
0x08
8 bytes follow
00001 HI
0x00
SlaveMinimumReplyDelay
: 0x000A
00001 LO
0x0A
00002 HI
0x00
RegisterOffset: 0x0000
00002 LO
0x00
00003 HI
0x00
Reserved value:
0x0000
00003 LO
0x00
00004 HI
0x00
SoftwareDefinedBitRate:
0x0004
00004 LO
0x04
Field
Value
Description
Slave address
0x01
-
Function code
0x04
Read input registers
Start address HI
0x01
Start address
(00301):0x012D
Start address LO
0x2C
Quantity HI
0x00
Number of registers:
0x0001
Quantity LO
0x01
Field
Value
Description
Slave address
0x01
-
Function code
0x04
Read input registers
Byte count
0x02
2 bytes follow
00301 HI
0x00
Pit water level:
0x00DC (220)
00301 LO
0xDC