KR100412740B1 - Open-type numerical control apparatus - Google Patents

Open-type numerical control apparatus Download PDF

Info

Publication number
KR100412740B1
KR100412740B1 KR10-2002-0026759A KR20020026759A KR100412740B1 KR 100412740 B1 KR100412740 B1 KR 100412740B1 KR 20020026759 A KR20020026759 A KR 20020026759A KR 100412740 B1 KR100412740 B1 KR 100412740B1
Authority
KR
South Korea
Prior art keywords
event
dll
interpolator
interpreter
numerical control
Prior art date
Application number
KR10-2002-0026759A
Other languages
Korean (ko)
Other versions
KR20030088943A (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 KR10-2002-0026759A priority Critical patent/KR100412740B1/en
Publication of KR20030088943A publication Critical patent/KR20030088943A/en
Application granted granted Critical
Publication of KR100412740B1 publication Critical patent/KR100412740B1/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/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/41Numerical 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 interpolation, e.g. the computation of intermediate points between programmed end points to define the path to be followed and the rate of travel along that path
    • 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/4155Numerical 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 programme execution, i.e. part programme or machine function execution, e.g. selection of a programme
    • 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/36Nc in input of data, input key till input tape
    • G05B2219/36032Script, interpreted language

Abstract

개방형 수치 제어장치가 개시된다. 개시된 개방형 수치 제어장치는, 원하는 형상을 공작기계를 통하여 가공하기 위해, 매 주기마다 가공 프로그램을 가공 프로그램 메모리 등으로부터 각 블록 단위로 읽어드리는 해석기와, 매 주기마다 보간 파라메타와 공구의 이송 위치 등을 읽어드리는 보간기와, 매 주기마다 공구가 이송해야 할 위치와 공작기계의 모터 인코더로부터 읽어드린 실제 위치를 비교하여 위치 제어를 수행하는 위치 제어기를 구비하여 된 수치 제어장치에 있어서, 상기 해석기 내부변수를 수정할 수 있도록 하기 위한 해석기 이벤트 DLL과; 보간기 내부변수를 수정할 수 있도록 하기 위한 보간기 이벤트 DLL과; 위치 제어기 내부변수를 수정할 수 있도록 하기 위한 위치 제어기 이벤트 DLL;을 포함하는 것을 그 특징으로 한다. 본 발명에 따르면, 이벤트를 통해 수치 제어장치에 새로운 기능 추가가 용이하므로 사용자 자신들에 맞게 수치 제어장치를 구성할 수 있어 생산성을 향상시킬 수 있는 이점이 있다.An open numerical controller is disclosed. The open numerical control device disclosed includes an interpreter that reads a machining program in each block unit from a machining program memory, etc. in each cycle, in order to machine a desired shape through a machine tool, and an interpolation parameter and a feed position of a tool in each cycle. In the numerical control device comprising a reading interpolator and a position controller for comparing the position to be transferred by the tool with the actual position read from the motor encoder of the machine tool at every cycle, the numerical control device comprising: An interpreter event DLL for enabling modification; An interpolator event DLL for modifying interpolator internal variables; And a position controller event DLL for allowing modification of position controller internal variables. According to the present invention, since it is easy to add a new function to the numerical control device through the event, it is possible to configure the numerical control device for the users themselves, which has the advantage of improving productivity.

Description

개방형 수치 제어장치{OPEN-TYPE NUMERICAL CONTROL APPARATUS}OPEN-TYPE NUMERICAL CONTROL APPARATUS}

본 발명은 개방형 수치 제어장치에 관한 것으로서, 보다 상세하게는 기존에 이미 구비된 기능의 수정이나, 새로운 기능의 추가를 용이하게 하기 위한 개방형 수치 제어장치에 관한 것이다.The present invention relates to an open numerical control device, and more particularly, to an open numerical control device for facilitating modification of existing functions or addition of new functions.

