6 sequence subroutine call (ssee) – Yaskawa MP900 Series Motion Programming Manual User Manual

Page 196

Advertising
background image

MP2300S/MP2400 Exclusive-use Commands

6.1.6 SEQUENCE SUBROUTINE CALL (SSEE)

6 -10

6.1.6 SEQUENCE SUBROUTINE CALL (SSEE)

Use in a sequence program

Possible

Use in a motion program

Not possible

J

Overview

The SSEE command can call, from the sequence program, a subroutine that has previously
been stored in the sequence program memory.

J

Description

The SSEE command is designated as follows:

SSEE SPS−;

Call subroutine number

The SSEE command executes the subroutine with the number designated by SPS.
There can be up to 8 nestings for calling subroutines from other subroutines.

MW0000=1;
SSEE SPS002;

END;

SPM001

MW0000=2;
SSEE SPS003;

RET;

MW0000=3;

RET;

SPS002 (nest 1)

SPS003 (nest 2)

....
....

....
....

....
....

SUBROUTINE RETURN (RET) must be designated at the end of the subroutine.

J

Programming Examples

The following illustration provides a programming example for the SSEE command (when the
sequence subroutine SPS101 is called) .

SSEE SPS101;

Designate subroutine number.

6

6

Advertising
This manual is related to the following products: