EasyManua.ls Logo

Trio Motion Coordinator MC216 - While; Wend

Trio Motion Coordinator MC216
566 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Motion Coordinator Technical Reference Manual
Trio BASIC Commands 8-77
Program Loops and Structures
WHILE
Type:
Program Structure
Syntax:
WHILE condition
Description:
The commands contained in the
WHILE..WEND
loop are continuously executed until
the condition becomes
FALSE
.
Execution then continues after the
WEND
.
Parameters:
Example:
WHILE IN(12)=OFF
MOVE(200)
WAIT IDLE
OP(10,OFF)
MOVE(-200)
WAIT IDLE
OP(10,ON)
WEND
WEND
Type:
Program Structure
Description:
Marks the end of a
WHILE..WEND
loop.
See also:
WHILE
Note:
WHILE..WEND
loop can be nested without limit other than program size.
condition:
Any valid logical Trio BASIC expression

Table of Contents

Related product manuals