KR20100049174A - Apparatus and method for autometically generating processing program in computer numarical control machine tools - Google Patents

Apparatus and method for autometically generating processing program in computer numarical control machine tools Download PDF

Info

Publication number
KR20100049174A
KR20100049174A KR1020080108229A KR20080108229A KR20100049174A KR 20100049174 A KR20100049174 A KR 20100049174A KR 1020080108229 A KR1020080108229 A KR 1020080108229A KR 20080108229 A KR20080108229 A KR 20080108229A KR 20100049174 A KR20100049174 A KR 20100049174A
Authority
KR
South Korea
Prior art keywords
machining
program
screen
pattern
input
Prior art date
Application number
KR1020080108229A
Other languages
Korean (ko)
Inventor
하종수
Original Assignee
두산인프라코어 주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 두산인프라코어 주식회사 filed Critical 두산인프라코어 주식회사
Priority to KR1020080108229A priority Critical patent/KR20100049174A/en
Publication of KR20100049174A publication Critical patent/KR20100049174A/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B23MACHINE TOOLS; METAL-WORKING NOT OTHERWISE PROVIDED FOR
    • B23QDETAILS, COMPONENTS, OR ACCESSORIES FOR MACHINE TOOLS, e.g. ARRANGEMENTS FOR COPYING OR CONTROLLING; MACHINE TOOLS IN GENERAL CHARACTERISED BY THE CONSTRUCTION OF PARTICULAR DETAILS OR COMPONENTS; COMBINATIONS OR ASSOCIATIONS OF METAL-WORKING MACHINES, NOT DIRECTED TO A PARTICULAR RESULT
    • B23Q15/00Automatic control or regulation of feed movement, cutting velocity or position of tool or work
    • B23Q15/20Automatic control or regulation of feed movement, cutting velocity or position of tool or work before or after the tool acts upon the workpiece
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/4093Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form characterised by part programming, e.g. entry of geometrical information as taken from a technical drawing, combining this with machining and material information to obtain control information, named part programme, for the NC machine
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
    • G05B19/414Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller
    • G05B19/4147Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller characterised by using a programmable interface controller [PIC]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23291Process, graphic programming of a process, text and images

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • Geometry (AREA)
  • Numerical Control (AREA)

Abstract

PURPOSE: An automatic processing program generating apparatus in a CNC machine tool is provided to reduce a programming time by making a program by setting a desirable processing pattern and inputting a parametric value. CONSTITUTION: An automatic processing program generating apparatus comprises a memory unit(110), a display unit(130), and a controller(100). The memory unit stores program generation information tables according to a plurality of processing patterns. The display unit indicates processing program in a screen. When the information tables is selected and the processed information including the processing parameter value is inputted, the controller automatically produces the processing program corresponding to the input processed information by using the program generation information table.

Description

컴퓨터 수치제어 공작기계에서 가공 프로그램 자동 생성 장치 및 방법{APPARATUS AND METHOD FOR AUTOMETICALLY GENERATING PROCESSING PROGRAM IN COMPUTER NUMARICAL CONTROL MACHINE TOOLS}FIELD AND METHOD FOR AUTOMATICALLY GENERATING PROCESSING PROGRAM IN COMPUTER NUMARICAL CONTROL MACHINE TOOLS

본 발명은 컴퓨터 수치제어 공작기계에서 가공 프로그램을 작성하기 위한 장치 및 방법에 관한 것으로, 특히 사용자가 가공정보 선택을 위한 그래픽 화면을 통해 가공정보를 선택하고, 선택한 가공정보를 가공 프로그램을 자동적으로 생성할 수 있도록 하여 보다 작업자가 편리하게 가공 프로그램을 작성할 수 있도록 하기 위한 장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for creating a machining program in a computer numerical control machine tool, in particular, the user selects the machining information through a graphic screen for selecting the machining information, and automatically generates the machining program for the selected machining information The present invention relates to an apparatus and a method for allowing a worker to write a machining program more conveniently.

현재 절삭 가공을 위한 공작기계의 수치제어(NC: NUMARICAL CONTROL)가 급속히 진전되고 있다. 최근에는 수치제어 프로그램이 탑재된 컴퓨터를 이용하여 공작기계를 자동으로 제어함으로써 수치제어(NC)를 한층 더욱 발전시킨 컴퓨터 수치제어(CNC: COMPUTER NUMARICAL CONTROL)가 적용된 공작기계가 급속도로 보급되고 있는 추세이다.Numerical control (NC) of machine tools for cutting is now rapidly progressing. In recent years, machine tools equipped with computer numerical control (CNC), which has further advanced numerical control (NC) by automatically controlling machine tools using a computer equipped with a numerical control program, are rapidly spreading. to be.

컴퓨터 수치제어 공작기계는 수치제어 프로그램에 의해 작동되므로 숙련된 NC 프로그래머가 요구되며, 상기한 NC 프로그래머는 가공 프로그램을 프로그래밍을 하여야 한다.A computer numerical control machine tool is operated by a numerical control program, so a skilled NC programmer is required, and the NC programmer must program a part program.

현재 컴퓨터 수치제어 공작기계에서 가공 프로그램 작성은 CNC에서 제공되는 편집기를 사용하여 작업자가 직접 MDI(Manual Data Input) 조작 패널(Panel)의 키를 이용하여 문자 및 숫자의 조합으로 입력하는 방식을 사용하여 작성되고 있다. 이와 같이 직접 작업자가 문자 및 숫자의 조합으로 가공 프로그램을 프로그래밍하는 작성 화면은 도 5a와 같이 도시할 수 있다.In the current computer numerical control machine tools, the machining program can be written by using a combination of letters and numbers by the operator using the keys of the MDI (Manual Data Input) operator panel using an editor provided by the CNC. It is being created. In this way, a creation screen in which an operator directly programs a machining program using a combination of letters and numbers may be illustrated in FIG. 5A.

