Dpi diagnostic object, Class code, Services – Rockwell Automation 20-COMM-D DeviceNet Adapter Series B FRN 2.xxx User Manual

Page 215: Instances, Class attributes, Instance attributes, C-21

Advertising
background image

DeviceNet Objects

C-21

20-COMM-D DeviceNet Adapter User Manual

Publication 20COMM-UM002G-EN-P

DPI Diagnostic Object

Class Code

Services

Instances

The number of instances depends on the maximum number of diagnostic
items in the device. The total number of diagnostic items can be read in
Instance 0, Attribute 2.

Class Attributes

Instance Attributes

Hexadecimal Decimal
0x99

153

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

Drive Diagnostic Item 1

0x4400…0x47FF 17408…18431 DPI Port 1

2

Drive Diagnostic Item 2

0x4800…0x4BFF 18432…19455 DPI Port 2

0x4C00…0x4FFF 19456…20479 DPI Port 3

16384

Class Attributes (Adapter)

0x5000…0x53FF 20480…21503 DPI Port 4

16385

Adapter Diagnostic Item1

0x5400…0x57FF 21504…22527 DPI Port 5

0x5800…0x5BFF 22528…23551 DPI Port 6

Attribute ID Access Rule Name

Data Type Description

1

Get

Class Revision

WORD

1

2

Get

Number of Instances WORD

Number of diagnostic items in the device

3

Get

ENUM Offset

WORD

DPI ENUM object instance offset

Attribute ID Access Rule Name

Data Type

Description

0

Get

Full/All

Information

STRUCT of:

BOOL[32]

CONTAINER

(1)

CONTAINER

CONTAINER

CONTAINER

WORD

WORD

STRING[4]

UINT

UINT

UINT

INT

DWORD

STRING[16]

Descriptor (see

page C-15

)

Value

Minimum value

Maximum value

Default value

Pad Word

Pad Word

Units (e.g., Amp, Hz)

Multiplier

(2)

Divisor

(2)

Base

(2)

Offset

(2)

Link (source of the value) (0 = no link)

Always zero (0)

Parameter name

1

Get/Set

Value

Various

Diagnostic item value

(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 C-16

.

Advertising