KR20020006848A - remoting system for computerized numerical control machine tool - Google Patents

remoting system for computerized numerical control machine tool Download PDF

Info

Publication number
KR20020006848A
KR20020006848A KR1020000040303A KR20000040303A KR20020006848A KR 20020006848 A KR20020006848 A KR 20020006848A KR 1020000040303 A KR1020000040303 A KR 1020000040303A KR 20000040303 A KR20000040303 A KR 20000040303A KR 20020006848 A KR20020006848 A KR 20020006848A
Authority
KR
South Korea
Prior art keywords
machine tool
cnc machine
signal
data
control
Prior art date
Application number
KR1020000040303A
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 KR1020000040303A priority Critical patent/KR20020006848A/en
Publication of KR20020006848A publication Critical patent/KR20020006848A/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
    • 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/409Numerical 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 using manual input [MDI] or by using control panel, e.g. controlling functions with the panel; characterised by control panel details, by setting parameters
    • 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]
    • 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/34Director, elements to supervisory
    • G05B2219/34429Servo controller near main cpu but remote from servomotor, integrated in cnc

Abstract

PURPOSE: A remote system of a CNC(Computer Numerically Controlled) machine tool is provided to control a CNC machine tool by connecting a PC(Personal Computer) to a remote server through a LAN(Local Area Network), and to promote control of each other through communication connection with low cost by connecting a data repeater between a CNC machine tool and a remote server. CONSTITUTION: A remote server comprises steps of transmitting a control signal to a CNC lathe of a remote distance through a data repeater or passing an initialization step for confirming the operating state of the CNC machine tool and then transmitting a communication signal to the data repeater(S31), setting each port to input a signal received from the previous step(S32), confirming input of a data receiving signal about the operating state of the CNC machine tool through the data repeater(S33), reading a signal if a receiving signal exists(S33), transmitting a control signal to the CNC machine tool by deciding the operating state of the CNC machine tool through an inner program with the read signal(S34), and transmitting/receiving a control signal with the CNC machine tool by resetting a port(S35).

Description

CNC공작기계의 원격시스템{remoting system for computerized numerical control machine tool}Remoting system for computerized numerical control machine tool

본 발명은 CNC공작기계의 원격시스템에 관한 것으로서, 보다 상세하게는 CNC공작기계를 제어하는 원격 리모트 서버에 제어신호를 출력하는 데 있어 거리 제한이나 작업환경 제한 없이 CNC공작기계를 제어할 수 있도록 리모트 서버에 일반개인용 컴퓨터가 무선 및 유선(LAN) 통신 접속을 하여 CNC공작기계를 제어할 수 있도록 하고, 동시에 CNC공작기계와 원격 리모트 서버간에 데이터 중계기를 연결하여 양방향으로 입출력신호를 제어할 수 있도록 하는 CNC공작기계의 원격시스템에 관한 것이다.The present invention relates to a remote system of a CNC machine tool, and more particularly, to output a control signal to a remote remote server controlling a CNC machine tool, so that the remote controller can control the CNC machine tool without limiting distance or working environment. It allows the general personal computer to control the CNC machine tool by wireless and wired LAN connection to the server, and at the same time connect the data repeater between the CNC machine machine and the remote remote server to control the input / output signals in both directions. A remote system of a CNC machine tool.

일반적인 NC공작기계는 선반, 밀링, 드릴링, 보오링, 연삭기 등의 일반 공작기계뿐만 아니라, 용접기, 자동제도기 로보트(robot)등의 각종 산업기계에도 이용되고 있다.General NC machine tools are used not only for general machine tools such as lathes, milling, drilling, boring and grinding machines, but also for various industrial machines such as welding machines and automatic drawing machine robots.

이와 같은 NC 공작기계는 가공기술에 큰 변화를 줄 뿐만 아니라, 관리면에도 큰 변화를 주고 있다, 즉 다종 소량을 생산하는 기계공장의 자동화나 성력화에 있어서, 가공비의 절감과 가공시간의 단축등의 역할을 하고 있고, 또 기계 한 대를 단독으로 사용할 수 있을 뿐만 아니라, 여러대의 NC 공작기계를 한 대의 컴퓨터에 연결하여 군관리 시스템으로도 사용하고 있다.Such NC machine tool not only makes a big change in the processing technology, but also makes a big change in the management aspect, that is, in the automation and the labor force of the machine shop that produces many small quantities, the reduction of the processing cost and the shortening of the machining time, etc. In addition to being able to use one machine alone, several NC machine tools can be connected to one computer and used as a military management system.

군관리시스템으로 운용되는 NC 공작기계는 NC 공작 기계군에 각각 NC 장치가 있으며, 컴퓨터가 리얼 타임커트 로울러(real time controller)를 통해 제어될 수 있는 것으로 FANUC시스템을 사용하고 있다.NC machine tool operated by military management system has NC device in NC machine tool group, and FANUC system is used as computer can be controlled through real time controller.

