IAI America XSEL-QX User Manual
Page 197
173
Part 4 Commands
z EXPG (Start other program)
Command, declaration
Extension condition
(LD, A, O, AB, OB)
Input condition
(I/O, flag)
Command,
declaration
Operand 1
Operand 2
Output
(Output, flag)
Optional Optional
EXPG
Program
number
(Program
number
(Note))
CC
[Function] Start the programs from the one specified in operand 1 through the other specified in
operand 2, and run them in parallel. Specification in operand 1 only is allowed.
[Example 1]
EXPG
10
12
Start program Nos. 10, 11 and 12.
Error-generation/output-operation conditions
When one EXPG program is specified (only operand 1 is specified)
No program number error *1
Program already registered
Status of the
specified program
Program running
Program not
running
Program not yet
registered
Program number
error *1
Error
A57
“Multiple program
start error”
None
C03
“Non-registered program
specification error”
C2C
“Program number
error”
Output operation
ON
ON
OFF
OFF
* The errors shown in the table represent those that generate in accordance with the status of the specified program. Errors caused
by other factors are excluded.
* 1 --- A program number error indicates that a number less than 1 or exceeding the number of maximum supported programs
has been specified.
When multiple EXPG programs are specified (both operands 1 and 2 are specified)
No program number error *2
Registered program exists inside the
specified range *3
Status of the
specified program Running program
exists inside the
specified range
None of programs
inside the specified
range are running
None of programs inside
the specified range are
registered
Program
number error *1
Error
A57
“Multiple program
start error”
None
C03
“Non-registered program
specification error”
C2C
“Program
number error”
Output operation
ON
ON
OFF
OFF
* The errors shown in the table represent those that generate in accordance with the status of the specified program. Errors caused
by other factors are excluded.
* 2 --- A program number error indicates that a number less than 1 or exceeding the number of maximum supported programs
has been specified.
* 3 --- In this case, non-registered programs inside the specified range are not treated as a target of operation. This will not affect
error generation or output operation.