KR100205337B1 - N.c program simulation device and method - Google Patents

N.c program simulation device and method Download PDF

Info

Publication number
KR100205337B1
KR100205337B1 KR1019960078003A KR19960078003A KR100205337B1 KR 100205337 B1 KR100205337 B1 KR 100205337B1 KR 1019960078003 A KR1019960078003 A KR 1019960078003A KR 19960078003 A KR19960078003 A KR 19960078003A KR 100205337 B1 KR100205337 B1 KR 100205337B1
Authority
KR
South Korea
Prior art keywords
program
state
output
workpiece
simulation
Prior art date
Application number
KR1019960078003A
Other languages
Korean (ko)
Other versions
KR19980058670A (en
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 KR1019960078003A priority Critical patent/KR100205337B1/en
Publication of KR19980058670A publication Critical patent/KR19980058670A/en
Application granted granted Critical
Publication of KR100205337B1 publication Critical patent/KR100205337B1/en

Links

Classifications

    • 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/406Numerical 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 monitoring or safety
    • G05B19/4069Simulating machining process on screen
    • 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/30Nc systems
    • G05B2219/32Operator till task planning
    • G05B2219/32216If machining not optimized, simulate new parameters and correct machining

Landscapes

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

Abstract

이 발명은 엔.씨. 프로그램의 시뮬레이션 장치 및 그 방법에 관한 것으로서, 엔.씨. 머신을 작동시키기 위한 엔.씨. 프로그램이 저장되어 있고, 상기 입력 수단을 통해 입력되는 데이터나 동작 조건에 해당하는 동작을 실행하여, 해당 상태로 가공물의 가공 동작을 시뮬레이션하고, 선택되는 조건으로 화면 출력이 이루어질 수 있도록 동작 제어 수단과; 상기 동작 제어 수단과 연결되어, 각 선택된 조건에 따라 시뮬레이션되는 가공물의 가공 상태를 선택된 출력 조건에 해당하는 그래픽으로 출력할 수 있도록 하는 데이터 출력 수단을 포함하여 이루어져, 자동화 공정에 의해 원하는 가공물을 가공하기 위한 엔.씨. 머신의 동작을 제어하는 프로그램을 개발할 때 프로그램의 동작 상태를 컴퓨터 상태에서 시뮬레이션하여 다각도에서 가공물의 가공 상태를 확인할 수 있고, 시뮬레이션 상태에서 가공물을 가공하기 위한 장치의 동작 속도를 조절할 수 있도록 하여 각 단계별로 가공되는 가공 과정을 사용자가 용이하게 확인할 수 있도록 한다.This invention is N.C. As related to the simulation device of the program and its method, N.C. NC to operate the machine. A program stored therein, which executes an operation corresponding to data or an operating condition input through the input means, simulates a machining operation of the workpiece in a corresponding state, and outputs a screen to a selected condition; ; It is connected to the operation control means, comprising a data output means for outputting the processing state of the workpiece simulated according to each selected condition in a graphic corresponding to the selected output conditions, to process the desired workpiece by an automated process N. When developing a program to control the operation of the machine, you can simulate the operating state of the program in the computer state to check the machining state of the workpiece in multiple angles, and adjust the operating speed of the device for machining the workpiece in the simulation state. The user can easily check the machining process to be processed.

Description

엔.씨. 프로그램의 시뮬레이션 장치 및 그 방법N.C. Program simulation device and method

이 발명은 엔.씨.(Numeric Control) 프로그램(program)의 시뮬레이션(simulation) 장치 및 그 방법에 관한 것으로서 더욱 상세하게 말하면, 엔.씨. 머신의 동작을 제어하여 해당하는 가공물을 제작하기 전에 작성된 프로그램에 따라 엔.씨. 머신의 동작 상태를 미리 컴퓨터 상에서 시뮬레이션하여 작성된 프로그램의 상태를 예측할 수 있도록 하기 위한 엔.씨. 프로그램의 시뮬레이션 장치 및 그 방법에 관한 것이다.The present invention relates to a simulation device and method of the Numeric Control program. According to the program written before controlling the operation of the machine to produce the corresponding workpiece. NC to simulate the operating state of the machine in advance on the computer so that the state of the created program can be predicted. A simulation apparatus for a program and a method thereof.

일반적으로 자동화 공정의 발달로 많은 공작물들이 자동화 공정에 의해 설정된 모양이나, 형태로 가공되어, 공작물의 정밀도나 신속성을 향상시킬 수 있도록 한다.In general, with the development of an automated process, many workpieces are processed into a shape or a form set by the automated process, so that the precision or speed of the workpiece can be improved.

그러므로 자동화 공정에 이용하여 공작물을 가공하기 위해, 먼저 사용자는 엔.씨. 머신의 동작을 제어하기 위한 엔.씨. 프로그램을 작성하고, 작성된 프로그램에 각 해당하는 제어 데이터를 입력하여 엔.씨. 머신의 동작을 제어한다.Therefore, in order to machine a workpiece for use in an automated process, the first user is N.C. NC to control the operation of the machine. Create a program and enter the control data corresponding to each created program. Control the operation of the machine.

따라서 내장된 재어 프로그램의 동작에 따라 각 해당 장치가 작동하여 원하는 상태로 공작물을 가공할 수 있도록 한다.Therefore, each corresponding device operates according to the operation of the built-in control program, so that the workpiece can be machined to the desired state.

상기와 같이 제어 프로그램의 제어 동작에 따라 엔.씨. 머신의 동작이 제어될 경우, 정확한 엔.씨. 머신의 제어 동작을 위해서는 정확한 엔.씨. 프로그램이 작성되어야 한다.According to the control operation of the control program as described above. If the behavior of the machine is controlled, the correct NC. Accurate NC for the control operation of the machine. The program must be written.

그러므로 엔.씨. 프로그램의 작성자는 작성된 프로그램을 상태를 체크하기 위해, 종래에는 먼저, 작성된 프로그램의 리스트를 출력한 후 육안으로 1차 검색을 실행한다.Therefore, N.C. In order to check the state of a created program, the creator of a program conventionally first outputs a list of created programs, and then visually executes a primary search.

1차 검색 후, 작성된 엔.씨. 프로그램을 이용하여 엔.씨. 머신을 작동시키고, 작동되는 엔.씨. 머신의 동작에 따라 가공물의 가공 상태를 실제로 확인할 수 있도록 한다.NC was created after the first search. N.C. using the program. The machine is running and NC is running. According to the operation of the machine, it is possible to actually check the machining status of the workpiece.

이때, 엔.씨. 프로그램을 검색하기 위해 엔.씨. 머신을 작동시킬 경우, 가공물의 개략적인 윤곽만을 가공하여 전체적인 동작 상태를 예측할 수 있도록 하므로 드라이 런(dry run)이라고 불리운다.At this time, N.C. N.C. to search for the program. When the machine is operated, it is called a dry run because only the rough contour of the workpiece can be processed to predict the overall operating state.

그러나 상기와 같이 드라인 런 동작을 위해 작동된 엔.씨. 프로그램의 에러를 검색할 경우, 실제로 엔.씨. 머신을 작동시켜야 하므로 잘못된 엔.씨. 프로그램에 의한 엔.씨. 머신의 오동작에 의해 엔.씨. 머신이 고장나는 경우가 발생하여 커다란 경제적인 손실을 초래하는 문제가 발생한다.However, N.C operated for the draw run operation as described above. If you search for errors in the program, you actually do Bad NC because the machine needs to operate. N.C. by program N.C. due to a malfunction of the machine. The problem is that the machine breaks down, causing huge economic losses.

또한 오동작하는 엔.씨. 모신에 의해 주변 기기까지 파손되는 문제가 발생한다.Also malfunctioning N.C. The mother machine breaks down to the peripherals.

따라서 상기와 같은 문제를 방지하기 위해 작성된 프로그램을 시뮬레이션하여 작동 상태를 확인할 경우에도, 종래에는 프로그램의 동작에 의해 가공되는 가공 상태를 단계별로 체크할 수 없고 단지 한 방향에서 시뮬레이션된 가공물의 형태만을 사용자가 확인할 수 있으므로, 정상적인 프로그램의 동작에 의해 원하는 상태의 가공물을 생산해 낼 수 있는지 정확한 판단을 내릴수 없는 문제가 발생한다.Therefore, even in the case of confirming the operating state by simulating a program created to prevent the above problems, conventionally, it is not possible to check the machining state processed by the operation of the program step by step. As can be confirmed, a problem arises in that it is not possible to accurately determine whether a workpiece in a desired state can be produced by a normal program operation.

따라서 정확한 프로그램의 동작 상태를 확인하기 위해서는 실제로 엔.씨. 머신을 작동시켜야 하므로 상기한 문제가 발생하게 된다.Therefore, in order to check the correct operation status of the program, it is actually N.C. The problem arises because the machine must be operated.

그러므로 이 발명의 목적은 상기한 종래의 문재점을 해결하기 위한 것으로서, 자동화 공정에 의해 원하는 가공물을 가동하기 위한 엔.씨. 머신의 동작을 제어하는 프로그램을 개발할 때 프로그렘의 동작 상태를 컴퓨터 상태에서 시뮬레이션하여 다각도에서 가공물의 가공 상태를 확인할 수 있도록 하므로 정확한 동작을 실행할 수 있는 엔.씨. 프로그램을 개발할 수 있도록 하는 엔.씨. 프로그램의 시뮬레이션 장치 및 그 방법을 제공하기 위한 것이다.Therefore, an object of the present invention is to solve the above-described conventional problem, and to drive a desired workpiece by an automated process. When developing a program to control the operation of the machine, NC's operating state can be simulated in the computer state so that the machining state of the workpiece can be checked from multiple angles. NC makes it possible to develop programs. It is to provide a simulation device for the program and a method thereof.

이 발명의 또다른 목적은, 시뮬레이션 상태에서 가공물을 가공하기 위한 장치의 동작 속도를 조절할 수 있도록 하여 각 단계별로 가공되는 가공 과정을 사용자가 용이하게 확인할 수 있도록 하여 신속하고 정확한 에러 검색 동작을 실행할 수 있도록 하는 엔.씨. 프로그램의 시뮬레이션 장치 및 그 방법을 제공하기 위한 것이다.Another object of the present invention is to adjust the operating speed of the device for processing the workpiece in the simulation state, so that the user can easily check the machining process for each step to perform a quick and accurate error search operation N. It is to provide a simulation device for the program and a method thereof.

제1도는 이 발명의 실시예에 따른 엔.씨. 프로그램의 시뮬레이션 장치의 블록도이고,1 is an example of an NC according to an embodiment of the present invention. Is a block diagram of the simulation device for the program,

제2도는 이 발명의 실시예에 따른 엔.씨. 프로그램의 시뮬레이션 방법의 동작 순서도이고,2 is N.C. in accordance with an embodiment of the present invention. Is a flow chart of the simulation method of the program,

제3도의 (a)∼(b)는 엔.씨. 프로그램의 동작에 따른 컴퓨터 모니터의 출력 상태도이다.(A)-(b) of FIG. 3 are N.C. This is the output state of the computer monitor according to the operation of the program.

상기한 목적을 달성하기 위한 이 발명의 구성은, 원하는 데이터나 프로그램의 동작을 제어할 수 있는 제어 명령을 입력하기 위한 입력 수단과; 엔.씨. 머신을 작동시키기 위한 엔.씨. 프로그램이 저장되어 있고, 상기 입력 수단을 통해 입력되는 데이터나 동작 조건에 해당하는 동작을 실행하여, 해당 상태로 가공물의 가공 동작을 시뮬레이션하고, 선택되는 조건으로 화면 출력이 이루어질 수 있도록 동작 제어 수단과; 상기 동작 제어 수단과 연결되어, 각 선택된 조건에 따라 시뮬레이션되는 가공물의 가공 상태를 선택된 출력 조건에 해당하는 그래픽으로 출력할 수 있도록 하는 데이터 출력 수단을 포함하여 이루어져 있다.The configuration of the present invention for achieving the above object comprises: input means for inputting a control command capable of controlling the operation of desired data or program; N.C. NC to operate the machine. A program stored therein, which executes an operation corresponding to data or an operating condition input through the input means, simulates a machining operation of the workpiece in a corresponding state, and outputs a screen to a selected condition; ; It is connected to the operation control means, and comprises a data output means for outputting the processing state of the workpiece simulated according to each selected condition in a graphic corresponding to the selected output condition.

상기 동작 제어 수단은, 실행하고자 하는 실행 파일를 선택하여 엔.씨. 프로그램의 작동 또는 편집을 실행할 수 있도록 한 후, 엔.씨. 프로그램을 작동시킬 것인지, 또는 개발된 엔.씨. 프로그램을 편집할 것인지를 선택하고, 엔.씨. 프로그램을 작동시킬 경우에, 시뮬레이션의 조건 및 출력 조건을 선택하여, 선택된 시뮬레이션 조건에 따라 가공물의 가공 동작이 시뮬레이션되어 출력될 수 있도록 하고, 개발된 엔.씨. 프로그램을 편집할 경우에, 편집을 위한 초기 화면을 출력하여 편집 동작을 수행할 수 있도록 한 후, 새롭게 수정된 엔.씨. 프로그램을 저장한 후 편집 동작을 종료할 수 있도록 한다.The operation control means selects an executable file to be executed and executes an NC. After allowing the operation or editing of the program to run, NC. Whether to run the program, or developed NC. Choose whether to edit the program, When operating the program, select the condition and output condition of the simulation so that the machining operation of the workpiece can be simulated and output according to the selected simulation condition. When you edit a program, you can print out the initial screen for editing so that you can perform the editing operation. After saving the program, you can exit the editing operation.

또한 시뮬레이션 조건 및 출력 조건은, 가공되는 가공물의 동작 상태만을 시뮬레이션하기 위한 모드인지, 또는 가공되는 가공물뿐만 아니라, 엔.씨. 머신의 동작 상태로 시뮬레이션하기 위한 모드인지를 선택하고 동작되는 동작 속도를 조절하며, 출력하고자 하는 출력 상태를 선택할 수 있다.In addition, the simulation condition and the output condition are modes for simulating only the operating state of the workpiece to be machined, or the workpiece to be processed, as well as N.C. It is possible to select whether the mode is to simulate the operating state of the machine, adjust the operating speed of operation, and select the output state to be output.

상기한 목적을 달성하기 위한 이 발명의 또다른 구성은, 실행하고자 하는 실행 파일을 선택하여 엔.씨. 프로그램의 작동 또는 편집을 실행할 수 있도록 하는 단계와; 입력 수단을 이용하여 엔.씨. 프로그램을 작동시킬 것인지, 또는 개발된 엔.씨. 프로그램을 편집할 것인지를 선택하는 단계와; 사용자에 의한 선택 동작에 의해 엔.씨. 프로그램을 작동시킬 경우에, 시뮬레이션 조건 및 출력 조건을 선택하는 단계와; 선택된 시뮬레이션 조건에 따라 가공물의 가공 동작이 시뮬레이션되어 출력될 수 있도록 하는 단계와; 사용자에 의한 선택 동작에 의해 개발된 엔.씨. 프로그램을 편집할 경우에, 편집을 위한 초기 화면을 출력하여 편집 동작을 수행할 수 있도록 하는 단계와; 새롭게 수정된 엔.씨. 프로그램을 저장한 후 편지 동작을 종료할 수 있도록 하는 단계를 포함하여 이루어져 있다.Another configuration of the present invention for achieving the above object is to select an executable file to run. Enabling operation or editing of the program; N.C. using input means. Whether to run the program, or developed NC. Selecting whether to edit the program; N.C. by selection operation by user. When operating the program, selecting simulation conditions and output conditions; Allowing the machining operation of the workpiece to be simulated and output according to the selected simulation condition; N.C developed by the selection operation by the user. When editing a program, outputting an initial screen for editing to perform an editing operation; Newly modified N.C. This includes saving the program and ending the letter operation.

이하, 이 발명의 속하는 기술분야에서 통상의 지식을 가진 자가 이 발명을 용이하게 실시할 수 있는 가장 바람직한 실시예를 첨부한 도면을 참고로 하여 상세히 설명한다.DETAILED DESCRIPTION Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 이 발명의 실시예에 따른 엔.씨. 프로그램의 시뮬레이션 장치의 블록도이고, 도 2는 이 발명의 실시예에 따른 엔.씨. 프로그램의 시뮬레이션 방법의 동작 순서도이고, 도 3의 (a)∼(b)는 엔.씨. 프로그램의 동작에 따른 컴퓨터 모니터의 출력 상태도이다.1 is an NC according to an embodiment of the present invention. 2 is a block diagram of a simulation apparatus for a program, and FIG. It is an operation flowchart of the simulation method of a program, and FIG.3 (a)-(b) are N.C. This is the output state of the computer monitor according to the operation of the program.

도 1을 참고로 하여 이 발명의 구성을 설명하면, 원하는 데이터나 프로그램의 동작을 제어할 수 있는 제어 명령을 입력하기 위한 입력부(11)와, 엔.씨. 프로그램이 내장되어 있고 상기 입력부(11)를 통해 입력되는 데이터나 제어 명령에 따라 해당 동작을 실행하여 엔.씨. 머신을 작동시키고 시뮬레이션 상태를 출력할 수 있도록 하는 동작 제어부(12)와, 상기 동작 제어부(12)와 연결되어 동작 제어부(12)의 동작에 따라 가공되는 가공물을 각 선택된 조건에 따라 시뮬레이션 과정을 출력하는 컴퓨터 모니터(13)로 이루어져 있다.Referring to Fig. 1, the configuration of the present invention will be described. An input unit 11 for inputting a control command capable of controlling the operation of desired data or program, and NC. The program is built-in and executes the corresponding operation according to data or control command inputted through the input unit 11. An operation control unit 12 for operating the machine and outputting a simulation state, and a workpiece connected to the operation control unit 12 to be processed according to the operation of the operation control unit 12 and outputting a simulation process according to each selected condition. It consists of a computer monitor (13).

상기와 같이 이루어져 있는 이 발명의 동작을 도 1∼도 3을 참고로 하여 설명한다.The operation of the present invention made as described above will be described with reference to FIGS.

먼저, 각 장치의 동작에 필요한 전원이 공급되면, 개발된 엔.씨. 프로그램에 의해 동작 제어부(12)의 동작이 이루어져 가공물의 가공 상태를 데이터 출력부(13)를 통해 시뮬레이션할 수 있다.First, when the power required for the operation of each device is supplied, it is developed. The operation of the operation control unit 12 is performed by a program to simulate the processing state of the workpiece through the data output unit 13.

동작 제어부(12)의 동작이 시작되면(S10), 도 3의 (가)에 도시된 것과 같은 초기 화면이 컴퓨터 모니터(13)를 통해 출력된다.When the operation of the operation control unit 12 starts (S10), an initial screen as shown in FIG. 3A is output through the computer monitor 13.

따라서 사용자는 컴퓨터 모니터(13)를 통해 출력되는 초기 화면에서 각 원하는 출력 조건을 선택하여 원하는 시뮬레이션 동작을 실행할 수 있도록 한다.Therefore, the user selects each desired output condition from the initial screen output through the computer monitor 13 so as to execute a desired simulation operation.

그러므로 사용자에 의해 시뮬레이션 동작을 위한 작업 파일을 선택할 수 있도록 작업 파일을 이름을 입력하고(S11), 입력된 작업 파일을 체크하여 해당하는 작업 파일을 선택한다(S12,S13).Therefore, the user inputs the name of the work file so that the user can select the work file for the simulation operation (S11), and checks the input work file to select the corresponding work file (S12, S13).

상기와 같이 시뮬레이션 동작을 실행하고자 하는 작업 파일이 선택되면, 동작 제어부(12)는 원하는 조건으로 가공물을 가공하기 위한 동작의 시뮬레이션을 실행할 수 있도록 하기 위해, 마우스나 키보드 등의 입력부(11)를 이용하여 원하는 조건을 각각 선택한다.When a job file to execute the simulation operation is selected as described above, the operation control unit 12 uses an input unit 11 such as a mouse or a keyboard to execute a simulation of an operation for processing a workpiece under a desired condition. Select each desired condition.

따라서 동작 제어부(12)는 사용자에 의해 현재 동작 제어부(12)의 메모리에 저장되어 있는 엔.씨. 프로그램의 동작에 의해 가공물의 시뮬레이션 동작을 컴퓨터 모니터(13)를 이용하여 실행하기 위한 출력 모드(display mode)가 선택되었는지, 아니면 엔.씨. 프로그램을 수정하기 위한 편집 모드(edit mode)가 선택되었는지를 판단한다(S14).Therefore, the operation control unit 12 is stored in the memory of the current operation control unit 12 by the user. The display mode for executing the simulation operation of the workpiece by using the computer monitor 13 by the operation of the program is selected, or NC. It is determined whether an edit mode for modifying a program is selected (S14).

따라서 입력부(11)를 통해 사용자에 의해 선택된 동작 모드가 출력 모드일 경우, 동작 제어부(12)는 가공되는 가공물의 가공 동작 상태를 시뮬레이션하기 위한 머티어리얼 모드(material mode)가 선택되었는지, 또는 가공물의 가공 상태뿐만 아니라 엔.씨. 프로그램에 의해 동작되는 엔.씨. 머신의 동작 상태로 시뮬레이션할 수 있는 올 모드(all mode)가 선택되었는지를 판단한다(S15).Therefore, when the operation mode selected by the user through the input unit 11 is an output mode, the operation control unit 12 determines whether a material mode for simulating the machining operation state of the workpiece to be processed is selected, or the workpiece As well as the processing state of N. Mr. N.C. operated by the program. It is determined whether an all mode capable of simulating the operating state of the machine is selected (S15).

사용자에 의해 머티어리얼 모드와 올 모드중에서 원하는 하나의 모드가 선택되면, 사용자는 입력부(11)를 통해 엔.씨. 머신의 작동 속도를 선택하여 입력한다(S16).When one of the desired modes is selected from the material mode and the all mode by the user, the user can enter the NC through the input unit 11. Select and enter the operating speed of the machine (S16).

그리고 시뮬레이션 동작을 원하는 각도로 컴퓨터 모니터(13)를 통해 출력시키기 위해, 사용자는 입력부(11)를 이용하여 원하는 출력 형태를 선택한다(S17).In order to output the simulation operation through the computer monitor 13 at a desired angle, the user selects a desired output form using the input unit 11 (S17).

즉, 도 3에 도시된 것처럼, 평면도를 원할 경우엔 "TOP"를 선택하고, 정면도를 원할 경우엔 "FRONT"를 선택하고, 사시도를 원할 경우엔 "ISO"를 선택한다.That is, as shown in FIG. 3, when the top view is desired, "TOP" is selected, when the front view is desired, "FRONT" is selected, and when the perspective view, "ISO" is selected.

상기와 같이 출력하고자 하는 대상과 가공 속도 및 출력 형태가 사용자에 의해 모두 선택되면, 동작 제어부(12)는 선택되는 각 모드에 따라 해당하는 동작을 실행하여 도 3의 (나)와 (다)와 같은 상태로 컴퓨터 모니터(13)를 통해 시뮬레이션 과정을 출력한다.When both the object to be output, the processing speed, and the output form are selected by the user, the operation controller 12 executes the corresponding operation according to each mode selected, and (b) and (c) of FIG. 3. In the same state, the simulation process is output through the computer monitor 13.

그러므로 사용자는 컴퓨터 모니터(13)를 통해 출력되는 시뮬레이션 동작을 이용하여 현재 가공되는 가공 동작이 정상 상태로 실행되고 있는지를 판단할 수 있다.Therefore, the user can determine whether the machining operation currently being processed is being executed in a normal state by using the simulation operation output through the computer monitor 13.

또한 가공물의 가공 속도를 임의로 선택할 수 있으므로 각 가공 과정의 상태를 판단하여 에러의 발생 위치를 용이하게 판단하여 엔.씨. 프로그램의 수정을 용이하게 할 수 있다.In addition, the processing speed of the workpiece can be arbitrarily selected, so the status of each machining process can be judged to easily determine the position of the error. It is easy to modify the program.

그러나 가공물의 가공 동작 상태가 원하는 상태가 아닐 경우, 사용자는 엔.씨. 프로그램을 원하는 가공 동작이 이루어질 수 있도록 수정해야 한다.However, if the machining operation state of the workpiece is not the desired state, the user may The program must be modified to achieve the desired machining behavior.

그러므로 사용자는 상기 단계(S14)에서 동작 제어부(12)의 동작 모드를 편집 모드로 선택한다.Therefore, the user selects the operation mode of the operation controller 12 as the edit mode in step S14.

사용자에 의해 동작 제어부(12)의 동작 모드가 편집 모드일 경우, 동작 제어부(12)는 도시되지 않은 편집 모드의 메뉴 화면을 컴퓨터 모니터(13)를 통해 출력한다(S19).When the operation mode of the operation control unit 12 is the edit mode by the user, the operation control unit 12 outputs the menu screen of the editing mode (not shown) through the computer monitor 13 (S19).

그리고 사용자에 의해 엔.씨. 프로그램의 해당 부분을 편집할 수 있도록 한다(S20).And by user. Allows editing of the corresponding part of the program (S20).

원하는 엔.씨. 프로그램의 편집 동작이 완료되면, 사용자에 의한 입력부(11)의 동작에 따라 편집된 엔.씨. 프로그램을 저장한 후(S21), 편집 모드의 동작을 종료한다(S22).N. When the editing operation of the program is completed, it is edited according to the operation of the input unit 11 by the user. After storing the program (S21), the operation of the edit mode is terminated (S22).

그러므로 다시 새롭게 수정된 엔.씨. 프로그램의 동작에 따라 가공물의 시뮬레이션 동작을 재실행할 수 있도록 한다.Therefore, the newly revised N.C. Depending on the operation of the program, it is possible to re-execute the simulation operation of the workpiece.

따라서 상기와 같이 동작하는 이 발명의 효과는 엔.씨. 머신의 동작을 제어하여 원하는 가공물을 얻을 수 있도록 하는 엔.씨. 프로그램의 동작 상태를 컴퓨터 그래픽을 이용하여 컴퓨터 상에서 미리 시뮬레이션할 수 있으므로 개발된 엔.씨. 프로그램의 작동 상태를 용이하게 예측할 수 있다.Therefore, the effect of the present invention operating as described above is N.C. N.C. controls the behavior of the machine to achieve the desired workpiece. Developed by N.C., because the program's operating state can be simulated on a computer using computer graphics. The operating state of the program can be easily predicted.

또한 엔.씨. 프로그램의 동작에 의해 시뮬레이션되는 가공물의 가공 상태를 여러 각도에서 확인할 수 있으므로 엔.씨. 프로그램의 작동 상태를 정확하게 판단할 수 있다.Also N. The machining state of the workpiece simulated by the program's motion can be checked from different angles. Accurately determine the operating status of the program.

시뮬레이션되는 동작 속도를 사용자 임의로 선택하여 작동시킬 수 있으므로 가공되는 가공물의 가공 단계별로 정확한 가공 상태를 판단할 수 있으므로 엔.씨. 프로그램의 에러 발생 부분을 용이하고 정확하게 판단할 수 있다.The user can select and operate the simulated motion speed arbitrarily. Therefore, the accurate machining status can be judged by the processing stage of the workpiece. The error occurrence part of the program can be judged easily and accurately.

그리고 실제 엔.씨. 머신을 작동시키지 않고 정확하게 가공물의 가공 상태를 판단할 수 있으므로 잘못된 엔.씨. 프로그램에 의한 엔.씨. 머신의 오동작으로 인한 막대한 경제적인 손실을 방지할 수 있다.And real nc. The wrong NC can be judged accurately without the machine being operated. N.C. by program It can prevent the huge economic loss caused by the machine malfunction.

Claims (7)

원하는 데이터나 프로그램의 동작을 제어할 수 있는 제어 명령을 입력하기 위한 입력 수단과; 엔.씨. 머신을 작동시키기 위한 엔.씨. 프로그램이 저장되어 있고, 상기 입력 수단을 통해 입력되는 데이터나 동작 조건에 해당하는 동작을 실행하여, 해당 상태로 가공물의 가공 동작을 시뮬레이션하고, 선택되는 조건으로 화면 출력이 이루어질 수 있도록 동작 제어 수단과; 상기 동작 제어 수단과 연결되어, 각 선택된 조건에 따라 시뮬레이션되는 가공물의 가공 상태를 선택된 출력 조건에 해당하는 그래픽으로 출력할 수 있도록 하는 데이터 출력 수단을 포함하여 이루어져 있는 것을 특징으로 하는 엔.씨. 프로그램의 시뮬레이션 장치.Input means for inputting a control command capable of controlling the operation of desired data or program; N.C. NC to operate the machine. A program stored therein, which executes an operation corresponding to data or an operating condition input through the input means, simulates a machining operation of the workpiece in a corresponding state, and outputs a screen to a selected condition; ; And data output means connected to the operation control means to output a processing state of the workpiece simulated according to each selected condition in a graphic corresponding to the selected output condition. Simulation device of the program. 제1항에 있어서, 상기 동작 제어 수단은, 실행하고자 하는 실행 파일를 선택하여 엔.씨. 프로그램의 작동 또는 편집을 실행할 수 있도록 한 후, 엔.씨. 프로그램을 작동시킬 것인지, 또는 개발된 엔.씨. 프로그램을 편집할 것인지를 선택하고, 엔.씨. 프로그램을 작동시킬 경우에, 시뮬레이션의 조건 및 출력 조건을 선택하여, 선택된 시뮬레이션 조건에 따라 가공물의 가공 동작이 시뮬레이션되어 출력될 수 있도록 하고, 개발된 엔.씨. 프로그램을 편집할 경우에, 편집을 위한 초기 화면을 출력하여 편집 동작을 수행할 수 있도록 한 후, 새롭게 수정된 엔.씨. 프로그램을 저장한 후 편집 동작을 종료할 수 있도록 하는 것을 특징으로 하는 엔.씨. 프로그램의 시뮬레이션 장치.The NC control apparatus of claim 1, wherein the operation control means selects an executable file to be executed. After allowing the operation or editing of the program to run, NC. Whether to run the program, or developed NC. Choose whether to edit the program, When operating the program, select the condition and output condition of the simulation so that the machining operation of the workpiece can be simulated and output according to the selected simulation condition. When you edit a program, you can print out the initial screen for editing so that you can perform the editing operation. After the program has been saved, the editing operation can be terminated. Simulation device of the program. 제2항에 있어서, 시뮬레이션 조건 및 출력 조건은 가공되는 가공물의 동작 상태만을 시뮬레이션하기 위한 모드인지, 또는 가공되는 가공물뿐만 아니라 엔.씨. 머신의 동작 상태로 시뮬레이션하기 위한 모드인지를 선택하고 동작되는 동작 속도를 조절하며, 출력하고자 하는 출력 상태를 선택할 수 있는 것을 특징으로 하는 엔.씨. 프로그램의 시뮬레이션 장치.The N.C according to claim 2, wherein the simulation condition and the output condition are modes for simulating only the operating state of the workpiece to be machined, or N / C as well as the workpiece to be machined. N.C., characterized in that it is possible to select whether the mode to simulate the operating state of the machine, to control the operating speed of operation, and to select the output state to be output. Simulation device of the program. 제3항에 있어서, 상기 출력 상태를 선택하기 위한 모드는, 평면도 상태로 출력하기 위한 모드와, 정면도 상태로 출력하기 위한 모드와, 사시도 상태로 출력하기 위한 모드로 이루어져 있는 것을 특징으로 하는 엔.씨. 프로그램의 시뮬레이션 장치.4. The yen according to claim 3, wherein the mode for selecting the output state comprises a mode for outputting in a plan view state, a mode for outputting in a front view state, and a mode for outputting in a perspective view state. .Seed. Simulation device of the program. 실행하고자 하는 실행 파일을 선택하여 엔.씨. 프로그램의 작동 또는 편집을 실행할 수 있도록 하는 단계와; 입력 수단을 이용하여 엔.씨. 프로그램을 작동시킬 것인지, 또는 개발된 엔.씨. 프로그램을 편집할 것인지를 선택하는 단계와; 사용자에 의한 선택 동작에 의해 엔.씨. 프로그램을 작동시킬 경우에, 시뮬레이션 조건 및 출력 조건을 선택하는 단계와; 선택된 시뮬레이션 조건에 따라 가공물의 가공 동작이 시뮬레이션되어 출력될 수 있도록 하는 단계와; 사용자에 의한 선택 동작에 의해 개발된 엔.씨. 프로그램을 편집할 경우에, 편집을 위한 초기 화면을 출력하여 편집 동작을 수행할 수 있도록 하는 단계와; 새롭게 수정된 엔.씨. 프로그램을 저장한 후 편집 동작을 종료할 수 있도록 하는 단계를 포함하여 이루어져 있는 것을 특징으로 하는 엔.씨. 프로그램의 시뮬레이션 방법.Select the executable file you want to run. Enabling operation or editing of the program; N.C. using input means. Whether to run the program, or developed NC. Selecting whether to edit the program; N.C. by selection operation by user. When operating the program, selecting simulation conditions and output conditions; Allowing the machining operation of the workpiece to be simulated and output according to the selected simulation condition; N.C developed by the selection operation by the user. When editing a program, outputting an initial screen for editing to perform an editing operation; Newly modified N.C. NC, characterized in that it comprises a step to end the editing operation after saving the program. How to simulate the program. 제5항에 있어서, 시뮬레이션의 조건 및 출력 조건을 선택하는 단계는, 가공되는 가공물의 동작 상태만을 시뮬레이션하기 위한 모드인지, 또는 가공되는 가공물뿐만 아니라 엔.씨. 머신의 동작 상태로 시뮬레이션하기 위한 모드인지를 선택하는 단계와; 동작되는 동작 속도를 원하는 속도로 선택하는 단계와; 출력하고자 하는 출력 상태를 선택하여 해당 상태로 데이터 출력 수단을 통해 출력하는 단계를 포함하여 이루어져 있는 것을 특징으로 하는 엔.씨. 프로그램의 시뮬레이션 방법.6. The method of claim 5, wherein the step of selecting the conditions and output conditions of the simulation is a mode for simulating only the operating state of the workpiece to be machined, or the workpiece to be processed as well as the NC. Selecting whether to be in a mode for simulating the operating state of the machine; Selecting an operating speed to be operated at a desired speed; Selecting an output state to be output and outputting the data to the corresponding state through the data output means. How to simulate the program. 제5항에 있어서, 상기 출력 상태를 평면도 상태로 출력하기 위한 모드와, 정면도 상태로 출력하기 위한 모드와, 사시도 상태로 출력하기 위한 모드로 이루어져 있는 것을 특징으로 하는 엔.씨. 프로그램의 시뮬레이션 방법.6. The NC of claim 5, comprising a mode for outputting the output state in a plan view state, a mode for outputting in a front view state, and a mode for outputting in a perspective view state. How to simulate the program.
KR1019960078003A 1996-12-30 1996-12-30 N.c program simulation device and method KR100205337B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960078003A KR100205337B1 (en) 1996-12-30 1996-12-30 N.c program simulation device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960078003A KR100205337B1 (en) 1996-12-30 1996-12-30 N.c program simulation device and method

Publications (2)

Publication Number Publication Date
KR19980058670A KR19980058670A (en) 1998-10-07
KR100205337B1 true KR100205337B1 (en) 1999-07-01

Family

ID=19492752

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960078003A KR100205337B1 (en) 1996-12-30 1996-12-30 N.c program simulation device and method

Country Status (1)

Country Link
KR (1) KR100205337B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100404746B1 (en) * 1998-06-29 2003-12-18 현대중공업 주식회사 DC simulator using PC
KR100416017B1 (en) * 2000-03-25 2004-01-31 한국과학기술원 A storage medium storaged a robot soccer strategy evolution program and a robot soccer program using thereof
KR100426035B1 (en) * 2001-08-01 2004-04-03 주식회사 마이크로로보트 Training system for microrobot control program

Also Published As

Publication number Publication date
KR19980058670A (en) 1998-10-07

Similar Documents

Publication Publication Date Title
US20010011367A1 (en) Windows-based flowcharting and code generation system
JPWO2011080945A1 (en) Program creation support device
CN105408823A (en) Engineering tool, program editing device, and program editing system
JPH0219906A (en) Numerical control program correcting system for interactive numerical controller
KR100694381B1 (en) Graphical programing device and programmable indicator
KR100205337B1 (en) N.c program simulation device and method
US10994381B2 (en) Controller, data generation device, control method, and control program
US5113359A (en) Method for selecting inputs for a pc in which a ladder program is simulated
JPH0313023B2 (en)
KR0182393B1 (en) Assumed computer numerical value control nc system & method
JP4198374B2 (en) Equipment simulation method and equipment simulation program
JP2000089813A (en) Working program editing method and controller for machine tool
JPH04114208A (en) Animation plotting system for nc program
JPH02151908A (en) Numerical controller with simulation function
JPH10247142A (en) System and method for programming process control program
JPH0410081B2 (en)
JPH08263130A (en) Simulation system
JP2875135B2 (en) Program device for programmable controller
KR100189068B1 (en) Simulation device and method for numerical control machine
JP3660038B2 (en) Numerical controller
KR0136142B1 (en) The method of graphic simulation using numerical control apparatus
JPH0938876A (en) Simulation device
JPS62147505A (en) Automatic producing method for part program
JP7328080B2 (en) Program simulation system and numerical control system for industrial machinery
JP2533372B2 (en) Control program creation method

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee