Yaskawa MotionSuite Series Machine Controller Programming Manual User Manual
Page 113
Advertising
MotionSuite™ Series Machine Controller Programming Manual
Chapter 3: Advanced Programming Methods
3-28
! Program Example
Basic Pattern
A program example of the basic pattern is shown as follows:
0001: MOV [X]100. [Y]150.;
MVS [X]200. [Y]250. F1000;
PFORK 0002 0003 0004;
0002: MVS [X]300. [Z]100.
JOINTO 0005;
0003: MW12345=MW10000+MW10002;
IOW MB120001= =1;
JOINTO 0005;
0004: MVS [Z]100. [S]100. F3000;
JOINTO 0005;
0005: PJOINT:
MOV [X]500. [Y]500. [Z]500.;
MOV [X]100. [Y]
MVS [X]200. [Y]
PFORK
MVS [X]300. [Y]
JOINTO 0005
PJOINT
MOV [X]500. [Y]...
MW12345=MW10
IOW MB120001=
JOINTO 0005
MVS [Z]100. [S]
JOINTO 0005
Figure 3.13: Program Example of the Parallel Execution (PFORK, JOINTO, PJOINT) Command
Advertising