Explicit Message Diagnostic List Object
Description
The Explicit Messages Diagnostic List 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_LIST.
Class Code
The Explicit Connection Diagnostic List Object class code is 0x304.
Class Attributes
|
Attribute ID |
Name |
Access |
Description |
|---|---|---|---|
|
0x01 |
Revision |
R |
The Explicit Connection Diagnostic List 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 concurrent list access supported = 2). |
|
0x03 |
Number of Instance |
R |
Returns the number of instances created that varies from 0 to N (N = maximum number of concurrent list access supported = 2). |
Instance Codes
The number of instances created varies from 0 to N, where N is the maximum number of concurrent list access supported, which are 2.
Instance Services
|
Service Code |
Name |
Description |
|---|---|---|
|
0x01 |
Get Attribute All |
Returns the value of all class attributes. |
|
0x0E |
Get Attribute Single |
Returns the value of the specified attribute. |
|
0x08 |
Create* |
This service creates an instance of the Explicit Connections Diagnostic List object. |
|
0x09 |
Delete* |
This service deletes an instance of the Explicit Connections Diagnostic List object. |
|
0x4B |
Explicit Connections Diagnostic Read |
This service reads the explicit connections diagnostics data from the list. For more information, refer to next section. |
Explicit Connections Diagnostic Read
| ID | Description | Type | Value |
|---|---|---|---|
| 0000 | Explicit message diagnostic index | UINT | To read the index of the next explicit message diagnostic (first index value is 0). |
| 0002 | To read the number of explicit message diagnostic | UINT |
Number of explicit message diagnostic that the requester wants to read.
|
| ID | Description | Type | Value |
|---|---|---|---|
| 0000 | Number of explicit message diagnostic | UINT | Number of explicit message diagnostic in the response |
| 0002+X | Explicit messaging connection diagnostic list | ARRAY of STRUCT | – |
| Explicit message diagnostic index | UINT | Index in accordance to the object instance 0x303 | |
| isUsed | UINT | Explicit message used | |
| wType | UINT | Client (1) or Server (2) | |
| bConnected | UINT | Connected (1) or UCMM (0) | |
| Originator connection id | UDINT | O to T connection ID | |
| Originator IP | UDINT | – | |
| Originator TCP port | UINT | – | |
| Target connection id | UDINT | T to O connection ID | |
| Target IP | UDINT | – | |
| Target TCP port | UINT | – | |
| Msg send counter | UDINT | Increments each time a class 3 CIP message is sent to the connection | |
| Msg receeive counter | UDINT | Increments each time a class 3 CIP message is received from the connection |
| General Status | Extended Status | Status Name | Description |
|---|---|---|---|
| 0x00 | 0000 | Success | No explicit message diagnostic to read. |
| 8000 | Success with bad integrity | No explicit message diagnostic to read, however the set of explicit message diagnostic has changed since the instance was created. The client must delete the instance and create a new one. | |
| 0001 | Success | Mode explicit message diagnostic to read. | |
| 8001 | Success with bad integrity | Mode explicit message diagnostic to read, however the set of explicit message diagnostic has changed since the instance was created. The client must delete the instance and create a new one. |