Font Size: a A A

Research And Implementation Of Domestic CNC System Communication Mechanism And Software

Posted on:2016-04-23Degree:MasterType:Thesis
Country:ChinaCandidate:K XuFull Text:PDF
GTID:2308330461992767Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the development and widespread use of industrial fieldbus and Ethernet technology, foreign numerical control enterprises had applied the industrial fieldbus based on Ethernet technology in high-end CNC system. Facing the challenge and opportunity of advanced technology, design and implement high-end CNC system by using independent research and development NCUC field bus technology has become a pressing matter. There are many shortcomings of the traditional numerical control system, such as the system’s low compatibility and low portability, data communication control logic is complicated and lack of application program interface and so on.In order to solve the above problems and make numerical control system in accordance with the application requirements, the paper according to CNC system architecture, data communication model and hardware structure, combining with the Linux device driver technology implements the device driver of CNC system, and designing the finite state machine model of system communication control and data communication mechanism, so as to implement the new CNC system software.Aiming at the complexity of user space application and CNC system kernel space data interaction, the paper implements the data interaction interface by the character device driver of software device layer, it is convenient to the application program control CNC system and obtain parameter information.Combined with finite state machine theory and existing model, designing the CNC system finite state machine model that in line with the actual application, it is the data communication system control core and guarantees the stability of data communication. Design of data communication uses circular queue to achieve the data structure of non-periodic communication request storage, improving the system treatment efficiency of non-periodic communication.By analyzing the disadvantages and shortcomings of old CNC system software design and software requirement so that build new software architecture, dividing into driver layer, protocol layer and application layer. The driver layer supports CNC system working, responsible for system initialization and providing the data communication of user space application program. The protocol layer responses slaves addressing, configuration and device type’s identification, implement the finite state machine model and control master and slaves periodic and non- periodic communication, The application layer responses the operation and treatment of slaves’ data so that guiding the correct working of slaves.At last, making the experimental comparison of applied to the numerical control devices between new CNC system with traditional CNC system. Through the experimental test and results show that the stability of new CNC system, the efficiency of data communication, application program interface and system compatibility achieved a significant improves and upgrade.
Keywords/Search Tags:CNC system, Linux device drivers, finite state machine model, circular queue
PDF Full Text Request
Related items