Yaskawa MotionSuite Series Machine Controller Programming Manual User Manual

Page 118

Advertising
background image

MotionSuite™ Series Machine Controller Programming Manual

Chapter 3: Advanced Programming Methods

3-33

! Program Example

0001: MOV [X]100. [Y]150.:

MVS [X]200. [Y]250. F1000:
SFORK MW00100=1? 002, MW00100=2? 003, MW00100=3? 004;

0002: MVS [X]300. [Z]100. F3000:

JOINTO 0005

0003: MVS [X]300. [Z]100. F3000:

JOINTO 0005

0004: MVS [Z]300. [S]100. F3000:

JOINTO 0005

0005: SJOINT;

MOV [X]500. [Y]500. [Z]500.;

MVS[X]300.[Y]100.F3000;

JOINTO 0005

SJOINT

MOV [X]100. [Y]150.
MVS [X]200. [Y]250. F1000;

SFORK

MW00100=1

MVS[X]300.[Y]100.F3000;

JOINTO 0005

MVS[Z]300.[S]100.F3000;

JOINTO 0005

MW00100=1

MW00100=1

MVS[X]300.[Y]...

Figure 3.15: Program Example of the Selective Execution Commands

(SFORK, JOINTO, SJOINT)

Advertising