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.
Summary of Contents for RCX141
Page 1: ...User s Manual ENGLISH E YAMAHA 4 AXIS ROBOT CONTROLLER E93 Ver 2 02 RCX141 ...
Page 2: ......
Page 16: ...viii MEMO ...
Page 18: ...MEMO ...
Page 24: ...1 6 MEMO ...
Page 26: ...MEMO ...
Page 34: ...2 8 MEMO ...
Page 36: ...MEMO ...
Page 54: ...3 18 MEMO ...
Page 290: ...4 232 MEMO ...
Page 292: ...MEMO ...
Page 316: ...5 24 MEMO ...
Page 318: ...MEMO ...
Page 326: ...6 8 MEMO ...
Page 328: ...MEMO ...
Page 338: ...7 10 MEMO ...
Page 340: ...MEMO ...
Page 346: ...MEMO ...
Page 401: ...MEMO ...