Page
Chapter: 4
Section:
PROGRAM EDITING
9
4.1.6 INSERTING A NEW PROGRAM BLOCK
To insert a new block into a previously edited program, proceed as when editing blocks; but
instead of pressing [ENTER], press [INSERT].
The new edited block is inserted into memory shifting the ones behind it one position back.
Example:
To insert block N051 containing function "G4.2".
Current program
New program
N050 G90.71
N050 G90.71
N051 G74
N051 G4.2
N052 X-15.363
N052 G74
N053 M9.6
N053 X-15.363
N054 M9.6
* Select block N051 and press [CL] to clear the lower display.
* Edit the block contents. Use [A+] to select the "G" function and key in the value:
"4.2".
* Press [INSERT]. The CNC assumes the new block and "pushes" the following
ones back one position.
If the block insertion affects blocks containing jump or call functions (G25 to G29), the
CNC will take them into consideration and will update them accordingly.
4.1.7 ELIMINATING EMPTY BLOCKS (MEMORY COMPRESSION)
To eliminate an empty block, first select the block number and, then, press [INSERT]. The
CNC will shift ("pull") all the following blocks one position forward.
Example:
To eliminate N152 and N153 which are empty.
Current program
New program
N151 X12 Y13 F500 S1000 M3
N151 X12 Y13 F500 S1000 M3
N154 M40
N152 M40
N155 X20 Y0
N153 X20 Y0
* Select block N152 and press [INSERT]. The CNC "pulls" the following blocks up
one position.
* Press [INSERT] again to shift them up one more position.
If the block elimination affects blocks containing jump or call functions (G25 to G29), the
CNC will take them into consideration and will update them accordingly.
INSERTING / ELIMINATING
A PROGRAM BLOCK