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 check 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 list 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 will be compiled
automatically when you move to
“AUTO” mode.
Summary of Contents for RCX40
Page 1: ...User s Manual ENGLISH E YAMAHA 4 AXIS ROBOT CONTROLLER E75 Ver 12 00 RCX40 ...
Page 2: ......
Page 16: ...viii MEMO ...
Page 18: ...MEMO ...
Page 24: ...1 6 MEMO ...
Page 26: ...MEMO ...
Page 34: ...MEMO ...
Page 284: ...MEMO ...
Page 308: ...5 24 MEMO ...
Page 310: ...MEMO ...
Page 318: ...6 8 MEMO ...
Page 320: ...MEMO ...
Page 328: ...7 8 MEMO ...
Page 330: ...MEMO ...
Page 336: ...MEMO ...