Label - YASKAWA XTRAWARE - V3.0 Manual

Supporting xtradrive versions 3.04 - 3.23
Table of Contents

Advertisement

LABEL

Table explanation
Group
Program Flow Control
Syntax
LABEL <n>
Op. Code
88
Modes
Program
Description
Defines the beginning of a program or subroutine. May be used to
mark the beginning of a code line in order to use the GO_TO, CALL
or LOOP commands or for program auto-start after power-up.
Syntax
n
Arguments
Example
LABEL 1
CONTROL ON
DELAY 1000
GO_D 10000 –1
IF_INPUT 1 = 1 THEN CALL 2
CONTROL OFF
END
LABEL 2
SET_OUTPUT 1 ON
RETURN
Example
Servo enabled, motor moves to position 10000, if INPUT 1 is true,
Explanation
calls LABEL 2 subroutine. The subroutine sets OUTPUT 1 as true.
If INPUT 1 is false, servo is disabled, program ends.
See Also
GO_TO, LOOP, END, CALL, RUN
Parameters Pn2CC - Auto start
XtraWare User Manual
The label number.
Serial
1
U
Command Reference
133

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xtraware 3.0

Table of Contents