Explicit Messages Diagnostic Object
Description
The Explicit Messages Diagnostic Object provides diagnostic information about all the explicit messages to the EtherNet/IP stack. The class ID can be changed with the definition OBJ_CLASS_DIAG_EM.
Class Code
The Explicit Connection Diagnostic Object class code is 0x303.
Class Attributes
|
Attribute ID |
Name |
Access |
Description |
|---|---|---|---|
|
0x01 |
Revision |
R |
The explicit message diagnostic object implementation revision. Returns 0x01. |
|
0x02 |
Maximum Instance |
R |
Returns the maximum instance number created that varies from 0 to N (N = maximum number of CIP explicit connections = 32). |
|
0x03 |
Number of Instance |
R |
Returns the number of instances created that varies from 0 to N (N = maximum number of CIP explicit connections = 32). |
Instance Codes
The number of instances created varies from 0 to N, where N is the maximum number of CIP explicit connections which is 32 at present.
Instance Attributes
The following instance attributes are supported:
|
Attribute ID |
Name |
Access |
Description |
|---|---|---|---|
|
0x01 |
isUsed |
R |
Uses explicit message |
|
0x02 |
wType |
R |
|
|
0x03 |
bConnected |
R |
Connected (1) or UCMM (0) |
|
0x04 |
Originator connection ID |
R |
O to T connection ID |
|
0x05 |
Originator IP |
R |
– |
|
0x06 |
Originator TCP Port |
R |
– |
|
0x07 |
Target connection ID |
R |
T to O Connection ID |
|
0x08 |
Target IP |
R |
– |
|
0x09 |
Target TCP Port |
R |
– |
|
0x10 |
Message Send Counter |
R |
Incremented each time a Class 3 CIP message is sent on the connection. |
|
0x11 |
Message Receive Counter |
R |
Incremented each time a Class 3 CIP message is received on the connection. |
|
0x12 |
Status |
R |
CIP status of the last explicit message response |
|
0x13 |
Extended status |
R |
– |
Instance Services
|
Service Code |
Name |
Description |
|---|---|---|
|
0x01 |
Get Attribute All |
Returns the value of all instance attributes |
|
0x0E |
Get Attribute Single |
Returns the value of the specified attribute |