
Indexer-Programmer-Manual.pdf REV 1.3
WHILE Structure
This statement is used if you want a block of code to execute while a condition is true.
The syntax for the WHILE instruction is:
Start
Move DIstance 3
inches Delay 2
seconds
Is input 2 ON?
End
YES
NO
WHILE <condition>
…statements
ENDWHILE
…statements
WHILE IN_A3
MOVED 3
WAIT TIME 2000
ENDWHILE
…statements
34
Comentarios a estos manuales