일반적으로 공작기계 제어용 수치 제어장치(NC 또는 CNC(Computer Numerical Control))는 공작물에 대한 위치를 그것에 대응하는 수치 정보로 지령하는 것을 의미하며, 제어부, 전장반, 조작반으로 구성되어 원하는 형상을 공작기계를 통해 가공할 수 있도록 제어하는 장치를 말한다.In general, a numerical control device for controlling a machine tool (NC or Computer Numerical Control) refers to commanding a position of a work piece with numerical information corresponding thereto. Refers to a device that controls to process through.

이러한 수치 제어장치는 폐쇄형으로 되어 있어 공작기계의 제조사가 일방적으로 정의한 규칙을 익히고, 그 규칙에 따라서 사용이 이루어지도록 하였다.These numerical control devices are closed so that the rules of the machine tool manufacturer have been unilaterally defined and used according to the rules.

따라서 공작기계의 수치 제어장치를 구입한 업체, 학교, 또는 기관의 연구소 등에서 수치 제어장치의 일부 기능을 수정하거나, 새로운 보간 방법 등의 새로운 기능을 추가하는 것은 불가능하기 때문에 공작기계의 제조사에게 수정할 것을 요구해야만 했다.Therefore, it is not possible to modify some functions of the numerical control device or to add new functions such as a new interpolation method in a company, a school, or an institute of the institution that purchased the numerical control device of the machine tool. I had to ask.

이런 경우, 자신들만이 가지고 있는 새로운 기술이나, 노하우를 해당 제조사에 공개해야만 하고, 실제 적용시까지는 많은 시간이 소요되었고, 이것이 실제 적용된다는 보장도 없었다.In this case, they had to disclose their own new technology or know-how to the manufacturer, and it took a lot of time to apply it, and there was no guarantee that it would be applied.

상기한 바와 같이, 종래의 공작기계의 수치 제어장치가 폐쇄형이므로 이를구입한 업체가 수치 제어장치의 기능중 일부를 수정하거나, 새로운 기능을 추가하는 것이 불가능하였다.As described above, since the numerical control device of the conventional machine tool is a closed type, it is impossible for a company that purchases it to modify some of the functions of the numerical control device or add a new function.

그리고 새로운 기능이 필요하여 수치 제어장치 제조사에 이를 요구하려면, 그들만이 가지고 있는 신기술이나, 노하우를 공개해야 하므로 제조사의 피해가 발생될 수 있었다.And in order to require new features and demand from the numerical control device manufacturers, they had to disclose their own new technology or know-how, causing damage to the manufacturer.

또한 해당 업체에 새로운 기능 추가를 요구한 후, 이 기능을 실제로 사용할 수 있을 때까지는 상당한 시간을 필요로 하여 장치의 이용성이 떨어져 결국 이를 이용한 제품의 생산성이 떨어지는 문제점이 있었다.In addition, after requesting the company to add a new function, it requires a considerable time until the actual use of this function, there is a problem that the productivity of the product using the device is lowered because of the availability of the device.

본 발명은 상기와 같은 문제점을 해결하기 위하여 창출된 것으로서, 새로운 기능 추가가 가능하여 사용자의 이용에 맞게 구성할 수 있도록 하여 생산성이 향상되도록 한 개방형 수치 제어장치를 제공하는데 그 목적이 있다.The present invention was created to solve the above problems, and an object of the present invention is to provide an open numerical control device capable of adding new functions to be configured for use by a user, thereby improving productivity.

도 1은 본 발명에 따른 개방형 수치 제어장치의 구성을 개략적으로 나타내 보인 블록도.1 is a block diagram schematically showing the configuration of an open numerical control device according to the present invention.

도 2는 도 1의 해석기에서의 이벤트 개입시 수행 흐름도를 개략적으로 나타내 보인 도면.FIG. 2 is a schematic view of a flowchart of event execution in the interpreter of FIG. 1; FIG.

도 3은 컴퓨터상의 이벤트 등록 화면을 나타내 보인 도면.3 shows an event registration screen on a computer.

