
B–62093E–1/02
6. FUNCTIONS OF THE MACRO
EXECUTOR
PROGRAMMING
77
Recording, deleting and changing of NC part program is possible by the
conversational macro function. Control the NC program with program
number and block number. The block numbers are counted on each EOB
regarding the block with address “O” being the No.1 block. For NC
programs in the converational macro , one word is expressed by 2
variables of an address code and a number, and several words construct
a block.
Set extension function valid (Parameter EXT1(No. 9002#7)) to “1” at
compiling when using this function.
Make the control instruction using G codes (G320–G329) in the
conversational macro.
There is an end code #8529 to check that the instructed function run
correcctly or not. Check end code after running G320–G329.
The end is normal when the end code #8529 is 0, and in the cases other
than 0, the same number as the P/S alarm in the usual editing process will
be notified.
Control variable
#8520 Specification of program number. . . .
#8521 Specification of block number. . . .
#8522 Specification of housed variable number. . . .
#8523 Variable number of a variable that specifies the number. . . .
of digits under a decimal point.
#8529 End code(for reading only). . . .
Control codes
G320 Record a new block. . . .
G321 Delete block. . . .
G322 Condensation of program. . . .
G325 Read specified block. . . .
G326 Write block. . . .
G327 Delete block. . . .
G328 Read a specified block coded in characters. . . .
G329 Write a specified block coded in characters. . . .
6.5
REFERENCING AND
READING NC
PROGRAM WITH
CONVERSATIONAL
MACRO
6.5.1
Outline