NC system is a common application of computer technology in machine building industry. It is integrated by computer technology, mechanical processing technology, microelectronics technology, automatic control technology. The application of NC technology not only has brought about radical change for traditional building industry, but also will play a more and more important role in development of some industries of our country .At present, with the development of embedded system, Embedded system based on ARM technology has been widely used in NC machine tool field because of its low cost, high reliability and stability.Communication design of the entire NC system has an important impact on the realization of system's function. Therefore, recearch on the NC system communication bus has a positive role to improve the efficiency of NC and stability.The hardware circuit structure of embedded NC grinding system is designed based on ARM9. This is a structure of master-slave mode and a few microprocessors. The master microprocessor S3C2410 deals with input task of the keyboard and output task of LED and LCD. The slave microprocessors control the movement of four axises or receive the exterior signals, such as switching signal, analog signal, digital signal. Each node microprocessor connect MCP2515 CAN controller by own SPI interface, and then connect CAN bus through PCA82C251 CAN transceiver, communication among node microprocessors is set up.This paper is widely used in today's embedded operating system Linux + RTAI software platform, through the NC system software analysis, with the completion of the NC CAN bus , system realize the data transmission from top to bottom-interpolation, the real-time monitoring and control of the PLC software design. |