Sub-program end (ret) command -19, 7 sub-program end (ret) command ! outline, Detailed explanation – Yaskawa MotionSuite Series Machine Controller Programming Manual User Manual
Page 104
Advertising
MotionSuite™ Series Machine Controller Programming Manual
Chapter 3: Advanced Programming Methods
3-19
3.1.7
Sub-program End (RET) Command
! Outline
The Subprogram End (RET) command is designated at the end of the sub-program.
! Detailed Explanation
The RET command method is shown as follows:
According to the above command, the program proceeds to the block after the (MSEE)
command of the program (main or sub-program) which called out this sub-program.
RET;
Sub-program End
MPM001
MOV [axis1]1000;
MSEE MPS002;
....
....
MPS002
MOV [axis2]1000;
MOV [axis3]1000;
RET;
Advertising