MM4006
RP R e p e a t command line
Usage
■
IMM
■
PGM
❑
MIP
Syntax R P n n
Parameters
Description n n
[ i n t ] N u m b e r of times to repeat command line.
Range n n
1
to 2147385345.
Units n n
N
o
n
e
.
Defaults n n M i s s i n g : I .
Out of range: I or 2147385345 (forced in range)
Floating point: Decimal value truncated.
Description
T h i s command is a flow control instruction that repeats the execution of a
command line
nn
number of times. It must be placed at the end of a com-
mand line that has to be repeated. The line must have at least one more
command on it, separated by a command separator.
If the
nn
parameter is missing or set to a value less than 1, the command
line is executed one time, similar to a
nn
value of 1.
NOTE
Any command placed on a line after RP is ignored, without issuing an
error.
NOTE
Be careful when using flow control commands, specially nested ones.
Avoid mixing different type of flow control commands on the same line.
As in other Programing languages, improper loops and loop mixings
could generate undesirable results.
Returns N o n e .
Errors
R — C o m m a n d cannot be at the beginning of a line.
Rel. Commands W G
— W h i l e variable is greater.
WH
— W h i l e input is equal.
WL
— W h i l e variable is less.
WY
— W h i l e variable is different.
Example
3 P A 0 I M o v e axis #3 to position 0.
2PR.1, WS, 3PA10,
WS, 3PAO, WS,
RP20
I M a k e a relative move o f 0.1 units on axis #2, wait for all motion to
stop, move axis #3 to position 10, wait for all motion to stop, move
axis #3 back to 0, wait to stop; repeat the entire cycle 20 times.
EDI 0)181E111020 - 03/03
3.120
( % )
rNewport.
Summary of Contents for MM4006
Page 9: ...F D110181En1020 03 03 b J e w p o r t...
Page 11: ...MM4006 8 Axis Motion Controller Driver evvport...
Page 41: ...MM4006 Introduction FPI 111181Eli11120 0 1 03 1 3O tNevvport...
Page 42: ...Section 2 Local Mode C Newport...
Page 43: ...MM4006 8 Axis Motion Controller Driver C N e w p o r t...
Page 96: ...Section 3 Remote Mode C klevvport...
Page 97: ...Newport...
Page 310: ...Section 4 Motion Control Tutorial Ilevvport...
Page 311: ...MM4006 8 Axis Motion Controller Driver C EDI10181En 1020 03 03 2 N e V V p O r t...
Page 313: ...MM4006 8 Axis Motion Controller Driver cv ED110181E01020 03 03 4 2 M e v v p o r t...
Page 334: ...Section 5 Trajectory Functions Tutorial Newport...
Page 335: ...MM4006 8 Axis Motion Controller Driver C Newport...
Page 337: ...MM4006 8 Axis Motion Controller Driver EDH0181En1020 03 03 5 2 N e w p o r t...
Page 346: ...Section 6 Feature Descriptions Tutorial Newport...
Page 347: ...MM4006 8 Axis Motion Controller Driver C Nevvport...
Page 349: ...MM4006 8 Axis Motion Controller Driver ED11018lEn I 020 03 03 6 2 N e v v p O r t...
Page 359: ...MM4006 F e a t u r e Descriptions Tutorial cv EDI10181En1020 03 03 6 12 N e w p o r t...
Page 360: ...Section 7 Servo Tuning rano at 1 2 2 p EOF 110 1 0 0 0 0 0 ill fpL4 cv Newport...
Page 361: ...MM4006 8 Axis Motion Controller Driver C Nevvport...
Page 363: ...MM4006 8 Axis Motion Controller Driver EDH0181En 1020 03 03 7 2...
Page 368: ...Section 8 Appendices INevvport...
Page 369: ...MM4006 8 Axis Motion Controller Driver CkJ Newport...
Page 371: ...MM4006 8 Axis Motion Controller Driver EDI10181EnI020 03 03 8 2 N e v v p o r t...
Page 410: ...A7 h7s z c 7...