4 block delete and multi level delete – Rockwell Automation 8520 9/Series CNC Lathe User Manual

Page 278

Advertising
background image

Introduction to Programming

Chapter 10

10-10

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__;

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 are 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 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

Advertising