Services, Device mode object (class id 320h), Class attributes – Rockwell Automation 1440-TPS02-01RB XM-320 Position Module User Manual

Page 109: Instance attributes, Class attributes instance attributes, Device mode object (class id 320

Advertising
background image

Publication GMSI10-UM005C-EN-P - May 2010

DeviceNet Objects 101

Services

1

Attributes can only be set while the device is in Program Mode. See the description of the Device Mode Object
for more information.

Device Mode Object
(Class ID 320

H

)

The Device Mode Object is used to control access to the configuration
parameters in the module. This object’s Device Mode attribute must be in
PROGRAM mode to allow the module’s configuration parameters to be "Set"
(see Services). Attempts to set the configuration parameters while the Device
Mode is in RUN mode will return an error. Note that the module collects
measurements while in RUN mode but not while it is in PROGRAM mode.

Class Attributes

The Device Mode Object provides no class attributes.

Instance Attributes

Setting the Device Mode attribute to "1" (RUN) is equivalent to executing the
Start service. Setting the Device Mode attribute to "2" (PROGRAM) is
equivalent to executing the Stop service.

Table C.32 Alarm Object Services

Service
Code

Class/Instance Usage

Name

Description

0E

h

Instance

Get_Attribute_Single

Returns a single attribute.

10

h

Instance

Set_Attribute_Single

Sets a single attribute.

1

Table C.33 Device Mode Object Instance Attributes

Attr ID

Access
Rule

Name Data

Type

Description

Semantics

3

Get/Set

Device Mode

UINT

The operating mode of the
module.

0 = Power Up
1 = RUN
2 = PROGRAM

199

Set

Backdoor
Service

USINT

Setting this attribute is
equivalent to requesting
the specified service.

Set to one of the following
values to perform the specified
service:
0x05 = Reset
0x09 = Delete
0x15 = Restore
0x16 = Save

Advertising