beautypg.com

Motor gear ratio, Motor gear ratio -35 – Rockwell Automation 2098-DSD-xxx Ultra3000 Host Commands for Serial Interface User Manual

Page 51

background image

Publication 2098-RM003A-EN-P October 2001

Command Reference

2-35

Motor Gear Ratio

Format:

:aa01Afnnddddcc

Parameter
Code:

0x01A

Valid Function
Codes:

0x0 = Read Working Value
0x1 = Write Working Value
0x2 = Read Non-Volatile Value
0x3 = Write Non-Volatile and Working Values
0x4 = Copy Non-Volatile Value to Working Value
0x5 = Copy Working Value to Non-Volatile Value
0x6 = Read Default Value
0x7 = Copy Default Value to Non-Volatile and Working Values
0x8 = Read Minimum Value
0x9 = Read Maximum Value
0xA = Read Minimum Array Index Value
0xB = Read Maximum Array Index Value

Valid Exception
Codes:

0x01 = Invalid Data
0x03 = EEPROM Write Error
0x04 = Data Below Minimum
0x07 = Invalid Array Index
0x08 = Invalid Function Code

Data Fields:

nn

Array index

dddd

Motor encoder counts for the specified gear ratio.
This value must be nonzero.

Minimum
Value:

0x8001

Maximum
Value:

0x7FFF

Minimum Array
Index Value:

0x00

Maximum Array
Index Value:

0x07

Default:

0x0001