도 4는 수치 제어장치상의 실제 수행 화면을 나타내 보인 도면.4 is a diagram showing an actual execution screen on the numerical controller.

<도면의 주요부분에 대한 부호의 설명><Description of Symbols for Main Parts of Drawings>

11. 해석기 이벤트 DLL11. Interpreter Event DLL

12. 보간기 이벤트 DLL12. Interpolator Event DLL

13. 위치 제어기 이벤트 DLL13. Position Controller Event DLL

21. 해석기21. Analyzer

22. 보간기22. Interpolator

23. 위치 제어기23. Position controller

41. 해석기 이벤트 함수41. Interpreter event function

42. 보간기 이벤트 함수42. Interpolator event function

43. 위치 제어기 이벤트 함수43. Position Controller Event Function

상기와 같은 목적을 달성하기 위한 본 발명의 개방형 수치 제어장치는, 원하는 형상을 공작기계를 통하여 가공하기 위해, 매 주기마다 가공 프로그램을 가공 프로그램 메모리 등으로부터 각 블록 단위로 읽어드리는 해석기와, 매 주기마다 보간 파라메타와 공구의 이송 위치 등을 읽어드리는 보간기와, 매 주기마다 공구가 이송해야 할 위치와 공작기계의 모터 인코더로부터 읽어드린 실제 위치를 비교하여 위치 제어를 수행하는 위치 제어기를 구비하여 된 수치 제어장치에 있어서, 상기 해석기 내부변수를 수정할 수 있도록 하기 위한 해석기 이벤트 DLL과; 보간기 내부변수를 수정할 수 있도록 하기 위한 보간기 이벤트 DLL과; 위치 제어기 내부변수를 수정할 수 있도록 하기 위한 위치 제어기 이벤트 DLL;을 포함하는 것을 그 특징으로 한다.The open numerical control device of the present invention for achieving the above object is an analyzer for reading the machining program from the machining program memory or the like every block in order to machine the desired shape through the machine tool, and every cycle It has an interpolator that reads the interpolation parameters and the feed position of the tool every time, and a position controller that performs position control by comparing the position to be transferred by the tool every time and the actual position read from the motor encoder of the machine tool. A control device comprising: an interpreter event DLL for modifying said interpreter internal variables; An interpolator event DLL for modifying interpolator internal variables; And a position controller event DLL for allowing modification of position controller internal variables.

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

도 1에는 본 발명에 따른 개방형 수치 제어장치의 구성을 개략적으로 나타낸 블록도가 도시되어 있다.Figure 1 is a block diagram schematically showing the configuration of an open numerical control device according to the present invention.

도면을 참조하면, 본 발명에 따른 개방형 수치 제어장치는, 해석기 이벤트 DLL(11), 보간기 이벤트 DLL(12), 및 위치 제어기 이벤트 DLL(13)를 부가하여, 사용자가 이들을 통해 자신이 구현하고자 하는 새로운 기능을 추가하도록 한 것이다.Referring to the drawings, the open numerical control device according to the present invention adds an interpreter event DLL 11, an interpolator event DLL 12, and a position controller event DLL 13 so that a user can implement it through them. It is to add a new function.

이러한 수치 제어장치는 원하는 형상을 공작기계를 통하여 가공하기 위해 매 해석기 주기마다 가공 프로그램을 가공 프로그램 메모리나 다른 저장장치로부터 각 블록 단위로 읽어드려 해석기(21)에서 그 블록을 해석한다. 이 해석을 통해 그 블록에서 가야 할 공구의 이송 위치와 주축의 동작, 보간 파라메타를 계산하여 해석기(21)와 보간기(22) 사이의 인터페이스(31)에 저장하고, 보간기(22)는 매 보간기 주기마다 인터페이스(31)로부터 보간 파라메타와 공구의 이송 위치 등을 읽어드려 그 보간기 주기에 가야 할 위치와 이송속도를 계산하여 보간기(22)와 위치 제어기(23)의 인터페이스(32)에 저장한다.In order to machine the desired shape through the machine tool, the numerical control device reads the machining program from the machining program memory or another storage device in units of blocks at every analyzer cycle and analyzes the block in the analyzer 21. Through this analysis, the feed position of the tool to be moved in the block, the motion of the main axis, and the interpolation parameters are calculated and stored in the interface 31 between the analyzer 21 and the interpolator 22, and the interpolator 22 is Read the interpolation parameters and the feed position of the tool from the interface 31 for each interpolator cycle, calculate the position and feed rate to go to the interpolator cycle, and then interface 32 of the interpolator 22 and the position controller 23. Store in

