KR100213052B1 - Computer neumerical control graphic display method - Google Patents

Computer neumerical control graphic display method Download PDF

Info

Publication number
KR100213052B1
KR100213052B1 KR1019960030476A KR19960030476A KR100213052B1 KR 100213052 B1 KR100213052 B1 KR 100213052B1 KR 1019960030476 A KR1019960030476 A KR 1019960030476A KR 19960030476 A KR19960030476 A KR 19960030476A KR 100213052 B1 KR100213052 B1 KR 100213052B1
Authority
KR
South Korea
Prior art keywords
data
ram
displaying
simulation
graphic
Prior art date
Application number
KR1019960030476A
Other languages
Korean (ko)
Other versions
KR980010832A (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 KR1019960030476A priority Critical patent/KR100213052B1/en
Publication of KR980010832A publication Critical patent/KR980010832A/en
Application granted granted Critical
Publication of KR100213052B1 publication Critical patent/KR100213052B1/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/414Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller
    • G05B19/4145Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller characterised by using same processor to execute programmable controller and numerical controller function [CNC] and PC controlled NC [PCNC]
    • 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/33Director till display
    • G05B2219/33099Computer numerical control [CNC]; Software control [SWC]

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

컴퓨터 수치 제어(CNC; Computer Numerical Control) 선반의 백그라운드 그래픽 디스플레이(Background graphic display) 방법이 개시된다. 이 방법은, 롬(ROM)에 공구 궤적의 시뮬레이션 알고리즘이 저장되어, 프로세서가 상기 알고리즘에 따라 공구 궤적을 디스플레이하는 그래픽 모드의 실행 도중에, 사용자에 의하여 다른 메뉴를 일시 실행하는 경우, 지속되는 공구 궤적의 데이터를 보관하여 상기 그래픽 모드의 복원시에 디스플레이하는 컴퓨터 수치 제어 선반의 백그라운드 그래픽 디스플레이 방법에 있어서, 상기 그래픽 모드의 실행 도중에 사용자에 의하여 다른 메뉴가 실행되면, 비데오 메모리에 저장된 현재 화면 데이터를 별도의 램(RAM)에 옮겨 저장하는 단계; 상기 공구 궤적의 시뮬레이션을 계속 실행하여 산출된 데이터를 상기 램에 순차적으로 저장하는 단계; 및 사용자에 의하여 상기 그래픽 모드가 복원되면, 상기 램에 순차적으로 저장된 데이터를 상기 비데오 메모리에 옮겨 디스플레이하는 단계;를 포함하는 것을 그 특징으로 한다. 이에 따라 시뮬레이션 결과 데이터를 미리 램에 저장할 필요가 없으므로 램의 필요 용량을 줄일 수 있고, 그래픽 모드가 복원된 후 디스플레이 시간을 줄일 수 있다.Disclosed is a background graphic display (CNC) method of a computer numerical control (CNC) shelf. In this method, a simulation of tool trajectories is stored in a ROM so that the tool trajectory continues when the processor temporarily executes another menu during execution of a graphic mode in which the processor displays the tool trajectory according to the algorithm. A background graphic display method of a computer numerical control shelf for storing data of a computer and displaying the same when the graphic mode is restored. When another menu is executed by a user during execution of the graphic mode, the current screen data stored in the video memory is separately stored. Transferring to and storing RAM of the memory; Continuously executing the simulation of the tool trajectory and sequentially storing the calculated data in the RAM; And when the graphic mode is restored by a user, transferring data sequentially stored in the RAM to the video memory and displaying the data. As a result, it is not necessary to store simulation result data in RAM in advance, thereby reducing the required capacity of RAM and reducing display time after the graphic mode is restored.

Description

컴퓨터 수치 제어 선반의 백그라운드 그래픽 디스플레이 방법How to Display Background Graphics of a Computer Numerical Control Shelf

본 발명은 컴퓨터 수치 제어 선반의 백그라운드 그래픽 디스플레이 방법에 관한 것이다. 일반적으로 컴퓨터 수치 제어 선반에 있어서 그래픽 모드란, 롬(ROM)에 공구 궤적의 시뮬레이션 알고리즘이 저장되어, 사용자가 공구의 시작점 및 끝점을 지정하면 프로세서가 상기 알고리즘에 따라 공구 궤적을 디스플레이하는 모드를 말한다. 여기서 백그라운드 그래픽 디스플레이란, 상기 그래픽 모드의 실행 도중에 사용자에 의하여 다른 메뉴를 일시 실행하는 경우, 지속되는 공구 궤적의 데이터를 보관하여 상기 그래픽 모드의 복원시에 디스플레이하는 것을 말한다.The present invention relates to a method for displaying a background graphic of a computer numerical control shelf. In general, in a computer numerical control lathe, a graphic mode is a mode in which a simulation algorithm of a tool trajectory is stored in a ROM, and when a user designates a start point and an end point of a tool, the processor displays the tool trajectory according to the algorithm. . Here, the background graphic display refers to storing data of a tool trajectory which is continued when the user temporarily executes another menu during execution of the graphic mode, and displays the data when the graphic mode is restored.

도 1은 일반적인 컴퓨터 수치 제어 선반의 하드웨어를 나타낸 발췌적 블록도이다. 도 1에 도시된 바와 같이 일반적인 컴퓨터 수치 제어 선반의 하드웨어는, 공구 궤적의 시뮬레이션 알고리즘을 포함한 각종 알고리즘들이 저장된 롬(1), 상기 롬(1)에 저장된 알고리즘에 따라 전체적 제어를 실행하는 프로세서(2), 상기 프로세서(2)의 기능을 보조하는 보조 프로세서(3), 상기 프로세서(2)가 처리할 데이터가 저장되는 램(4), 상기 프로세서(2)가 처리한 결과 데이터를 디스플레이하기 위하여 저장하는 비데오 메모리(5), 및 상기 비데오 메모리(5)에 저장된 데이터를 디스플레이하는 모니터(6)가 마련된다.1 is an excerpt block diagram showing the hardware of a typical computer numerically controlled shelf. As shown in FIG. 1, hardware of a general computer numerical control lathe includes a ROM 1 storing various algorithms including a simulation algorithm of a tool trajectory, and a processor 2 executing overall control according to an algorithm stored in the ROM 1. ), The coprocessor 3 assisting the function of the processor 2, the RAM 4 storing data to be processed by the processor 2, and storing the data to display the result data processed by the processor 2. A video memory 5 and a monitor 6 for displaying data stored in the video memory 5 are provided.

