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

Page 286

Advertising
background image

Introduction to Programming

Chapter 10

10-8

The blocks programmed vary for each section of the program. Consider
Example 10.2.

Example 10.2

Sample Part Program

G91G21;

G00X28.;

G81Z5.K-2.;

G00X5;

G80;

M02;

beginning

middle

end

A complete part program can consist of a main program and several
subprograms. For details on subprograms, see page 10-12.

Enter as many as 8 alphanumeric characters for program names, which the
control uses to call up programs for editing or automatic operations.

Subprograms are designated with the letter O followed by 5 numbers. If
you enter a new program name with 5 numeric characters, the control
assumes that it is a subprogram and automatically inserts the letter O as the
first character in the name. However, the control does not consider
programs with more than 5 numeric characters as subprograms.

The control first lists subprograms in numerical order, from lowest to
highest. Following the subprograms are the main programs, which are
listed in alphabetical order.

10.2.1
Program Names

Advertising