10. Appendix D: DeviceNet Objects

Attributes of instance 16#01 of class 16#01

ID

Access Name

Need

Type

Value

16#01

Get

Vendor ID

Required

UINT

90

 

All vendor IDs for DeviceNet products are managed by the ODVA. With the LUFP9 gateway, this ID is set to 90

 

(gateways from HMS Fieldbus Systems AB (Hassbjer Micro Sys) ).

 

 

16#02

Get

Device type

Required

UINT

12

The list of the various types of DeviceNet products is managed by the ODVA. This attribute allows a DeviceNet subscriber’s profile to be identified, and the minimum requirements and options commonly used by the subscribers in this profile to be deduced. The LUFP9 gateway is a “Communication Adapter” product (see chapter 3-7. of volume II of the DeviceNet specifications).

16#03

Get

Product code

Required

UINT

60

This attribute is managed by the manufacturer of the product, thus allowing him to characterize his own products. He uses it to identify each of his products within the same product family (“device type” attribute). This allows products with differences in terms of their configurations and/or their options to be characterized.

16#04

Get

Revision

Required

USINT, USINT

3 , 1

Major and minor indices allowing the “Identity Object” to be identified. The value of each of the two members of this attribute may not be null. The conventional representation of the revision indices is “major.minor”, with 3 digits for the minor index, completed to the left by zeros if necessary. The major index is limited to 7 data bits. Its 8th bit is reserved and should be set to zero.

16#05

Get

Status

Required

WORD

(16-bit register)

This attribute is a summary of the product’s general status. This is a 16-bit register:

Bit 0

Allocated to a master

Bit 8

Minor recoverable fault.

 

(predefined master/slave connection set).

Bit 9

Minor unrecoverable fault.

Bit 1

Reserved (value = 2#0).

Bit 10

Major recoverable fault.

Bit 2

Configured product.

Bit 11

Major unrecoverable fault.

Bits 3-7

Reserved (value = 2#00000).

Bits 12-15

Reserved (value = 2#0000).

16#06

Get

Serial number

Required

UDINT

(variable)

The product’s serial number is combined with the “vendor ID” attribute to produce a unique identifier for each DeviceNet product. Each manufacturer must take responsibility for guaranteeing that all the DeviceNet products he manufactures have a unique serial number.

Sample “serial number:” 16# 23 00 DD 20.

16#07

Get

Product name

Required

SHORT_STRING

“Anybus-C DeviceNet”

This attribute gives visual identification method and takes the form of an ASCII string. This text gives a short description of the product, or the product family, equivalent to the “product code” attribute (16#03).

The byte preceding this ASCII string shows the total length of this string, from first to the last character. With the LUFP9 gateway, the total number of bytes included in the “product name” attribute is set to 24. The “Anybus- C DeviceNet” string has 18 characters (including spaces). The whole content of the “product name” attribute, with the LUFP9 gateway, is therefore equal to: 16# 12 41 6E 79 62 75 73 2D 43 20 44 65 76 69 63 65 4E 65 74 00 00 00 00 00. The bytes which are not shown in bold are the content of the ASCII string (length = 16#12).

16#09

Get

Configuration consistency value

Optional

UINT

(variable)

The value of this attribute allows the validity of the product’s configuration to be checked. The product automatically updates this attribute when the value of any non-volatile attribute is changed. The product’s behaviour when an error in the integrity of the configuration is detected is specific to each type of product. In the same way, the method used to calculate the value of this attribute depends entirely on the product: CRC, unit counter, etc.

So this attribute allows a DeviceNet master, for instance, to check that the configuration of the DeviceNet product has not been changed.

N.B. In addition to calculating the value of this attribute, the LUFP9 gateway uses its LED s DEVICE STATUS to warn the user when its configuration is not valid (the LED flashes red/green).

Services of instance 16#01 of class 16#01

Service code

Name of the service

Requirement

Description

16#05

Reset

Required

This service allows to restart the gateway (power cycle).

16#0E

Get_Attribute_Single

Required

This service allows to read the value of one of the instance attributes.

96

Page 96
Image 96
Schneider Electric LUFP9 user manual Attributes of instance 16#01 of class 16#01, Services of instance 16#01 of class 16#01