IAI America SSEL User Manual
Page 163
141
Part 2 Programs
z RSPG (Resume 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
RSPG
Program
number
(Program
number)
CC
[Function] Resume the programs from the one specified in operand 1 through the other specified in
operand 2. Specification in operand 1 only is allowed.
(Note 1)
Resuming a program will also resume the operation the program had been executing before
the pause.
[Example 1]
RSPG
10
12
Resume program Nos. 10, 11 and 12 from the paused step.
Error-generation/output-operation conditions
When one RSPG 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 None
None
C03
“Non-registered program
specification error”
C2C
“Program number
error”
Output operation
ON
OFF
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 --- Program number error indicates specification of a number smaller than 1 or exceeding 64.
When multiple RSPG 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 *4
None of programs
inside the specified
range are running
None of programs inside
the specified range are
registered
Program
number error *1
Error None None
C03
“Non-registered program
specification error”
C2C
“Program
number error”
Output operation
ON
OFF
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 --- Program number error indicates specification of a number smaller than 1 or exceeding 64.
* 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.
* 4 --- In this case, programs not running (but already registered) inside the specified range are not treated as a
target of operation with SSPG and RSPG commands. This will not affect error generation or output operation.
Program No. 10
Program No. 11
Program No. 12
SSPG
RSPG
Currently paused step
Currently paused step
Currently paused step