Motor encoder interpolation, Motor encoder interpolation -94 – Rockwell Automation 2098-DSD-xxx Ultra3000 Host Commands for Serial Interface User Manual

Page 110

Advertising
background image

Publication 2098-RM003A-EN-P October 2001

2-94

Command Reference

Motor Encoder Interpolation

Format:

:aa0EDfddcc<cr>

Parameter
Code:

0x0ED

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

Valid Exception
Codes:

0x03 = EEPROM Write Error
0x05 = Data Above Maximum
0x08 = Invalid Function Code

Data Fields:

dd

Interpolation from lines to counts of a sine/cosine
encoder, where:
0 = x4
1 = x8
2 = x16
3 = x32
4 = x64
5 = x128
6 = x256
7 = x512
8 = x1024

Minimum
Value:

0x00

Maximum
Value:

0x08

Default:

0x06

Advertising