![Yamaha CEmarking RCX221 User Manual Download Page 142](http://html2.mh-extra.com/html/yamaha/cemarking-rcx221/cemarking-rcx221_user-manual_3060670142.webp)
4-74
Chapter
4
OPERA
TION
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 specifi ed 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
Summary of Contents for CEmarking RCX221
Page 2: ......
Page 6: ...4 MEMO...
Page 16: ......
Page 30: ......
Page 38: ......
Page 62: ...3 24 MEMO...
Page 68: ......
Page 342: ......
Page 366: ...5 24 MEMO...
Page 368: ......
Page 384: ......
Page 396: ......
Page 404: ...8 8 MEMO...
Page 406: ......
Page 467: ...MEMO...