
B–62073E–2/03
4.CONVERSATIONAL MACRO FUNCTION
71
(1) Summary
Recording, deleting and changing of NC part program is possible by
the conversation macro function. Control the CNC program with
program number and block number. Count the block number count
in order by each EOB using the block No.1 which is the block of
address “O” of the relevant program. In the converational macro
CNC program, the data of one word is expressed by the address code
and 2 numbers, which are reported to form a block.
Set parameter No.8508, EXT1 to “1” at compiling when using this
function.
Example:
00001 ; Block No.1
G00 X10. ; Block No.2
M03 S1000 ; Block No.3
Program number 0001, block No. 3, storage variable number = 100
#100= 13 Address M
#101= 3 Numerical value
#102= 19 Address S
#103=1000 Numerical value
#104= 27 Address EOB
The control command instructs the G code by the conversational macro.
There is a complete code for checking whether or not the commanded
function has been correctly executed.
After execution of G328, G329, G370 to G377, check the complete code.
System variable
#8520 Program number specification
#8521 Block number specification
#8522 Storage variable number specification
#8523 Number of digits after decimal point specification variable
number
#8526 Status of background editing (reading exclusive)
#8527 The number of registered programs (reading exclusive)
#8528 Vacant area of CNC programming memory (reading exclusive)
#8529 Complete code (reading exclusive)
Control code
G370 Registration of new program
G371 Deleting programs
G375 Reading specified blocks
G376 Block writing
G377 Deleting blocks
G328 Reading specified blocks of character type
G329 Writing specified blocks of character type
Note
0 is set for #8520 to #8523 when turning on the power.
4.5.13
Refer to and Read CNC
Program with
Conversation Macro