Class ID
352 (hex), 850 (decimal)
Instance IDs
The I/O Connection Diagnostics object presents the following instance values:
0: class
1...256: instances
Attributes
I/O Connection Diagnostics object attributes are associated with each instance, as follows:
Instance ID = 0 (class attributes):
Attribute ID |
Description |
GET |
SET |
---|---|---|---|
01 |
Revision |
X |
— |
02 |
Max Instance |
X |
— |
X = supported — = not supported |
Instance ID = 1 to 256 (instance attributes):
Attribute ID |
Description |
Type |
GET |
SET |
Value |
---|---|---|---|---|---|
01 |
I/O Communication Diagnostics |
STRUCT of |
X |
X |
|
I/O production counter |
UDINT |
Increments at each production. |
|||
I/O consumption counter |
UDINT |
Increments at each consumption. |
|||
I/O production sent detected error counter |
UINT |
Increments each time a production is not sent. |
|||
I/O consumption received detected errors counter |
UINT |
Increments each time a consumption is received with a detected error. |
|||
CIP connection timeout detected errors |
UINT |
Increments when a connection times out. |
|||
CIP connection opening detected errors |
UINT |
Increments each time a connection is unable to open. |
|||
CIP connection state |
UINT |
State of the connection bit |
|||
CIP last detected error general status |
UINT |
General status of the last error detected on the connection |
|||
CIP last detected error extended status |
UINT |
Extended status of the last error detected on the connection |
|||
Input communication status |
UINT |
Communication status of the inputs (see table, below) |
|||
Output communication status |
UINT |
Communication status of the outputs (see table, below) |
|||
02 |
Connection Diagnostics |
STRUCT of |
X |
X |
|
Production connection ID |
UDINT |
Connection ID for production |
|||
Consumption connection ID |
UDINT |
Connection ID for consumption |
|||
Production RPI |
UDINT |
RPI for production (ms) |
|||
Production API |
UDINT |
API for production |
|||
Consumption RPI |
UDINT |
RPI for consumption |
|||
Consumption API |
UDINT |
API for consumption |
|||
Production connection parameters |
UDINT |
Connection parameters for production |
|||
Consumption connection parameters |
UDINT |
Connection parameters for consumption NOTE: Refer to the ODVA standard:The CIP Networks LibraryVol.
1: Common Industrial ProtocolPublication number: PUB00001
|
|||
Local IP |
UDINT |
— |
|||
Local UDP port |
UINT |
— |
|||
Remote IP |
UDINT |
— |
|||
Remote UDP port |
UINT |
— |
|||
Production multicast IP |
UDINT |
Multicast IP address used for production. If unused, it is 0. |
|||
Consumption multicast IP |
UDINT |
Multicast IP address used for consumption. If unused, it is 0. |
|||
Protocols supported |
UDINT |
Protocols supported on the connection: 1 = EtherNet/IP |
|||
X = supported — = not supported |
The following values describe the structure of the instance attributes: CIP connection state, Input Communication status, and Output communication status:
Bit Number |
Description |
Values |
---|---|---|
15...3 |
Reserved |
0 |
2 |
Idle |
0 = no idle notification 1 = idle notification |
1 |
Consumption inhibited |
0 = consumption started 1 = no consumption |
0 |
Production inhibited |
0 = production started 1 = no production |
Services
The EtherNet/IP Interface Diagnostics object supports the following services:
Service ID |
Description |
Class |
Instance |
Notes |
|
---|---|---|---|---|---|
hex |
dec |
||||
01 |
01 |
Get_Attributes_All |
X |
X |
Returns the value of all attributes. |
0E |
14 |
Get_Attribute_Single |
— |
X |
Returns the value of the specified attribute. |
4C |
76 |
Get_and_Clear |
— |
X |
Returns and clears the values of all instance attributes. |
X = supported — = not supported |