| XQ | Syntax: | Implicit Notation Only | |
| Operands: | _XQ0,_XQ1,_XQ2,_XQ3,_XQ4,_XQ5,_XQ6,_XQ7 | ||
| Burn: | not burnable | ||
| Execute Program | |||
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.
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.
_XQn contains the current line number of execution for thread n, and -1 if thread n is not running.
| Usage | Value |
|---|---|
| While Moving (No RIO) | Yes |
| In a Program | Yes |
| Command Line | Yes |
| Controller Usage | All |
| Default Value | 0 |
| Default Format | N/A |
HX - Halt execution
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: Don't forget to quit the edit mode first before executing a program!