To assist NC part programming, a compiler system for a part programming language is designed. Using the part programming language, the workpiece configuration in 2-half dimension can be conveniently defined and NC machine instruction codes for the workpiece are automatically generated by compiler system. The NC machine FANUC 3000C is used as target machine, and an amount of fundamental function and code is treated and reflected on.
The part programming language covers geometric property and machine related information. The compiler is written in C language utilizing software tools (LEX, YACC) and, implemented on VAX 11-780 in the Dep. of computer science.
For the verification of the part programming, a graphic interface is developed in order to display the contour of the workpiece on a TEXTRONIX 4010 terminal.
To be used in industrial fields, the system should be improved and tested, especially in the code generation module. For this, knowledge about NC machine system and technical experience in tooling(cutting) are required. If the proper functions to satisfy above technical problems are added to this system, it is expected that this is used as a convenient software tool in NC programming.
컴퓨터 수치 제어(Computer Numerical Control) 를 위한 체제로서, 산업계에서 널리 활용되고 있는 APT (Automatically Programmed Tool)의 기본적인 기능을 위한 문장을 수치 제어 공작 기계인 FANUC 3000의 명령문으로 전환시켜주는 자동 번역 체제를 구성하였다.
이 체제는 크게나누어 어휘 분석 부분, 문법 분석 부분, 산술적 처리 부분, 명령 생성 부분으로 구성되어 있고 새로운 기능의 추가를 위한 확장성을 충분히 고려하였고 사용자가 보다 친밀하게 사용할 수 있도록 오류 발견 및 통지 기능도 갖추고 있으며 C 언어와 Software 도구인 LEX, YACC를 사용하여 이를 구성하였다.
사용자는 이 자동 번역 체제를 이용하여 보다 편리하게 부품의 설계를 할 수 있으며 부품의 모양을 단말 장치에 보여 줌으로써, 확인 검증할 수 있는 기능도 추가하였다.