beautypg.com

Formulas for converting, Common services, Object specific services – Rockwell Automation 20-750-DNET PowerFlex DeviceNet Option Module User Manual

Page 128

background image

128

Rockwell Automation Publication 750COM-UM002B-EN-P - October 2012

Appendix C

DeviceNet Objects

Formulas for Converting

Display Value = ((Internal Value + Offset) x Multiplier x Base) / (Divisor x 10

Decimal Places

))

Internal Value = ((Display Value x Divisor x 10

Decimal Places

) / (Multiplier x Base)) - Offset

Common Services

Object Specific Services

The table below lists the parameters for the Get_Attributes_Scattered and
Set_Attributes_Scattered object-specific service:

28

Current Value Is Default

This bit identifies a parameter that will not change if a ‘Reset Defaults’ is commanded. For example, if a drive
contains a Language parameter that is set to German, setting defaults will leave the parameter set to German.
Likewise, if the parameter is set to French, setting defaults will leave the parameter set to French.

29

Use Zero Text

If the ‘Disallow Zero’ bit is set, this bit must be cleared. If the ‘Disallow Zero’ bit is cleared, then:

0 = Use Disabled Text parameter class attribute.
1 = Use Zero Text parameter instance attribute.

30-31 Reserved

Reserved

Bit

Name

Description

Service Code

Implemented for:

Service Name

Class

Instance

0x0E

Yes

Yes

Get_Attribute_Single

0x10

Yes

Yes

Set_Attribute_Single

Service Code

Implemented for:

Service Name

Allocation Size (in bytes)

Class

Instance

Par. Number

Par. Value

0x4D

Yes

No

Get_Attributes_Scattered

4

4

0x4E

Yes

No

Set_Attributes_Scattered

4

4

Name

Data Type

Description

Parameter Number

UDINT

Parameter to read or write

Parameter Value

UDINT

Parameter value to read or write (zero when reading)