| In the field of NC,the form of "PC and Motion" of Open CNC System has been a hot spot.There are many disadvantages,including higher opening degree,good generality,low cost and shorter developing period and so on.In this essay,the status of development in Open CNC System is introduced,and the architecture is also analyzed, on the basic,combining Yan Hua IPC with DMC motion controller are applied for the improvement of CA6140 lathe,the transformation of the hardware and development of the software are the mainly tasks.As for the hardware parts,the putting up of the hardware platform is mainly task,the servo drive in the directions of X axis and Z axis are the controlling objects of the system. Accoding to the calculation,DMC-1832 motion controller of GALIL company,servo motor and servo driver of Delta,together with other auxiliary electronic elements are selected to construct the platform of the hardware.In the connection of peripheral circuit of the system,the PICM—2900 interconnection module is used to realize the communication between the motion controller and servo system.In the environment of Visual Basic 6.0,the software of system is designed and developed.The software in CA6140 NC Lathe System is designed by API fuction.The software module is wholly divided into six fuction modules:parameter setting modules,editing program module of the motion modules,G code editting modules,the selection of operation mode modules,state display modules and auxiliary fuction modules.G code editing modules is to meet the need of users who is accustomed to use G code to program.G00 location,G01 linear interpolation,G02 clockwise circular interpolation,G03 anticlockwise circular interpolation are discussed in this essay.In addition,auxiliary fuction modules are offered to meet the need of the users,such as coordinate record,sudden stop,operation instructions and so onAt present,the special NC system has been put into the production in the exceed slender spring variable slender shaft of helical spring.A good pratical efficiency has been gained,which is also met the pratical need.In addition,the system can be secondary developed to meet the pratical need of the users,which is quickly responsive.And it will be widely used in the future. |