DMC-40x0 Command Reference
XQ • 259
XQ
FUNCTION:
Execute Program
DESCRIPTION:
The XQ command begins execution of a program residing in the program memory of the
controller. Execution will start at the label or line number specified. Up to 8 programs may be
executed with the controller.
ARGUMENTS:
XQ #A,n XQm,n
where
A is a program name of up to seven characters.
m is a line number
n is an integer representing the thread number for multitasking
n is an integer in the range of 0 to 7.
NOTE: The arguments for the command, XQ, are optional. If no arguments are given, the first
program in memory will be executed as thread 0.
USAGE: DEFAULTS:
While Moving
Yes
Default Value of n:
0
In a Program
Yes
Default Format
-
Command Line
Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_XQn contains the current line number of execution for thread n, and -1 if thread n is not running.
RELATED COMMANDS:
Halt execution
EXAMPLES:
XQ #APPLE,0
Start execution at label APPLE, thread zero
XQ #DATA,2
Start execution at label DATA, thread two
XQ 0
Start execution at line 0
Hint: For DOS users, don't forget to quit the edit mode first before executing a program!
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 ...