Tape with program end = % (ascii), er (eia) – Rockwell Automation 8520-MUM 9/Series CNC Mill Operation and Programming Manual Documentation Set User Manual

Page 276

Advertising
background image

Introduction to Programming

Chapter 10

10-2

Tape with Program End = M02, M30, M99

This particular tape format allows single- or multi-program format on a
tape. It also allows you to enter either M02, M30 or M99 as a program end
code (refer to chapter 9 for details on legal program end codes).
Figure 10.1 shows a typical configuration for a multiple program tape with
M30 and M99 as program end codes.

If the first block of the file program is a filename, you can set AUTO
FILENAME to “yes” to create filenames for all subsequent programs. If
AUTO FILENAME is set to “no”, and no filenames are included in the
programs on the tape, you have to enter all filenames from the keyboard
when prompted. For more information, refer to the section on O--word
Programming in this chapter.

The control automatically recognizes EIA or ASCII during input when it
reads the first EOB code from the tape.

Figure 10.1

Tape Configuration (Program End = M02, M30, M99)

E
O
B

Program start code

Leader
section

Tape start
code

E
O
B

Part program

Program
end code

Tape end
code

1 foot
space

E
O
B

O100

Program
name (opt)

O101

Program
name
(opt)

Program
end code

Part program

M30

M99

Comment
(opt)

E
O
B

Comment
(opt)

Program start code

Typical single program tape

Typical multi-program tape

ER
or
%

ER
or
%

Tape with Program End = % (ASCII), ER (EIA)

Unlike the previous tape type mentioned, this type of tape accepts only the
“%” (ER) field as the program end code (see Figure 10.2). Refer to
chapter 9 for details on legal program end codes and the effect of STOP
PRG END.

Advertising