beautypg.com

Rockwell Automation 8520-MUM 9/Series CNC Mill Operation and Programming Manual Documentation Set User Manual

Page 278

background image

Introduction to Programming

Chapter 10

10-4

(3) Program Start Code
The first end-of-block code (EOB code) after the leader section indicates
the beginning of the part program. The EOB code is designated with:

line feed (LF) ---- ASCII format

carriage return (CR) ---- EIA format

Important: When performing an EOB search, the search is executed from
the beginning of the part program, NOT from the point of display.

(4) O--word Program Name
The program name, if on the tape, must follow the program start code.

When outputting to tape the program name can be determined by:

Program Name:

If:

Manually Keying in the program name

----

Selected from the first block of the program

No name has been manually keyed in and the first block
contains an O--word, : (for EIA format), or N--word after the
program start code.

Selected form the program directory

No name has been manually keyed in and no name exists
in the first block of the program. For the program name to
be taken from the directory screen the program must be
stored on that directory with the letter O followed by up to 5
numeric digits. In this case the control will generate an
O--word block as the first block of the program written to
tape.

No name is used

A program will be stored on tape with no program name if
none of the above naming conditions are met.

(5) Part Program Section
A part program is made of blocks of information. Individual blocks
contain words that the control can interpret. Individual words are made up
of an address with a numeric value. For details on words and addresses,
see the remaining sections of this chapter.

This section should include a program name, program blocks, comments,
and end-of-program. Each block in the part program is separated by an
EOB code. The control displays a semicolon “;” to indicate the presence
of an EOB code.