Software of control of typical CNC Milling is modular design
- Time:
- Click:31
- source:EAGLEBURGER CNC Machining
9: File of information of machine tool mistake. The design of program of PLC of planer-type milling machine of numerical control of 4 3 coordinate and the design that implement PLC program cannot leave good software platform and hardware environment, system of NUM1050 numerical control produced maker to provide substantial software natural resources and powerful software development tool for the machine tool. Be like PLCTOOL, SETTOOL, PCTOOLKIT. They are to be based on WINDOWS use on platform, for the machine tool development of electric control system brought huge to go to the lavatory. Among them the process designing that PLCTOOL can undertake PLC echelon graph or advanced language C conveniently, the instruction part with substantial stock and clock, tally is unit, the interface that the graph changes, use operation goes to the lavatory neatly. The PLC program of planer-type milling machine of numerical control of this 3 coordinate is in what development design comes out just about on PLCTOOL software platform. Considering actual application, machine tool of this 3 coordinate uses echelon graph language to design PLC program, its advantage is intuitionistic, OK and dynamic show, be debugged easily and safeguard. The input that uses system of NUM1050 numerical control to offer / output module and face plate of machine tool operation, OK and special the athletic etc function that controls a machine tool conveniently, because the machine tool operates face plate,contain what can offer process designing to define key oneself. The machine tool that NUM system provides operates face plate to be linked together through cable and system, raised dependability. According to the characteristic of PLC program structure of NUM1050, when the PLC program that designs machine tool of this 3 coordinate, give different module control each functional allocation of this machine tool. Because this machine tool is not had,break the job specially, %TS of task of initialization task %INI, loop and subprogram module %SP were used when designing a program so. The scanning cycle of %TS0 is 20ms, so will important subprogram is put in %TS0 to call, if the auxiliary function of the machine tool is hydraulic pressure, refrigeration, lubricant wait to be in ~ of task module %TS1 3 in control, the subprogram %SP module that the control of the coordinate of the machine tool, main shaft and relevant section pursues by echelon is assumed. The PLC program structure of 3 coordinate CNC Milling and each module introduction are as follows: %INI: The system is called before other task is carried out, carry out when PLC electrify only, do not get PTC loop control, basically undertake initialization to a few variable. %TS0: Call a subprogram. %TS1: Control machine tool assists functional slideway to lubricate with hydraulic pressure system. Among them slideway is lubricant and periodic by PLC program medium timer is controlled. %TS2: Control system of machine tool refrigeration. Automatic refrigeration and hand can choose to move refrigeration on face plate of machine tool operation. %TS3: Control the loose knife of machine tool main shaft and cutting tool clamp. %SP0: Twinkle with the indicator light that goes up at controlling a machine tool to operate face plate. On the face plate of machine tool operation that NUM1050 system offers contain indicator light for the most part from definition key-press, using a few need special when remindful function, its key-press uses the means that indicator light twinkles, in order to show marked, if restoration of machine tool breakdown bolts, change a knife to finish key to wait a moment. %SP2: Control what the machine tool operates face plate to define key-press oneself. Operate face plate must pass become effective of ability of PLC process designing from definition key, and the function of key-press is defined according to the need of the machine tool. According to the requirement of the user, the operation of planer-type milling machine of numerical control of this 3 coordinate designed a machine tool to start on face plate, cooling control, main shaft is opened stop, change a knife to finish, the function such as restoration of machine tool breakdown. %SP3: Control the safe examination of coordinate motion and coordinate spacing. %SP4: M function coding, this module is used at the definition to change the M06 function that the knife ends. %SP5: Servo of control reference axis makes can. %SP6: This module controls all functions of main shaft part, include main shaft refrigeration, main shaft transducer of electric machinery of clamp of lubricant, cutting tool, main shaft, main shaft. %SP20: The indication of information of machine tool breakdown is controlled. When machine tool occurrence breakdown, in indication page need shows breakdown date and breakdown content in time, appear when the machine tool when many breakdown, the system can show trouble by order, the time that every breakdown shows is installed in notebook program module. This module by other relevant module is called. All functions of planer-type milling machine of numerical control of this 3 coordinate and control all by above each module comes true, among them the core that %SP2, %SP3, %SP5 and %SP6 are program of PLC of this machine tool more. With modular means designs PLC program, can undertake be debugginged alone to each module, improved the efficiency that the machine tool debugs, when the problem appears in debugging a process, can find problem place very quickly, and the different function of the machine tool is used different child module will express, program structure be clear at a glance. Those who pass pair of each stature module is alone debug and final Electromechanical adjustment, the design thought that proved this covers PLC process and method are effective. After insecurity of course of planer-type milling machine of numerical control of this 3 coordinate debugs 5 brief summary, machine tool job is regular, accord with a requirement, the machine tool is achieved check and accept a standard. Carry out a proof, the control software design of machine tool of this 3 coordinate is successful, and design a little basic module of development still have good can transplant quality, the figure of echelon of PLC of machine tool of typical numerical control that NUM1000 series numerical control uses after be in alters slightly in the design make can try to use, the design that controls software to be the same as the PLC of machine tool of series numerical control later laid good foundation. CNC Milling CNC Machining