CNC Programming Systems PDF
CNC Programming Systems PDF
Figure 3.1. Overview of the software modules and interfaces between design engineering and production.
The requirements placed on NC programming are subordinated to the demanding requirements of the manufacturing industry and thus are subject to constant changes. The production environment is characterized by a wide variety of products and ever-shorter product life cycles. The result is that components of ever-increasing complexity have to be produced in smaller and smaller lot sizes. In response, CNC machine tools are becoming more capable and more multifunctional. The required exibility is reected in the increased installation of "almost universal" machining systems. A result of this is that the demands placed on CAM system have increased tremendously in recent years. This means that as the number and variety of machining processes contained in complete machining solutions increase, the more important it is to be able to manage them using the same CAM system.
Figure 3.2. NC-controlled stone saw with 1.5-m saw blade. (Robert Schlatter GmbH.)
Recently, more and more turning machines have been turned into universal machines that also can perform high-quality milling. And vice versa; there are now also milling machines that can be used for turning. State-of-the-art programming systems therefore have to be able to cope easily with switching back and forth between these machining processes. What is demanded here is quite clear: to be able to program all processes in any desired mix using the same system and the same user interface (Figures 3.3
and 3.4 ).
Figure 3.5. Depiction of sculptured surfaces (3D machining). The geometry is generated by simultaneous tool motion in all axes.
Figure 3.6. 2-1/2-D machining. Form-reproducing tool generates resulting geometry through Z in-feed.
the NC programs that are created. In prototype construction, the requirement is to quickly create reliable, collision-free programs. The programming time and the ability to implement changes quickly are the highest priorities. The run-in time on the machine is also important. Optimization of the process time is of only secondary importance. The reason for this is that there is really little benet to be gained from optimizing the process time for just a few parts. Because running in may take place several times a day, this is where by far the greatest savings can be achieved. It is extremely important here to have programs that can be used to exclude the possibility of collisions from the very start, for example, by means of quality simulations. In some elds, and especially in one-o production, the unmachined part is already very expensive and hard to obtain. In such cases, zero defects are essential even during running-in (Figure 3.7 ).
Figure 3.7. Cylinder liner (length 1,500 mm). Example of a very expensive unmachined part in one-o parts manufacturing.
Series production involves completely dierent criteria. Here the process time itself is the most important point. The planning time is divided by the large number of units to be produced. It is thus advisable to look for ways to save even fractions of a second. This can be done most of all by optimizing the process sequence, optimizing tool paths and multiple xtures, and using a very highly adapted postprocessor. All the same, simulation also must be
It is also necessary to be able to correct elements whose tolerances are not centered, taking the connecting elements into account. In any case, it is essential to give the system information about the height of the body involved and the depth of any recess. If this cannot be done using the geometric data, then it will have to be done later via the depth setting of the tools. This is very time consuming. The design attitude very seldom corresponds to the attitude in the NC programming or on the machine. It is therefore important to align the geometries in space as simply as possible. It must be possible to associate dierent sides with dierent zero points (on the machine). With modern systems, if 3D models are available for the workpieces, then they also can be used to generate 2D programs. Based on the precise 3D data in the system, it is possible to derive 2D geometries such as planes, cylindrical surfaces, sections through volumes, or projections of surfaces as a contour with supplementary information about the position in space. If no CAD data are available, then the programmer must be able to generate all the geometry necessary to create the program using the functions available in the CAM system without any help from a CAD system. Complex workpieces contain such a large amount of geometric data that in some cases it is hard for the programmer to maintain a clear overview. It is therefore absolutely essential to support the programmer by means of suitable tools and management functions. It is especially useful here to highlight elements, contours, solids, and surfaces through the use of dierent colors, transparencies, thicknesses, and types of dashed lines and other special ways of emphasizing edges. It is also advisable to assign names and layers, as well as ways to conveniently show and hide relevant and irrelevant objects. One excellent method, for example, is to automatically hide surfaces that have already been processed.
performance machining strategy. For normal machining such as milling or turning, it is common to use standard strategies that simply can be called up, such as Milling
Moving over contours/contour areas, etc. Broaching of recesses with and without islands Thread milling Slot milling Engraving Drilling cycles
Turning
Rough machining Roughing with cutting passes Finishing Recessing (Figure 3.8 )
Figure 3.9. Transferred from CAD to CAM and automatically converted into machining sequences.
But the real challenges are as follows:
To provide the user with a congurable, application-specic standard To provide for easy integration of nonstandard and new tools, technologies, and parameters To incorporate user-specic requests into the system, such as tool catalogs or special knowledge-based databases To transfer existing machining strategies to other geometries To create a direct association between the geometry and the machining so that in the event of a geometry change, the change is made automatically in the corresponding machining operations
Figure 3.10. Five-axis path, derived from the surface and edge.
If the 3D CAD system that is being used is capable of attaching expanded information to geometric elements, then a modern CAM system can use this information to derive all the required tools and machining sequences. It should be noted here that only geometric and design-related information is needed in the 3D model. Some systems try to achieve automatic program generation by attaching tool and technology information to CAD objects. This approach, of course, is completely wrong. The developer has to stick to his or her core competency design engineeringand must not have to cope with production-related issues. What is more, it is very rare in the design phase for it to already be clear what production systems and which tools will be used later to manufacture the part. It is thus important to make a clear separation
between the geometry and the manufacturing technology. It becomes obvious here that model generation has to take into account more than just the external appearance. Information about tolerances, threads, surface quality, and much more has to be linked to the model in a consistent, logical manner. Whether it is integrated or used independently, the CAM system has to make use of the available information to derive optimal machining operations.
Figure 3.11. Part with detected features, including a special borehole with a special tool.
3.13. Tools
In this process chain, the tools are of central importance. Neither automatic program generation nor quality simulations are at all possible without complete, consistent tool models. In manufacturing technology, tool management cannot be limited merely to the recording and saving of tool data. Far from it: Both the geometric and technological characteristics have to be available in such a way that the CAM system can access them as automatically as possible (Figure 3.13 ). In conjunction with the feature
automatically as possible (Figure 3.13 ). In conjunction with the feature informationfor example, for a stepped holethis makes it possible to automatically determine the correct tools. Using this method, it is also possible to ensure that in the event of changes, for example, from an M8 tapped hole to an M10 one, both the machining operation and the tool selection will be integrated automatically. Entering new, technologically improved tools thus also will automatically aect future selections of the optimal tool.
Figure 3.13. EWS tool for turning/milling centers; depiction of components and assembly.
Figure 3.14. Planning the machining of the same part from two sides.
operations can be dened on only one part. If this part uses a multiple setup, then these machining operations are "inherited" at the new position so that multiple parts can be processed in various positions in the process sequence. Here, too, sequence optimization can play a major role and can be used to recalculate the tool sequence and processing paths in relation to the overall scenario. For traversing motions, the basic objective is to achieve motions that are as short and quick as possible. This is generally achieved by reducing the retraction distances. The principal problem here is the danger of collisions between moving machine parts and the clamped part or the clamping equipment. In series production, it is not acceptable to always pull back to a position that is safe under all conditions.
Simulation ).
3.16. Postprocessors
Regardless of how convenient it has been to generate the data up to this point, the controller of the NC in any case will require its own special NC code. In the meantime, these codes deviate to a greater or lesser degree from the syntax dened in the DIN 66025 standard regardless of the type of controller. It is thus the task of the postprocessor (a program section belonging to the CAM system) to convert the data that have so far been
generated into the precise syntax of the specic controller-machine combination. Good systems have a modular structure, which means that the postprocessor is not buried in the general system code. Nevertheless, the CAM systems supplier also should take care of this last step because the postprocessor has a decisive inuence on the overall results of programming work. This is where it is determined whether control cycles and subprograms can be used and likewise whether full use can be made of the cutter radius and/or tool-tip edge-radius compensation. Last but not least, the postprocessor is also responsible for the generation of additional data such as tool lists, clamping plans, and auxiliary programs, for example, for the toolpresetting device. It also performs preassignment of milling operations on turning machines or distribution of the overall machining tasks among a number of individual machines.
To implement this range of requirements, it is necessary to have an NC program-management system that is connected via DNC ( Part 6 ,
3.18. Summary
The protability of a CNC manufacturing operation depends heavily on the performance of the NC programming system. Programming comprises not just the inputting of the workpiece dimensions but also has to provide
appropriate specications for the entire manufacturing process for each machine. All the essential factors have to be taken into account. Therefore, before committing to a particular manufacturer, it is absolutely essential for the purchaser to obtain extensive information and to compare the various systems. It necessary to take into account not only the various machining processes and CNC machines that have to be programmed but also the requirements as regards the variety of parts with 2D and 3D machining operations, quality simulation of the nished NC program, the options for transferring data from the CAD system, feature programming as a way to make work easier, and last but not least, the ways and means for recording and calling up tool data and/or entire tool catalogs in a simple and easy manner. Also important is the automatic availability of the associated technology data, such as feed rates, speeds, cutting depths, and so on, for each of the materials being machined. A high priority is also placed on the ability to make changes or modications quickly to nished programs without having to start again from the beginning. Finally, one of the supreme aspects is generation of an error-free machining strategy.
2D programs are needed for all processes in which a maximum of two axes move simultaneously during the machining operation with interpolation. This type of machining is typical for drilling operations and 4. milling operations such as surface, contour, and pocket milling. It should be possible for a CAM system to manage a mix of processes, for 5. example, turning and drilling/milling without a module change. With state-of-the-art interfaces, it is possible to transfer models from 6. various CAD systems to external CAM systems with no loss of data. The tool database is of central importance in the CAD/CAM process chain. Both in program generation and in simulation, it must be possible to access not only the numerical data but also realistic model data at run 7. time. Today, simulation is an indispensible aid in NC programming. This is essential in order to prevent collisions. Here, too, the better the model 8. data, the better is the quality of the prediction from the simulation. It is the postprocessor (PP) that generates the actual NC program for the specic controller-machine combination. It also can supply additional data such as tool lists, clamping plans, and programs for the tool-presetting device. A CAM system can be used only if the postprocessor is delivering 9. the proper output. It is advantageous if CAM systems have "feature" functions to be able to adopt programmed machining operations directly in the event of small 10. geometric corrections. During the design phase, it has generally not yet been determined which CNC machine will be used for the machining. Therefore, there should be a 11. strict division between the CAM system geometry and the technology data.
Citation
EXPORT
Hans B. Kief; Helmut A. Roschiwal: CNC Handbook. CNC Programming Systems, Chapter (McGraw-Hill Professional, 2012), AccessEngineering
2012 The McGraw-Hill Companies. All rights reserved. Customer Privacy Notice. Any use is subject to the Terms of Use, Privacy Notice and copyright information. For further information about this site, contact us. Designed and built using SIPP2 by Semantico. This product incorporates part of the open source Protg system. Protg is available at http://protege.stanford.edu//