Overview
The IO Connection Diagnostics object presents the instances, attributes and services described below.
Class ID
352 (hex), 850 (decimal)
Instance IDs
The IO Connection Diagnostics object presents two instance values:
0 (class)
257 ... 643 (instance): The instance number matches the connection number in the configuration.
Attributes
IO 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 |
IO Communication Diagnostics |
STRUCT |
X |
X |
|
IO Production Counter |
UDINT |
Increments at each production |
|||
IO Consumption Counter |
UDINT |
Increments at each consumption |
|||
IO Production Send Errors Counter |
UINT |
Increments each time a production is not sent |
|||
IO Consumption Receive Errors Counter |
UINT |
Increments each time a consumption is received with a detected error |
|||
CIP Connection Timeout Errors |
UINT |
Increments when a connection times out |
|||
CIP Connection Opening Errors |
UINT |
Increments each time a connection is unable to open |
|||
CIP Connection State |
UINT |
State of the Connection Bit |
|||
CIP Last Error General Status |
UINT |
General status of the last error detected on the connection |
|||
CIP Last 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 |
X |
X |
|
Production Connection ID |
UDINT |
Connection ID for production |
|||
Consumption Connection ID |
UDINT |
Connection ID for consumption |
|||
Production RPI |
UDINT |
RPI for production |
|||
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 |
|||
Local IP |
UDINT |
— |
|||
Local UDP Port |
UINT |
— |
|||
Remote IP |
UDINT |
— |
|||
Remote UDP Port |
UINT |
— |
|||
Production Multicast IP |
UDINT |
Multicast IP used for production (or 0) |
|||
Consumption Multicast IP |
UDINT |
Multicast IP used for consumption (or 0) |
|||
Protocols Supported |
UDINT |
Protocol 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 performs the following services upon the listed object types:
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 |