이러한 FANUC 군관리 시스템은 컴퓨터와 타임세어링 NC가 내장되어 있으며, 자기디스크에 파일화되어 있는 NC 가공데이타가 인터럽터에 의하여 인출되고 타임 셰어링 NC에 의하여 각 기계의 MTCDP 펄스열의 형태로 송출된다.The FANUC military management system is equipped with a computer and a time sharing NC. NC processing data, which is filed on a magnetic disk, is taken out by an interrupter and sent by the time sharing NC in the form of MTCDP pulse train of each machine.

이와 같은 종래의 FANUC 군관리 시스템을 갖는 공작기계는 도 1에서 보는 바와 같이 다수의 공작기계의 각각에 전기적인 제어신호를 출력할 수 있도록 신호 제어하는 인터페이스가 연결되는 모니터링용 컴퓨터 서버가 연결된 구성을 갖는다.Machine tool having a conventional FANUC military management system as shown in Figure 1 has a configuration that is connected to the monitoring computer server connected to the signal control interface to output electrical control signals to each of the plurality of machine tools Have

이와 같이 구성되는 FANUC 군관리 시스템을 갖는 공작기계는 다수의 공작기계들을 동시에 또는 개별적으로 제어할 수 있도록 컴퓨터 서버에 저장된 프로그램을 실행하여 각각의 공작기계에 제어신호를 출력하게 되므로 공작기계가 원격으로 동작되는 것이다.The machine tool having the FANUC military management system configured as described above executes a program stored in a computer server to output a control signal to each machine tool so as to control a plurality of machine tools simultaneously or individually. It works.

그러나, 이러한 종래의 FANUC 군관리 시스템을 갖는 공작기계는 다수의 공작기계 혹은 개별적인 공작기계를 동작시키기 위해 동작하는 컴퓨터 서버와 유선으로 연결되어 있어 공작기계의 원격제어 거리에 한계가 있다.However, a machine tool having such a conventional FANUC military management system is connected to a computer server operating to operate a plurality of machine tools or individual machine tools in a wired manner, thereby limiting the remote control distance of the machine tool.

또 다른 종래의 문제점은 공작기계를 이용한 소규모의 가공업체에서는 저 비용의 공작기계 구입과 효율적인 가공생산을 희망하고 있으나 모니터링 기술의 구현의 어려움으로 작업시 교환 및 기계의 구동선택을 위해 작업자가 공작기계 혹은 컴퓨터 서버를 통해 작업을 해야되므로 작업자가 작업현장을 벗어나게 되면 공작기계의 동작제어를 하는 데 어려움을 겪고 있다.Another conventional problem is that a small-scale processing company using machine tools wants to purchase low-cost machine tools and efficiently produce them. Or, because the work must be done through a computer server, the worker is having difficulty in controlling the operation of the machine tool when the worker leaves the workplace.

본 발명은 이와 같은 종래의 제반 문제점을 해결하기 위기 위한 것으로서 그 목적은 CNC공작기계를 제어하는 원격 리모트 서버에 제어신호를 출력하는 데 있어 거리 제한이나 작업환경 제한 없이 CNC공작기계를 제어할 수 있도록 리모트 서버에 일반 개인용 컴퓨터가 무선 및 유선(LAN)통신 접속을 하여 CNC공작기계를 제어할 수 있도록 하고, 동시에 CNC공작기계와 원격 리모트 서버간에 데이터 중계기를 연결하여 양방향으로 입출력신호를 제어할 수 있도록 하는 데 있다.The present invention is intended to solve such problems in the related art, and its purpose is to output a control signal to a remote remote server controlling a CNC machine tool so that the CNC machine tool can be controlled without limiting distance or working environment. A general personal computer can be connected to a remote server to control a CNC machine by wireless and wired LAN connection, and at the same time, a data repeater can be connected between the CNC machine and the remote server to control I / O signals in both directions. There is.

도 1은 종래의 CNC공작기계의 원격제어장치의 블록구성도이다.1 is a block diagram of a remote control apparatus of a conventional CNC machine tool.

도 2는 본 발명의 실시예에 따른 CNC공작기계의 원격제어장치의 블록구성도이다.Figure 2 is a block diagram of a remote control device for a CNC machine tool according to an embodiment of the present invention.

도 3a는 본 발명의 실시예에 따른 리모트서버의 내부의 제어프로그램의 흐름도이다.3A is a flowchart of a control program inside a remote server according to an embodiment of the present invention.

도 3b는 본 발명의 실시예에 따른 데이터 중계기의 내부의 제어프로그램의 흐름도이다.3B is a flowchart of a control program inside the data repeater according to the embodiment of the present invention.

-도면의 주요부분에 대한 부호설명-Code descriptions for the main parts of the drawings

10;CNC공작기계 20;데이타 중계기10; CNC Machine Tool 20; Data Repeater

