Skip to main content

Design of NC Code Interpreter with C Language in Embedded NC System

  • Conference paper
  • First Online:
  • 2101 Accesses

Abstract

By analyzing the characteristics of NC codes, a method of interpreting NC part program for Embedded Control system is introduced in this paper. A NC code parsing program module written with C language has been designed. The main functions of the program are to check G code expressions and to extract the messages of all addresses and numbers included in NC blocks. With the features of direct frame, ordered statements, and high running efficiency, the program module can be referenced in developing embedded NC software.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   389.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   499.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  • Gajski DD, Abdi S, Gerstlauer A, Schirner G (2009) Embedded system design modeling, synthesis and verification, Springer science + business media. Springer, Berlin, pp 300–306

    Google Scholar 

  • Gan M, Yuan Z, Lin G (2009) Design of NC code interpreter in embedded NC system based on WinCE. Comput Eng Appl 72(3):72–74 (in China)

    Google Scholar 

  • Groover MP, Zimmers EW (1984) CAD/CAM: computer-aided design and manufacturing. Prentice-Hall International, inc, Englewood cliffs, pp 156–157

    Google Scholar 

  • Krar S, Gill S (1999) Computer numerical control programming basics. Industrial Press inc., New York, pp 17–23

    Google Scholar 

  • Lan J (2008) Single chip microcontroller C51 complete study handbook. Chemical Industry Press, Beijing, pp 389–394 (in China)

    Google Scholar 

  • Li S, Liu S, Chen J, Xu D (2012) A design of compiler for NC code in embedded NC system. Modul Mach Tool Autom Manuf Tech 2:45–48 (in China)

    Google Scholar 

  • Liu Y-J (2010) Realization of embedded actuator & controller for CNC machine tools based on C8051 and μC/OS-II. Mod Electron Appl 327(16):63–68 (in China)

    Google Scholar 

  • Mattson M (2004) CNC programming: principles and applications. China Machine Press, Beijing, pp 100–102

    Google Scholar 

  • Pardue J (2005) C programming for microcontrollers. Smiley Micros, Knoxville, pp 73-85

    Google Scholar 

  • Qian K, den Haring D, Cao L (2009a) Embedded software development with C, Springer science + business media. Springer, New York, pp 3–5

    Google Scholar 

  • Qian K, den Haring D, Cao Li (2009b) Embedded software development with C, Springer science + business media. Springer, New York, pp 27–35

    Google Scholar 

  • Smid P (2003) CNC programming handbook: a comprehensive guide to practical CNC programming, 2nd edn. Industrial Press inc, New York, pp 31–34

    Google Scholar 

  • Suh S-K, Kang SK, Chung D-H (2008a) Theory and design of CNC systems, Springer series in advanced manufacturing. Springer, London, pp 62–67

    Google Scholar 

  • Suh S-H, Kang SK, Chung D-H (2008b) Theory and design of CNC systems, Springer series in advanced manufacturing. Springer, London pp 317–327

    Google Scholar 

  • Xu A, Wang T, Wang, Zhao L (2007) Realization of coding for CNC program based on embedded rtos. Comput Eng Appl 43(28):95–98 (in China)

    Google Scholar 

  • Zhang Q, Yao X (2010) Design and implement of a NC code interpreter for open architecture CNC System. Modul Mach Tool Autom Manuf Tech 2:59–61 (in China)

    Google Scholar 

  • Zurell K (2000) C programming for embedded systems. R&D Books, Lawrence, pp 39–47

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Pu-bin Wang .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Wang, Pb., Shang, Yx. (2013). Design of NC Code Interpreter with C Language in Embedded NC System. In: Qi, E., Shen, J., Dou, R. (eds) International Asia Conference on Industrial Engineering and Management Innovation (IEMI2012) Proceedings. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-38445-5_16

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-38445-5_16

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-38444-8

  • Online ISBN: 978-3-642-38445-5

  • eBook Packages: EngineeringEngineering (R0)

Publish with us

Policies and ethics