상기와 같은 하드웨어를 갖춘 컴퓨터 수치 제어 선반에 있어서, 종래에는 백그라운드 그래픽 디스플레이를 위하여 가능한 모든 시뮬레이션 결과를 미리 램(4)에 저장한다. 사용자에 의하여 그래픽 모드가 실행되면, 프로세서(2)는 롬(1)에 내장된 알고리즘을 실행하지 않고, 미리 램(4)에 저장된 데이터를 비데오 메모리(5)에 옮겨서 모니터(6)에 디스플레이시킨다. 이와 같이 그래픽 모드를 실행하는 도중에 사용자에 의하여 다른 메뉴가 실행되면, 프로세서(2)는 그래픽 모드의 실행을 정지한다. 다음에 사용자에 의하여 그래픽 모드가 복원되면, 프로세서(2)는 상기 그래픽 모드의 실행을 다시 시작한다.In computer numerical control lathes equipped with such hardware, conventionally all possible simulation results for background graphic display are stored in RAM 4 in advance. When the graphics mode is executed by the user, the processor 2 transfers the data stored in the RAM 4 to the video memory 5 and displays it on the monitor 6 without executing the algorithm embedded in the ROM 1. . In this way, if another menu is executed by the user while executing the graphics mode, the processor 2 stops the execution of the graphics mode. When the graphic mode is restored by the user next time, the processor 2 resumes execution of the graphic mode.

상기와 같은 종래의 백그라운드 그래픽 디스플레이 방법은 다음과 같은 문제점들을 갖는다. 첫째, 가능한 모든 시뮬레이션 결과를 미리 램(4)에 저장해야 하므로 램(4)의 필요 용량이 커야 한다. 둘째, 그래픽 모드를 실행하는 도중에 사용자에 의하여 다른 메뉴가 실행되면 그래픽 모드의 실행이 정지되고, 그래픽 모드가 복원되면 처음부터 다시 실행해야 하므로, 디스플레이 시간이 길어진다.The conventional background graphic display method as described above has the following problems. First, all the possible simulation results must be stored in RAM 4 beforehand, so the required capacity of RAM 4 must be large. Secondly, if another menu is executed by the user while executing the graphics mode, the execution of the graphics mode is stopped, and when the graphics mode is restored, the display time is lengthened because the execution of the menu is restarted from the beginning.

