Font Size: a A A

Research And Exploitation On Macro Program Programming Platform Of Open NC System

Posted on:2006-09-09Degree:MasterType:Thesis
Country:ChinaCandidate:H TanFull Text:PDF
GTID:2121360152494568Subject:Mechanical and electrical engineering
Abstract/Summary:PDF Full Text Request
Most of mid and top grade NC systems have provided Macro Program Function for consumer at the present time, efficiency of programming may be enhanced to a higher lever if use this function exactly. a macroinstruction system is designed after researching in depth on macro program function of mature NC system, and then, a programming platform sustaining the macroinstruction system is exploited based on editor and compiling principle of open NC system.Comparing with programming platform abroad in application, programming platform exploited in this dissertation has strongpoint thereinafter:(1) ON the base of existing editor function, NC editor holds the check-up ability in word and syntax to macro program for the first time. Then such editor can display those errors on word and syntax immediately with red color in the process of programming. It can make up the vice of existing editor that it can't check out errors on word and syntax immediately in the process of programming.(2) In existing NC instruction system, adoption mechanism of subprogram, fixed machining circle and Consumer Macro Program is very similar. On the other hand, their adoption methods are different yet. So universal adoption method is designed in this dissertation for them. Such adoption method is same as that is used in fixed machining circle. Every program has exclusive instruction, needn't specifying the program number in addition. And adoption mode is selected by adoption parameter. After adopting this universal adoption method, NC instruction system has been predigested, and that adoption instruction is simpler and shorter than exiting those. (3) Local macro variables used in calling theparameters of macro adoption instruction are wrong modified frequently by user on exiting programming platform. Whereas, it uses exclusive read-only macro variables instead of local macro variables that calling the parameters of macro adoption instruction on the programming platform exploited in this dissertation, so such thing won't occur.After example validating, the macro program wrote with macro instruction system designed in this dissertation can run well in open NC system.
Keywords/Search Tags:Open architecture, NC system, Macro program, Programming platform
PDF Full Text Request
Related items