beautypg.com

IAI America XSEL-KX User Manual

Page 128

background image




112

Part 4 Commands


 SSPG (Pause program)

Extension condition

(LD, A, O, AB, OB)

Input condition

(I/O, flag)

Command, declaration

Output

(Output, flag)

Command,
declaration

Operand 1

Operand 2

Optional

Optional

SSPG

Program

number

(Program

number)

CC

[Function] Pause the program from the one specified in operand 1 through the other specified in

operand 2, at the current step. Specification in operand 1 only is allowed.

(Note 1)

Pausing a program will also pause the operation the program has been executing.

(Note 2)

Not only the operation but also the execution of the step itself will be paused.

[Example 1]

SSPG

10

12

Pause program Nos. 10, 11 and 12 at the current step.










Error-generation/output-operation conditions
When one SSPG program is specified (only operand 1 is specified)

Status of the

specified program

No program number error *1

Program number

error *1

Program already registered

Program not yet

registered

Program running

Program not

running

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 SSPG programs are specified (both operands 1 and 2 are specified)

Status of the

specified program

No program number error *2

Program

number error *1

Registered program exists inside the

specified range *3

None of programs inside

the specified range are

registered

Running program

exists inside the

specified range *4

None of programs

inside the

specified range

are running

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 with

EXPG, ABPG, SSPG and PSPG commands. 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

Currently executed step

Currently executed step

Currently executed step

SSPG

This manual is related to the following products: