An extensible NC program interpreter for open CNC systems.
Saved in:
| Title: | An extensible NC program interpreter for open CNC systems. |
|---|---|
| Authors: | Wang, Weixin1 wwx15@mails.tsinghua.edu.cn, Zhou, Kai1 |
| Source: | International Journal of Advanced Manufacturing Technology. Jan2018, Vol. 94 Issue 1-4, p911-923. 13p. 1 Color Photograph, 10 Diagrams, 5 Charts. |
| Subjects: | Interpreters (Computer programs), Numerical control of machine tools, Compilers (Computer programs), Grammar, Computer programming |
| Abstract: | The NC program interpreter plays an important role in CNC systems. It checks for errors and translates NC programs into commands that can be executed by the CNC control module. NC program specifications differ a lot among different CNC manufacturers. However, the existing NC program interpreters only support one specific program format, which increases the programming difficulty and enterprise cost. Meanwhile, due to the closed interpreter structure, it is difficult to develop and implement new CNC function instructions, which limits the openness of CNC systems. In order to solve these problems, this paper presented a novel analysis of NC language's grammar, and designed a set of hierarchical and modular Extend Backus-Naur Form (EBNF) expressions to describe NC language. An extensible interpreter based on EBNF was proposed. Through interaction with users to add new instructions, the system can utilize lexical analyzer (Lex) and yet another compiler compiler (Yacc) to generate a new matching interpreter. This method can also help users to produce a matching interpreter for a specific NC program specification. A prototype interpreter was developed successfully, the validity of which was verified by tests. [ABSTRACT FROM AUTHOR] |
| Copyright of International Journal of Advanced Manufacturing Technology is the property of Springer Nature and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract. (Copyright applies to all Abstracts.) | |
| Database: | Engineering Source |
| FullText | Links: – Type: pdflink Text: Availability: 0 |
|---|---|
| Header | DbId: egs DbLabel: Engineering Source An: 127041644 AccessLevel: 6 PubType: Academic Journal PubTypeId: academicJournal PreciseRelevancyScore: 0 |
| IllustrationInfo | |
| Items | – Name: Title Label: Title Group: Ti Data: An extensible NC program interpreter for open CNC systems. – Name: Author Label: Authors Group: Au Data: <searchLink fieldCode="AR" term="%22Wang%2C+Weixin%22">Wang, Weixin</searchLink><relatesTo>1</relatesTo><i> wwx15@mails.tsinghua.edu.cn</i><br /><searchLink fieldCode="AR" term="%22Zhou%2C+Kai%22">Zhou, Kai</searchLink><relatesTo>1</relatesTo> – Name: TitleSource Label: Source Group: Src Data: <searchLink fieldCode="JN" term="%22International+Journal+of+Advanced+Manufacturing+Technology%22">International Journal of Advanced Manufacturing Technology</searchLink>. Jan2018, Vol. 94 Issue 1-4, p911-923. 13p. 1 Color Photograph, 10 Diagrams, 5 Charts. – Name: Subject Label: Subjects Group: Su Data: <searchLink fieldCode="DE" term="%22Interpreters+%28Computer+programs%29%22">Interpreters (Computer programs)</searchLink><br /><searchLink fieldCode="DE" term="%22Numerical+control+of+machine+tools%22">Numerical control of machine tools</searchLink><br /><searchLink fieldCode="DE" term="%22Compilers+%28Computer+programs%29%22">Compilers (Computer programs)</searchLink><br /><searchLink fieldCode="DE" term="%22Grammar%22">Grammar</searchLink><br /><searchLink fieldCode="DE" term="%22Computer+programming%22">Computer programming</searchLink> – Name: Abstract Label: Abstract Group: Ab Data: The NC program interpreter plays an important role in CNC systems. It checks for errors and translates NC programs into commands that can be executed by the CNC control module. NC program specifications differ a lot among different CNC manufacturers. However, the existing NC program interpreters only support one specific program format, which increases the programming difficulty and enterprise cost. Meanwhile, due to the closed interpreter structure, it is difficult to develop and implement new CNC function instructions, which limits the openness of CNC systems. In order to solve these problems, this paper presented a novel analysis of NC language's grammar, and designed a set of hierarchical and modular Extend Backus-Naur Form (EBNF) expressions to describe NC language. An extensible interpreter based on EBNF was proposed. Through interaction with users to add new instructions, the system can utilize lexical analyzer (Lex) and yet another compiler compiler (Yacc) to generate a new matching interpreter. This method can also help users to produce a matching interpreter for a specific NC program specification. A prototype interpreter was developed successfully, the validity of which was verified by tests. [ABSTRACT FROM AUTHOR] – Name: AbstractSuppliedCopyright Label: Group: Ab Data: <i>Copyright of International Journal of Advanced Manufacturing Technology is the property of Springer Nature and its content may not be copied or emailed to multiple sites without the copyright holder's express written permission. Additionally, content may not be used with any artificial intelligence tools or machine learning technologies. However, users may print, download, or email articles for individual use. This abstract may be abridged. No warranty is given about the accuracy of the copy. Users should refer to the original published version of the material for the full abstract.</i> (Copyright applies to all Abstracts.) |
| PLink | https://search.ebscohost.com/login.aspx?direct=true&site=eds-live&db=egs&AN=127041644 |
| RecordInfo | BibRecord: BibEntity: Identifiers: – Type: doi Value: 10.1007/s00170-017-0974-x Languages: – Code: eng Text: English PhysicalDescription: Pagination: PageCount: 13 StartPage: 911 Subjects: – SubjectFull: Interpreters (Computer programs) Type: general – SubjectFull: Numerical control of machine tools Type: general – SubjectFull: Compilers (Computer programs) Type: general – SubjectFull: Grammar Type: general – SubjectFull: Computer programming Type: general Titles: – TitleFull: An extensible NC program interpreter for open CNC systems. Type: main BibRelationships: HasContributorRelationships: – PersonEntity: Name: NameFull: Wang, Weixin – PersonEntity: Name: NameFull: Zhou, Kai IsPartOfRelationships: – BibEntity: Dates: – D: 01 M: 01 Text: Jan2018 Type: published Y: 2018 Identifiers: – Type: issn-print Value: 02683768 Numbering: – Type: volume Value: 94 – Type: issue Value: 1-4 Titles: – TitleFull: International Journal of Advanced Manufacturing Technology Type: main |
| ResultId | 1 |