Справочник Пользователя для Galil DMC-1400
DMC-1400 Series Command Reference XQ
● 221
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 two programs
may be executed simultaneously to perform multitasking.
may be executed simultaneously to perform multitasking.
ARGUMENTS: XQ #A,n XQm,n
where
A is a program name of up to seven characters
m is a line number
n is the thread number (0 or 1) for multitasking
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:
While Moving
Yes
Default Value
n = 0
In a Program
Yes
Default Format
---
Command Line
Yes
Can be Interrogated
No
Used as an Operand
Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_XQ contains the current line number of execution for thread n, and -1 if thread n is not
running.
running.
RELATED COMMANDS:
Halt execution
EXAMPLES:
XQ #Apple,0
Start execution at label Apple, thread zero
XQ #data,1
Start execution at label data, thread one
XQ 0
Start execution at line 0
HINT: Don't forget to quit the edit mode first before executing a program!