User Manual

CIP/DPI Objects C-17
Instance Attributes
Services
DPI Time Object (Continued)
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
Service Code Implemented for: Service Name
Class Instance
0x0E Yes Yes Get_Attribute_Single
0x10 Yes Yes Set_Attribute_Single