Instance attributes – Rockwell Automation 20-COMM-Q ControlNet Adapter User Manual

Page 239

Advertising
background image

ControlNet Objects

C-29

20-COMM-C/Q ControlNet Adapter User Manual

Publication 20COMM-UM003F-EN-P

Instance Attributes

8

Get

Active Time Zone Data

STRUCT of:

INT
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
INT
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE

Standard bias
Standard month
Standard day of week
Standard week
Standard hour
Standard minute
Standard second
Daylight offset
Daylight month
Daylight day of week
Daylight week
Daylight hour
Daylight minute
Daylight second

9

Get/Set

Custom Time Zone Data

STRUCT of:

INT
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE
INT
BYTE
BYTE
BYTE
BYTE
BYTE
BYTE

Standard bias
Standard month
Standard day of week
Standard week
Standard hour
Standard minute
Standard second
Daylight offset
Daylight month
Daylight day of week
Daylight week
Daylight hour
Daylight minute
Daylight second

Attribute ID Access Rule

Name

Data Type

Description

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.

Advertising
This manual is related to the following products: