Instance attributes, Dpi alarm object, Class code – Rockwell Automation 20-COMM-ER 20-COMM-ER Dual-Port EtherNet/IP Communication Adapter User Manual User Manual
Page 206: Services, Instances, Services instances

206
Rockwell Automation Publication 20COMM-UM015B-EN-P - July 2013
Appendix C EtherNet/IP Objects
Instance Attributes
DPI Alarm Object
Class Code
Products such as PowerFlex drives use this object for alarms or warnings.
Adapters do not support this object.
Services
Instances
The number of instances depends on the maximum number of alarms supported
by the queue. The maximum number of alarms can be read in Instance 0,
Attribute 2.
Attribute ID
Access Rule
Name
Data Type
Description
0
Get
Full/All Information
STRUCT of WORD
STRUCT of:
BYTE
BYTE
STRING[16]
STRUCT of:
LWORD
BOOL[16]
WORD
CONTAINER[n]
Fault code
Fault source
DPI port
DPI Device Object
Fault text
Fault time stamp
Timer value (0 = timer not supported)
BOOL[0]: (0 = invalid data, 1 = valid data)
BOOL[1]: (0 = elapsed time, 1 = real time)
BOOL[2…15]: Not used
Reserved
Reserved
1
Get
Basic Information
STRUCT of WORD
STRUCT of:
BYTE
BYTE
STRUCT of:
LWORD
BOOL[16]
Fault code
Fault source
DPI port
DPI Device Object
Fault time stamp
Timer value (0 = timer not supported)
BOOL[0]: (0 = invalid data, 1 = valid data)
BOOL[1]: (0 = elapsed time, 1 = real time)
BOOL[2…15]: Not used
2
Get
International Fault Text
STRINGN
Text describing the fault with support for Unicode.
Hexadecimal
Decimal
0x98
152
Service Code
Implemented for:
Service Name
Class
Instance
0x0E
Yes
Yes
Get_Attribute_Single
0x10
Yes
Yes
Set_Attribute_Single
Instances (Hex.)
(Dec.)
Device
Example
Description
0x0000…0x3FFF
0…16383
Host
0
Class Attributes (Drive)
Only host devices can have alarms.
1
Most Recent Alarm
2
Second Most Recent Alarm
…
…