Dpi time object, Class code, Services – Rockwell Automation 20-COMM-Q ControlNet Adapter User Manual
Page 238: Instances, Class attributes, C-28

C-28
ControlNet Objects
20-COMM-C/Q ControlNet Adapter User Manual
Publication 20COMM-UM003F-EN-P
DPI Time Object
Class Code
Services
Instances
The number of instances depends on the number of timers in the device.
Instance 1 is always reserved for a real-time clock although a device may not
support it. The total number of timers can be read in Instance 0, Attribute 2.
Class Attributes
Hexadecimal
Decimal
0x9B
155
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)
0x4000…0x43FF
16384…17407 Adapter
1
Real Time Clock (Predefined)
(not always supported)
0x4400…0x47FF
17408…18431 DPI Port 1
2
Timer 1
0x4800…0x4BFF
18432…19455 DPI Port 2
3
Timer 2
0x4C00…0x4FFF
19456…20479 DPI Port 3
…
…
0x5000…0x53FF
20480…21503 DPI Port 4
0x5400…0x57FF
21504…22527 DPI Port 5
0x5800…0x5BFF
22528…23551 DPI Port 6
0x5C00…0x5FFF
(1)
(1)
These instances are supported only when the adapter is used with a PowerFlex 750-Series drive.
23552…24575 DPI Port 7
0x6000…0x63FF
(1)
24576…25599 DPI Port 8
0x6400…0x67FF
(1)
25600…26623 DPI Port 9
0x6800…0x6BFF
(1)
26624…27647 DPI Port 10
0x6C00…0x6FFF
(1)
27648…28671 DPI Port 11
0x7000…0x73FF
(1)
28672…29695 DPI Port 12
0x7400…0x77FF
(1)
29696…30719 DPI Port 13
0x7800…0x7BFF
(1)
30720…31743 DPI Port 14
Attribute ID Access Rule
Name
Data Type
Description
1
Get
Class Revision
WORD
Revision of object
2
Get
Number of Instances
WORD
Number of timers in the object, excluding the
real-time clock that is predefined.
3
Get
First Device Specific Timer
WORD
Instance of the first timer that is not predefined.
4
Set
Time Command Write
BYTE
0 = No Operation
1 = Clear all timers (Does not clear the real-time
clock or read only timers)
5
Get
Number of Supported Time
Zones
WORD
Number of time zones described in the Time
Zone List attribute.
6
Get
Time Zone List
STRUCT
Identifies a time zone.
7
Get/Set
Active Time Zone ID
WORD
The ID field of the Time Zone List structure for
the desired time zone.