30;리모트서버 30;개인용 컴퓨터30; remote server 30; personal computer

이하, 첨부된 도면에 의해 본 발명의 기술적 구성을 상세히 설명하면 다음과 같다.Hereinafter, the technical configuration of the present invention with reference to the accompanying drawings in detail.

도 2는 본 발명의 실시예에 따른 CNC공작기계의 원격제어장치의 블록구성도이고, 도 3a는 본 발명의 실시예에 따른 리모트서버의 내부의 제어프로그램의 흐름도이며, 도 3b는 본 발명의 실시예에 따른 데이터 중계기의 내부의 제어프로그램의 흐름도이다.Figure 2 is a block diagram of a remote control device of a CNC machine tool according to an embodiment of the present invention, Figure 3a is a flow chart of the control program inside the remote server according to an embodiment of the present invention, Figure 3b is a A flowchart of a control program inside the data repeater according to the embodiment.

본 발명은 CNC 공작기계와 리모트 서버간에 제어신호를 통신 접속하여 원할하게 송수신할 수 있도록 하는 것으로서, 도 2내지 도 3b에서 보는 바와 같이 내부 메모리장치에 저장된 프로그램을 통해 제품을 가공할 수 있도록 하고 입출력포트를 통해 가공된 단계에 관련한 데이터를 출력할 수 있으며 제어신호를 입력할 수 있도록 하는 CNC공작기계(10)와, 상기 CNC공작기계(10)의 입출력단에 연결되어 내부의 프로그램에 따라 송수신신호를 제어하여 CNC공작기계(10)의 제어신호를 입출력하여 전달하는 데이터 중계기(20)와, 상기 데이터 중계기(20)를 매개로 CNC공작기계(10)에 제어신호를 출력할 수 송신할 수 있도록 하며 CNC공작기계(10)의 동작상태를 확인할 수 있도록 하는 리모트 서버(30)와, 상기 리모트 서버(30)에 통신연결하여 거리의 제한없이 제어신호를 무선 및 유선(LAN)으로 출력할 수 있도록 하는 개인용 컴퓨터(40)가 연결되는 구성을 갖는다.The present invention is to enable the communication between the control signal between the CNC machine tool and the remote server to transmit and receive smoothly, as shown in Figures 2 to 3b to be able to process the product through the program stored in the internal memory device and input and output The CNC machine tool 10 can output data related to the processed step through the port and input a control signal, and is connected to an input / output terminal of the CNC machine tool 10 so as to transmit and receive signals according to an internal program. To control and output the control signal of the CNC machine tool 10 to the input and output to the data repeater 20, and the data relay 20 via the data relay 20 to output the control signal to the CNC machine tool 10 so that it can be transmitted And the remote server 30 to check the operating state of the CNC machine tool 10, and the communication connection to the remote server 30, the control signal without limit of the distance without any And the personal computer 40 has a configuration that is connected to the output cable (LAN).

본 발명의 리모트 서버(30)는 데이터 중계기(20)를 통해 원격으로 먼거리의 CNC 공작기계(10)에 제어신호를 송출하거나 CNC공작기계(10)의 동작상태를 확인할수 있도록 초기화를 이룬 후 데이터 중계기(20)와 통신신호를 접속하는 단계(S31)와, 상기 단계(S31)로부터 수신되는 신호를 입력할 수 있도록 각 포트를 세팅하여 설정하는 단계(S32)와, 상기 단계(S32)로부터 데이터 중계기(20)를 통해 CNC공작기계(10)의 동작 상태등에 관한 데이터 수신신호가 있는지를 확인하는 단계(S33)와, 상기 단계(S33)로부터 수신신호가 있을 경우에 신호를 입력하여 읽어 들일 수 있도록 하는 단계(S34)와, 상기 단계(S34)로부터 읽어 들인 신호를 내부 프로그램을 통해 CNC공작기계(10)의 동작상태를 판단하여 제어신호를 CNC공작기계(10)에 송신하는 단계(S35)와, 상기 단계(S35)로부터 포트를 재 설정하여 CNC공작기계(10)와 제어 신호를 송수신할 수 있도록 하는 단계(S36)로 이루어진 구성을 갖는다.The remote server 30 of the present invention transmits a control signal to a remote CNC machine tool 10 remotely through the data repeater 20 or data after initializing so that the operation state of the CNC machine tool 10 can be confirmed. Connecting the communication signal with the repeater 20 (S31), setting and setting each port so as to input a signal received from the step (S31) (S32), and data from the step (S32) Checking whether there is a data reception signal relating to the operation state of the CNC machine tool 10 through the repeater 20 (S33), and if there is a reception signal from the step S33, the signal can be input and read. Step (S34) and the step of transmitting the control signal to the CNC machine tool 10 by determining the operating state of the CNC machine tool 10 through the internal program to the signal read from the step (S34) And, the port from the step (S35) Set to have a configuration consisting of a step (S36) which enables it to receive and transmit the CNC machine tool 10 and the control signal.

