beautypg.com

Dpi time object, Class code, Services – Rockwell Automation 20-COMM-ER 20-COMM-ER Dual-Port EtherNet/IP Communication Adapter User Manual User Manual

Page 209: Instances, Class code services instances

background image

Rockwell Automation Publication 20COMM-UM015B-EN-P - July 2013

209

EtherNet/IP Objects Appendix C

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.

1

Get/Set

Value

Various

Diagnostic item value

2

Get

International Diagnostic Item Text

STRUCT of:

STRINGN
STRINGN

Diagnostic name text
Diagnostic units text

3

Get

International Full Read All

STRUCT of:

BOOL[32]
CONTAINER
CONTAINER
CONTAINER
CONTAINER
WORD
WORD
WORD
WORD
WORD
INT
DWORD
BOOL[32]
STRINGN
STRINGN

Descriptor
Value
Minimum
Maximum
Default
Pad Word
Pad Word
Multiplier
Divisor
Base
Offset
Pad
Extended descriptor
Diagnostic name text
Diagnostic units text

(1) A CONTAINER is a 32-bit block of data that contains the data type used by a value. If signed, the value is sign extended. Padding is used in the CONTAINER to ensure that it is

always 32-bits.

(2) This value is used in the formulas used to convert the value between display units and internal units. See

Formulas for Converting on page 204

.

Attribute ID

Access Rule

Name

Data Type

Description

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