Supported Diagnostic Codes
The following Modicon M580 modules support these Modbus diagnostic codes:
CPU with Ethernet I/O scanner service
RIO adapter modules:
BMECRA31210
BMXCRA31210
BMXCRA31200
Diagnostic
Function code 8, subcode 22: Modbus function code 08 provides a variety of diagnostic functions:
Operation Code |
Diag. Control |
Description |
---|---|---|
0x01 |
0x0100 |
Network diagnostic data |
0x0200 |
Read the Ethernet port diagnostic data from the switch manager. |
|
0x0300 |
Read the Modbus TCP/port 502 diagnostic data from the Modbus server. |
|
0x0400 |
Read the Modbus TCP/port 502 connection table from the Modbus server. |
|
0x07F0 |
Read the data structure offset data from the Modbus server. |
|
0x02 |
0x0100 |
Clears the basic network diagnostic data. NOTE: Only specific parameters of basic network
diagnostic data are used to clear requests.
|
0x0200 |
Clears the Ethernet port diagnostic data. NOTE: Only specific parameters
of basic network diagnostic data are used to clear requests.
|
|
0x0300 |
Clears the Modbus TCP/port 502 diagnostic data. NOTE: Only specific
parameters of Modbus port 502 diagnostic data
are used to clear requests.
|
|
0x0400 |
Clears the Modbus TCP/port 502 connection table. NOTE: Only specific
parameters of Modbus port 502 connection data
are used to clear requests.
|
|
0x03 |
0 |
Clears the diagnostic data. NOTE: Only specific parameters of each diagnostic data
are used to clear requests.
|