MM4006
CP C o m p i l e program
Usage
■
IMM L i PGM L l MIP
Syntax x x C P
Parameters
Description x x
[ i n t ]
—
Program number.
Range x x
—
I t o 127.
Units x x
—
None.
Defaults
x x M i s s i n g : E r r o r
F.
Out of range: E r r o r F.
Floating point: E r r o r A.
Description
T h i s command compiles a motion program loaded in the controller's mem-
ory. It verifies the syntax of the program, the validity of commands in the
program context and the correctness of the jump and while loops.
If an error is found, the compilation is interrupted and the error type is
reported. In this case, correct the problem and recompile to verify the rest
of the program. Repeat this operation until the controller reports back a
full compilation without error.
If the program editing is done on a remote computer, do not forget to erase
the old version of the program with XX command. Otherwise, the new ver-
sion of the program will be appended to the old one.
A program can be executed without being first compiled with CP. This com-
mand is helpful only in catching typing or structural program errors, but it
does not guarantee that the program is fail-safe.
Returns
xxCPaa
X X —
aa —
Program number.
ASCII code of the error type. If no error is detected,
as
is charac-
ter Q.
Errors
A — U n k n o w n message code.
F — P r o g r a m number incorrect.
G — P r o g r a m does not exist.
See Appendix A for additional list of Programing errors.
Rel. Commands E P
— E d i t i o n of program.
QP
— Q u i t program mode.
Example 3 X X I
C l e a r program 3 from memory, i f any.
3EP I A c t i v a t e program mode and enter following commands as program 3.
• '•
• • •
QP I E n d entering program number 3 and quit program mode.
3CP I
C o m p i l e program number 3.
3CPQ I C o n t r o l l e r confirms compilation o f program number 3 without any
error.
c v
ED1-10181En1020 — 03/03
3.38
R
J
e
v
v
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...