









































Prepara tus exámenes y mejora tus resultados gracias a la gran cantidad de recursos disponibles en Docsity
Gana puntos ayudando a otros estudiantes o consíguelos activando un Plan Premium
Esta página no es visible en la vista previa
¡No te pierdas las partes importantes!










































Steve Krar Arthur Gill
INDUSTRIAL PRESS, INC.
MACHINERY’S HANDBOOK
CALL FOR AUTHORS
Photo Credits - Allen Bradley, Deckel Maho Inc., Denford Inc., Emco Maier Corp., Icon Corp., Kelmar Associates, Superior Electric Co.
Development Resources provided by Paul Koontz, Denford Inc. Page Layout / Design - Coree Kilo Price, Denford Inc.
Library of Congress Cataloging-in-Publication Data
Krar, Steve F. COMPUTER Numerical Control Programming Basics / Steve Krar, Arthur Gill. p. cm. ISBN 0-07-023333-
Some of the artwork for this book was processed electronically.
Computer Numerical Control Programming Basics Copyright © 1999 by Kelmar Associates. All rights reserved. Printed in the United States of America. Except as permitted under the United States Copyright Act, no part of this publication can be reproduced or distributed in any form or means, or stored in a database or retrieval system without the written permission of the publisher.
Send all inquiries to: Kelmar Associates 420 Fitch Street, Welland, ON L3C 4W Phone: (905) 732-4193 E-mail: [email protected]
CNC MILLING: The Milling programming scores were even lower. Secondary average was 25.8 with a high of 100 and five contes- tants with zeros. Post-secondary average was 25.7 with a high of 58 and four contestants with zero.
These scores indicate a definite lack of fundamental CNC programming skills!
All contestants were given a guide to the Fanuc software that would be used. The Fanuc software guide, that is used in over 80% of the CNC applications throughout the world, included all the codes needed for the competition. Contestants were given time to familiarize themselves with and ask questions about the comput- ers and the software they would be using. Technical committee members were shocked to find several contestants that did not even have the basic computer skills to open the software program.
It is our recommendation that any school with a Precision Machin- ing curriculum should be utilizing manual machines to provide a basic understanding of and to develop basic skills related to the fundamental machining processes. The focus of this phase should be work-holding techniques, how metal is removed, tooling termi- nology, proper speeds, feed and depth of cut for different materials and obtaining geometric and size tolerances. After this basic introduction to machining processes (utilizing manual machines) instruction should quickly transition to CNC programming utilizing and applying all the fundamental machining skills learned in the manual-machining phase.
We are not suggesting that every school with a metalworking program invest in costly full-sized CNC machines; just the oppo- site is true. Inexpensive text books, trade literature, video tapes, machine simulators (this is how the small bench-top CNC teaching machines should be looked upon), and computer software is available today. We also feel that the NIMS (National Institute for Metalworking Skills) Machining, level I and II skill standards should be incorporated into every school’s machining program.
Our National Skills USA Precision Machining Competition is based on these standards!
Visit the NIMS web site: www.nims-skills.org
It is our hope that this booklet will get into the hands of all those instructors, advisors, State Directors and local and state technical committees that have anything to do with the Skills USA-VICA Precision Machining competition and eventually into every preci- sion machining curriculum in the United States.
VICA CNC Programming Guide covers the basic CNC principles and gives detailed explanation of each step in the programming and turning a part. The time and money spent to prepare and distribute this Guide will be wasted unless the metalworking/ manufacturing teacher is committed to introducing CNC as part of the curriculum.
The following suggestions can be used to introduce CNC theory and technology to metalworking/manufacturing courses:
For more information from a leader in CNC educational courseware, software, and Bench-Top Teaching machines contact:
Denford Inc. 1-800-886- www.denford.com E-mail: [email protected]
The old argument that there are still many shops using old technology is a fallacy used consciously or unconsciously by those resisting changes. Over 90% of the machine tools manufactured in the world have some form of CNC control, therefore conven- tional (manual) machines should be used to provide only the basic knowledge of machines and machining processes.
We must all do our part; State Directors, District Directors, School Administrators, and Classroom Teachers to correct a problem long overdue in technical education.
Steve Krar CNC Team Leader Precision Machining Technology
terms from any other point along three perpendicular axes. This concept fits machine tools perfectly since their construction is generally based on three axes of motion (X, Y, Z) plus an axis of rotation. On a plain vertical milling machine, the X axis is the horizontal movement (right or left) of the table, the Y axis is the table cross movement (toward or away from the column), and the Z axis is the vertical movement of the knee or the spindle. CNC systems rely heavily on the use of rectangular coordinates be- cause the programmer can locate every point on a job precisely.
When points are located on a workpiece, two straight intersecting lines, one vertical and one horizontal, are used. These lines must be at right angles to each other, and the point where they cross is called theorigin, orzero point (Fig. 1)
Fig. 1 Intersecting lines form right angles and establish the zero point (Allen-Bradley)
The three-dimensional coordinate planes are shown in Fig. 2. The X and Y planes (axes) are horizontal and represent horizontal machine table motions. The Z plane or axis represents the vertical tool motion. The plus (+) and minus (-) signs indicate the direction from the zero point (origin) along the axis of movement. The four quadrants formed when the XY axes cross are numbered in a counterclockwise direction (Fig. 3). All positions located in quad- rant 1 would be positive (X+) and positive (Y+). In the second quadrant, all positions would be negative X (X-) and positive (Y+). In the third quadrant, all locations would be negative X (X-) and negative (Y-). In the fourth quadrant, all locations would be posi- tive X (X+) and negative Y (Y-).
Fig. 2 The three-dimensional coordinate planes (axes) used in CNC. (The Superior Electric Company)
Fig. 3 The quadrants formed when the X and Y axes cross are used to accurately locate points from the XY zero, or origin, point. (Allen-Bradley)
In Fig. 3 , point A would be 2 units to the right of the Y axis and 2 units above the X axis. Assume that each unit equals 1.000. The location of point A would be X + 2.000 and Y + 2.000. For point B, the location would be X + 1.000 and Y - 2.000. In CNC program- ming it is not necessary to indicate plus (+) values since these are assumed. However, the minus (-) values must be indicated. For example, the locations of both A and B would be indicated as follows:
Early machine tools were designed so that the operator was standing in front of the machine while operating the controls. This design is no longer necessary, since in CNC the operator no longer controls the machine tool movements. On conventional machine tools, only about 20 percent of the time was spent remov- ing material. With the addition of electronic controls, actual time spent removing metal has increased to 80 percent and even higher. It has also reduced the amount of time required to bring the cutting tool into each machining position.
Fig. 5 The main axes of a vertical machining center. (Denford Inc.)
Two types of programming modes, the incremental system and the absolute system, are used for CNC. Both systems have applications in CNC programming, and no system is either right or wrong all the time. Most controls on machine tools today are capable of handling either incremental or absolute programming.
Incremental program locations are always given as the distance and direction from the immediately preceding point (Fig. 6). Com- mand codes which tell the machine to move the table, spindle, and knee are explained here using a vertical milling machine as an example:
X axis Y axis
Z axis
Positioning Reference Point Systems
Incremental Absolute
Fig. 6 A workpiece dimensioned in the incremental system mode. (Icon Corporation)
In incremental programming, the G91 command indicates to the computer and MCU (Machine Control Unit) that programming is in the incremental mode.
Absolute program locations are always given from a single fixed zero or origin point (Fig. 7). The zero or origin point may be a position on the machine table, such as the corner of the worktable or at any specific point on the workpiece. In absolute dimensioning and programming, each point or location on the workpiece is given as a certain distance from the zero or reference point.
CNC Positioning Systems
Point-to-Point or Positioning
Continuous Path or Contouring
Fig. 8 Types of CNC positioning systems (Kelmar Associates)
Point-to-point positioning is used when it is necessary to accu- rately locate the spindle, or the workpiece mounted on the ma- chine table, at one or more specific Iocations to perform such operations as drilling, reaming, boring, tapping, and punching (Fig. 9). Point-to-point positioning is the process of positioning from one coordinate (XY) position or location to another, performing the machining operation, and continuing this pattern until all the operations have been completed at all programmed locations.
Fig. 9 The path followed by point-to-point positioning to reach various programmed points (machining locations) on the XY axis. (Kelmar Associates)
In Fig. 9 point 1 to point 2 is a straight line, and the machine moves only along the X axis; but points 2 and 3 require that motion along both the X and Y axes takes place. As the distance in the X direction is greater than in the Y direction, Y will reach its
position first, leaving X to travel in a straight line for the remaining distance. A similar motion takes place between points 3 and 4.
Contouring, orcontinuous path machining, involves work such as that produced on a lathe or milling machine, where the cutting tool is in contact with the workpiece as it travels from one programmed point to the next. Continuous path positioning is the ability to control motions on two or more machine axes simultaneously to keep a constant cutter-workpiece relationship. The programmed information in the CNC program must accurately position the cutting tool from one point to the next and follow a predefined accurate path at a programmed feed rate in order to produce the form or contour required (Fig. 10)
The method by which contouring machine tools move from one programmed point to the next is calledinterpolation. This ability to
Fig. 10 Types of contour machining (A) Simple contour; (B) complex contour (Allen Bradley)