본 발명이 이루고자 하는 기술적 과제는, 시뮬레이션 알고리즘을 프로세서가 직접 처리하여 디스플레이할 수 있고, 그래픽 모드를 실행하는 도중에 사용자에 의하여 다른 메뉴가 실행되더라도 상기 시뮬레이션 알고리즘의 실행을 유지할 수 있는 컴퓨터 수치 제어 선반의 백그라운드 그래픽 디스플레이 방법을 제공하는 것이다.SUMMARY OF THE INVENTION A technical task of the present invention is to provide a computer numerical control shelf which can process and display simulation algorithms directly by a processor and maintain the execution of the simulation algorithm even if another menu is executed by the user while executing the graphics mode. It is to provide a background graphics display method.

도 1은 일반적인 컴퓨터 수치 제어 선반의 하드웨어를 나타낸 발췌적 블록도이다.1 is an excerpt block diagram showing the hardware of a typical computer numerically controlled shelf.

도 2는 본 발명에 따른 백그라운드 그래픽 디스플레이 방법을 나타낸 흐름도이다.2 is a flowchart illustrating a method of displaying a background graphic according to the present invention.

상기 기술적 과제를 이루기 위하여 본 발명에 의한 컴퓨터 수치 제어 선반의 백그라운드 그래픽 디스플레이 방법은, 롬(ROM)에 공구 궤적의 시뮬레이션 알고리즘이 저장되어, 프로세서가 상기 알고리즘에 따라 공구 궤적을 디스플레이하는 그래픽 모드의 실행 도중에, 사용자에 의하여 다른 메뉴를 일시 실행하는 경우, 지속되는 공구 궤적의 데이터를 보관하여 상기 그래픽 모드의 복원시에 디스플레이하는 컴퓨터 수치 제어 선반의 백그라운드 그래픽 디스플레이 방법에 있어서, 상기 그래픽 모드의 실행 도중에 사용자에 의하여 다른 메뉴가 실행되면, 비데오 메모리에 저장된 현재 화면 데이터를 별도의 램(RAM)에 옮겨 저장하는 단계; 상기 공구 궤적의 시뮬레이션을 계속 실행하여 산출된 데이터를 상기 램(RAM)에 순차적으로 저장하는 단계; 및 사용자에 의하여 상기 그래픽 모드가 복원되면, 상기 램(RAM)에 순차적으로 저장된 데이터를 상기 비데오 메모리에 옮겨 디스플레이하는 단계;를 포함하는 것을 그 특징으로 한다.In order to achieve the above technical problem, in the method of displaying a background graphic of a computer numerical control lathe according to the present invention, a simulation algorithm of a tool trajectory is stored in a ROM, and the processor executes a graphic mode in which the tool trajectory is displayed according to the algorithm. In the meantime, when the user temporarily executes another menu, the background graphic display method of the computer numerical control shelf for storing the data of the tool trajectory which is continued and displaying it when the graphic mode is restored, the user during the execution of the graphic mode. When the other menu is executed by, by moving the current screen data stored in the video memory to a separate RAM (RAM); Sequentially executing the simulation of the tool trajectory and sequentially storing data calculated in the RAM; And when the graphic mode is restored by a user, transferring data sequentially stored in the RAM to the video memory and displaying the data.

이하 첨부된 도면을 참조하면서 본 발명에 따른 바람직한 실시예를 설명하기로 한다.Hereinafter, exemplary embodiments of the present invention will be described with reference to the accompanying drawings.

