Optima DMC-1xxx and DMC-18x2 Command Reference
YA
i
214
YA
FUNCTION: Step Drive Resolution
DESCRIPTION:
The YA command specifies the resolution of the step drive, in step counts per full motor step,
for Stepper Position Maintenance mode.
ARGUMENTS: YA m,m,m,m,m,m,m,m or YAn = m
where
n is A,B,C,D,E,F,G or H or any combination to specify the axis or axes.
m is 0 to 9999 which represents the drive resolution in step counts per full motor step.
USAGE: DEFAULTS:
While Moving
No
Default Value
2
In a Program
Yes
Default Format
1.4
Command Line
Yes
OPERAND USAGE:
_YAn contains the resolution for the specified axis.
RELATED COMMANDS:
"
QS
"
Error Magnitude
"
YS
"
Stepper Position Maintenance Mode Enable, Status
"
YB
"
Step Motor Resolution
"
YC
"
Encoder Resolution
"
YR
"
Error Correction
EXAMPLES:
1. Set the step drive resolution for the SDM-20640 Microstepping Drive:
:YA 64,64,64,64
2. Query the D axis value:
:MG_YAD
:64.0000
Response shows D axis step drive resolution
Notes:
1.
This value must be the same as the step drive resolution for the axis. The error magnitude
(QS) will climb quickly causing a false error state if the assigned value differs from the
actual.