2 how to run a sequence program, 1 how to run a sequence program, 1) m-executor program definition tab page – Yaskawa MP2000 Series: User's Manual for Motion Programming User Manual

Page 70

Advertising
background image

5.2 How to Run a Sequence Program

5-3

5

Sequence Programs

5.2 How to Run a Sequence Program

5.2.1 How to Run a Sequence Program

A sequence program is executed by registering it in the Program definition tab page of the M-EXECUTOR.

When the execution type is set to Sequence Program (H scan) or Sequence Program (L scan), the program is
executed at the time the definition is saved. When the execution type is set to Sequence Program (Start), the
program is executed when the power supply is turned ON again next time.
An operation example of running a sequence program is shown below.

(1) M-EXECUTOR Program Definition Tab Page

END

END

RET

END

SPM003

SPS101

SPM001

Sequence program

M-EXECUTOR program execution definition

SPM002

SSEE

SPS101

Sequence subprogram

IF MW000<32767;

MW000=MW000+1;

ELSE;

MW000;

IEND;

Advertising