Compiling - Yamaha RCX141 User Manual

4-axis robot controller
Table of Contents

Advertisement

10. "PROGRAM" mode
4
n
NOTE
Even if the specified program is yet not
compiled, it is compiled automatically
when you move to "AUTO" mode.
66
4-

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
key.
ESC
2) Press the
(COMPILE) key to enter "PROGRAM>COMPILE" mode.
F 5
A confirmation message appears on the guideline.
3) Press the
(YES) key to compile the program.
F 4
The message "Compiling" is displayed during compiling.
Press the
(NO) key if you want to cancel the compiling.
F 5
Fig. 4-10-28 Compiling
PROGRAM
>COMPILE
———————————————————————————————————————————

0.4:Compiling

1 '***** TEST2 PROGRAM *****
2
GOTO *'
3 DO2(0)=0
4 WAIT DI3(4,3,2)=3
5 MOVE P,P0
Compile program OK?
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
5.1:Syntax error
———————————————————————————————————————————
5
MOVE P,1P1
6 DO2(1)=1
7 DELAY 1000
8 DO2(1)=0
9 HALT
EDIT
<TEST2
2
3
'ORIGIN
YES
NO
<TEST1
2
3
DIR
COMPILE
>
>

Advertisement

Table of Contents
loading

Table of Contents