Newport MM4006 Manual page 48

8-axis motion controller/driver
Hide thumbs Also See for MM4006:
Table of Contents

Advertisement

MM4006
EDH0181En1020 — 03/03
If you want to create a loop that repeats a specified number of times, at the
while selection menu press the
make is the number of times you want to repeat the loop. Enter the number
on the keypad and press
commands to initialize a new variable, to increment it every time the loop
executes and to verify that it reached the specified number.
After defining the initial loop parameters, the display shows the WHILE
Loop menu with two choices:
Pressing
LINE
described in the Command Line Creation paragraph. Use it to create com-
mand lines that will be part of the while loop. Enter command lines as
described in the previous paragraph. When a line is terminated, the display
returns to the WHILE Loop menu. To enter a new line, press the
key again and repeat the operation.
To close the while loop, press the
ate command to close the loop and return the display to the Program
Creation menu.
With the functions described up to this point we can create a simplified
flowchart of the Program Creation menu (Fig. 2.12).
LINE
Line Entry Menu
ABSOL.
RELAT.
SYNCH.
HOME
DELAY
MOTORS
IFINP.
REPEAT
OUTPUT
QUIT
VALID
Discard Line
Save Line
Fig. 2.12 — Program Creation Menu Flow Chart.
VAR.
. The controller will write the necessary
VALID
will enter a Line Entry menu identical to the one
WEND
PROG.
Program Management Menu
CREATE
MODIFY
Program Creation Menu
WHILE
NEXT
INPUT
NEXT
NEXT
NEXT
ABSOL.
HOME
IFINP.
2.46
Local Mode
key. The next choice you have to
LINE
WEND
key. This will add the appropri-
QUIT
QUIT
Loop Type
VAR.
QUIT
WHILE Loop Menu
LINE
WEND
End Loop
Line Entry Menu
RELAT.
SYNCH.
NEXT
DELAY
MOTORS
NEXT
REPEAT
OUTPUT
NEXT
QUIT
VALID
NEXT
Save Line
Discard Line
LINE

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents