Galil Motion Control optcom Page 21
Optima DMC-1xxx and DMC-18x2 Command Reference
~
i
10
~
FUNCTION: Variable Axis Designator
DESCRIPTION:
The ~ signifies a variable axis designator
ARGUMENTS: ~n=m
n is a lowercase letter a through h
m is a positive integer 0 through 10, where
0 or "A" (quotes required) = X axis
1 or "B" = Y axis
2 or "C" = Z axis
3 or "D" = W axis
4 or "E" = E Axis
5 or "F" = F axis
6 or "G" = G axis
7 or "H" = H axis
8 or "S" = S coordinate system
9 or "T" = T coordinate system
10 or "N' = Virtual N axis
USAGE: DEFAULTS:
While
Moving
Yes
Default
Value
-
In
a
Program
Yes
Default
Format
1.0
Command Line
Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
~n contains the axis number 0-10
EXAMPLES:
~a=2;~b=5
Sets ~a to 2(Z axis). Sets ~b to 6 (G axis)
PR~a=1000
Relative position move 1000 counts on ~a axis (set as Z axis)
JG~b=9000
Set jog speed of ~b axis (set as G axis) to 9000 cts/sec
BG~a~b
Begin motion on ~a and ~b axis