Instance attributes, Tcp/ip interface object, Class code – Rockwell Automation 20-COMM-ER 20-COMM-ER Dual-Port EtherNet/IP Communication Adapter User Manual User Manual
Page 211: Services, Instances, Class code services instances

Rockwell Automation Publication 20COMM-UM015B-EN-P - July 2013
211
EtherNet/IP Objects Appendix C
Instance Attributes
TCP/IP Interface Object
Class Code
Services
Instances
Get_Attribute_All is supported for instances. The adapter supports one instance
of the TCP/IP Interface object.
Attribute ID
Access Rule
Name
Data Type
Description
0
Get
Read Full
STRUCT of:
STRING[16]
LWORD or
STRUCT
BOOL[16]
Name of the timer
Elapsed time in milliseconds unless timer is a real-time clock (see
attribute 2)
See attribute 3
1
Get
Timer Text
STRING[16]
Name of the timer
2
Get/Set
Timer Value
LWORD -or-
STRUCT of:
WORD
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
Elapsed time in milliseconds unless the timer is a real-time clock.
Real-Time Clock Data:
Milliseconds (0…999)
Seconds (0…59)
Minutes (0…59)
Hours (0…23)
Days (1…31)
Months (1 = January, 12 = December)
Years (since 1972)
3
Get
Timer Descriptor
BOOL[16]
BOOL[0]: (0 = invalid data, 1 = valid data)
BOOL[1]: (0 = elapsed time, 1 = real time)
BOOL[2…15]: Not used
4
Get
International Read Full
STRUCT of:
STRINGN
STRUCT
BOOL[16]
International timer text
Timer value
Timer descriptor
5
Get
International Timer Text
STRINGN
Name of this timer
6
Get
Clock Status
BOOL[32]
Identifies clock status
8
Get/Set
Number of Leap Seconds
INT
Identifies the current number of Leap Seconds.
9
Get
Clock Options
BOOL[32]
Identifies the optional functionality available in the device’s System
Clock.
10
Get/Set
Clock Options Enable
BOOL[32]
Identifies which of the clock’s options are enabled.
Hexadecimal
Decimal
0xF5
245
Service Code
Implemented for:
Service Name
Class
Instance
0x0E
Yes
Yes
Get_Attribute_Single
0x10
No
Yes
Set_Attribute_Single
Number
Description
0
Class Attributes
1
Object Attributes