USA57 Revision
1.2
60
Command:
aE
Encoder to Microstep Resolution Ratio Value
Type:
System Control Command
Syntax: aE
n
Range:
n = 1000 to 1,000,000
Initial Value:
1000
Description:
Sets the ratio between the encoder resolution (counts/rev) and the motor
resolution (microsteps/rev). See Appendix E.
Encoder Ratio = ((motor microsteps/rev) / (encoder quadrature counts/rev)) *
1000
For example, a 1.8-degree stepping motor (running in 1/256th step mode), which
has 200x256 microsteps /rev, is hooked up to a 400-line encoder that has 1570
quadrature encoder counts.
Therefore,
aE= ((200x256)/(400x4)) x 1000 = 32000
Note:
The microstep resolution must be set to the divide by 256 value “
j256
” in
order for correct operation of the feedback mode.
Example:
/1
aE
32000R<CR>
“/”
Is the start character. Lets Accuriss know that a command string will
follow.
“1”
Is the device address, (this is preset at the factory).
“aE32000”
Sets the encoder resolution to motor resolution ratio to value to
32000
“R”
Instructs Accuriss to run the command(s) that are in the communication
buffer.
“<CR>”
Tells Accuriss that the command string is complete and causes the
command to be executed since an R is included in the command string.