MM4006
WY W h i l e variable is different
Usage L IMM
■
PGM M I P
Syntax x x W Y n n
Parameters
Description x x [int]
nn [ int]
Range x x
Units
Defaults
x x M i s s i n g :
Out of range:
Floating point:
nn
M i s s i n g :
Out of range:
nn
Variable number.
Comparison value.
1 to 100 (integers) and 101 to
120
(floats).
-32767 to 32767.
xx
—
None.
nn
—
None.
Error 0.
Error O.
Error A.
0.
Error C.
Description
T h i s command starts a WHILE loop based on a variable's value. While the
selected variable xx is different than the
nn value, all following
commands
up to the corresponding WE are executed. The loop is repeated until the
test becomes false. At that point, the program executed continues with the
line immediately following the WE command.
Returns N o n e .
Errors
Rel. Commands
A
J
L
C
- U n k n o w n message code.
— P a r a m e t e r out of limits.
- C o m m a n d authorized only in Programing mode.
- C o m m a n d not at the beginning of a line.
- Va r i a b l e number out of range.
WE —
WG —
WH —
WL —
Example 5 Y S O
5WY18
3PR1.2, WS
5YA1
WE
End While loop.
While variable is greater than value.
While I/O input is equal.
While variable is less.
Initialize variable #5 to 0.
While variable #5 is different than 18 repeat following commands up
to the next WE command.
Move axis #3 incremental 1.2 units and wait for stop.
Add 1 to variable #5.
End while loop.
( )
N e w p o r t .
3
.
1
7
9
E
D
H
O
E n1020 — 03/03
Содержание MM4006
Страница 9: ...F D110181En1020 03 03 b J e w p o r t...
Страница 10: ...Section 1 Introduction 4 4 G G 4 4 4 4 M u d Com 4k 4 66i1W406 i i r i A 0 8 y 0 9 0 0 i 0 0 40 0 4 cv Newport...
Страница 11: ...MM4006 8 Axis Motion Controller Driver evvport...
Страница 41: ...MM4006 Introduction FPI 111181Eli11120 0 1 03 1 3O tNevvport...
Страница 42: ...Section 2 Local Mode C Newport...
Страница 43: ...MM4006 8 Axis Motion Controller Driver C N e w p o r t...
Страница 96: ...Section 3 Remote Mode C klevvport...
Страница 97: ...Newport...
Страница 310: ...Section 4 Motion Control Tutorial Ilevvport...
Страница 311: ...MM4006 8 Axis Motion Controller Driver C EDI10181En 1020 03 03 2 N e V V p O r t...
Страница 313: ...MM4006 8 Axis Motion Controller Driver cv ED110181E01020 03 03 4 2 M e v v p o r t...
Страница 334: ...Section 5 Trajectory Functions Tutorial Newport...
Страница 335: ...MM4006 8 Axis Motion Controller Driver C Newport...
Страница 337: ...MM4006 8 Axis Motion Controller Driver EDH0181En1020 03 03 5 2 N e w p o r t...
Страница 346: ...Section 6 Feature Descriptions Tutorial Newport...
Страница 347: ...MM4006 8 Axis Motion Controller Driver C Nevvport...
Страница 349: ...MM4006 8 Axis Motion Controller Driver ED11018lEn I 020 03 03 6 2 N e v v p O r t...
Страница 359: ...MM4006 F e a t u r e Descriptions Tutorial cv EDI10181En1020 03 03 6 12 N e w p o r t...
Страница 360: ...Section 7 Servo Tuning rano at 1 2 2 p EOF 110 1 0 0 0 0 0 ill fpL4 cv Newport...
Страница 361: ...MM4006 8 Axis Motion Controller Driver C Nevvport...
Страница 363: ...MM4006 8 Axis Motion Controller Driver EDH0181En 1020 03 03 7 2...
Страница 368: ...Section 8 Appendices INevvport...
Страница 369: ...MM4006 8 Axis Motion Controller Driver CkJ Newport...
Страница 371: ...MM4006 8 Axis Motion Controller Driver EDI10181EnI020 03 03 8 2 N e v v p o r t...
Страница 410: ...A7 h7s z c 7...