10
●
;
DMC-40x0 Command Reference
;
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 (‘ apostrophe also accepted)
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
Summary of Contents for DMC-40x0 Series
Page 2: ......
Page 4: ......
Page 10: ...vi i Table of Contents DMC 40x0 Command Reference This Page is Left Blank Intentionally ...