도 2는 본 발명에 따른 백그라운드 그래픽 디스플레이 방법을 나타낸 흐름도이다. 이를 설명하면 다음과 같다. 먼저 롬(도 1의 1)에 내장된 알고리즘에 따라 해당되는 공구 궤적을 시뮬레이션하면서(단계 21), 그래픽 모드인지를 확인한다(단계 22). 그래픽 모드이면 상기 시뮬레이션 결과 데이터를 비데오 메모리(도 1의 5)에 옮겨 모니터(도 1의 6)에 디스플레이한다. 사용자에 의하여 다른 메뉴가 실행되면, 비데오 메모리(도 1의 5)에 저장된 현재 화면 데이터를 램(도 1의 4)에 저장하면서(단계 23) 시뮬레이션의 실행 도중인지를 확인한다(단계 24). 시뮬레이션의 실행이 종료되면 단계 23을 실행한 후 상기 다른 메뉴만을 실행한다. 이와 반대로 시뮬레이션의 실행 도중이면 그 결과 데이터를 램(4)에 순차적으로 저장하면서(단계 25) 그래픽 모드로 복원되는지를 확인한다(단계 26). 그래픽 모드로 복원되지 않으면 단계 25를 반복한다. 그래픽 모드로 복원되면, 램(도 1의 4)에 순차적으로 저장된 데이터를 비데오 메모리(도 1의 5)에 옮겨 모니터(6)에 디스플레이하면서(단계 27), 시뮬레이션의 실행이 계속되는지를 확인한다(단계 28). 시뮬레이션의 실행이 계속되면 그 결과 데이터를 비데오 메모리(도 1의 5)에 옮겨 모니터(6)에 디스플레이한다(단계 29). 그리고 시뮬레이션의 실행이 종료되면 그래픽 모드의 실행을 종료한다.2 is a flowchart illustrating a method of displaying a background graphic according to the present invention. This is described as follows. First, while simulating the corresponding tool trajectory according to the algorithm embedded in the ROM (1 in FIG. 1) (step 21), it is checked whether it is in graphic mode (step 22). In the graphics mode, the simulation result data is transferred to the video memory (5 in FIG. 1) and displayed on the monitor (6 in FIG. 1). When another menu is executed by the user, the current screen data stored in the video memory (5 in FIG. 1) is stored in the RAM (4 in FIG. 1) (step 23) and it is checked whether the simulation is in progress (step 24). When the execution of the simulation is finished, only the other menu is executed after executing step 23. On the contrary, if the simulation is in progress, the result data is sequentially stored in the RAM 4 (step 25), and it is checked whether the data is restored to the graphic mode (step 26). If not restored to the graphics mode, repeat step 25. When the graphics mode is restored, data sequentially stored in the RAM (4 in FIG. 1) is transferred to the video memory (5 in FIG. 1) and displayed on the monitor 6 (step 27) to confirm whether the execution of the simulation continues ( Step 28). If execution of the simulation continues, the resultant data is transferred to the video memory (5 in FIG. 1) and displayed on the monitor 6 (step 29). When the simulation is finished, the graphics mode is finished.

이상 설명된 바와 같이 본 발명에 따른 컴퓨터 수치 제어 선반의 백그라운드 그래픽 디스플레이 방법에 의하면, 시뮬레이션 알고리즘을 프로세서가 직접 처리하여 디스플레이할 수 있음에 따라 램의 필요 용량을 줄일 수 있고, 그래픽 모드를 실행하는 도중에 사용자에 의하여 다른 메뉴가 실행되더라도 상기 시뮬레이션 알고리즘의 실행을 유지할 수 있음에 따라 디스플레이 시간을 줄일 수 있다.As described above, according to the method for displaying a background graphic of a computer numerically controlled shelf according to the present invention, a simulation algorithm can directly process and display a simulation algorithm, thereby reducing a required amount of RAM, while executing a graphics mode. Even if another menu is executed by the user, the execution of the simulation algorithm can be maintained, thereby reducing display time.

Claims (3)

