Manual

Introduction to Programming
Chapter 10
1
0
-
1
0
When you program a slash / followed by a numeric value (1-9)
anywhere in a block, the control skips (does not execute) all remaining
programmed commands. The block delete feature is turned on with the
{FRONT PANEL} softkey or with an optionally installed switch on the
MTB panel. If the {FRONT PANEL} softkey is used, only block delete /1
is available.
Your system installer determines in AMP if the entire block is deleted or if
only the characters to the right of the block delete / are deleted. If the
entire block is to be deleted, it is done regardless of the position of the /
character in the block.
Example 10.6
Block Delete in a Part Program
Program Block Comment
N1000 X__ Z__; first block
N1010 Z__; secondblock
/1N1020 X__; controlskips thisblock if switch1 ison
/1/2N1030 X__; control skipsthis blockif switch 1or switch 2are on
/N1032 X__; controlskips thisblock if switch1 ison
N1040 X__;
/2N1050 X__; controlskips thisblock if switch2 ison
The control always reads several blocks into its buffer memory so that it
can prepare for moves and commands before it executes them. The switch
(or softkey) controlling a block delete must be set before that block is read
into buffer memory, otherwise it will not be skipped.
The control considers a / without a number to mean /1. However, /1
must be programmed if more than one block delete number is to be used in
a block.
The block delete is active for sequence number search and dry run
operations.
The control ignores the block delete when you load a part program from
tape or another device into control memory. The control also ignores the
block delete when a part program is saved on punched tape or another
device from control memory.
For details on the block delete switch(s), see the PAL reference manual and
the documentation prepared by your system installer.
10.2.4
Block Delete and Multi Level
Delete