4MELFA-BASIC IV
Detailed explanation of command words
4-248
Skip (Skip)
[Function]
Transfers control of the program to the next step.
[Format]
[Reference Program]
1 Mov P1 WthIf M_In(17)=1,Skip
' If the input signal (M_In(1 7)) turns ON while moving with joint
interpolation to the position indicated with position variable P1,
stop the robot interpolation motion, and stop execution of this
command, and execute the next step.
2 If M_SkipCq=1 Then Hlt
' Pauses the program if the execution is skipped.
[Explanation]
(1) This command is described with the WHT or WthIf statements. In this case, the execution of that step is
interrupted, and control is automatically transferred to the next step. Execution of skip can be seen with
the M_SkipCq information.
[Related system variables]
( 1: Skipped, 0: Not skipped )
Skip