또한, 이와 같이 작성된 가공 프로그램은 CNC 메모리에 저장되고, 만약 가공 프로그램이 대용량인 경우에는 CAM 소프트웨어를 사용하여 외부 메모리에 저장된다.In addition, the machining program thus created is stored in the CNC memory, and if the machining program is large, it is stored in the external memory using the CAM software.

이와 같이 종래에는 작업자가 MDI 조작 패널의 키를 사용하여 직접 가공 프로그램을 프로그래밍하기 때문에 작업자는 모든 가공패턴 및 해당 가공패턴에 따른 가공 파라미터와 관련된 프로그램 명령어를 모두 숙지하고 있어야만 프로그래밍 할 수 있다.As such, in the related art, the operator directly programs the machining program using the keys of the MDI operation panel, so that the operator can be programmed only if the operator knows all the machining patterns and the program instructions related to the machining parameters according to the machining patterns.

이에 따라, 조작자가 초보인 경우에는 일일이 프로그램 명령어를 확인하면서 가공 프로그램을 프로그래밍할 수 밖에 없었고, 숙련된 조작자라 할지라도 실수로 명령어를 잘못 입력하는 경우에는 작업자가 원하지 않는 가공이 발생할 수 있게 된다.Accordingly, in the case of the novice, the operator has no choice but to program the part program while checking the program command, and even an experienced operator may cause machining that the operator does not want if he / she incorrectly inputs the command by mistake.

또한, 종래에는 가공 프로그램을 작성 시 가공패턴과 해당 가공 파라미터에 대한 명령어를 작성자가 일일이 문자키와 숫자키의 조합으로 입력해야 하므로 프로그램 작성 시 많은 시간이 소요된다. 이에 따라 좀 더 빠르고 쉽게 가공 프로그램 을 프로그래밍 할 수 있는 방안에 대한 필요성이 증가되고 있다.In addition, in the related art, when a machining program is created, a command for a machining pattern and a corresponding machining parameter must be input by a combination of a letter key and a numeric key, and thus a lot of time is required when creating a program. This increases the need for a faster and easier way to program part programs.

이뿐만 아니라, 가공 프로그램 작성 시 작업자가 가공 파라미터의 값(value)를 잘못 입력하게 되면 기계 충돌이 발생하거나 잘못된 가공이 일어날 수 있게 된다.In addition, if the operator incorrectly inputs the values of the machining parameters when creating the part program, machine collisions or wrong machining may occur.

예를 들어, 가공소재의 높이가 1000mm이고, 지름이 3000mm라고 가정한다. 이때, 작업자가 가공소재의 상부에서 홀(hole)을 뚫기 위한 프로그램을 작성하는데 가공패턴에 대한 명령어를 입력한 후 지름이 3000m인데 높이가 3000mm라고 착각하여 파라미터들 중 홀의 높이를 설정하는 파라미터 값을 1500mm로 입력하였다고 가정한다. 이후, 그 가공 프로그램을 실행하게 되면 공구는 가공소재를 뚫고 가공소재의 받침대인 팔레트(pallet)까지 뚫게 되므로 기계 충돌이 발생하게 되고 결국 공작기계가 망가질 수 있는 문제점이 발생한다. 따라서, 프로그래밍된 가공 프로그램에 포함된 가공 파라미터의 값이 가공범위 내에 속하는 지에 대한 유효성 검사 필요성이 대두되고 있다.For example, assume that the height of the workpiece is 1000 mm and the diameter is 3000 mm. At this time, the operator writes a program for drilling holes in the upper part of the workpiece. After inputting the command for the machining pattern, the operator thinks that the diameter is 3000m and the height is 3000mm. Assume you entered 1500mm. After that, when the machining program is executed, the tool penetrates the workpiece and even the pallet, which is a pedestal of the workpiece, causes a machine crash and eventually breaks the machine tool. Therefore, there is a need for validity checking whether the value of machining parameters included in the programmed machining program falls within the machining range.

따라서, 본 발명은 CNC 공작기계에서 가공 프로그램 작성 시 작성자가 프로그래밍을 위한 명령어를 별도로 숙지하지 않고도 쉽게 가공 프로그램을 프로그래밍할 수 있도록 하기 위한 가공 프로그램 자동 생성 장치 및 방법을 제공함에 있다.Accordingly, the present invention provides an apparatus and method for automatically generating a machining program for enabling a programmer to easily program a machining program without having to know a command for programming when creating a machining program in a CNC machine tool.

또한, 본 발명은 생성된 가공 프로그램을 저장하기 전에 각 가공 파라미터값이 가능 범위에 속하는 값인지 확인하여 모든 파라미터 값이 가능 범위에 속하는 경우에만 생성된 가공 프로그램을 저장하도록 함으로써 기계 충돌 또는 잘못된 소재 가공이 발생하지 않도록 미연에 방지할 수 있도록 하기 위한 가공 프로그램 자동 생성 장치 및 방법을 제공함에 있다.In addition, the present invention checks whether each machining parameter value is in a possible range before storing the generated machining program, and stores the generated machining program only when all parameter values are in the possible range. The present invention provides an apparatus and method for automatically generating a machining program to prevent the occurrence of the defect.

