Galil Motion Control optcom Page 16
Optima DMC-1xxx and DMC-18x2 Command Reference
;
i
5
;
FUNCTION: Semicolon (Command Delimiter)
DESCRIPTION:
The semicolon operator allows multiple Galil commands to exist on a single line. It is used
for the following three reasons:
(1)
To put comments on the same line as the command (BGX ;'begin motion)
(2)
To compress DMC programs to fit within the program line limit (Note: use a
compression utility to do this. Do not program this way because it is hard to read.)
(3)
To give higher priority to a thread. All commands on a line are executed before the
thread scheduler switches to the next thread.
ARGUMENTS: n; n; n; ... where
n is a Galil command
USAGE: DEFAULTS:
While Moving
Yes
Default Value
-
In a Program
Yes
Default Format
-
Command Line
Yes
Controller Usage
ALL
RELATED COMMANDS:
NO
or `
comment
EXAMPLES:
BGX ;'comment
PRX=1000;BGX;AMX
;'Save program line space
#High
a = a + 1; b = b + 1
JP#High
#Low
c = c + 1
d = d + 1
JP#Low
;'#High priority thread executes twice as fast as #Low when run in
;'parallel