The software structure of numerical control system (CME988)

  • Time:
  • Click:114
  • source:MOMEYER CNC Machining
1. System of numerical control of CME988 of structure of software of numerical control of much axis much passageway is in DOS (or Windows) the much axis that moves below the environment is much software of passageway numerical control. A passageway is a complete CNC control function, can control a machine tool namely, the reference axis X that it includes a machine tool, Y, Z, ... , main shaft, knife library position is controlled, PLC function. Connect the control number of axle inside number of channels and every passageway, but by parameter set. From theoretic tell, passageway number of the system is a lot of OKer, but actually, because every passageway takes the run time of certain hardware space and hard software, so cannot infinite much. The hardware structure of this system is odd CPU structure, can choose way of 4 passageways work, most linkage axis is 8 axes. 3ms+2ms/ passageway of = of cycle of the smallest control figures the system, among them the basic time that 3ms needs for systematic moving place, with the passageway number has nothing to do, every passageway still needs to take up 2ms time. Block diagram of structure of software of systematic much passageway, if pursue,1 is shown. Graph sketch map of structure of software of 1 much passageway to make numerical control system controls many passageways, choose the PC with rapidder rate as far as possible. Use for convenient user, systematic software uses two groups of set. The first class configures class for the system, the 2nd class configures class for parameter. The system configures class to give the upper limit that the system configures, the control of the biggest number of axle that is like number of the biggest channel, every passageway, system is periodic. Class is configured in parameter, the user can be in those who give a system inside limits of the biggest configuration, name of axis of the control number of axle that installs a machine tool with parameter means, feed, whether to want knife library seat control, whether to want the control such as main shaft timing. Its signal block diagram is shown 2 times like the graph. Application software of system of graph 2 CNC generates note: M=1 ~ 12, n=1 ~ 8, k=3 ~ 32ms2. The block diagram of the software of software structure CME988 of a passageway is shown 3 times like the graph. It has module of software of 5 basic functions: Module of module of CNC module, PLC module, conversational process designing, language of patulous numerical control and module of FMS network communication. These module are to use C language to write, have nothing to do with the computer and operating system, these module are had can transplant quality. Below DOS operating system, the operating system of real time much task that implements CME988 software, by this real time much task operating system is attempered module of function of 5 basic software, make module of 5 software function can support next moving in DOS operating system. Graph block diagram of 3 CME988 software and PC peripheral equipment (wait like monitor, disk drive and clavier) join, it is to pass BIOS software module (or write with C language) will come true. This part software has certain compatibility, make its get used to the demand that PC peripheral expands ceaselessly, card of the monitor that gets used to high resolution for example, new-style net. CNC input outputs interface module software, be undertake CNC system and servo of machine tool feed, main shaft servo, PLC information is exchanged. This part software is open to the user, will be controlled according to the position and differ. (1) CNC software module its are main the function has: 1) 1 ~ the control of 4 passageways. 2) every passageway is most 8 axes linkage. 3) interpolation of linear, circular arc, corkscrewed yarn. 4) compensation of compensation of cutting tool length, radius compensation, point of a knife and 3D knife slant compensation. 5) management of random cutting tool, cutting tool life manages. 6) servo drift compensation, pitch error compensation. 7) slideway linearity compensation, slideway verticality is compensated. 8) backlash compensation. 9) symmetrical treatment, scale shrinks put and soft spacing. 10) moving condition is self-recording, systematic breakdown is diagnosed. 11) the window and menu means operation, chinese and English clew. 12) 2 dimension graph emulates 3 dimension / , can store graphical data. 13) a variety of turning, milling and auger cut fixed circulation. (2) this kind of language is similar to module of software of language of patulous numerical control the user that supplier of some CNC system provides grand program function, but richer than grand program function and agile. Machine tool manufacturer and the final user of use machine tool, can use proper motion of language of patulous numerical control to develop special control function. Develop special type to secure a loop with language of patulous numerical control for example, also can use this kind of language to expand CME988 wait for a domain with Yu Buchong machine, blaze cut machine, pipe bender. Expand the main function of numerical control language has: 1) mathematical operation. 2) logistic operation. 3) appoint a machine tool statement of each axis exercise. 4) appoint statement of main shaft exercise. 5) with PLC interface of input / output exchanges data. 6) the data switch between the passageway and moving synchronism. 7) disk data management and moving state notes. 8) the subprogram is called and jump turn instruction. 9) the system moves control, for example the passageway is started, time-out and restoration. 10) the automatic compensation that uses language of patulous numerical control to be able to finish cutting tool length. 11) the automatic compensation of error of fixed position of installation of the workpiece that finish. 12) of the cutting tool that finish change automatically. 13) in language of patulous numerical control support falls, a channel that can use system of a CME988 gives priority to a passageway, control many CNC system, finish flexible the control task of production unit, if pursue,4 are shown. Graph 4 flexible means of production unit join (3) this module offers module of software of system of conversational process designing to be made in have drills of setting of CNC software module, the graph that faces treatment craft is alternant system of conversational process designing (be aimed at lathe, machining center) . Process designing is guided by menu of medium, English, by graphical window support. This system still can read in the CAD geometry data that generates by AUTOCAD system (DXF) , add and necessary craft information, create CNC Machining program directly. (4) it offers module of FMS communication software the communication agreement that applies to FMS to control system or workshop government, the speed that interface hardware can correspond according to data asks, choice RS232 interface or ARCNET communication network gets stuck. The PC that ARCNET is a kind of standard peripheral equipment, communication rate is high, can take many node, reliability is high, special the couplet net that applies to PC to fall in industrial environment is used. The main function of FMS communication agreement has: 1) executive CNC handles an order, start, restoration and time-out. 2) the moving condition that inquires CNC system. 3) the management of CNC system file, if send, receive, duplicate and delete etc. 4) deferent PLC handles an instruction, input and output. Graph 5 be by means of ARCNET couplet net flexible production system. Graph 5 flexible production system sketch map (5) module of PLC of PLC software module is the module that opens to user of numerical control system completely. The authorized strength of PLC program is achieved with C language. C language has rich function, make the staff right on the money of PLC program intuitionistic, logic is strong, debug convenient, the instruction system that PLC hides inside general CNC system cannot is likened to. For program of PLC of more convenient work out, this module still added a few special functions. Mix directly to avoid CNC kernel contact with, use public variable to make undertake information is exchanged between CNC and PLC, the user needs to undertake operating to these variable only, can finish the data with CNC program to exchange. Defined instruction of 26 kinds of functions, wait like generator of input, output, timer, pulse. Have axle control through PLC. To make the work out brachylogy of PLC program quick, designed a name to be US.

Of C alleged " frame of user PLC program " , the user is weaving when oneself PLC, need to be in only US.

The relevant section of C is filled on oneself control statement can. The interpret of PLC program warp knitting that weaves with C language and systematic software have link, the control program that creates a final CNC and PLC module join to be together, join flow is shown 6 times like the graph. Graph of program of PLC of sketch map of 6 software link call can differentiate roughly for two phase. Initialization PLC program, put in part of} of Init-PLC-user(){initialization content, the program in {} is carried out when the system appends report only, this part completes the operation related a few initialization condition with the machine tool. Another phase is a system the PLC order that every 8ms executes the others. CNC Milling