그리고 위치 제어기(23)에서는 매 샘플링 주기마다 인터페이스(32)로부터 공구가 이송해야 할 위치와 공작기계의 모터 인코더로부터 읽어드린 실제 위치를 비교하여 위치 제어를 수행하고 공작기계의 모터 드라이버로 이송할 위치를 내보내서 원하는 형상을 가공하게 된다.The position controller 23 performs position control by comparing the position to be transferred by the tool from the interface 32 with the actual position read from the motor encoder of the machine tool at every sampling period, and performs position control and transfer to the motor driver of the machine tool. Export the to process the desired shape.

한편, 도 1에서 해석기 이벤트 함수(41)는 해석기 이벤트 DLL(11)에서 해석기(21) 내부변수를 수정할 수 있도록 하기 위해 필요한 함수들을 모아놓은 부분이고, 보간기 이벤트 함수(42)는 보간기 이벤트 DLL(12)에서 보간기(22) 내부변수를 수정할 수 있도록 하기 위해 필요한 함수들을 모아놓은 부분이다.Meanwhile, in FIG. 1, the interpreter event function 41 is a collection of functions necessary for modifying an interpreter 21 internal variable in the interpreter event DLL 11, and the interpolator event function 42 is an interpolator event. This is a collection of functions necessary to allow DLL 12 to modify internal variables of interpolator 22.

그리고 위치 제어기 이벤트 함수(43)는 위치 제어기 이벤트 DLL(13)에서 위치 제어기(23) 내부변수를 수정할 수 있도록 하기 위해 필요한 함수들을 모아놓은 부분이다.The position controller event function 43 is a collection of functions necessary for enabling the position controller 23 to modify internal variables of the position controller 23 in the position controller event DLL 13.

상술한 바와 같은 구성을 갖는 본 발명에 따른 개방형 수치 제어장치의 작용을 설명하면 다음과 같다.Referring to the operation of the open numerical control device according to the present invention having the configuration as described above are as follows.

도면을 다시 참조하면, 본 발명에 따른 개방형 수치 제어장치는, 공작기계 수치 제어장치의 개방화에 관한 것으로, 일반적인 기능을 모두 포함하고 기존의 기능의 수정이나 새로운 기능의 추가가 용이하게 이루어지도록 해석기(21), 보간기(22), 및 위치 제어기(23)의 내부에 이벤트를 삽입하여 외부에서 호출이 가능하게 하고, 내부변수를 외부에서 수정할 수 있도록 하기 위해 이벤트 호출에 의한 함수 수행이 가능한 함수를 따로 만들어 놓고 그 함수에서 내부변수를 수정할 수 있도록 한 것이다.Referring again to the drawings, the open numerical control device according to the present invention relates to the opening of the numerical value control device for the machine tool, and includes all of the general functions and an analyzer (eg, modifications of existing functions or addition of new functions). 21) A function capable of executing a function by calling an event in order to insert an event into the interpolator 22 and the position controller 23 to be called externally and to modify an internal variable externally. It is set aside so that internal variables can be modified in the function.

이를 보다 구체적으로 설명하기 전에 먼저 여기에서 쓰이는 용어에 대해 개략적으로 설명한다.Before explaining this in more detail, the terminology used here is briefly explained.

