Dpi time object, Class code, Instances – Rockwell Automation 20-COMM-R Remote I/O Adapter User Manual

Page 105: Class attributes, Instance attributes, C-19

Advertising
background image

CIP Objects

C-19

20-COMM-R Remote I/O Adapter User Manual

Publication 20COMM-UM004D-EN-P

DPI Time Object

Class Code

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

Instance Attributes

Hexadecimal Decimal
0x9B

155

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

Attribute ID Access Rule Name

Data Type

Description

1

Read Only

Class Revision

WORD

Revision of object

2

Read Only

Number of Instances

WORD

Number of timers in the object, excluding the

real-time clock that is predefined.

3

Read Only

First Device Specific

Timer

WORD

Instance of the first timer that is not predefined.

4

Write

Time Command Write

BYTE

0 = No Operation

1 = Clear all timers (Does not clear the real-time

clock or read only timers)

Attribute ID Access Rule Name

Data Type

Description

0

Read Only

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

Read Only

Timer Text

STRING[16]

Name of the timer

2

Read/Write

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

Read Only

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

Advertising