본 발명의 데이터 중계기(20)는 전원공급에 의한 초기화로 수신신호 존재여부를 확인한 후 수신된 신호를 데이터 중계기(20)에 저장하는 단계(S41)와, 상기 단계(S41)로부터 데이터 중계기(20)의 출력 버터가 데이터를 송신할 수 있도록 포트를 설정하여 초기화하는 단계(S42)와, 상기 단계(S42)로부터 송신비트 존재 여부를 확인하여 송신신호를 출력할 수 있도록 하는 단계(S43)와, 상기 단계(S43)로부터 데이터 중계기(20)의 수신버퍼가 데이터를 수신할 수 있도록 포트를 설정하여 초기화하는 단계(S44)와, 상기 단계(S44)로부터 수신비트 존재 여부를 확인하여 수신신호를 입력할 수 있도록 하고 데이터 중계기(20)의 초기화 이후에 수신비트가 없을 경우 프레임 에러 발생으로 판단하는 단계(S45)와, 상기 단계(S45)로부터 수신비트가 있을 경우 정상적인 스톱비트 감지로 인식하여 수신비트를 1로 하여 1바이트를 수신버퍼에 저장한 후 리턴하여 수신비트 및 송신비트의 여부를 확인할 수있도록 하는 단계(S46)로 이루어진 구성을 갖는다.The data repeater 20 of the present invention stores the received signal in the data repeater 20 after confirming whether the received signal exists by the initialization by the power supply (S41) and the data repeater 20 from the step (S41). (S42) setting and initializing a port so that the output butter of step S) can transmit data, and checking whether a transmission bit exists from step S42 so as to output a transmission signal (S43); In step S43, a step of setting and initializing a port so that the reception buffer of the data repeater 20 can receive data (S44), and checking the presence of a reception bit from the step (S44) to input a reception signal. And if there is no receive bit after the initialization of the data repeater 20, determining that a frame error occurs (S45), and if there is a receive bit from the step S45, a normal stop bit is sensed. Returned after recognition by the received bit to 1, stores the first byte in the receive buffer to a to have a configuration consisting of a step (S46) that allows to determine whether the received bit and the transmitted bits.

이와 같이 구성된 본 발명의 작용효과를 상세히 설명하면 다음과 같다.Referring to the effects of the present invention configured as described above in detail.

본 발명은 CNC 공작기계와 리모트 서버간에 제어신호를 통신접속하여 원할하게 송수신할 수 있도록 하는 것으로서, 도 2 내지 도 3b에서 보는 바와 같이 리모트 서버(30)는 내부에 저장된 프로그램을 통해 전원이 인가됨과 동시에 내부 메모리를 초기화하여 CNC 공작기계(10)간에 통신이 이루어진 상태에서 CNC공작기계(10)의 동작상태를 내부에 저장된 공정단계에 의해 제어신호를 출력하고, CNC공작기계(10)는 리모트 서버(30)에서 출력한 제어신호에 의해 제품의 특성에 따라 공정단계를 진행하면서 진행하고 있는 상태를 리모트 서버(30)에 출력하여 알리게 되는 것이다.The present invention is to enable the communication between the CNC machine tool and the remote server to communicate with the control signal to smoothly transmit and receive, as shown in Figures 2 to 3b, the remote server 30 is supplied with power through a program stored therein and At the same time, the internal memory is initialized and the control signal is output by the process steps stored therein in the state of operation of the CNC machine tool 10 in the state where the communication between the CNC machine tools 10 is carried out, and the CNC machine tool 10 is a remote server. According to the control signal output from (30) it is to inform the remote server 30 to inform the remote server 30 of the progress of the process step in accordance with the characteristics of the product.

이때 리모트 서버(30)는 CNC공작기계(10)와 거리에 제한 없이 제어신호를 상호 송수신하고자 CNC공작기계(10)와 리모트서버(30) 중간에 데이터 중계기(20)를 설치하여 데이터 중계기(20)로 하여금 리모트 서버(30)와 CNC공작기계(10)의 출력신호가 상대에 원할하게 전달할 수 있도록 하는 것이다.In this case, the remote server 30 installs a data repeater 20 between the CNC machine tool 10 and the remote server 30 so as to transmit and receive a control signal to the CNC machine tool 10 without limitation to the distance therebetween. ), So that the output signal of the remote server 30 and the CNC machine tool 10 can be transmitted to the other party smoothly.

여기서, 리모트 서버(30)는 데이터 중계기(20)를 매개로 제어신호를 송수신하여 CNC공작기계(10)를 제어하는 방법으로 도 3a에서 보는 바와 같이 전원공급으로 초기화가 이루어지게 되면 데이터 중계기(20)와 통신이 접속이 이루어질 수 있도록 하여 통신접속 연결을 하게 된다(S31).Here, the remote server 30 is a method for controlling the CNC machine tool 10 by transmitting and receiving a control signal through the data repeater 20 as shown in Figure 3a when the initialization is made by the power supply data repeater 20 ) So that communication can be made with the communication connection (S31).

