G-code interpreter development using Microsoft Visual Basic for ABL63 control systems

  • Alma G. Rodríguez
  • Luis R. Vidal P.
  • Juan Miguel Díaz M.
  • Cesar Leonardo González Pinzón
Palabras clave: Interface, G-Code, Programmable Logic Controller, Milling process, servo drive, communication protocol. (es_ES)

Resumen (es_ES)

This paper discusses the development process involved in making a user interface translate G-Code (ISO6983) using Microsoft Visual Basic 2010 together with communication protocol OPC. This interface was developed in three modules, the first one verifies syntax and lexicon, the second is a command converter for a Programmable Logic Controller Allen Bradley L63 using a SERCOS interface card and servo drive ULTRA 3000, and the last one executes motion control instructions. The interface is used for a profile milling process, on an XY plane and using G00, G01, G02 and G03 codes generated in a Fanuc postprocessor 3XMILL. The interface shows errors detected in the verification module according to the parameters established and identifies the corresponding line; it also monitors the XY position in real time, The interface allows line-by-line execution or automatic mode. The interface does not require information for cutting speed, tool advance speed, and spindle speed or tool compensation from the NC program. The interface was also developed using incremental and reuse oriented methodologies


La descarga de datos todavía no está disponible.


Albert. "Understanding CNC Routers. Canada",Canadá: FP Innovations. 2011.

Fusaomi Nagata, Yukihiro Kusumoto & Keigo Watanabe. "Intelligent machining system for the artistic design of wooden

paint rollers. Robotics and Computer-Integrated Manufacturing",2009, pp. 680-688. oi:10.1016/j.rcim.2008.05.001:

Hui Zhang, Changsheng Ai, Fang Zhao & Xiangbo Ze, “The CNC Development of the Sawing and Milling Machining Center for Plastic Door and Window PVC Profile Based on Fanuc0. 7th World

Congress on Intelligent Control and Automation (WCICA)”, DOI:10.1109/WCICA. 2008.4593912, 2008, pp. 9362 - 9367

W. Bolton, “Programmable Logic Controllers”. USA: Newnes, 2009.

Rockwell Automation, “Literature Library”, 2013, April, disponible en: http:// ab.rockwellautomation.com/

Long Chen, Dong Yu, Han Zhang, Cong Geng & Lei Dong. "Design and implement of a modularized CNC interpreter

based on the integration of tool path planning module". IEEE International Conference on Computer Science and

Automation Engineering (CSAE), vol.3, DOI: 0.1109/CSAE.2012.6273027, 2012, pp. 613-616

Gao Qi & Zu Yingli (2011). Research on universal NC program processor for CNC system. 2nd International Conference on

Digital Manufacturing & Automation. 2011, pp. 1046- 1049.

Yadong Liu, Xingui Guo, Wei Li, Kazuo Yamazaki, Keizo Kashihara & Makoto Fujishim, “An intelligent NC program

processor for CNC system of machine tool. Robotics and Computer-Integrated Manufacturing”.2007, pp.160-169

Xingui Guo, Yadong Liu, Daoshan Du, Kazuo Yamazaki & Makoto Fujishima, “A universal NC program processor design

and prototype implementation for CNC systems”. The International Journal of Advanced Manufacturing Technology, 2012, volumen 60, pp. 561-575, DOI: 1.1007/s00170-011-3618-6

H. Lan, R. Liu & C. Zhang, “A multiagent-based intelligent STEPNC controller for CNC machine tools". International

Journal of Production Research. , vol. 46, no. 14, pp. 3887-3907, Julio 2008

W. X. Chen (2010). Research on STEPCompliant CNC System for Integration of CAD/CAPP/CAM. Mechanical Manufacturing and Automation, pp. 529-551, 2010.

Haitao Hong, Dong Yu, Xiaohui Zhang & Long Chen (2010), Research on a new model of numerical control program

interpreter. 2nd International Conference on Advanced Computer Control (ICACC), vol. 2, 467-472. doi: 10.1109/ICACC.2010.5486632

Guo Huijuan, Guo Huijuan & Zhi Derui. Design of several OPC servers communication system. International Conference

on Electric Information and Control Engineering (ICEICE), pp. 317-319, 2011.

Yuxiang Wu & Christine W. Chan, “A data analysis decision support system for the carbon dioxide capture process. Expert

Systems with Applications”, pp. 9949-9960, 2009

Rockwell Automation (2010, November). MP-Series Integrated Multi-axis Linear Stages. Allen Bradley, Rockwell Software, Rockwell Automation, pp. 1-136, 2010, November

Rockwell Automation (2011, November). SERCOS and Analog Motion Configuration and Startup. Allen Bradley, Rockwell

Software, Rockwell Automation, 1-318, MOTION-UM001B-EN-P.

QIAN Xinhua, JIA Shiyang, SU Xing, CHEN Yue, WANG Kefeng & YAO Pingjing (2010). Adaptive

On-line Operation Guide for Dry Gas-toethylbenzene Reactor. Chinese Journal of Chemical Engineering, vol.18, no.3, 419-424.

Cómo citar
Rodríguez, A. G., Vidal P., L. R., Díaz M., J. M., & González Pinzón, C. L. (2014). G-code interpreter development using Microsoft Visual Basic for ABL63 control systems. Visión electrónica, 8(1), 143-153. https://doi.org/10.14483/22484728.7888
Publicado: 2014-01-04
Visión de Caso