10. Appendix D: DeviceNet Objects
10.12. Diagnostic Object (Class 16#AA)
The “Diagnostic Object” has only one instance (Instance ID = 16#01) and is specific to the LUFP9 gateway. It contains a large amount of diagnostic data of all levels. As a result, some of these diagnoses should not be used, as these are reserved for maintenance operations carried out on the gateway or when developing its software. However, the attributes to which they correspond are all described below for the sake of completeness.
Attributes of class 16#AA
ID | Access | Name | Need | Type | Value | Description |
16#01 | Get | Revision | Optional | UINT | 1 | Revision index of the “Diagnostic Object” class. |
Services in class 16#AA
Service code | Name of the service | Need | Description |
16#0E | Get_Attribute_Single | Required | This service allows to read the value of one of the class attributes. |
Attributes of instance 16#01 of class 16#AA
ID | Access | Name | Need | Type | Value |
16#01 | Get | DeviceNet module serial number | Optional | UDINT | (variable) |
The value of the “DeviceNet module serial number” corresponds to the serial number of the gateway’s
16#02 | Get | Vendor ID | Optional | UINT | 16#0001 |
The value of this attribute is set to 16#0001 for the LUFP9 gateway.
The value 16#0000 cannot be used and values between 16#0002 and 16#FFFF are reserved for the gateway suppliers.
16#03 | Get | Fieldbus type | Optional | UINT | 16#0025 |
| With the LUFP9 gateway, this attribute always takes the same value (16#0025), as it characterizes the | ||||
| DeviceNet network. Any other value would be incorrect (e.g. 16#0001 for a | ||||
16#04 | Get | DeviceNet module software version | Optional | UINT | 16#0105 |
This attribute shows the software version on the gateway’s
16#05 | Get | Interrupt count | Optional | UINT | (counter) |
| The value of the “interrupt count” is incremented by one every time an interrupt related to the management of the | ||||
| downstream Modbus network do occur. |
|
|
| |
16#06 | Get | Watchdog counter in | Optional | UINT | 16#0000 |
This counter is not implemented, and using this attribute is pointless.
The primary function of this counter is to provide feedback from the lifetime counter represented by attribute 16#07, which would allow the
16#07
Get | Watchdog counter out | Optional | UINT | (counter) |
The value of this counter is incremented by one every millisecond (at least one writing operation every 50 ms) and operates as an internal presence counter, intended to the gateway’s applicative card, that is to say the card on which the
16#08
Get | Access method status | Optional | USINT [4] | 16# 40 00 00 80 |
This array of 4 USINT elements determines the status of the method used to access the gateway’s memory’s general areas. This attribute is not relevant when using the gateway.
110