English (GB)
69
12.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
12.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.
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
12.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/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/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 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.
5
RESERVED
6
RESERVED
7
RESERVED
8
RESERVED
9
RESERVED
10 RESERVED
11 RESERVED
12 RESERVED
13 RESERVED
14 RESERVED
15 RESERVED
Pumpland.ru
Summary of Contents for CIM 200
Page 92: ...92 Pumpland ru...