데이터 중계기(20)와 통신이 연결된 리모트 서버(30)는 송수신이 원할하도록 다수의 포트를 초기화하여 송신포트와 수신포트를 구별하여 설정하고(S32), 리모트 서버(30)는 수신신호 여부를 확인하게 된다.Remote server 30 connected to the data repeater 20 and communication is initialized a plurality of ports so that the transmission and reception is desired to distinguish and set the transmission port and the receiving port (S32), the remote server 30 checks the reception signal Done.

리모트 서버(30)는 입력단으로부터 수신되는 신호가 있을 경우에는 수신신호를 읽어 들여 내부의 프로그램과 비교하여 CNC공작기계(10)의 동작상태를 판단하여 다음의 동작단계에 관련한 데이터를 송신할 수 있도록 하나, 수신신호 여부가 없을 경우 수신신호를 입력하기 위해 입력 대기하게 되는 것이다(S33).When there is a signal received from the input terminal, the remote server 30 reads the received signal and compares it with the internal program to determine the operating state of the CNC machine tool 10 so that the data relating to the next operation step can be transmitted. However, if there is no received signal, the input waits to input the received signal (S33).

또한 리모트 서버(30)는 CNC공작기계(10)로부터 동작상태에 관한 데이터를 읽어 들여 CNC공작기계(10)의 동작상태를 판단한 후 내부에 저장된 CNC공작기계(10)의 동작상태에 따라 제어신호를 출력하여 CNC공작기계(10)의 다음 공작 진행에 관련한 동작제어신호를 데이터 중계기(20)를 통해 CNC공작기계(10)에 출력하게 되는 것이다(S34).In addition, the remote server 30 reads data on the operation state from the CNC machine tool 10 to determine the operation state of the CNC machine tool 10, and then the control signal according to the operation state of the CNC machine tool 10 stored therein. By outputting the operation control signal related to the progress of the next work of the CNC machine tool 10 is output to the CNC machine tool 10 through the data repeater 20 (S34).

이러한 리모트 서버(30)는 CNC공작기계(10)에 제어신호를 출력한 후 입력포트와 출력포트 데이터 신호를 초기화로 재 설정함으로써 CNC공작기계(10)간에 제어신호를 송수신할 수 있도록 하는 것이다(S35).The remote server 30 outputs a control signal to the CNC machine tool 10 and then resets the input port and output port data signals to an initial state so that the control signal can be transmitted and received between the CNC machine tools 10 ( S35).

데이터 중계기(20)는 내부에 제어회로를 통해 CNC공작기계(10)의 입출력단에서 출력되는 동작상태를 입력하여 일시적으로 저장한 후 리모트 서버(30)로부터 동작상태에 대한 요구가 있을 경우에는 CNC공작기계(10)의 동작상태에 관련한 데이터를 출력하게 되는 것이다.The data repeater 20 inputs an operation state output from the input / output terminal of the CNC machine tool 10 through a control circuit therein and temporarily stores the operation state. When there is a request for the operation state from the remote server 30, the CNC The data relating to the operating state of the machine tool 10 is to be output.

또한 관리자가 리모트 서버(30)가 있는 작업현장의 통제실이 아닌 외부 개인용 컴퓨터와 통신연결하여 관리자에 의해 CNC공작기계(10)가 무선 및 유선(LAN)으로 원격 조절될 수 있도록 하는 것이다.In addition, the administrator is to communicate with the external personal computer, not the control room of the workplace with the remote server 30 so that the CNC machine tool 10 can be remotely controlled by wireless and wired (LAN) by the administrator.

여기서, 데이터 중계기(20)가 리모트 서버(30)와 CNC공작기계(10)간에 송수신신호를 제어하는 방법으로는 도 3b에서 보는 바와 같이 데이터 중계기(20)는 전원공급에 의한 초기화로 CNC 공작기계(10) 혹은 리모트서버(30)로부터 제어신호가 수신되었는지를 여부를 확인한 후 수신된 신호를 데이터 중계기(20)에 저장하여 리모트 서버(30)로부터 출력요구가 있을 경우에는 수신한 신호를 출력하거나 CNC 공작기계(10)에 리모트 서버(30)의 출력신호를 출력하게 되는 것이다(S41).Here, as the data repeater 20 controls the transmission and reception signal between the remote server 30 and the CNC machine tool 10, as shown in Figure 3b the data repeater 20 is a CNC machine tool by initialization by power supply (10) After checking whether the control signal has been received from the remote server 30, and storing the received signal in the data repeater 20, and outputs the received signal when there is an output request from the remote server 30 or The output signal of the remote server 30 is output to the CNC machine tool 10 (S41).

