| Industrial laser machining developed quickly in economy-active locations of the country and it was applied in the areas of non-mental cutting, carving and drilling, and the traditional NC systems were used on current laser machining equipment. But because of the encapsulation of the NC systems, it was so difficult for the manufacturers and the operators of the machines to combine their own technologies into the NC systems that they depended greatly on NC system providers. Thus the charge on the NC systems was greatly high and this seriously prevented the laser machining from development.The laser machining system researched enabled the simultaneous control of two axes, and carbon dioxide laser generator was used in the system. The system was applied in the fields of non-mental laser drilling, laser cutting, shadow carving, and so on. It was composed of NC system, stepping motor and its driver, laser generator and optic system, body of the machine and auxiliary equipment, and installed the pulse control card at the output end of the NC system. The setting of the base address used to connect the card and the computer, the hardware connection of the card with the servo driver and its initialization and functions used to send pulses into servo driver were presented.The functions of decoding, interpolation, graphic emulating, MDI and JOG of the laser machining system were researched and then developed. A method and a process diagram were given. And two key points that were multithreading control and real time control for designing NC system based on Windows Operating System were also discussed. The multithreading technology used to meet the demand of multitask parallel processing and the synchronization between threads were analyzed. Because of the timer the Windows Operating System provided could not meet the real-time demand, so multimedia timer of the Extension of Windows Operating System was used. The multimedia timer was accurate and its precision could reach millisecond. The timer completed the coarse interpolation and the card the precise interpolation and the two worked together.The laser cutting NC system developed by using Visual C++ 6.0 based on these above-mentioned researches and related technologies met the demand of range of the speed and could move smoothly. |