Optima DMC-1xxx and DMC-18x2 Command Reference
YB
i
215
YB
FUNCTION: Step Motor Resolution
DESCRIPTION:
The YB command specifies the resolution of the step motor, in full steps per full revolution,
for Stepper Position Maintenance mode.
ARGUMENTS: YB m,m,m,m,m,m,m,m or YBn = 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 motor resolution in full steps per revolution.
USAGE: DEFAULTS:
While Moving
No
Default Value
200
In a Program
Yes
Default Format
1.4
Command Line
Yes
OPERAND USAGE:
_YBn contains the stepmotor resolution for the specified axis.
RELATED COMMANDS:
"
QS
"
Error Magnitude
"
YS
"
Stepper Position Maintenance Mode Enable, Status
"
YA
"
Step Drive Resolution
"
YC
"
Encoder Resolution
"
YR
"
Error Correction
EXAMPLES:
1. Set the step motor resolution of the A axis for a 1.8° step motor:
:YBA=200
2. Query the A axis value:
:YBA=?
:200
Response shows A axis step motor resolution
Notes:
1.
This value must be the same as the step motor resolution for that axis. The error
magnitude (QS) will climb quickly causing a false error state if the assigned value differs
from actual.