상기한 바를 달성하기 위한 본 발명은, 가공 프로그램 자동 생성 장치에 있어서, 복수개의 가공 패턴에 따른 프로그램 생성 정보 테이블들을 저장하는 메모리부와, 가공 프로그램 입력 화면을 표시하는 표시부와, 가공 프로그램 입력 화면 표시 요구에 따라 상기 표시부를 통해 가공 프로그램 입력 화면을 표시하고, 가공 패턴 선택과 가공 파라미터에 대한 값(value)을 포함하는 가공정보가 입력되면 상기 프로그램 생성 정보 테이블을 이용하여 입력된 가공정보에 따른 가공 프로그램을 자동적으로 생성하는 제어부를 포함하고, 상기 프로그램 생성 정보 테이블은 복수개의 가공 패턴에 각각 대응되는 명령어가 매핑된 테이블과, 각각의 가공 패턴마다 가공에 필요한 가공 파라미터들에 각각 대응되는 명령어가 매핑된 테이블들을 포함 하는 것임을 특징으로 한다.According to an aspect of the present invention, there is provided a machining program automatic generation device, comprising: a memory unit for storing program generation information tables according to a plurality of machining patterns, a display unit for displaying a machining program input screen, and a machining program input screen display When the machining program input screen is displayed through the display unit as required, and machining information including a machining pattern selection and a value for the machining parameter is input, machining according to the machining information input using the program generation information table. And a control unit for automatically generating a program, wherein the program generation information table includes a table in which instructions corresponding to a plurality of machining patterns are mapped, and instructions corresponding to machining parameters required for machining, respectively, for each machining pattern. To include tables It shall be.

본 발명의 일례에 따르면, 상기 가공 프로그램 입력 화면은 가공 패턴 선택을 위한 화면과 선택된 가공 패턴에 따른 가공 파라미터 값을 입력하기 위한 화면인 것을 특징으로 한다.According to an example of the present invention, the machining program input screen may be a screen for selecting a machining pattern and a screen for inputting machining parameter values according to the selected machining pattern.

또한, 본 발명은 수치제어장치에서 가공 프로그램을 자동으로 생성하기 위한 방법에 있어서, 복수개의 가공 패턴마다 해당 패턴으로 가공 시 필요한 복수개의 가공 파라미터들 각각에 대응되는 명령어들이 매핑된 프로그램 생성 정보 테이블들을 저장하는 과정과, 가공 프로그램 입력 화면 표시 요구에 따라 가공 패턴 선택을 위한 화면을 표시하는 과정과, 소정 가공 패턴이 선택되면 선택된 가공 패턴에 대한 가공 파라미터 값을 입력하기 위한 화면을 표시하는 과정과, 가공 파라미터에 대한 값(value)을 포함하는 가공정보가 입력되면 상기 프로그램 생성 정보 테이블을 이용하여 입력된 가공정보에 따른 가공 프로그램을 자동적으로 생성하는 과정을 포함하는 것을 특징으로 한다..In addition, the present invention provides a method for automatically generating a machining program in the numerical control device, the program generation information table is mapped to the instructions corresponding to each of the plurality of machining parameters required for machining the corresponding pattern for each of the plurality of machining patterns A process of storing, displaying a screen for selecting a machining pattern according to a request for displaying a machining program input screen, and displaying a screen for inputting machining parameter values for the selected machining pattern when a predetermined machining pattern is selected; And when the machining information including a value for the machining parameter is input, automatically generating a machining program according to the input machining information using the program generation information table.

상기한 본 발명에 따르면, 프로그래밍을 위한 명령어를 숙지하지 않은 초보자가 그래픽 화면만을 보고 가공 프로그램을 생성할 수 있다.According to the present invention described above, a beginner who is not familiar with the instructions for programming can generate a machining program only by viewing the graphic screen.

또한, 작성자가 종래와 같이 일일이 문자와 숫자키를 입력하여 가공 프로그램을 작성하지 않고, 화면에서 원하는 가공패턴 선택과 파라미터 항목에 대한 값만을 입력하여 프로그램을 작성할 수 있으므로 작성 시간을 상당히 단축시킬 수 있는 이점이 있다.In addition, the author can create a program by inputting only the desired machining pattern and the value for the parameter item on the screen instead of writing letters and numeric keys, as in the prior art. There is an advantage.

이뿐만 아니라, 생성된 가공 프로그램을 저장하기 전에 설정된 각 가공 파라미터값이 가능 범위에 속하는 값인지 검사하여 기계 충돌 또는 잘못된 소재 가공이 발생하지 않도록 미연에 방지할 수 있는 이점이 있다. In addition, there is an advantage in that it is possible to prevent the occurrence of machine collision or wrong material machining by checking whether each of the machining parameter values set before storing the generated machining program is within a possible range.

이하 본 발명의 바람직한 실시예들의 상세한 설명이 첨부된 도면들을 참조하여 설명될 것이다. 도면들 중 동일한 구성들은 가능한 한 어느 곳에서든지 동일한 부호들을 나타내고 있음을 유의하여야 한다. 하기 설명에서 구체적인 특정 사항들이 나타나고 있는데, 이는 본 발명의 보다 전반적인 이해를 돕기 위해 제공된 것이다. 그리고 본 발명을 설명함에 있어, 관련된 공지 기능 혹은 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명은 생략한다.DETAILED DESCRIPTION A detailed description of preferred embodiments of the present invention will now be described with reference to the accompanying drawings. It should be noted that the same components in the figures represent the same numerals wherever possible. Specific details are set forth in the following description, which is provided to provide a more thorough understanding of the present invention. In describing the present invention, when it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted.

