4 block delete and multi level delete – Rockwell Automation 8520-GUM 9/Series CNC Grinder Operation and Programming Manual Documentation Set User Manual

Page 289

Advertising
background image

Introduction to Programming

Chapter 10

10-11

When programming a slash “/” followed by a numeric value (1-9)
anywhere in a block, the control skips (does not execute) all remaining
programmed commands if you turn on the block delete feature. Turn on
this feature by pressing the {FRONT PANEL} softkey, or by activating the
installed switch (optionally) on the MTB panel. If you use the {FRONT
PANEL} softkey, 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.7

Block Delete in a Part Program

Program Block

Comment

N1000 X__ Z__;

first block

N1010

Z__;

second block

/1N1020 X__;

control skips this block if switch 1 is on

/1/2N1030 X__;

control skips this block if switch 1 or switch 2 is on

/N1032 X__;

control skips this block if switch 1 is on

N1040 X__;

/2N1050 X__;

control skips this block if switch 2 is on

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 is not skipped.

The control considers a “/” without a number to mean “/1”. However, you
must program a “/1” if you use more than one block delete number in a
block.

The block delete is active for sequence number search and dry run
operations.

The control ignores the block delete when loading a part program from
tape or other device into control memory. The control also ignores the
block delete when a part program is saved on punched tape or other device
from control memory.

For details on the block delete switch(es), see the PAL Reference manual
and the documentation prepared by your system installer.

10.2.4
Block Delete and
Multi Level Delete

Advertising