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
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
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
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)
Groover MP, Zimmers EW (1984) CAD/CAM: computer-aided design and manufacturing. Prentice-Hall International, inc, Englewood cliffs, pp 156–157
Krar S, Gill S (1999) Computer numerical control programming basics. Industrial Press inc., New York, pp 17–23
Lan J (2008) Single chip microcontroller C51 complete study handbook. Chemical Industry Press, Beijing, pp 389–394 (in China)
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)
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)
Mattson M (2004) CNC programming: principles and applications. China Machine Press, Beijing, pp 100–102
Pardue J (2005) C programming for microcontrollers. Smiley Micros, Knoxville, pp 73-85
Qian K, den Haring D, Cao L (2009a) Embedded software development with C, Springer science + business media. Springer, New York, pp 3–5
Qian K, den Haring D, Cao Li (2009b) Embedded software development with C, Springer science + business media. Springer, New York, pp 27–35
Smid P (2003) CNC programming handbook: a comprehensive guide to practical CNC programming, 2nd edn. Industrial Press inc, New York, pp 31–34
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
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
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)
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)
Zurell K (2000) C programming for embedded systems. R&D Books, Lawrence, pp 39–47
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights 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)