우선 이벤트란, 해석기(21), 보간기(22), 및 위치 제어기(23)에 의해 감지되는 사건을 말하는 것으로, 각각의 프로세스마다 이 이벤트들을 가지고 있는데 이를 각각 해석기 이벤트, 보간기 이벤트, 위치 제어기 이벤트라 부른다.First, the event refers to an event detected by the interpreter 21, the interpolator 22, and the position controller 23. Each event has these events, and each of these processes has an interpreter event, an interpolator event, and a position controller. It is called an event.

수치 제어장치 소프트웨어 설계자는 소프트웨어 설계시 각 소프트웨어 모듈의 일정 부분에 외부에서 접근할 수 있는 이벤트와 각각의 루틴의 내부변수를 외부에서 변경 가능하도록 만들어 놓는다.Numerical controller software designers make externally accessible events and internal variables of their routines accessible to certain parts of each software module.

그러면 사용자가 이벤트 DLL에서 사용하고자 하는 이벤트를 등록한 다음 이벤트를 호출하면 각 루틴의 이벤트로 분기하여 이벤트 함수를 수행하게 된다. 이때, 사용자는 변경이 필요한 내부변수의 값을 바꾸거나 값을 읽어드릴 수 있다.Then, when the user registers the event to use in the event DLL and then calls the event, the user branches to the event of each routine to execute the event function. At this time, the user can change the value of the internal variable that needs to be changed or read the value.

그리고 내부변수는 수치 제어장치 내부에서 공작기계의 기능을 제어하는데 필요한 변수를 말한다. 예컨대, 보간기(22)에서 보간의 종류를 정의하는 보간법 (interpolation)이라는 변수는 1(=직선 보간), 2(=원호 보간)가 기본으로 정의되어 있는데, 사용자가 예컨대 NURBS 보간을 개발하여 이를 추가하고자 한다면 보간법 변수에 새로운 기능을 수행할 번호를 정의하고 해당 이벤트에서 이 변수를 수정한 다음 보간이 실행되는 루틴의 이벤트에서 자신이 개발한 NURBS 보간 루틴을 추가하여 수행할 수 있다.And internal variable refers to the variable necessary to control the function of the machine tool inside the numerical control device. For example, the interpolation variable that defines the type of interpolation in the interpolator 22 is defined as 1 (= linear interpolation) and 2 (= circular interpolation) by default. If you want to add it, you can define the number to perform the new function in the interpolation variable, modify this variable in the corresponding event, and then add your own NURBS interpolation routine in the event of the routine where the interpolation is executed.

또한 DLL은 작은 프로그램들의 집합으로서, 컴퓨터 내에서 실행되고 있는 큰 프로그램에서 필요로 할 때 그 중 어떤 것이라도 호출될 수 있다. 이 DLL 파일은 거의 .dll이라는 파일 확장자를 갖는다. 그리고 주(main) 프로그램과 함께 컴파일 되지 않고 실행 중에 그것을 사용하는 프로그램들과 동적으로 연결된다.A DLL is also a collection of small programs that can be called when needed by a large program running inside a computer. This dll file has almost a file extension of .dll. It is not dynamically compiled with the main program, but rather dynamically linked with programs that use it at runtime.

따라서 사용자는 수치 제어장치의 일반적인 수행 모듈들과는 별도로 사용자가 정의하고 개발한 기능들을 포함하는 이벤트 DLL을 만들어 수치 제어장치 수행시 동적으로 호출하여 사용할 수 있다.Therefore, the user can make an event DLL that includes user-defined and developed functions separately from the general execution modules of the numerical control device and dynamically call and use the numerical control device.

이어서, 본 발명에 따른 개방형 수치 제어장치의 작동을 보다 구체적으로 설명한다.Next, the operation of the open numerical control device according to the present invention will be described in more detail.

