English (GB)
48
13.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 request from master to slave
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
of 0xB0B0 to the register at address 0x0021.
Example of response from slave to master
The response returns the function code, starting address and
quantity of registers written.
13.6 Diagnostics, 0x08
This function provides a test for checking the communication
system between the master and the Grundfos slave. It contains a
single-byte subcode to identify the test to be performed.
The following subcodes are supported:
Example of request from master to slave
The response is identical to the request.
Example of response from slave to master
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.
Field Value
Address 0x01
Function code 0x10
Start address HI 0x00
Start address LO 0x20
Quantity HI 0x00
Quantity LO 0x02
Byte count 0x04
Register 33 HI 0x00
Register 33 LO 0x01
Register 34 HI 0xB0
Register 34 LO 0xB0
Field Value
Address 0x01
Function code 0x10
Start address HI 0x00
Start address LO 0x20
Quantity written HI 0x00
Quantity written LO 0x02
Subcode Name
0x00
Return query data
Data in this request are to be echoed in the
response. The response must be identical to the
request, so this function is often used to verify
Modbus communication.
0x01
Restart communications
All communication counters are cleared, and the
device is restarted.
0x02
Return diagnostics register
Returns the 16-bit diagnostics register. See section
13.7 Diagnostics register interpretation.
0x04
Force listen only
Forces the device into listen-only mode. This
effectively mutes the device, making it unable to
communicate on the network. To bring the device
back to normal mode, a "Restart communications"
command, code 0x08, subcode 0x01, must be
issued.
0x0A
Clear counters and diagnostics register
Clears all counters and the diagnostics register.
These are also cleared on power-up and restart
0x0B
Return bus message count
Returns the number of messages detected by the
slave.
0x0C
Return bus CRC error count
Returns the number of CRC errors in the slave.
0x0D
Return bus exception count
Returns the number of Modbus exception responses
that the slave has transmitted.
0x0E
Return slave message count
Returns the number of messages that the slave has
processed.
0x0F
Return slave no response count
Returns the number of messages for which the
slave has sent no response.
0x12
Return bus character overrun count
Returns the number of overruns in the slave.
0x14
Clear overrun counter
Clears the overrun counter. This is also cleared on
power-up and restart.
Field Value
Address 0x01
Function code 0x08
Subcode 0x00
Data 0xAB
Data 0xCD
Field Value
Address 0x01
Function code 0x08
Subcode 0x00
Data 0xAB
Data 0xCD
Bit Description
0 Communication failure, with the Grundfos booster system.
1
EEPROM self-test has failed. The test is carried out when
the system is booted.
2 Grundfos booster system is 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
Subcode Name