10 subprogram end (ret), 1) overview, 2) format – Yaskawa MP2000 Series: User's Manual for Motion Programming User Manual

Page 218

Advertising
background image

8.4 Program Control Commands

8-111

8

Command Reference

8.4.10 Subprogram End (RET)

(1) Overview

The Subprogram End command (RET) ends subprogram operation.
After operation of the called subprogram is ended by the RET command, execution proceeds to the block after
the Motion Subprogram Call command (MSEE) or Sequence Subprogram Call command (SSEE) in the main
program or subprogram that called the subprogram.

(2) Format

Motion Programs

Sequence Programs

Applicable

Applicable

MPM001

MOV [A1]1000;

MPS002

MSEE MPS002;

MOV [B1]1000;

MOV [C1]1000;

RET;

RET;

Subprogram end

Advertising