또한 데이터 중계기(20)는 출력 버퍼가 데이터를 송신할 수 있도록 출력포트를 설정하여 송신하고자 하는 데이터가 CNC 공작기계(10)나 리모트 서버(30)에 전달될 수 있도록 하는 것이다(S42).In addition, the data repeater 20 sets the output port so that the output buffer can transmit data so that the data to be transmitted can be transmitted to the CNC machine tool 10 or the remote server 30 (S42).

출력포트가 설정된 데이터 중계기(20)는 내부에 저장된 프로그램에 의해 제어신호를 송신하여 정상적인 동작이 이루어지고 있음을 알리는 신호에 관련한 송신비트 존재 여부를 확인하고 송신비트가 있을 경우에는 송신신호가 리모트 서버(30)에 출력하여 통신이 이루어질 수 있도록 하는 것이다(S43).The data repeater 20 having the output port set transmits a control signal by a program stored therein to check whether there is a transmission bit associated with a signal indicating that normal operation is being performed. It outputs to 30 so that communication can be made (S43).

한편, 데이터 중계기(20)는 CNC 공작기계(10)의 동작상태나 리모트 서버(30)의 제어신호를 수신할 수 있도록 수신포트를 설정하여 초기화가 이루어지도록 하여 수신되는 신호를 내부에 수신되는 제어신호를 입력하여 외부로부터 요구 신호가 있을 경우에 수신된 제어신호를 출력할 수 있도록 하는 것이다(S44).On the other hand, the data repeater 20 is set to the receiving port to receive the operating state of the CNC machine tool 10 or the control signal of the remote server 30 to be initialized to control the received signal therein When the signal is input to receive a request signal from the outside it is to be able to output the received control signal (S44).

이때 데이터 중계기(20)는 CNC 공작기계(10)나 리모트 서버(30)로부터 제어신호에 관련한 수신비트가 확인되었을 경우 수신신호를 내부에 저장하여 외부로부터 제어신호 출력 입력할 수 있도록 하는 것이다(S45).At this time, the data repeater 20 stores the received signal internally so that the control signal output can be input from the outside when the reception bit related to the control signal is confirmed from the CNC machine tool 10 or the remote server 30 (S45). ).

또한 데이터 중계기(20)는 초기화 이후에 수신비트가 없을 경우 프레임 에러 발생으로 인식하여 신호 대기한 후 일정시간 이후에 수신비트를 재 확인하게 되고, 수신비트가 있을 경우 정상적인 스톱비트 감지로 인식하여 수신비트를 1로 하여 1바이트를 수신버퍼에 저장한 후 리턴하여 수신비트 및 송신비트의 여부를 확인할 수 있도록 하는 것이다(S46).In addition, if there is no reception bit after initialization, the data repeater 20 recognizes that a frame error has occurred and waits for a signal, and then checks the reception bit again after a predetermined time. By setting the bit to 1, one byte is stored in the reception buffer and returned to check whether the reception bit and the transmission bit are present (S46).

이와 같이 작용하는 본 발명은 CNC공작기계를 제어하는 원격 리모트 서버에 제어신호를 출력하는 데 있어 거리 제한이나 작업환경 제한 없이 CNC공작기계를 제어할 수 있도록 리모트 서버에 일반 개인용 컴퓨터가 무선 및 유선(LAN) 통신 접속을 하여 CNC공작기계를 제어할 수 있도록 하고, 동시에 CNC공작기계와 원격 리모트 서버간에 데이터 중계기를 연결하여 저가의 가격으로 통신접속에 의한 상호 제어가 이루어질 수 있는 효과를 갖는다.In the present invention acting as described above, in order to control the CNC machine tool without limiting the distance or working environment in outputting a control signal to the remote server controlling the CNC machine tool, a general personal computer is connected wirelessly and wired ( LAN) It is possible to control CNC machine tool by communication connection, and at the same time, it has the effect of mutual control by communication connection at low price by connecting data repeater between CNC machine tool and remote remote server.

Claims (3)

