Optima DMC-1xxx and DMC-18x2 Command Reference
ES
i
85
ES
FUNCTION: Ellipse Scale
DESCRIPTION:
The ES command divides the resolution of one of the axes in a vector mode (VM). This
function allows for the generation of circular motion when encoder resolutions differ. It
also allows for the generation of an ellipse instead of a circle.
The command has two parameters, m and n. The arguments, m and n apply to the axes
designated by the command VM. When m>n, the resolution of the first axis, x, will be
divided by the ratio m/n. When m<n, the resolution of the second axis, y, will be divided
by n/m. The resolution change applies for the purpose of generating the VP and CR
commands, effectively changing the axis with the higher resolution to match the coarser
resolution.
The ES command will apply to the selected coordinate system, S or T. To select the
coordinate system, use the command CAS or CAT.
ARGUMENTS: ES m,n
where
m and n are positive integers in the range between 1 and 65,535.
USAGE: DEFAULTS:
While Moving
Yes
Default Value
1,1
In a Program
Yes
Default Format
Command Line
Yes
Controller Usage
ALL CONTROLLERS
RELATED COMMANDS:
"VM"
Vector Mode
"VP "
Vector Position
"
CR
" Circle
Move
EXAMPLES:
VMAB;ES3,4
Divide B resolution by 4/3
VMCA;ES2,3
Divide A resolution by 3/2
VMAC; ES3,2
Divide A Resolution by 3/2
Note: ES must be issued after VM.