이하, 첨부된 도면을 참조하여 본 발명의 실시예에 따라 작업자가 공작물의 종류에 따라 추력값을 직접 선택할 수 있도록 하고, 선택된 추력값으로 심압대가 공작물을 지지할 수 있도록 제어하기 위한 방안에 대하여 상세히 설명한다.Hereinafter, a method for allowing an operator to directly select a thrust value according to a type of a workpiece according to an embodiment of the present invention with reference to the accompanying drawings, and to control the tailstock to support the workpiece with the selected thrust value. Explain.

먼저, 도 1을 참조하여 본 발명의 실시 예에 따라 CMC 공작기계에서 가공 프로그램을 자동 생성하기 위한 장치에 대하여 살펴보도록 한다.First, referring to FIG. 1, a device for automatically generating a machining program in a CMC machine tool according to an embodiment of the present invention will be described.

도 1을 참조하면, 본 발명에 따른 가공 프로그램 자동 생성 장치는 제어부(100), 메모리부(110), 입력부(120), 표시부(130)를 포함한다.Referring to FIG. 1, the apparatus for automatically generating a machining program according to the present invention includes a controller 100, a memory unit 110, an input unit 120, and a display unit 130.

메모리부(110)는 CNC 공작기계 동작에 필요한 프로그램 및 생성된 가공 프로그램을 저장하는 유닛(unit)이다. 특히, 본 발명에 따른 메모리부(110)는 가공 프 로그램 자동 생성을 위한 프로그램을 저장하고, 작업자에 의해 입력된 가공 패턴 및 파라미터 값을 이용하여 가공 프로그램을 자동으로 생성하기 위한 프로그램 생성 정보 테이블들을 저장한다. 이때, 프로그램 생성 정보 테이블은 복수개의 가공 패턴 각각에 프로그램 명령어가 매핑된 테이블과, 각각의 가공 패턴별로 가공에 필요한 가공 파라미터들에 각각 대응되는 프로그램 명령어가 매핑된 테이블들로서, 도 2a 및 도 2b와 같이 도시할 수 있다.The memory unit 110 is a unit that stores a program required for the operation of a CNC machine tool and a generated machining program. Particularly, the memory unit 110 according to the present invention stores a program for automatically generating a machining program, and a program generation information table for automatically generating a machining program using a machining pattern and parameter values input by an operator. Save them. In this case, the program generation information table is a table in which program instructions are mapped to each of a plurality of machining patterns, and program instructions corresponding to machining parameters required for machining for each machining pattern, respectively. It can be shown as

먼저, 도 2a를 참조하면, 프로그램 생성 정보 테이블(200)은 가공 패턴별로 프로그램 명령어가 각각 매핑되어 있다. 또한, 도 2b를 참조하면, 가공 패턴별로 가공 파라미터에 대응되는 프로그램 명령어가 각각 매핑되어 있는 프로그램 생성 정보 테이블(200-1, 200-2, … , 200-N)이 도시되어 있다. 본 발명의 실시 예인 도 2a 및 도 2b에서는 실질적으로 프로그램에 사용되는 가공패턴의 이름과 명령어를 기재하지 않고 가공패턴 1, 2,… 와 명령어 1, 2… , 1-2, 1-2, …와 같이 기재하였으나, 실제 구현에서는 실질적으로 가공에 사용되는 가공패턴 이름과 명령어가 테이블에 포함될 것이다.First, referring to FIG. 2A, program instructions are mapped to processing patterns in the program generation information table 200. 2B, a program generation information table 200-1, 200-2,..., 200 -N in which program instructions corresponding to machining parameters are mapped for each machining pattern is illustrated. 2A and 2B, which is an embodiment of the present invention, the processing pattern 1, 2,... And commands 1, 2... , 1-2, 1-2,... Although described as follows, in actual implementation, the machining pattern names and instructions used for the machining will be included in the table.

다시 도 1을 참조하면, 입력부(120)는 가공 패턴 선택 및 가공 파라미터 값 선택을 위한 키를 구비하고, 작업자에 의해 입력된 키에 대응되는 신호를 제어부(100)로 전달한다.Referring again to FIG. 1, the input unit 120 includes a key for selecting a processing pattern and selecting a processing parameter value, and transmits a signal corresponding to a key input by an operator to the controller 100.

표시부(130)는 CRT(Cathod Ray Tube) 또는 LCD(Liquid Crystal Display)로 구현될 수 있고, 가공 프로그램 입력 화면을 표시한다. 이때, 가공 프로그램 입력 화면이라 함은 좌표계 설정 및 가공 소재 정보 입력 화면과 가공 패턴 선택화면과 가공패턴을 선택하면 선택한 가공패턴에 필요한 가공 파라미터 항목을 표시하는 그래픽 화면을 말한다. 이러한 화면들을 각각 다른 화면으로 구성되어 작업자의 입력에 따라 좌표계 설정 및 가공 소재 정보 입력을 위한 화면 표시하고, 가공 패턴 선택을 위한 화면 표시 후 소정 선택에 따라 가공 파라미터 값 입력 화면을 표시하는 순차적인 표시 방식으로 표시할 수도 있고, 화면을 분할하여 해당 영역에 표시하도록 하여 하나의 화면으로 구성할 수도 있다.The display unit 130 may be implemented as a cathode ray tube (CRT) or a liquid crystal display (LCD), and displays a processing program input screen. In this case, the machining program input screen refers to a graphic screen that displays machining parameter items required for the selected machining pattern when the coordinate system setting, the workpiece material input screen, the machining pattern selection screen, and the machining pattern are selected. Each of these screens is composed of different screens and displays the screen for setting the coordinate system and input of the workpiece material according to the operator's input, and displays the screen for selecting the machining pattern, and then displays the processing parameter value input screen according to the predetermined selection. The screen may be displayed in a separate manner, or the screen may be divided into a single screen.