내부 메모리장치에 저장된 프로그램을 통해 제품을 가공할 수 있도록 하고 입출력포트를 통해 가공된 단계에 관련한 데이터를 출력할 수 있으며 제어신호를 입력할 수 있도록 하는 CNC공작기계(10)와, 매개로 CNC공작기계(10)에 제어신호를 출력할 수 송신할 수 있도록 하며 CNC공작기계(10)의 동작상태를 확인할 수 있도록 하는 리모트 서버(30)와, 상기 리모트 서버(30)에 통신연결하여 거리의 제한없이 제어신호를 무선으로 출력할 수 있도록 하는 개인용 컴퓨터(40)가 연결된 원격 CNC 공작기계제어장치에 있어서, 상기 CNC공작기계(10)의 입출력단에 연결되어 내부의 프로그램에 따라 송수신신호를 제어하여 CNC공작기계(10)의 제어신호를 입출력하여 리모트 서버(30)로부터 요구신호가 있을 경우 CNC공작기계(10)의 동작상태를 출력할 수 있도록 하며 동시에 리모트 서버(30)의 제어신호를 CNC공작기계(10)에 전달할 수 있도록 하는 데이터 중계기(20)가 연결되어 이루어진 CNC 공작기계 원격제어장치.The CNC machine tool (10), which enables the product to be processed through the program stored in the internal memory device, outputs the data related to the processed step through the input / output port, and inputs the control signal, and the CNC machine as a medium. Remote server 30 to transmit and output the control signal to the machine 10 and to check the operating state of the CNC machine tool 10, and to limit the distance by the communication connection to the remote server 30 In the remote CNC machine tool control device is connected to a personal computer 40 to wirelessly output a control signal without a control, connected to the input and output terminal of the CNC machine tool 10 to control the transmission and reception signals in accordance with the internal program The control signal of the CNC machine tool 10 can be inputted and outputted to output the operating state of the CNC machine tool 10 when there is a request signal from the remote server 30. CNC machine tool comprising a remote control device, the data repeater (20) is connected to be able to deliver a control signal for the server 30 to the CNC machine tool (10). 제 1항에 있어서, 상기 리모트 서버(30)가 데이터 중계기(20)를 통해 원격으로 먼거리의 CNC 공작기계(10)를 제어할 수 있도록 제어신호를 송신하거나 CNC공작기계(10)의 동작상태를 확인할 수 있도록 초기화를 이룬 후 데이터 중계기(20)와 통신신호를 접속하는 단계(S31)와, 상기 단계(S31)로부터 수신되는 신호를 입력할 수 있도록 각 포트를 세팅하여 설정하는 단계(S32)와, 상기단계(S32)로부터 데이터 중계기(20)를 통해 CNC공작기계(10)의 동작 상태등에 관한 데이터 수신신호가 있는지를 확인하는 단계(S33)와, 상기 단계(S33)로부터 수신신호가 있을 경우에 신호를 입력하여 읽어 들일 수 있도록 하는 단계(S34)와, 상기 단계(S34)로부터 읽어 들인 신호를 내부 프로그램을 통해 공작기계의 동작상태를 판단하여 제어신호를 공작기계에 송신하는 단계(S35)와, 상기 단계(S35)로부터 포트를 재설정하여 공작기계와 제어신를 송수신할 수 있도록 하는 단계(S36)가 연결되어 이루어진 CNC 공작기계 원격제어방법.The method of claim 1, wherein the remote server 30 transmits a control signal or controls the operation state of the CNC machine tool 10 so as to remotely control the CNC machine tool 10 at a long distance through the data repeater 20. After the initializing so as to confirm the step (S31) for connecting the communication signal with the data repeater 20, and setting and setting each port to input the signal received from the step (S31) (S32) and Checking whether there is a data reception signal relating to an operation state of the CNC machine tool 10 through the data repeater 20 from step S32, and when there is a reception signal from step S33. Step (S34) for inputting a signal to the read in (S34), and transmitting the control signal to the machine tool by determining the operating state of the machine tool through the internal program the signal read from the step (S34) And the step ( Resetting the port from S35) step (S36) for transmitting and receiving a control signal to and from the machine tool is connected to the CNC machine tool remote control method. 제 1항에 있어서, 상기 데이터 중계기(20)가 리모트 서버와 CNC 공작기계의 상호간에 입출력 신호가 원할하게 전달될 수 있도록 전원공급에 의한 초기화로 수신신호 존재여부를 확인한 후 수신된 신호를 데이터 중계기(20)에 저장하는 단계(S41)와, 상기 단계(S41)로부터 데이터 중계기(20)의 출력 버터가 데이터를 송신할 수 있도록 포트를 설정하여 초기화하는 단계(S42)와, 상기 단계(S42)로부터 송신비트 존재 여부를 확인하여 송신신호를 출력할 수 있도록 하는 단계(S43)와, 상기 단계(S43)로부터 데이터 중계기(20)의 수신버퍼가 데이터를 수신할 수 있도록 포트를 설정하여 초기화하는 단계(S44)와, 상기 단계(S44)로부터 수신비트 존재 여부를 확인하여 수신신호를 입력할 수 있도록 하고 데이터 중계기(20)의 초기화 이후에 수신비트가 없을 경우 프레임 에러 발생으로 판단하는 단계(S45)와, 상기 단계(S45)로부터 수신비트가 있을 경우 정상적인 스톱비트 감지로 인식하여 수신비트를 1로 하여 1바이트를 수신버퍼에 저장한 후 리턴하여 수신비트 및 송신비트의 여부를 확인할 수있도록 하는 단계(S46)로 연결되어 이루어진 CNC 공작기계 원격제어방법.The data repeater of claim 1, wherein the data repeater 20 checks the existence of the received signal by initializing the power supply so that input / output signals can be smoothly transmitted between the remote server and the CNC machine tool. (S42), and setting and initializing a port so that the output butter of the data repeater 20 can transmit data from the step (S41) (S42), and the step (S42). (S43) and outputting the transmission signal by checking the presence of the transmission bit from the step, and setting and initializing the port so that the receiving buffer of the data repeater 20 can receive data from the step (S43) (S44) and check whether there is a reception bit from the step (S44) so that the reception signal can be input, and if there is no reception bit after initialization of the data repeater 20, a frame error is issued. (S45) and if there is a receive bit from the step (S45), it is recognized as a normal stop bit detection, and the receive bit is set to 1, and one byte is stored in the receive buffer and returned to receive the received bit and the transmit bit. Remote control method for the CNC machine tool made by connecting the step (S46) to determine whether or not.
KR1020000040303A 2000-07-13 2000-07-13 remoting system for computerized numerical control machine tool KR20020006848A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020000040303A KR20020006848A (en) 2000-07-13 2000-07-13 remoting system for computerized numerical control machine tool

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020000040303A KR20020006848A (en) 2000-07-13 2000-07-13 remoting system for computerized numerical control machine tool