우선, 사용자는 새로운 기능을 추가하기 위해 필요한 이벤트를 판단하여 수치 제어장치 부팅시 인식할 수 있도록 해당 이벤트를 등록한다. 그리고 그 이벤트에서 필요한 기능을 추가하고 필요시 각 모듈에서의 해당 이벤트 함수를 호출한다. 그러면 호출한 함수에 의해 해당 모듈의 내부변수는 변화되고 새로운 기능을 수행할 수 있게 된다.First, the user determines an event required to add a new function and registers the event so that it can be recognized at the time of booting the numerical controller. Add the necessary functionality to the event and call the corresponding event function in each module as needed. Then, by calling function, internal variable of module is changed and new function can be executed.

도 2에는 해석기(21)에서의 이벤트 개입시 수행 흐름도가 도시되어 있다.2 shows a flow chart of the event intervention in the interpreter 21.

도시된 바와 같이, 보간기(22)와 위치 제어기(23)에서의 수행 흐름도는 동일하므로 생략하고, 도 2에서 해석기(21)와 해석기 이벤트 함수(41)는 해석기(21)의 모듈에 포함된 부분이고, 해석기 이벤트 DLL(11)은 사용자가 새로운 기능을 추가하기 위해 구성해야 하는 부분이다.As shown, the performance flow diagrams in the interpolator 22 and the position controller 23 are the same and thus omitted, and in FIG. 2 the interpreter 21 and the interpreter event function 41 are included in the modules of the interpreter 21. Part, and the interpreter event DLL 11 is a part that the user must configure to add a new function.

상기 해석기(21)에서 파트 프로그램을 읽어드려 해석해 나가다가 이벤트(이하, Event)1을 만나면 이 Event1이 해석기 이벤트 DLL(11)에서 사용하기 위해 등록되어 있는지 검사한다.When the interpreter 21 reads and analyzes the part program and encounters an event (hereinafter, Event) 1, it is checked whether the event 1 is registered for use in the interpreter event DLL 11.

만약 등록되어 있다면, 해석기 이벤트 DLL(11)에서 사용을 하고 있다는 것이므로 해석기 이벤트 DLL(11)의 Event1로 점프하고, 사용자가 추가한 루틴을 수행하다가 해석기(21)의 내부변수를 읽어드리거나, 변환하기 위해 EventFn1() 함수를 호출하면 다시 해석기 이벤트 함수(41) 부분으로 분기하여 해당 해석기(21) 내부변수를 읽어드리거나 변경한 다음 해석기 이벤트 DLL(11)의 Event1로 가서 나머지 수행할 루틴을 수행한다.If it is registered, it means that it is being used by the interpreter event DLL 11, so it jumps to Event1 of the interpreter event DLL 11, executes the routine added by the user, and reads or interprets the internal variables of the interpreter 21. In order to call the EventFn1 () function, it branches back to the part of the interpreter event function (41) to read or change the internal variables of the interpreter (21) and then go to Event1 of the interpreter event DLL (11) to execute the rest of the routine. do.

그런 후, 해석기(21) 내부의 Event1을 호출한 부분으로 되돌아오고 나머지 수행 루틴을 계속 수행한다. 수행 중 Event2를 만나서도 위와 동일하게 수행하게 된다.Then, it returns to the part which called Event1 in the interpreter 21, and continues with other execution routines. If you meet Event2 during execution, it will be executed as above.

한편 첨부된 도면에서, 도 3은 컴퓨터 상의 이벤트 등록화면을 나타내 보인 것으로, 도 3에서 참조표시 'A'는 수치 제어장치 부팅시 등록키로 이 등록키를 참조하여 오른쪽 화면에 있는 DLL을 호출하여 이벤트를 등록하게 된다.Meanwhile, in the accompanying drawings, FIG. 3 illustrates an event registration screen on a computer. In FIG. 3, reference mark 'A' refers to a registration key when a numerical control device boots. Will be registered.

그리고 'B'는 사용자가 기능별로 4개까지 DLL을 추가할 수 있도록 구비된 것을 나타내 보인 것이고, 'C'는 사용자가 수치 제어장치에 추가하고자 하는 이벤트와 기능을 IprEvent1.dll에 추가하여 사용할 수 있는 것을 나타내 보인 것이다.And 'B' shows that the user can add up to four DLLs per function, and 'C' can be used by adding events and functions that the user wants to add to the numerical controller to IprEvent1.dll. It is shown that there is.

