2 program configuration – Rockwell Automation 8520-GUM 9/Series CNC Grinder Operation and Programming Manual Documentation Set User Manual

Page 284

Advertising
background image

Introduction to Programming

Chapter 10

10-6

The comment can be up to 128 characters long (including the control out
and control in codes), and can consist of any alphanumeric characters and
special symbols. However, the comment cannot include the following
codes:

(
)
ER, %

(rewind stop codes)

EOB

(end of block)

Important: If rewind stop codes are included in the comment, the tape
rewind function (M30) causes the rewind to stop in the comment section of
the tape.

(7) Program End
The control stops reading the part program when it reads a program end
code. You can use these codes as program end codes:

M02 ---- end of program

M30 ---- end of program and tape rewind

M99 ---- end of program, tape rewind, and restart the program

% ---- end of program and end of tape code

PRGRM NAME ---- end of program

(8) Tape End (Rewind, Stop Code)
The tape end code, indicating the end of a tape, is designated with either:

% ---- ASCII format

ER ---- EIA format

Each individual grinding operation performed by the control is determined
by the control’s interpretation of a group of words (commands) called a
“block”. Individual blocks in a part program define each grinding process.
Part programs consist of a number of blocks that, together define a
complete operation on a part.

Part program blocks are made up of:

characters ---- A character is a number, a letter, or a symbol that means
something specific to the control. For example, 1 G ; are characters
the control recognizes as meaningful information.

addresses ---- An address is a letter that defines the instruction for the
control. Examples of addresses are: G, X, Z, F.

10.2
Program Configuration

Advertising