Publications (1)

Publication Number Publication Date
KR20020006848A true KR20020006848A (en) 2002-01-26

Family

ID=19677907

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020000040303A KR20020006848A (en) 2000-07-13 2000-07-13 remoting system for computerized numerical control machine tool

Country Status (1)

Country Link
KR (1) KR20020006848A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101292022B1 (en) * 2011-03-10 2013-08-01 가부시키가이샤 옵팀 Remote support system and remote support method for terminal
CN108334034A (en) * 2017-07-06 2018-07-27 余明忠 A kind of numerical control industrial personal computer net connection interaction systems and interactive approach

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4531182A (en) * 1969-11-24 1985-07-23 Hyatt Gilbert P Machine control system operating from remote commands
JPH10328972A (en) * 1997-06-03 1998-12-15 Toyota Motor Corp Numerically controlled machining method and device
JPH1110491A (en) * 1997-06-24 1999-01-19 Amada Co Ltd Nesting method of machine tool control system, and punching machining method thereof
KR20010061768A (en) * 1999-12-29 2001-07-07 양재신 Remote Driving Method of NC Using Network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4531182A (en) * 1969-11-24 1985-07-23 Hyatt Gilbert P Machine control system operating from remote commands
JPH10328972A (en) * 1997-06-03 1998-12-15 Toyota Motor Corp Numerically controlled machining method and device
JPH1110491A (en) * 1997-06-24 1999-01-19 Amada Co Ltd Nesting method of machine tool control system, and punching machining method thereof
KR20010061768A (en) * 1999-12-29 2001-07-07 양재신 Remote Driving Method of NC Using Network

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101292022B1 (en) * 2011-03-10 2013-08-01 가부시키가이샤 옵팀 Remote support system and remote support method for terminal
CN108334034A (en) * 2017-07-06 2018-07-27 余明忠 A kind of numerical control industrial personal computer net connection interaction systems and interactive approach
CN108334034B (en) * 2017-07-06 2023-10-31 余明忠 Numerical control industrial personal computer network interaction system and interaction method

Similar Documents

Publication Publication Date Title
US7486997B2 (en) Safety condition setting support device, program product and device control method for obtaining safety condition for safety network
EP0380684B1 (en) System for remotely diagnozing cnc
US20020161478A1 (en) Robot, robot system, and robot control method
US20110238188A1 (en) Engineering tool
JPH09198119A (en) Operating board and remote input and output communication control system
US20050132037A1 (en) Programmable controller and communication interface therefor
US20160161934A1 (en) System for use in Automation Technology
EP2551735B1 (en) Fieldbus adapter and method of using fieldbus adapter
JPH0262606A (en) Cnc diagnosing system
KR20020006848A (en) remoting system for computerized numerical control machine tool
KR101212781B1 (en) Robot integrated welding control sustem
CN109074065A (en) For numerical control device to be matched with to the device and method of machine to be controlled
KR100434433B1 (en) Administration control device for factory automation, and its method
EP3364260A1 (en) Method and control device for controlling a field device
JP3445668B2 (en) Communications system
JP2023004194A (en) Robot system and erroneous wiring detection method thereof
JP3580447B2 (en) NC control method
JPH05265524A (en) Numerical controller for robot and production control method thereof
WO2020224880A1 (en) Method for establishing communication in a machine tool system and a communication apparatus therefor
KR20180002331A (en) a communication module for machine tool
KR20140114085A (en) Method for Device Control with Human Machine Interface System
KR0178760B1 (en) Data relay of machine tool
JP2002268716A (en) Remote monitoring and controller for nc working machine and its method and manual pulse handle
JPS5927311A (en) Work cell controller
US20140374387A1 (en) Wireless transmission in the environment of a welding apparatus

Legal Events

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