또한 도 4는 수치 제어장치의 실제 수행화면을 나타내 보인 것이다.In addition, Figure 4 shows the actual execution screen of the numerical control device.

상술한 바와 같이 본 발명에 따른 개방형 수치 제어장치는 다음과 같은 효과를 갖는다.As described above, the open numerical control device according to the present invention has the following effects.

이벤트를 통해 수치 제어장치에 새로운 기능 추가가 용이하므로 사용자 자신들에 맞게 수치 제어장치를 구성할 수 있어 생산성을 향상시킬 수 있다.Events make it easy to add new features to the numerical controller, allowing users to configure the numerical controller for themselves, improving productivity.

그리고 공작기계 수치 제어장치 구입자는 이벤트를 통해 자신들이 필요로 하는 기능을 수정하거나 새로운 기능의 추가가 가능하므로 자신들만이 가지고 있는 노하우를 보존할 수 있다.In addition, buyers of machine tool numerical controllers can modify the functions they need or add new functions through the event, thus preserving their own know-how.

본 발명은 도면에 도시된 일 실시예를 참고로 설명되었으나 이는 예시적인 것에 불과하며, 당해 기술 분야에서 통상의 지식을 가진 자라면 이로부터 다양한 변형 및 균등한 실시예가 가능하다는 점을 이해할 것이다. 따라서 본 발명의 진정한 보호 범위는 첨부된 특허청구범위에 의해서만 정해져야 할 것이다.Although the present invention has been described with reference to one embodiment shown in the drawings, this is merely exemplary, and it will be understood by those skilled in the art that various modifications and equivalent embodiments are possible. Therefore, the true scope of protection of the present invention should be defined only by the appended claims.

Claims (2)

원하는 형상을 공작기계를 통하여 가공하기 위해, 매 주기마다 가공 프로그램을 가공 프로그램 메모리 등으로부터 각 블록 단위로 읽어드리는 해석기와, 매 주기마다 보간 파라메타와 공구의 이송 위치 등을 읽어드리는 보간기와, 매 주기마다 공구가 이송해야 할 위치와 공작기계의 모터 인코더로부터 읽어드린 실제 위치를 비교하여 위치 제어를 수행하는 위치 제어기를 구비하여 된 수치 제어장치에 있어서,In order to machine the desired shape through the machine tool, an interpreter reads the machining program from the machining program memory, etc. at every block unit, an interpolator reads the interpolation parameters and the feed position of the tool every cycle, and every cycle In the numerical control device having a position controller for performing position control by comparing the position to be transferred by the tool with the actual position read from the motor encoder of the machine tool, 상기 해석기 내부변수를 수정할 수 있도록 하기 위한 해석기 이벤트 DLL과;An interpreter event DLL for modifying the interpreter internal variables; 보간기 내부변수를 수정할 수 있도록 하기 위한 보간기 이벤트 DLL과; 위치 제어기 내부변수를 수정할 수 있도록 하기 위한 위치 제어기 이벤트 DLL;을 포함하는 것을 특징으로 하는 개방형 수치 제어장치.An interpolator event DLL for modifying interpolator internal variables; And a position controller event DLL for enabling modification of position controller internal variables. 제1항에 있어서,The method of claim 1, 상기 해석기 이벤트 DLL에서 상기 해석기 내부변수를 수정할 수 있도록 하기 위해 필요한 함수들을 모아놓은 해석기 이벤트 함수와;An interpreter event function that collects functions necessary for modifying the interpreter internal variables in the interpreter event DLL; 상기 보간기 이벤트 DLL에서 상기 보간기 내부변수를 수정할 수 있도록 하기 위해 필요한 함수들을 모아놓은 보간기 이벤트 함수와;An interpolator event function which collects functions necessary for modifying the interpolator internal variable in the interpolator event DLL; 상기 위치 제어기 이벤트 DLL에서 위치 제어기 내부변수를 수정할 수 있도록 하기 위해 필요한 함수들을 모아 놓은 위치 제어기 이벤트 함수;를 포함하여 된것을 특징으로 하는 개방형 수치 제어장치.And a position controller event function that collects functions necessary for modifying a position controller internal variable in the position controller event DLL.
KR10-2002-0026759A 2002-05-15 2002-05-15 Open-type numerical control apparatus KR100412740B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0026759A KR100412740B1 (en) 2002-05-15 2002-05-15 Open-type numerical control apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0026759A KR100412740B1 (en) 2002-05-15 2002-05-15 Open-type numerical control apparatus