제어부(100)는 공작기계의 동작을 전반적으로 제어한다. 특히, 본 발명에 따른 제어부(100)는 가공 프로그램 자동 생성 요구가 있으면 메모리부(110)를 통해 가공 프로그램 자동 생성을 위한 프로그램을 실행시켜 표시부(130)를 통해 가공 프로그램 입력 화면을 표시한다. 이후, 제어부(100)는 입력부(120)를 통해 가공 패턴 선택과 가공 파라미터에 대한 값(value)을 포함하는 가공정보가 입력되면 메모리부(110)에서 프로그램 생성 정보 테이블을 읽어 입력된 가공정보에 따른 가공 프로그램을 자동적으로 생성한다.The control unit 100 controls the overall operation of the machine tool. In particular, the controller 100 according to the present invention executes a program for automatically generating a machining program through the memory unit 110 and displays a machining program input screen through the display unit 130 when a machining program is automatically generated. Thereafter, the control unit 100 reads the program generation information table from the memory unit 110 to the input processing information when the processing information including the processing pattern selection and the processing parameter values is input through the input unit 120. The part program accordingly is automatically generated.

이하, 작업자가 가공 프로그램 작성을 위한 가이드 그래픽 화면을 보면서 가공 패턴 및 가공 파라미터 값 입력에 따라 자동적으로 가공 프로그램을 생성하는 과정에 대하여는 하기의 도 3 및 4의 흐름도를 참조하여 구체적으로 살펴보도록 한다.Hereinafter, a process of automatically generating a machining program according to a machining pattern and a machining parameter value input while a worker views a guide graphic screen for creating a machining program will be described in detail with reference to the flowcharts of FIGS. 3 and 4.

도 3은 본 발명의 실시 예에 따라 CNC 공작기계에서 작업자의 입력에 따라 가공 프로그램을 자동으로 생성하는 과정을 도시하는 흐름도이다. 또한, 도 4는 본 발명의 실시 예에 따른 가공 프로그램 자동 생성 과정 수행 중 가공정보 입력 화면 표시 모드에서 수행되는 과정을 도시하는 흐름도이다.3 is a flowchart illustrating a process of automatically generating a machining program according to an operator's input in a CNC machine tool according to an exemplary embodiment of the present invention. 4 is a flowchart illustrating a process performed in a machining information input screen display mode during a machining program automatic generation process according to an exemplary embodiment of the present invention.

먼저 도 3을 참조하면, 300단계에서 제어부(100)는 대기상태를 유지하다가 302단계에서 작업자에 의해 가공 프로그램 자동 생성 모드 선택이 있으면 304단계로 진행하여 가공정보 입력 화면 표시 모드를 수행한다. 여기서, 가공정보 입력 화면 표시 모드는 좌표계 설정 및 가공 소재 정보 등록 및 가공 패턴 및 가공 파라미터 값을 입력하기 위한 그래픽 화면을 제공하는 모드로서, 도 4와 같은 과정을 수행한다.First, referring to FIG. 3, in step 300, the control unit 100 maintains the standby state, and in step 302, if there is a process program automatic generation mode selection by the operator, the controller 100 proceeds to step 304 to perform a processing information input screen display mode. Here, the processing information input screen display mode is a mode for providing a graphic screen for setting the coordinate system, registering the workpiece material information, and inputting a machining pattern and a machining parameter value.

도 4를 참조하면, 400단계에서 제어부(100)는 좌표계 설정, 소재 정보 입력 화면을 표시한다. 일반적으로 좌표계 설정은 G92 지령 또는 G54 ~ G59 지령을 이용한다. 기계 좌표계에서 나타난 임의의 점들을 가공 소재 좌표계로 잡는 방법으로는 6개가 있는데 각각을 파라미터에 설정해 놓고, G54 ~G59으로 선택하여 사용한다. 하나의 가공 소재에 여러 개의 도면을 가공할 때 편리하다. 파라미터에 설정하는 방법은 기계 원점으로부터 가공 소재 좌표계 원점으로 이동했을 때의 기계 좌표값을 입력하면 된다. 또한, 소재 정보 입력은 작업자가 소재의 길이, 높이, 중량 등과 같은 소재 가공에 필요한 소재의 정보를 입력한다.Referring to FIG. 4, in step 400, the control unit 100 displays a coordinate system setting and location information input screen. In general, use the G92 command or G54 ~ G59 command to set the coordinate system. There are six ways to take the arbitrary points shown in the machine coordinate system as the workpiece material coordinate system. Set each to the parameter and select G54 ~ G59. It is convenient when machining several drawings on one workpiece. What is necessary is just to input the machine coordinate value at the time of moving from a machine origin to a workpiece | work coordinate system origin. In addition, input material information, the operator inputs the information of the material required for the material processing, such as the length, height, weight of the material.

이후, 402단계에서 작업자로부터 좌표계 설정과 소재 정보에 대한 입력이 완료되면 404단계로 진행한다.Thereafter, in step 402, when the input of the coordinate system setting and the material information from the operator is completed, the process proceeds to step 404.

404단계에서 제어부(100)는 메모리부(110)에 저장된 프로그램 생성 정보 테이블을 참조하여 선택할 수 있는 가공 패턴 정보를 화면에 표시한다. 이후, 406단계에서 작업자로부터 소정의 가공 패턴이 선택되면, 408단계로 진행하여 제어 부(100)는 선택된 가공 패턴으로 가공 시 필요한 가공 파라미터를 확인한 후 도 5b와 같이 가공 파라미터 항목별로 값(value)를 입력하기 위한 화면을 표시한다.In step 404, the controller 100 displays processing pattern information that can be selected by referring to the program generation information table stored in the memory 110 on the screen. Subsequently, when a predetermined processing pattern is selected by the operator in step 406, the control unit 100 checks processing parameters required for processing the selected processing pattern in step 408, and then the values for each processing parameter item as shown in FIG. 5B. Displays a screen for entering the text.

이후, 제어부(100)는 작업자로부터 가공 파라미터 항목별로 값(value) 입력이 완료되면 306단계로 진행하여 모든 가공정보 입력이 완료되었는지 검사한다.Subsequently, when inputting a value for each processing parameter item from the operator, the control unit 100 proceeds to step 306 and checks whether all processing information input is completed.

306단계 검사결과 모든 가공정보 입력이 완료되었으면, 제어부(100)는 308단계로 진행하여 가공정보 입력에 따른 프로그램을 자동 생성한다. 즉, 제어부(100)는 작업자로부터 선택된 가공 패턴에 대한 프로그램 명령어와 선택된 가공 패턴에 필요한 가공 파라미터에 대한 명령어 및 입력된 해당 가공 파라미터에 대한 값을 조합하여 자동으로 가공 프로그램을 생성하는 것이다.In step 306, if all the processing information is input, the controller 100 proceeds to step 308 and automatically generates a program according to the processing information input. That is, the control unit 100 automatically generates a machining program by combining a program command for a machining pattern selected by an operator, a command for machining parameters required for the selected machining pattern, and a value for the input corresponding machining parameter.

이후, 제어부(100)는 310단계에서 상기 생성된 가공 프로그램이 등록 가능한 프로그램인지를 검사한다. 여기서, 등록 가능한 프로그램이란 에디팅(editing) 중인 프로그램과 러닝(running) 중인 프로그램을 제외한 새로 작성되는 프로그램을 의미한다. 즉, 310단계는 생성된 가공 프로그램이 기존에 가공하고 있었던 프로그램을 수정하는 경우이거나 기존에 저장된 프로그램과 동일한 경우에는 등록하지 않도록 하기 위한 단계이다.In operation 310, the controller 100 determines whether the generated machining program is a program that can be registered. Here, the program that can be registered means a program that is newly created except for a program that is being edited and a program that is running. That is, step 310 is a step for not registering when the generated machining program modifies a program that has been previously processed or is identical to a previously stored program.

만약, 310단계 검사결과 생성한 가공 프로그램이 등록 가능한 프로그램으로 확인되면 312단계로 진행하고, 그렇지 않으면 316단계로 진행하여 에러 메시지를 표시한다. 이때 에러 메시지는 현재 작업자에 의해 작성된 가공 프로그램은 등록이 불가능한 프로그램임을 알리는 메시지를 표시할 수 있다. 또한, 상기 메시지와 함께 등록한 불가능한 이유인 에디팅(editing) 중인 프로그램 또는 러닝(running) 중 인 프로그램이므로 불가능하다는 표시도 함께 할 수 있다.If the machining program generated as a result of step 310 is confirmed as a registerable program, the process proceeds to step 312. Otherwise, the process proceeds to step 316 to display an error message. At this time, the error message may display a message indicating that the machining program created by the current operator is a program that cannot be registered. In addition, since the editing program or the running program, which is an impossible reason for registering with the message, an indication that it is impossible, may also be displayed.

이후, 312단계에서 제어부(100)는 설정된 파라미터 값이 유효한 값인지를 검사한다. 즉, 설정된 파라미터 값이 작업자가 미리 설정한 소재에 대한 정보인 길이, 높이 값 범위에 속하는 지를 검사하는 것이다.In operation 312, the controller 100 determines whether the set parameter value is a valid value. That is, it is to check whether the set parameter value is within the range of length and height value which is information about the material preset by the operator.

예를 들면, 가공소재의 높이가 1000mm이고, 지름이 3000mm라고 미리 설정하였다고 가정한다. 이때, 작업자가 가공소재의 상부에서 홀(hole)을 뚫기 위한 가공패턴을 선택한 후 홀의 높이를 설정하는 파라미터 값을 1500mm로 입력하였다면 가공소재의 높이가 1000mm이므로 가공 가능 범위를 넘어서게 된다. 그러면, 제어부(100)는 해당 파라미터 값이 가공 가능 범위에 속하지 않으므로 유효하지 않다고 판단한다.For example, assume that the height of the workpiece is 1000 mm and the diameter is 3000 mm. At this time, if the operator selects a processing pattern for drilling holes in the upper portion of the workpiece and inputs a parameter value for setting the height of the hole as 1500 mm, the height of the workpiece is 1000 mm, thus exceeding the processing range. Then, the controller 100 determines that the parameter value is not valid because it does not belong to the processable range.

312단계에서 설정된 파라미터 값들 중 가공 가능 범위에 속하지 않아 유효하지 않은 파라미터 항목이 있으면, 제어부(100)는 316단계로 진행하여 에러 메시지를 화면에 표시한다. 이때, 에러 메시지는 유효하지 않은 파라미터 값이 있어 가공하기 용이하지 않음을 알리는 메시지를 표시할 수 있다. 또한 상기 메시지와 함께 유효하지 않은 파라미터 항목이 어떤 것인지도 표시할 수도 있다.If there is a parameter item that is not valid among the parameter values set in step 312 because it is not within the processable range, the controller 100 proceeds to step 316 and displays an error message on the screen. In this case, the error message may display a message indicating that there is an invalid parameter value and thus is not easy to process. It is also possible to indicate which parameter item is invalid with the message.

한편, 312단계 검사결과 설정된 파라미터 값들이 모두 가공 가능 범위에 속한다고 판단되면 제어부(100)는 314단계로 진행하여 생성된 가공 프로그램을 메모리부(110)로 저장한다. 이후, 작업자에 의해 저장된 가공 프로그램에 대한 실행 명령이 있으면 해당 가공 프로그램으로 가공 소재를 가공하게 된다.In operation 312, when it is determined that all of the parameter values set are within the processable range, the controller 100 proceeds to step 314 and stores the generated machining program to the memory unit 110. After that, if there is an execution command for the machining program stored by the operator, the workpiece is machined with the machining program.

상기한 바와 같이 본 발명은 작업자가 가공 프로그램을 작성하고자 할 시 가 이던스 그래픽 화면을 제공함으로써 작업자는 이 화면을 보면서 가공패턴 선택과 해당 가공 파라미터 값만을 입력하는 간단한 조작으로 가공 프로그램을 자동으로 생성할 수 있도록 한다.As described above, the present invention provides a guidance graphic screen when the operator wishes to create a machining program, so that the operator automatically generates the machining program by a simple operation of selecting a machining pattern and inputting only corresponding machining parameter values while viewing the screen. Do it.

이상, 본 발명의 특정 실시예에 대하여 상술하였지만, 본 발명의 사상 및 범위는 이러한 특정 실시예에 한정되는 것이 아니라, 본 발명의 요지를 변경하지 않는 범위 내에서 다양하게 수정 및 변형이 가능하다는 것을 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자라면 이해할 것이다. Although specific embodiments of the present invention have been described above, the spirit and scope of the present invention are not limited to the specific embodiments, and various modifications and changes can be made without departing from the spirit of the present invention. Those skilled in the art will understand.

따라서, 이상에서 기술한 실시예들은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 발명의 범주를 완전하게 알려주기 위해 제공되는 것이므로, 모든 면에서 예시적인 것이며 한정적이 아닌 것으로 이해해야만 하며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다.Therefore, since the embodiments described above are provided to completely inform the scope of the invention to those skilled in the art, it should be understood that they are exemplary in all respects and not limited. The invention is only defined by the scope of the claims.

도 1은 본 발명의 실시 예에 따라 CMC 공작기계에서 가공 프로그램을 자동 생성하기 위한 장치의 내부 구성도,1 is an internal configuration diagram of an apparatus for automatically generating a machining program in a CMC machine tool according to an embodiment of the present invention;

도 2a는 본 발명의 실시 예에 따라 가공 패턴에 따른 프로그램 명령어가 맵핑된 프로그램 생성 정보 테이블을 도시하는 예시도,2A is an exemplary diagram illustrating a program generation information table to which program instructions according to a machining pattern are mapped according to an embodiment of the present invention;

도 2b는 본 발명의 실시 예에 따라 가공 패턴별 파라미터 항목에 따른 프로그램 명령어가 매핑된 프로그램 생성 정보 테이블을 도시하는 예시도,2B is an exemplary diagram illustrating a program generation information table to which program instructions are mapped according to parameter items for processing patterns according to an embodiment of the present invention;

도 3은 본 발명의 실시 예에 따라 CNC 공작기계에서 작업자의 입력에 따라 가공 프로그램을 자동으로 생성하는 과정을 도시하는 흐름도,3 is a flowchart illustrating a process of automatically generating a machining program according to an operator's input in a CNC machine tool according to an embodiment of the present invention;

도 4는 본 발명의 실시 예에 따른 가공 프로그램 자동 생성 과정 수행 중 가공정보 입력 화면 표시 모드에서 수행되는 과정을 도시하는 흐름도,4 is a flowchart illustrating a process performed in a machining information input screen display mode during a machining program automatic generation process according to an exemplary embodiment of the present invention;

도 5a는 일반적인 가공 프로그램 작성 화면을 도시하는 도면,5A is a diagram showing a general machining program creation screen;

도 5b는 본 발명의 실시 예에 따른 가공 프로그램 화면을 도시하는 예시도.5B is an exemplary view showing a machining program screen according to an embodiment of the present invention.

<도면의 주요 참조부호에 대한 설명> DESCRIPTION OF THE REFERENCE NUMERALS OF THE DRAWINGS

100 : 제어부 102 : 프로그램 생성부100: control unit 102: program generation unit

104 : 프로그램 등록 판단부 106 : 파라미터 검사부104: program registration determination unit 106: parameter inspection unit

110 : 메모리부 120 : 입력부110: memory unit 120: input unit

130 : 표시부 130: display unit

200-1 ~ 200-N : 프로그램 생성 정보 테이블200-1 ~ 200-N: Program Creation Information Table

Claims (3)

