The use of the program in the CNC production process

Flutter is a type of self-excited vibration. It is due to the change of the cutting depth caused by the vibration of the machine tool, and this change is fed back to its own tool cutting system, which eventually leads to the out-of-step phenomenon of the pass; flutter occurs. The ultimate goal of the MasterCAMCAM system is to generate NC machining program (NC) codes that the CNC controller can interpret. The generation of NC code generally requires the following three steps: computer-aided design (CAD), production of geometric models of workpieces in CNC machining; computer-aided manufacturing (CAM), generation of a common toolpath data file (NCI file); Processing (POST) converts the NCI file into an NC code that the CNC controller can interpret. The purpose of this paper is to demonstrate the feasibility of using the MasterCAM automatic programming principle to solve the flutter problem by secondly developing the post processing module in MasterCAM.

1. The composition of the automatic programming system A complete automatic programming system must include the main processor (Mainprocessor) and the post processor (Postprocessor). The main processing program is used to translate the part source program written by the CNC language (such as APT, etc.) and calculate the tool center trajectory. This part is completely independent of the specific CNC machine. The output of the main processing program is generally the tool position data (CutterLocationData), but the tool position data cannot be directly used as the control command of the numerical control device. Therefore, there must be a post processing module, and the post processing program is in the automatic programming system. An important part of the computer program is a computer program written according to the functions of the CNC machine tool and the format of the NC machining program. It converts the position data and function information generated by the main processing program into a NC machining program code that can be accepted by a certain CNC machine control unit.

In order to control the machine tool and produce various machining functions and machining movements. The information processing of the graphical interactive automatic programming system is based on CAD and CAM. The processing process is as follows: 1) Geometric modeling is the use of graphical interactive automatic programming software for graphic construction, editing and modification, curve and surface modeling, etc. The geometry of the processed part is accurately drawn on the computer screen. At the same time, the data file of the part graphic is automatically formed in the computer as the basis for the calculation of the next tool path. During the automatic programming process, the software will extract these data according to the processing requirements, perform analysis and judgment and necessary mathematical processing to form the processed tool position data.

2) Tool path generation Graphical interactive automatic programming of tool path production is performed on the screen for graphical interaction. First select the desired subdirectory in the directory generated by the tool path, then use the cursor to select the corresponding graphic target according to the screen prompt, click the corresponding coordinate point, and input the required various parameters. The software will automatically extract the information required for programming from the graphic file, perform analysis and processing, generate a numerical control machining program, and display the tool path graphic on the screen.

After the CNC C58100 lathe is modified by CNC, the two-axis linkage control is adopted. The Z-axis is the parallel lathe main shaft, which is the direction in which the carriage moves along the bed. The X-axis is the direction in which the upper slide moves, perpendicular to the Z-axis, +Z is The tool moves toward the tailstock; -Z moves toward the bedside. +X is the movement of the tool away from the operator. The tool holder is in the same direction of the operator and belongs to the right-hand coordinate system, such as simple CNC and economical CNC lathe.

CNC programming is the whole process from part drawing to obtaining a qualified CNC machining program. Its main task is to calculate the tool position in the machining pass. The tool point is generally taken as the intersection of the tool () axis and the tool surface, and the tool axis vector is also given in multi-axis machining.

In general, the main content of numerical control programming: analysis of part drawings, determination of machining process, mathematical processing, writing part processing program, input numerical control system, program inspection and first piece trial cutting.

Depending on the complexity of the problem, the CNC machining program can be obtained by manual programming or computer automatic programming. At present, computer automatic programming uses graphical interactive automatic programming, that is, computer-aided programming. This automatic programming system is an automatic programming system that combines CAD and CAM. It is usually called CAD/CAM system. The workflow is shown in the following figure: 3) Post processing The purpose of post processing is to form CNC machining files. Due to the different control systems used by various machine tools, the CNC machining programs used have different instruction codes and formats. To this end, the software usually sets a post-processing custom file. Before performing post-processing, the programmer should edit this file in advance according to the specific CNC machine tool code and program format to output the NC machining program that meets the requirements of the CNC machining format. . This CNC transformation uses the Siemens 802D system, so it should be in a format that matches it.

Now take a section of the roll and simulate it. Some process processing interfaces and simulation results are as follows: 2. MasterCAM secondary development is to realize the integration and automation of MasterCAM and CAPP system, and also to enable MasterCAM system to obtain complete feature information. The secondary development of MasterCAM enables it to automatically acquire some or all of the required feature information.

The secondary development interface C?Hooks is the secondary development interface of CNCC designed by Master CNC for the company's MasterCAM distributor and MasterCAM users. It can develop its own dedicated function modules according to the CNC company's agreed format through C programming language. The function of MasterCAM improves the application efficiency of the software. C-Hooks provides users with a large number of library functions written in C language, which enables external applications to access MasterCAM's databases and applications safely and efficiently. Through C programming and application integration with MasterCAM, users and the first The three parties can add the required functions to MasterCAM. The C-Hooks application developed in the C-HooKS environment runs in the same address space as MasterCAM and can directly utilize MasterCAM's core database and source code. With MasterCAM's open architecture, you can directly access MasterCAM's database structure, graphics system, toolpath generation system, toolpath simulation system, and post-processing system.

The internal structure is as follows: In the production of large-scale CNC machine tools, the model of the control system that generates the flutter phenomenon can be modeled, and the corresponding acceleration or speed signal at the time of fluttering is collected, the cause of the vibration is analyzed, and the corresponding solution is given. The program is programmed to connect the post-processing system so that MasterCAM has the function of automatically adjusting the response to chattering. If the process parameters such as feed rate, spindle speed, and cutting speed are automatically changed in time, even when the chattering phenomenon occurs, the appropriate tool can be changed to avoid it. Concentrating on one point is to enable MasterCAM to intelligently avoid the occurrence of chattering in the case of such large-scale CNC powerful cutting, to ensure processing efficiency and save processing costs.

3. Summary This paper aims to improve the production efficiency after the CNC transformation of Maanshan C84100 roll lathe, using MasterCAM software and post processing. The secondary development of MasterCAM is made to have an intelligent processing process for the powerful cutting process of large-scale roll lathes, and the processing efficiency can solve the flutter problem of such machine tools in complex processing environments.

(Finish)

PP Corrugated Type Photocatalyst Filter

PP Corrugated Type Photocatalyst Filter,Whirlpool Filter ,Shower Head Filter ,Cpap Machine Amazon

Reverse Osmosis System Co., Ltd. , http://www.nbfiltration.com