Publications (2)

Publication Number Publication Date
KR20030088943A KR20030088943A (en) 2003-11-21
KR100412740B1 true KR100412740B1 (en) 2003-12-31

Family

ID=32382903

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0026759A KR100412740B1 (en) 2002-05-15 2002-05-15 Open-type numerical control apparatus

Country Status (1)

Country Link
KR (1) KR100412740B1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101106484B1 (en) * 2009-12-15 2012-01-20 이원표 Device which is prevented ill-smelling of a drainage
CN104331024B (en) * 2014-10-16 2018-02-02 大族激光科技产业集团股份有限公司 Autocontrol method and the digital control system in open type based on PC

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07171736A (en) * 1993-12-17 1995-07-11 Blue Line Kogyo:Kk Machine tool having auxiliary function-added cnc device also capable of manual operation
JPH10133870A (en) * 1996-10-28 1998-05-22 Citizen Watch Co Ltd Device and method for controlling nc machine tool
JPH11175126A (en) * 1997-12-09 1999-07-02 Fanuc Ltd Function adding method for cnc device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07171736A (en) * 1993-12-17 1995-07-11 Blue Line Kogyo:Kk Machine tool having auxiliary function-added cnc device also capable of manual operation
JPH10133870A (en) * 1996-10-28 1998-05-22 Citizen Watch Co Ltd Device and method for controlling nc machine tool
JPH11175126A (en) * 1997-12-09 1999-07-02 Fanuc Ltd Function adding method for cnc device

Also Published As

Publication number Publication date
KR20030088943A (en) 2003-11-21

Similar Documents

Publication Publication Date Title
US9846424B2 (en) Numerical control apparatus
US20080103625A1 (en) Numerical controller with machining resume function
US7574267B2 (en) Controller for a machine-tool or production machine
JP3451594B2 (en) Storage unit access control method and numerical control device in numerical control device
KR100412740B1 (en) Open-type numerical control apparatus
JPH09128255A (en) Programable logic controller
US7107119B2 (en) Controller for a machine tool or production machine
US9696712B2 (en) Numerical control device having function of simultaneously executing plurality of commands using data in table format
US6917850B2 (en) Motion data command system and control signal definition system for motion program
CN111684374A (en) Numerical control machining method, numerical control machine tool, and computer storage medium
JPS63273101A (en) Programmable controller
JP2619520B2 (en) Numerical controller for transfer machine
US5263166A (en) Technique of programming integrated circuit control registers
CN112558545B (en) Interactive system, method and storage medium based on machine tool machining
KR0136142B1 (en) The method of graphic simulation using numerical control apparatus
JPH0553627A (en) Executing order deciding method for auxiliary function of nc program
JP3407614B2 (en) Sequence controller
JPS60171505A (en) Control system of machine control program for numerical control system
JP2642451B2 (en) Numerical control unit
JPH03206503A (en) Numerical controller
JPH02114302A (en) Numerical control device
US20040049622A1 (en) Programming tool
KR100437013B1 (en) How to execute control logic in a programmable controller
JPS6231405A (en) Switching system for axis conversion code of numerical controller
JPH01159704A (en) Numerical controller

Legal Events

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

Payment date: 20081202

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee