4-
66
Operation
4
10. “PROGRAM” mode
10.4 Compiling
To compile the program and create an executable object program, follow the procedure
below. The object program allows you to check input errors or bugs after program editing.
[Procedure]
1) In “PROGRAM>DIR” mode, select the program to compile with cursor (
↑
/
↓
) keys
and press the
ESC
key.
2) Press the
F 5
(COMPILE) key to enter “PROGRAM>COMPILE” mode.
A confirmation message appears on the guideline.
3) Press the
F 4
(YES) key to compile the program.
The message “Compiling” is displayed during compiling.
Press the
F 5
(NO) key if you want to cancel the compiling.
Fig. 4-10-28 Compiling
PROGRAM
>COMPILE <TEST2 >
1 ’***** TEST2 PROGRAM *****
2
GOTO *’
3 DO2(0)=0
4 WAIT DI3(4,3,2)=3
5 MOVE P,P0 ’ORIGIN
Compile program OK?
YES
NO
———————————————————————————————————————————
2
3
0.4:Compiling
If an error is found in the command statements, the program listing for that line appears
along with an error message, and the compiling stops. When the compiling ends
normally, an object program has been made. The previous object program was deleted.
Fig. 4-10-29 Compile error
PROGRAM
<TEST1 >
5
MOVE P,1P1
6 DO2(1)=1
7 DELAY 1000
8 DO2(1)=0
9 HALT
EDIT
DIR
COMPILE
———————————————————————————————————————————
2
3
5.1:Syntax error
n
NOTE
Even if the specified program is yet not
compiled, it is compiled automatically
when you move to “AUTO” mode.
Содержание RCX142
Страница 1: ...User s Manual ENGLISH E YAMAHA 4 AXIS ROBOT CONTROLLER E92 Ver 1 09 RCX142 ...
Страница 2: ......
Страница 18: ...MEMO ...
Страница 24: ...1 6 MEMO ...
Страница 26: ...MEMO ...
Страница 36: ...MEMO ...
Страница 300: ...4 238 MEMO ...
Страница 302: ...MEMO ...
Страница 336: ...MEMO ...
Страница 360: ...6 24 MEMO ...
Страница 362: ...MEMO ...
Страница 374: ...MEMO ...
Страница 384: ...8 10 MEMO ...
Страница 386: ...MEMO ...
Страница 394: ...MEMO ...