
B–61803E–1/10
6. FUNCTIONS OF THE MACRO
EXECUTOR
PROGRAMMING
101
Error
The block of block No.3 of program O0004 is deleted by the above
instruction.
When writing an NC program prepared by a conversational macro onto
the NC’s tape memory, the program can be condensed to extend memory
area.
Set a program number of a program to be condensed to the variable #8520
and specify G322. Then the program is condensed.
The result of condensation is informed to the end code #8529.
(Example) To condense O1234
#8520=1234;
G322;
IF [#8529 NE 0] GOTO Error;
Check the end code after running every processing.
The end is normal when the end code is 0, and when the end code is a
number other than 0, the same number as with the P/S alarm in the usual
edition processing and the following codes are informed.
#8529 Contents
140 Processing of the program being selected in the foreground cannot be con-
ducted.
200 The specified character code is not found. (G329)
202 The data to be written begins with O. (G329)
210 An attempt was made to read a specified block, but the block requires more
variables than specified.
253 The specified block is not coded in words.
254 Program editing is prohibited by setting the memory protection key [when
compilation parameter bit 1 of No. 9006 (KEYC) is set to 0].
255 Need the option for background editing function.
It is impossible to instruct the statement during background editing.
Parameter for the extension function effective (No.9002#7 EXT1) must be
set to ”1” at compiling.
Selection processing by work number search etc. is required when
foreground operation is executed for a program which has been prepared
and edited under background.
6.6.7
Condensation of
Program
6.6.8
End Code (#8529)
6.6.9
Notes