Formulas for converting, Common services, Object specific services – Rockwell Automation 20-COMM-Q ControlNet Adapter User Manual
Page 245
ControlNet Objects
C-35
20-COMM-C/Q ControlNet Adapter User Manual
Publication 20COMM-UM003F-EN-P
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.
27
Command Parameter
This parameter commands the drive to take an action, such as ‘Reset Defaults’ or
‘Autotune’, and then returns to a value of zero. Offline software tools will not allow setting
this parameter to anything other than a value of zero. If an offline file contains a Command
Parameter with a non-zero value, the offline software tool will change the value to zero.
Note that command parameters cannot have values that do not return to zero.
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)