롬(ROM)에 공구 궤적의 시뮬레이션 알고리즘이 저장되어, 프로세서가 상기 알고리즘에 따라 공구 궤적을 디스플레이하는 그래픽 모드의 실행 도중에, 사용자에 의하여 다른 메뉴를 일시 실행하는 경우, 지속되는 공구 궤적의 데이터를 보관하여 상기 그래픽 모드의 복원시에 디스플레이하는 컴퓨터 수치 제어 선반의 백그라운드 그래픽 디스플레이 방법에 있어서,Simulation of tool trajectories is stored in the ROM so that the processor keeps data of the tool trajectories that persist when the user temporarily executes another menu during the execution of the graphical mode of displaying the tool trajectories according to the algorithm. In the background graphics display method of a computer numerical control shelf to display at the time of restoring the graphics mode, (a1) 상기 그래픽 모드의 실행 도중에 사용자에 의하여 다른 메뉴가 실행되면, 비데오 메모리에 저장된 현재 화면 데이터를 별도의 램(RAM)에 옮겨 저장하는 단계;(a1) if another menu is executed by the user during execution of the graphic mode, transferring current screen data stored in the video memory to a separate RAM; (a2) 상기 공구 궤적의 시뮬레이션을 계속 실행하여 산출된 데이터를 상기 램(RAM)에 순차적으로 저장하는 단계; 및(a2) sequentially executing simulation of the tool trajectory and sequentially storing data calculated in the RAM; And (a3) 사용자에 의하여 상기 그래픽 모드가 복원되면, 상기 램(RAM)에 순차적으로 저장된 데이터를 상기 비데오 메모리에 옮겨 디스플레이하는 단계;를 포함하는 것을 그 특징으로 하는 컴퓨터 수치 제어 선반의 백그라운드 그래픽 디스플레이 방법.(a3) when the graphic mode is restored by a user, transferring data sequentially stored in the RAM to the video memory and displaying the data; and displaying the background graphic on the computer numerical control shelf. . 제1항에 있어서, 상기 단계 a1은,The method of claim 1, wherein step a1 is 상기 롬에 내장된 알고리즘에 따라 해당되는 공구 궤적을 시뮬레이션하면서, 그래픽 모드인지를 확인하는 단계;Simulating a tool trajectory according to an algorithm embedded in the ROM, and checking whether the program is in graphic mode; 그래픽 모드이면 상기 시뮬레이션 결과 데이터를 상기 비데오 메모리에 옮겨 모니터에 디스플레이하는 단계; 및Transferring the simulation result data to the video memory in a graphic mode and displaying the same on a monitor; And 사용자에 의하여 다른 메뉴가 실행되면, 상기 비데오 메모리에 저장된 현재 화면 데이터를 상기 램에 저장하면서 시뮬레이션의 실행 도중인지를 확인하는 단계;를 포함하는 것을 그 특징으로 하는 컴퓨터 수치 제어 선반의 백그라운드 그래픽 디스플레이 방법.If another menu is executed by the user, confirming whether the simulation is in progress while storing the current screen data stored in the video memory in the RAM; and displaying the background graphic of the computer numerically controlled shelf. . 제1항에 있어서, 상기 단계 a3은,The method of claim 1, wherein step a3 is 상기 램에 순차적으로 저장된 데이터를 비데오 메모리에 옮겨 모니터에 디스플레이하는 단계;Transferring data sequentially stored in the RAM to a video memory and displaying the same on a monitor; 상기 시뮬레이션의 실행이 계속되는지를 확인하는 단계; 및Confirming that execution of the simulation continues; And 시뮬레이션의 실행이 계속되면 그 결과 데이터를 상기 비데오 메모리에 옮겨 모니터에 디스플레이하는 단계;를 포함하는 것을 그 특징으로 하는 컴퓨터 수치 제어 선반의 백그라운드 그래픽 디스플레이 방법.And if the simulation continues, transferring the result data to the video memory and displaying the data on a monitor.
KR1019960030476A 1996-07-25 1996-07-25 Computer neumerical control graphic display method KR100213052B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960030476A KR100213052B1 (en) 1996-07-25 1996-07-25 Computer neumerical control graphic display method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960030476A KR100213052B1 (en) 1996-07-25 1996-07-25 Computer neumerical control graphic display method

Publications (2)

Publication Number Publication Date
KR980010832A KR980010832A (en) 1998-04-30
KR100213052B1 true KR100213052B1 (en) 1999-08-02

Family

ID=19467573

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960030476A KR100213052B1 (en) 1996-07-25 1996-07-25 Computer neumerical control graphic display method

Country Status (1)

Country Link
KR (1) KR100213052B1 (en)

Also Published As

Publication number Publication date
KR980010832A (en) 1998-04-30

Similar Documents

Publication Publication Date Title
US4783762A (en) Programmable controller
JPH04176539A (en) Interactive numerical control unit
EP0318154B1 (en) A method of operating a computer graphics system
US6290403B1 (en) Sequence program execution control system
EP0171435B1 (en) Numerical control method
KR100213052B1 (en) Computer neumerical control graphic display method
JP2002373008A (en) Numerical controller
US4704704A (en) Programmable controller and method
US5155425A (en) Nc data execution method
JP2000066648A (en) Display device
EP0476154A1 (en) System for executing instruction of pc
JP3308781B2 (en) Programmable controller
JPH04201120A (en) Wire electric discharge machining method
JP2006092441A (en) Programmable controller
JPS63284604A (en) Programmable controller
JP3209770B2 (en) Industrial robot control device
JPS62152032A (en) Information processor
JPH1195825A (en) Method for executing numerical control program
JPH0566934A (en) Programming device for programmable controller
JPH09258973A (en) Programming console
JPH10161724A (en) Numerical controller
JPH04367029A (en) Programming device for programmable controller
JPS6391706A (en) Two-picture drawing method
JPH04332003A (en) Programmable controller
JPH08286712A (en) Editing system for sequence program

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20070427

Year of fee payment: 9

LAPS Lapse due to unpaid annual fee