Compiling - Yamaha RCX222 User Manual

2-axis robot controller
Hide thumbs Also See for RCX222:
Table of Contents

Advertisement

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.
n
NOTE
Even if the specified program is yet not compiled, it is compiled
automatically when you move to "AUTO" mode.
[Procedure]
Chapter
1) In "PROGRAM>DIR" mode, select the program to compile with cursor ( ↑ / ↓ ) keys and
4
press
2) Press
A confirmation message appears on the guideline.
3) Press
The message "Compiling" is displayed during compiling.
Press

■ Compiling

PROGRAM
———————————————————————————————————————————
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.
■ Compile error
PROGRAM
———————————————————————————————————————————
EDIT
4-76
.
(COMPILE) to enter "PROGRAM>COMPILE" mode.
(YES) to compile the program.
(NO) if you want to cancel the compiling.
>COMPILE
0.4:Compiling
1 '***** TEST2 PROGRAM *****
2
GOTO *'
3 DO2(0)=0
4 WAIT DI3(4,3,2)=3
5 MOVE P,P0
'ORIGIN
5.1:Syntax error
5
MOVE P,1P1
6 DO2(1)=1
7 DELAY 1000
8 DO2(1)=0
9 HALT
DIR
<TEST2
>
2
3
YES
NO
<TEST1
>
2
3
COMPILE

Advertisement

Table of Contents
loading

Table of Contents