가공 프로그램 자동 생성 장치에 있어서,In the part program automatic generation device, 복수개의 가공 패턴에 따른 프로그램 생성 정보 테이블들을 저장하는 메모리부와(110),A memory unit 110 for storing program generation information tables according to a plurality of processing patterns; 가공 프로그램 입력 화면을 표시하는 표시부(130)와,A display unit 130 for displaying a part program input screen; 가공 프로그램 입력 화면 표시 요구에 따라 상기 표시부(130)를 통해 가공 프로그램 입력 화면을 표시하고, 가공 패턴 선택과 가공 파라미터에 대한 값(value)을 포함하는 가공정보가 입력되면 상기 프로그램 생성 정보 테이블을 이용하여 입력된 가공정보에 따른 가공 프로그램을 자동적으로 생성하는 제어부(100)를 포함하고,Part program input screen If a part program input screen is displayed through the display unit 130 according to a display request, and machining information including a machining pattern selection and a value for a machining parameter is input, the program generation information table is used. And a controller 100 for automatically generating a machining program according to the input machining information. 상기 프로그램 생성 정보 테이블은 복수개의 가공 패턴에 각각 대응되는 명령어가 매핑된 테이블과, 각각의 가공 패턴마다 가공에 필요한 가공 파라미터들에 각각 대응되는 명령어가 매핑된 테이블들을 포함하는 것임을 특징으로 하는 가공 프로그램 자동 생성 장치.The program generation information table includes a table to which instructions corresponding to a plurality of machining patterns are mapped, and a table to which instructions corresponding to machining parameters necessary for machining are mapped to each machining pattern, respectively. Automatic generation device. 제 1항에 있어서, 상기 가공 프로그램 입력 화면은,According to claim 1, The processing program input screen, 가공 패턴 선택을 위한 화면과 선택된 가공 패턴에 따른 가공 파라미터 값을 입력하기 위한 화면인 것을 특징으로 하는 가공 프로그램 자동 생성 장치.And a screen for inputting a machining pattern and a screen for inputting machining parameter values according to the selected machining pattern. 수치제어장치에서 가공 프로그램을 자동으로 생성하기 위한 방법에 있어서,In the method for automatically generating the part program in the numerical control device, 복수개의 가공 패턴마다 해당 패턴으로 가공 시 필요한 복수개의 가공 파라미터들 각각에 대응되는 명령어들이 매핑된 프로그램 생성 정보 테이블들을 저장하는 과정과,Storing program generation information tables mapped with instructions corresponding to each of a plurality of machining parameters required for machining the corresponding pattern for each of the plurality of machining patterns; 가공 프로그램 입력 화면 표시 요구에 따라 가공 패턴 선택을 위한 화면을 표시하는 과정과,Part program input screen display process of displaying the screen for selecting the machining pattern according to the request; 소정 가공 패턴이 선택되면 선택된 가공 패턴에 대한 가공 파라미터 값을 입력하기 위한 화면을 표시하는 과정과,When a predetermined machining pattern is selected, displaying a screen for inputting machining parameter values for the selected machining pattern; 가공 파라미터에 대한 값(value)을 포함하는 가공정보가 입력되면 상기 프로그램 생성 정보 테이블을 이용하여 입력된 가공정보에 따른 가공 프로그램을 자동적으로 생성하는 과정을 포함하는 것을 특징으로 하는 가공 프로그램 자동 생성 방법.And automatically generating a machining program according to the input machining information by using the program generation information table when machining information including a value for a machining parameter is input. .
KR1020080108229A 2008-11-03 2008-11-03 Apparatus and method for autometically generating processing program in computer numarical control machine tools KR20100049174A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020080108229A KR20100049174A (en) 2008-11-03 2008-11-03 Apparatus and method for autometically generating processing program in computer numarical control machine tools

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020080108229A KR20100049174A (en) 2008-11-03 2008-11-03 Apparatus and method for autometically generating processing program in computer numarical control machine tools

Publications (1)

Publication Number Publication Date
KR20100049174A true KR20100049174A (en) 2010-05-12

Family

ID=42275664

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020080108229A KR20100049174A (en) 2008-11-03 2008-11-03 Apparatus and method for autometically generating processing program in computer numarical control machine tools

Country Status (1)

Country Link
KR (1) KR20100049174A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220072567A (en) 2020-11-25 2022-06-02 두산공작기계 주식회사 Remote control system of machine and method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220072567A (en) 2020-11-25 2022-06-02 두산공작기계 주식회사 Remote control system of machine and method thereof

Similar Documents

Publication Publication Date Title
US10423147B2 (en) Control device for machine tool
US7152030B2 (en) Numerical control apparatus
EP3203334B1 (en) Control device for machine tool
JP2013257782A (en) Numerical control device for machine tool with operation support control section
US7089531B2 (en) Method and device for generating or editing NC programs
JP6638979B2 (en) Numerical control device with machining process management function and machining process management program
JPH0355259B2 (en)
KR20100049174A (en) Apparatus and method for autometically generating processing program in computer numarical control machine tools
JP2003202910A (en) Parameter setting apparatus for numerically controlled machine tool
JP2005288563A (en) Method and device for creating working program
JP2757590B2 (en) Numerical control unit
JPH11296217A (en) Method and device for transferring program file in nc device
WO2022269764A9 (en) Screen creation device, screen creation system, and computer-readable recording medium
JPH01321505A (en) Preparation of hole machining nc data
KR101610386B1 (en) Cutting shape input apparatus and method using cutting program in computer numarical control machine tools
JPH0242510A (en) Display system for working information
JPS58119006A (en) Program control method of numerical control machine tool
WO2024090371A1 (en) Nc program creation
WO2022269816A1 (en) Numerical control device, screen creation system, and storage medium for storing instruction readable by numerical control device
US20200142386A1 (en) Display device for machining program
EP0436039A1 (en) System for resuming program for automatic operation
JPS60108250A (en) Input device of nc machine tool
CN117615878A (en) Picture generating device and computer readable storage medium
JPH04131912A (en) Numerical controller
JPH103309A (en) Data input/output device of interactive numerical controller

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application