English (GB)
37
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 14.1.2 CIM/
CIU 200 Modbus communication faults or 14.2.2 CIM/CIU 250
Modbus GSM/GPRS communication faults.
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 Fault finding, section
14.1.2 CIM/CIU 200 Modbus communication faults or 14.2.2 CIM/
CIU 250 Modbus GSM/GPRS communication faults.
13.10 Setting the setpoint
This section shows how to set a new setpoint (reference).
In the example, slave address 0x01 is used, and a value of 55 %
(5500 = 0x157C) is set as new setpoint.
Request from master to slave
Example of response from slave to master
If there is no response from the slave, see section 14.1.2 CIM/
CIU 200 Modbus communication faults or 14.2.2 CIM/CIU 250
Modbus GSM/GPRS communication faults.
Bit Description
0 Communication failure (with the Grundfos E-pump).
1
EEPROM self-test failed (the test is carried out when
system is booted).
2 Grundfos E-pump not supported.
3
Modbus address offset is different from default value, i.e.
it differs from 0.
4 Using software-defined Modbus transmission speed.
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 0x06 Write single register
Start address HI 0x00
Setpoint address
= 00104 (0x0068)
Start address LO 0x67
Value HI 0x15
New setpoint value
= 5500 (0x157C)
Value LO 0x7C
Field Value Description
Slave address 0x01 -
Function code 0x06 Write single register
Start address HI 0x00
Setpoint address
= 00104 (0x0068)
Start address LO 0x67
Value HI 0x15
New setpoint value
= 5500 (0x157C)
Value LO 0x7C