4-76
Chapter
4
OPERA
TION
4-77
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]
1) In "PROGRAM>DIR" mode, select the program to compile with cursor (
↑
/
↓
) keys and
press
.
2) Press
(COMPILE) to enter "PROGRAM>COMPILE" mode.
A confirmation message appears on the guideline.
3) Press
(YES) to compile the program.
The message "Compiling" is displayed during compiling.
Press
(NO) if you want to cancel the compiling.
■
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.
■
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
Содержание RCX222
Страница 1: ...RCX222 EUR2153130 E99 Ver 1 30 Userʼs Manual YAMAHA 2 AXIS ROBOT CONTROLLER ...
Страница 2: ......
Страница 14: ......
Страница 43: ......
Страница 46: ......
Страница 50: ...4 MEMO ...
Страница 51: ...Chapter 1 USING THE ROBOT SAFELY Contents 1 Operating environment 1 1 ...
Страница 52: ......
Страница 56: ......
Страница 98: ......
Страница 388: ......
Страница 412: ...5 24 MEMO ...
Страница 414: ......
Страница 430: ......
Страница 442: ......
Страница 450: ...8 8 MEMO ...
Страница 452: ......
Страница 523: ......