MM4006
EX E x e c u t e a program
Usage
■
1MM
H
PGM
H
MIP
Syntax x x E X n n
Parameters
Description x x [int] P r o g r a m number.
nn
[ i n t ] N u m b e r of times to execute the program.
1 to
127.
0 to 2147483648.
nn
= 0 corresponds to an infinite number of times.
Range
Units
Defaults
X X
11111
xx
nn
xx
nn
Missing:
Out of range:
Floating point:
Missing:
Out of range:
Floating point:
None.
None.
Error F.
Error
F.
Error A.
1.
Error C.
Decimal part truncated.
Description T h i s
command starts executing a program. When the command is received,
the controller first compiles the program, checking for errors similar to
the
CP command. If an error is encountered, the compilation stops and the
controller reports the type of error found. If no error is found, the con-
troller executes the program line by line or according to the flow control
instructions.
During program execution, only commands that ask for information or that
stop the motion are allowed.
Any
of the following commands will terminate
a program: AB, AP,
MF
and ST. The easiest way to stop program execution
is by using the AP command, the other ones have wider effects.
EX command is capable to execute subroutines (program
without EX
com-
mand inside, integrated in the main program)
Returns N o n e .
Errors
A — U n k n o w n message code.
C — P a r a m e t e r out of limits.
F
G
Program number incorrect.
Program does not exist.
Unauthorized command in Programing mode.
See Appendix A for additional list of Programing errors.
Rel. Commands A P —
CP —
Example l E P
1PA10, 2PAIO
2EX
3EX
4EX
OR
QP
2EP
SB
lAS"This "
2AS"is "
1CS$S2
Abort program.
Compile program.
Program 1 edition (main program).
Displacement of two axis.
Execute the program 2 .
Execute the program 3.
Execute the program 4.
Origin search for all of axis.
Quit main program.
Program 2.
Set bits.
Define string #1.
Define string #2.
Concatenate string #1 and string #2.
ED110181En1020 — 03/03
3.56
( A )
N e w p o r t .
Содержание 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...