Loop - Vexta EMP400 Series Operating Manual

Controller for servo and stepping motors
Table of Contents

Advertisement

LOOP

Name
Set a loop
Valid mode
-/Program
Syntax
LOOP [, |
n
Function
Program iterates for the specified number of times between this command and the ENDL
command.
If the program control had been transferred into the LOOP-ENDL section from outside the
loop by means of a JMP command or a CJMP command, the loop will not be iterated and
stop. If the control is transferred from within the loop to the outside, the nesting level will be
cleared.
Loops can be nested up to four times.
Request
-
Note
For each LOOP command, always set one ENDL command.
] n
Parameter
Number of iterations
1 to 99
8
Program command
Data range
Default
8-29

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents