Be based on modular the system of open mode numerical control of the design

  • Time:
  • Click:141
  • source:MCGUFFIE CNC Machining
Use the system of open mode numerical control that NC embeds PC mode compose is built, it is to compare pattern of feasible a kind of development at present. The article introduced PCB to get the hardware design of system of milling machine numerical control, and those who be based on COM component is modular software design, the key introduced the implementation of software of numerical control system. Foreword as the computer technology of soft, hardware is mixed the swift and violent development of IT, numerical control system gradually by traditional special model enclosed change of systematic Xiang Ling's vivid system of open mode numerical control, do one's best solves commutation frequent demand and close the contradiction between control system, build an unified systematic platform that can reframe thereby, have modular constituent structure, allow user basis to need to undertake choosing deserving to mix compositive, change or the function of patulous system, so that get used to diverse applied demand quickly. The system of open mode numerical control that is based on PC at present has 3 kinds of pattern: (1) mode of PC built-in CNC. This kind of mode cannot use general PC directly, open sex is restricted; (2) mode of NC built-in PC. This kind of mode is appropriative motion is inserted to control card in the patulous chamfer of general PC, the much axis movement that motion controls card to collect DSP of in order to to be core controls a technology, can assure systematic function adequately, the soft hardware natural resources with substantial PC can make full use of in the meantime, open sex is good; (3) pattern of system of numerical control of Soft open mode. The CNC part of this kind of mode is installed entirely in the PC, hardware part expands to be inserted in the PC the I/O in groove board, provide the flexibility with the biggest user. But a series of problems such as the stability of the oneness of the real time sex as a result of the operating system, standard and system still are in research and experimental phase, have not mature. Compare these 3 kinds of pattern, the 2nd kind uses the system of open mode numerical control that NC embeds PC mode compose is built, function can get assuring, the versatility of software strong, open sex of the system is good, it is to compare pattern of feasible a kind of development at present. 1, the wide application that PCB gets the hardware structure of system of milling machine numerical control to design the rapid development as industry of our country electron and integrated circuit, to pressworking circuit board aperture the circularity of itself of dimension precision, aperture, and aperture and solder dish homocentric spent demand is higher and higher, traditional treatment method is apparent the requirement of incommensurate already times. To satisfy printed circuit of high accuracy of large quantities of pair of quantities, high speed board the demand of treatment, we developed the open mode numerical control that controls movement of solid tall GT-SV-400 card to insert IPC machine mode to get milling machine to control a system, this kind gets milling machine to have a system to open a gender strong, traversal speed precision of fast, control is advanced and a lot of advantage, get used to printed circuit board the demand that treatment industry expands flourishingly, conduce to the development that promotes industry of our country electron. (1) the GT-400-SV that high firm of firm of characteristic of athletic control card produces is high-powered four-axle servo motion controls card, can synchro control moves 4 times axis, its core is processor of ADSP2181 number signal and FPGA technology, former use haing Buddha structure and MAC unit to basically finish complex motion to control algorithm, latter implementation coding, times frequency and pulse allocate wait for a function, can realize complex much axis to coordinate motion consequently. Control card is linked together for bus line and IPC machine with ISA, offer RS232 serial communication and PC104 communication port at the same time, went to the lavatory hardware of user configuration system, this motion controlled card to still provide library of C language function and dynamic link library, facilitating user development suits the numerical control function that he needs. (2) the hardware structure of system of numerical control of PCB getting milling machine and working principle open type PCB to get system of milling machine numerical control to use IPC machine + what control of much axis sport gets stuck is statified the control program of structure of type double CPU, among them IPC machine processing is not real time part, real time part controls card to come true by the motion that inserts IPC machine. What such numerical control system has a PC already is flexible, have control to block good control sex again, the operation rate that raised a system greatly and control answer speed. The hardware structure that PCB numerical control gets milling machine system (if pursue 1) use motion of servo of four-axle of GT-SV-400 of firm high firm to control card, mix to X axis, Y axis, Z1 axis at the same time Z2 axis (double head double electric machinery) electric machinery undertakes real time is controlled, additional, use 8 general-purpose sendout signal dominates electric machinery of main shaft of frequency conversion of two high speed. The movement that change a knife and break a knife to detect wait for semaphore detect all export signal control by the switch quantity input of GT-SV-400 with control. Graph RAM of double port of structure of hardware of system of 1 numerical control has data bus line and address bus line, can run paralell at the same time the location with different visit, this makes between machine of principal and subordinate can apace undertakes high capacity data is exchanged, increased the collateral processing capacity of lead plane and athletic control card greatly, realized formula of right principal and subordinate thereby function of real time communication. (3) servo drive module in system of this numerical control, use electric machinery of servo of 4 YASKAWA SGML-04AF12 (belt rotate coder) with SGDL-04AS servo driver, realize X respectively to, Y to, Z to (double head double electric machinery) feed drive; Use board card to measure output mouth from the number of the belt, use frequency control implement electric machinery of control main shaft. Electric machinery uses speed to control fashion, the signal such as ground of input of instruction of signal of input of differential of signal join choice, speed, imitate and digital ground. Structure of software of system of numerical control of milling machine of Nextpage 2, PCB getting designed this system to use " IPC +NC " structure, systematic software designs package of COM of have the aid of, use modular process designing structure, basically include module of man-machine interface application software, control to block core to control software module system to configure module and network interface module, structure of software of system of its numerical control is shown 2 times like the graph. Graph structure of software of system of 2 numerical control (1) the output of the input that module of interface of man-machine of man-machine interface module basically uses at realizing an user and system. The input of the user includes an user to give out the operation such as parameter of system of control command, setting, and what systematic output includes current system state is online show. (2) module of control of core of core control module includes numerical control code to explain module, servo drive module, interpolation module, detect module and communication module, they are coordinated through kernel program will finish particular job. Graph block diagram of communication of machine of 3 principal and subordinate among them communication module is to expend the part with the largest workload, basically use the news report between machine of implementation principal and subordinate, the equipment drive PHDIO below the Win98/2000 that can use GT-SV-400 to be offerred along with card.

SYS and the DTSVDLL of advanced function library that face motion to control card.

DLL will undertake developing, its communication sketch map is shown 3 times like the graph, went to the lavatory so the use of the user. 3, program of software of system of numerical control of implementation of software of numerical control system falls in Windows2000, use Visual C++6.

What 0 object-oriented languages undertake is based on package is modular development, can realize systematic software can reframe gender, but expansibility, can transplant the characteristic such as gender and sex of each other operation. (1) module of configuration of parameter of system of module of systematic parameter configuration includes motion to control calorie of parameter configuration and system to control parameter to configure two parts. Configuration of control card parameter basically includes the parameter such as signal of direction of reference axis map, coder, spacing, limits of error and servo filter wave, if configuration interface pursues 4, these parameter are located in board card ground floor, decided systematic function directly; The system controls parameter configuration to basically include the parameter such as position of library of soft spacing, knife and cutting tool condition, if interface of configuration of parameter of cutting tool condition pursues 5, these parameter decided the system runs state. The user can undertake installing to afore-mentioned parameter through interfacial program, will form configuration file Controlcard.

Ini, when the system is started control blocks information parameter automatic by to load. Graph parameter of 4 control card configures a graph Nextpage of configuration of parameter of condition of 5 cutting tool blocks parameter configuration to be with control for the exemple bright, the structure is defined as follows. / / ControlCard Info.

H: Interface For The CControlCard Infoclass #if! Defined (AFX_CARD INFO_H__A43B6890_894A_44A5_9DF8_26E13D2A3227__ INCLUDED_ ) #define AFX_CARD INFO_H__A43B6890_894A_44A5_9DF8_26E13D2A3227__ INCLUDED_ #include "AxisInfo.

H" #if _MSC_VER>1000 #p Ragma Once #endif / / _MSC_VER>1000 Class CCard Info: Public Cobject {Public:dOuble RefPointX; / / Double RefPointY of systematic reference point; Double RefPointZ1; Double RefPointZ2; Double ServoCycle; / / servo cycle IntAxisMapX; / / IntAxisMapY of reference axis map; IntAxisMapZ1; IntAxisMapZ2; Unsigned Short L ImitSign; / / spacing signal Unsigned Short Encode2Sign; / / Unsigned Long Irq of coder direction signal; / / interrupt date Unsigned Long BaseAddress; / / base address CControlAxisInfo ControlAxisInfo[4] ; CControlCard Info () ; Virtual ~ CControlCard Info () ; } ; #endif / / ! Defined (AFX_CARD INFO_H__A43B6890_894A_44A5_9DF8_26E13D2A3227__ INCLUDED_ ) (2) the system moves advocate interface (if the graph is shown 6 times) graph 6 systems move an interface 4, the article uses the last word Shenzhen firm is high card of control of sport of servo of four-axle of limited company GT-SV-400 built system of open mode numerical control, those who be based on COM component is modular software design, the peripheral software interface that with PC implementation friendly man-machine interface, flexible system is configured and increases, raised operation speed of the system and control precision. This system is successful already by application development printed wiring board (PCB) numerical control gets milling machine, this system function is powerful, the real time such as control of achievable interpolation operation, position is controlled. Because this system has the interface that waits for CAD software with Protel, shortened treatment is periodic, improved the treatment quality of circuit board and efficiency. CNC Milling