Call - YASKAWA XTRAWARE - V3.0 Manual

Supporting xtradrive versions 3.04 - 3.23
Table of Contents

Advertisement

Command Reference

CALL

Table explanation
Group
Syntax
Op. Code
Modes
Description
Syntax
Arguments
Example
Example
Explanation
See Also
98
Program Flow Control
CALL <n>
66
Program
Calls a subroutine. The program flow is transferred to the
subroutine. The called subroutine must begin with a LABEL
command and end with a RETURN command.
n
The label number at which the subroutine begins.
Serial
LABEL 1
INPUT_CASE 3 2
CALL 2
END
LABEL 2
SLIDE 1000
DELAY 500
SLIDE 0
RETURN
The program checks if a certain input combination has occurred.
If the combination exists, it will call the subroutine LABEL 2. A
SLIDE motion will occur for 500ms. Otherwise the CALL 2 code
line is skipped. End of program.
LABEL, RETURN
1
U
XtraWare User Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xtraware 3.0

Table of Contents