KR102030012B1 - Communication Interface Apparatus and Interface Method Using the Same - Google Patents

Communication Interface Apparatus and Interface Method Using the Same Download PDF

Info

Publication number
KR102030012B1
KR102030012B1 KR1020170181444A KR20170181444A KR102030012B1 KR 102030012 B1 KR102030012 B1 KR 102030012B1 KR 1020170181444 A KR1020170181444 A KR 1020170181444A KR 20170181444 A KR20170181444 A KR 20170181444A KR 102030012 B1 KR102030012 B1 KR 102030012B1
Authority
KR
South Korea
Prior art keywords
data
communication
plc
peripheral device
protocol
Prior art date
Application number
KR1020170181444A
Other languages
Korean (ko)
Other versions
KR20190079328A (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 KR1020170181444A priority Critical patent/KR102030012B1/en
Priority to PCT/KR2018/000780 priority patent/WO2019132095A1/en
Publication of KR20190079328A publication Critical patent/KR20190079328A/en
Application granted granted Critical
Publication of KR102030012B1 publication Critical patent/KR102030012B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • H04L69/085Protocols for interworking; Protocol conversion specially adapted for interworking of IP-based networks with other networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • 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/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output
    • 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/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • G05B19/4185Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by the network communication
    • G05B19/4186Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by the network communication by protocol, e.g. MAP, TOP
    • 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/10Plc systems
    • G05B2219/15Plc structure of the system
    • G05B2219/15028Controller and device have several formats and protocols, select common one
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25204Translate between different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25217Configure communication protocol, select between several

Abstract

일 실시예에 의하여, 통신 프로토콜을 변환하는 인터페이스 장치는 산업용 공정 제어기에 포함된 PLC(Programmable Logic Controller)와 데이터를 송수신하는 제 1 통신부, 서로 다른 프로토콜을 포함하는 복수개의 주변장치와 데이터를 송수신 하는 제 2 통신부, 프로세서, 및 프로세서에 의해 실행 가능한 명령어들을 저장하는 메모리를 포함할 수 있으며, 프로세서는, 명령어들을 실행함으로써 제 1 통신부를 통해 PLC로부터 제어 정보 및 데이터를 수신할 주변 장치의 정보를 포함하는 제 1 데이터를 수신하고, 제 1 데이터로부터 획득한 주변 장치의 정보에 대응하는 프로토콜 형식을 결정하고, 제 1 데이터와 프로토콜 형식을 결합하여 전송 데이터를 생성하고, 생성된 전송 데이터를 주변 장치로 전송할 수 있다.In one embodiment, the interface device for converting a communication protocol is a first communication unit for transmitting and receiving data with a programmable logic controller (PLC) included in an industrial process controller, and transmitting and receiving data with a plurality of peripheral devices including different protocols. A second communication unit, a processor, and a memory storing instructions executable by the processor, wherein the processor includes information of a peripheral device to receive control information and data from the PLC via the first communication unit by executing the instructions. Receiving the first data, determining a protocol format corresponding to the information of the peripheral device obtained from the first data, generating the transmission data by combining the first data and the protocol format, and transferring the generated transmission data to the peripheral device. Can transmit

Figure R1020170181444
Figure R1020170181444

Description

통신 프로토콜을 변환하는 인터페이스 장치 및 방법{Communication Interface Apparatus and Interface Method Using the Same}Interface interface and method for converting communication protocols {Communication Interface Apparatus and Interface Method Using the Same}

본 발명은 통신 장치에 관한 것으로서, 보다 구체적으로 통신 인터페이스 장치 및 인터페이스 방법에 관한 것이다.The present invention relates to a communication device, and more particularly to a communication interface device and an interface method.

일반적인 산업현장에서는 산업현장에 설치되어 있는 다양한 산업설비들을 효율적으로 제어하기 위해 PLC(Programmable Logic Controller) 또는 DDC와 같은 산업용 제어기가 이용된다. In a general industrial site, an industrial controller such as a programmable logic controller (PLC) or a DDC is used to efficiently control various industrial facilities installed in the industrial site.

PLC와 주변 기기들간의 통신이 이루어지기 위해서는 각 기기에서 사용하는 여러 가지 신호를 하나로 통합하여 제어하는 프로토콜(protocol)이 갖추어져야 한다.In order to communicate between PLC and peripheral devices, a protocol that integrates and controls various signals used by each device must be equipped.

현재 사용하고 있는 프로토콜 제정은 미국의 CEBus, 일본의 Echonet, 그리고 한국의 LnCP로 이루어지고 있다. 그러나 인터넷 제품간의 통신 프로토콜이 통일되어 있지 않으며, 현재 여러 개의 통신규격이 각기 제정되어 있는 상태이다. 이에 따라 각 기기간의 통신 프로토콜이 다르게 되고, 또한 기기간의 통신속도가 다르게 되므로, 각 기기간의 네트웍이 불가능하여 점차 기기간의 네트웍이 진행중인 상황에서 전체 네트웍을 일률적으로 관리하는데 어려움이 생기게 된다. Currently, the protocol is being composed of CEBus in USA, Echonet in Japan, and LnCP in Korea. However, communication protocols between Internet products are not unified, and several communication standards are currently enacted. As a result, communication protocols between devices are different, and communication speeds between devices are different. Therefore, a network between devices is impossible, and thus, it is difficult to manage the entire network uniformly in a network between devices.

또한, 별도로 통신 프로토콜을 설정하는 경우, 많은 시간이 소요되며, 이 설정작업이 기기 각각에 대해서 이루어져야 하는 관계로 번거로운 문제점이 있다. In addition, when setting the communication protocol separately, it takes a lot of time, there is a problem that this setting work must be made for each device, which is cumbersome.

대한민국 등록특허공보 등록번호 제10-0513525호Republic of Korea Patent Publication No. 10-0513525

본 발명은 상술한 문제점을 해결하기 위한 것으로서, 서로 다른 프로토콜을 사용하는 장치들 간의 통신을 위해 프로토콜을 자동 변환할 수 있는 통신 인터페이스 장치 및 이를 이용한 인터페이스 방법을 제공하는 것을 그 기술적 과제로 한다.Disclosure of Invention The present invention has been made in view of the above-described problem, and an object thereof is to provide a communication interface device capable of automatically converting a protocol for communication between devices using different protocols, and an interface method using the same.

일 실시예에 의하여, 통신 프로토콜을 변환하는 인터페이스 장치는 산업용 공정 제어기에 포함된 PLC(Programmable Logic Controller)와 데이터를 송수신하는 제 1 통신부, 서로 다른 프로토콜을 포함하는 복수개의 주변장치와 데이터를 송수신 하는 제 2 통신부, 프로세서, 및 프로세서에 의해 실행 가능한 명령어들을 저장하는 메모리를 포함할 수 있으며, 프로세서는, 명령어들을 실행함으로써 제 1 통신부를 통해 PLC로부터 제어 정보 및 데이터를 수신할 주변 장치의 정보를 포함하는 제 1 데이터를 수신하고, 제 1 데이터로부터 획득한 주변 장치의 정보에 대응하는 프로토콜 형식을 결정하고, 제 1 데이터와 프로토콜 형식을 결합하여 전송 데이터를 생성하고, 생성된 전송 데이터를 주변 장치로 전송할 수 있다.In one embodiment, the interface device for converting a communication protocol is a first communication unit for transmitting and receiving data with a programmable logic controller (PLC) included in an industrial process controller, and transmitting and receiving data with a plurality of peripheral devices including different protocols. A second communication unit, a processor, and a memory storing instructions executable by the processor, wherein the processor includes information of a peripheral device to receive control information and data from the PLC via the first communication unit by executing the instructions. Receiving the first data, determining a protocol format corresponding to the information of the peripheral device obtained from the first data, generating the transmission data by combining the first data and the protocol format, and transferring the generated transmission data to the peripheral device. Can transmit

일 개시에 의하여, PLC로부터 제어 정보 및 데이터를 수신할 주변 장치의 정보를 포함하는 제 1 데이터를 수신하는 단계, 제 1 데이터로부터 획득한 주변 장치의 정보에 대응하는 프로토콜 형식을 결정하는 단계, 제 1 데이터와 프로토콜 형식을 결합하여 전송 데이터를 생성하는 단계 및 생성된 전송 데이터를 주변 장치로 전송하는 단계를 포함하는 통신 프로토콜을 변환하는 인터페이스 방법을 제공할 수 있다.According to one disclosure, receiving first data including control information and information of a peripheral device to receive data from the PLC, determining a protocol format corresponding to the information of the peripheral device obtained from the first data, 1 may provide an interface method for converting a communication protocol including combining transmission data and a protocol format to generate transmission data and transmitting the generated transmission data to a peripheral device.

또 다른 실시예에 의하여 본원발명의 통신 프로토콜을 변환하는 인터페이스 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체를 제공할 수 있다.According to yet another embodiment, a computer-readable recording medium having recorded thereon a program for executing an interface method for converting a communication protocol of the present invention on a computer can be provided.

도 1은 일 개시에 의한 통신 프로토콜을 변환하는 인터페이스 장치의 구성을 보여주는 블록도이다.
도 2는 일 개시에 의한 통신 프로토콜을 변환하는 통신 인터페이스 방법을 나타내는 흐름도이다.
도 3은 일 개시에 의한 PLC로부터 수신한 정보의 프로토콜을 변환하여 주변장치로 전송하는 예시를 나타낸 도면이다.
도 4는 일 개시에 의한 주변장치로부터 수신한 데이터로부터 정보를 추출하여 PLC로 전송하는 예시를 나타낸 도면이다.
도 5는 일 개시에 의하여, 인터페이스 장치에 프로토콜이 없는 경우, 사용자설정입력을 통해 프로토콜을 생성하는 방법을 설명하는 흐름도이다.
도 6은 일 개시에 의한, 인터페이스 장치의 추가 구성을 보여주는 블록도이다.
1 is a block diagram showing a configuration of an interface device for converting a communication protocol according to one disclosure.
2 is a flowchart illustrating a communication interface method for converting a communication protocol according to one disclosure.
3 is a diagram illustrating an example of converting a protocol of information received from a PLC according to one disclosure and converting the protocol to a peripheral device.
4 is a diagram illustrating an example of extracting information from data received from a peripheral device according to one disclosure and transmitting the information to a PLC.
5 is a flowchart illustrating a method of generating a protocol through a user setting input when there is no protocol in the interface device according to one disclosure.
6 is a block diagram illustrating a further configuration of an interface device according to one disclosure.

이하, 첨부된 도면을 참조하여 본 발명의 실시 예에 대하여 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 용이하게 실시할 수 있도록 상세히 설명한다. 그러나 본 발명은 여러 가지 상이한 형태로 구현될 수 있으며 이하에서 개시되는 실시 예에 한정되지 않는다. 또한 도면에서 본 발명을 명확하게 개시하기 위해서 본 발명과 관계없는 부분은 생략하였으며, 도면에서 동일하거나 유사한 부호들은 동일하거나 유사한 구성요소들을 나타낸다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings so that those skilled in the art may easily implement the present invention. As those skilled in the art would realize, the described embodiments may be modified in various different ways, all without departing from the spirit or scope of the present invention. In addition, in order to clearly disclose the present invention, parts not related to the present invention are omitted, and the same or similar reference numerals denote the same or similar elements in the drawings.

본 발명의 목적 및 효과는 하기의 설명에 의해서 자연스럽게 이해되거나 보다 분명해질 수 있으며, 하기의 기재만으로 본 발명의 목적 및 효과가 제한되는 것은 아니다.The objects and effects of the present invention may be naturally understood or more apparent from the following description, and the objects and effects of the present invention are not limited only by the following description.

본 발명의 목적, 특징 및 장점은 다음의 상세한 설명을 통하여 보다 분명해 질 것이다. 또한, 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이, 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략하기로 한다. 이하, 첨부된 도면을 참조하여 본 발명에 따른 실시예를 상세히 설명하기로 한다.The objects, features and advantages of the present invention will become more apparent from the following detailed description. In addition, in describing the present invention, when it is determined that the detailed description of the known technology related to the present invention may unnecessarily obscure the subject matter of the present invention, the detailed description thereof will be omitted. Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 일 개시에 의한 통신 인터페이스 장치의 구성을 보여주는 블록도이다.1 is a block diagram showing a configuration of a communication interface device according to one disclosure.

일 개시에 의하여 통신 인터페이스 장치(10)는 산업현장에서 사용되는 PLC(20)와 PLC(20)의 제어에 의하여 제어되는 주변장치(30)를 연결시키는 기능을 수행할 수 있다.According to one disclosure, the communication interface device 10 may perform a function of connecting a PLC 20 used in an industrial site and a peripheral device 30 controlled by the control of the PLC 20.

일 개시에 의하여, 주변장치(30)는 복수개의 주변장치들(31, 32 및 33)을 포함할 수 있다. 복수개의 주변장치(31, 32 및 33)들은 각각 다른 프로토콜을 사용할 수 있다. 일 예로, 다양한 종류의 복수개의 주변장치(31, 32 및 33)들은 TCP/IP(Transmission Control Protocol/Internet Protocol), UDP(User Datagram Protocol), OPC(OLE for Process Control), DNP3, Modbus TCP, Profibus, Ethernet, RS-232, RS-485, Modbus 485, 또는 BACNet 등과 같은 프로토콜을 사용할 수 있다. 일 개시에 의하여, 복수개의 주변장치(31, 32 및 33)들은 바코드 리더기, 너트 러너, 전자 저울, 산업용 컴퓨터(Process Computer: PC), HMI(Human Machine Interface), 파일 서버(File Server), RFID 리더기, 설비 워크스테이션(Work Station), 계전기, 에너지 저장 시스템(ESS; Energy Storage System), 배터리 에너지 저장 시스템(BESS; Battery Energy Storage System), 계측기, 계측 센서, 디젤엔진, 또는 액츄에이터 등을 포함할 수 있다. 이에 제한되지 않는다.According to one disclosure, the peripheral device 30 may include a plurality of peripheral devices 31, 32, and 33. The plurality of peripherals 31, 32, and 33 may each use different protocols. For example, the various types of peripheral devices 31, 32, and 33 may include Transmission Control Protocol / Internet Protocol (TCP / IP), User Datagram Protocol (UDP), OLE for Process Control (OPC), DNP3, Modbus TCP, Protocols such as Profibus, Ethernet, RS-232, RS-485, Modbus 485, or BACNet can be used. According to one disclosure, the plurality of peripherals 31, 32, and 33 are barcode readers, nut runners, electronic scales, process computers (PCs), human machine interfaces (HMIs), file servers (RFIDs), RFIDs. Readers, work stations, relays, energy storage systems (ESS), battery energy storage systems (BESS), measuring instruments, measurement sensors, diesel engines, or actuators. Can be. This is not restrictive.

PLC(20)는 다양한 종류의 단말기로부터 제어를 받아, 복수개의 주변장치(31, 32 및 33)들을 제어하고, 복수개의 주변장치(31, 32 및 33)로부터 수신되는 통신 데이터를 수신하여 다양한 종류의 단말기로 전송할 수 있다. The PLC 20 is controlled by various types of terminals, controls the plurality of peripheral devices 31, 32, and 33, and receives various types of communication data from the plurality of peripheral devices 31, 32, and 33. Can be sent to the terminal.

일 개시에 의하여, 통신 인터페이스 장치(10)는 제 1 통신부(110), 제 2 통신부(120), 프로세서(130) 및 메모리(140)를 포함할 수 있다.According to one disclosure, the communication interface device 10 may include a first communication unit 110, a second communication unit 120, a processor 130, and a memory 140.

일 개시에 의하여 제 1 통신부(110) 및 제 2 통신부(120)는 산업현장에 배치되어 있는 다양한 설비들과 산업용 제어기를 연결시키는 기능을 수행할 수 있다.According to one disclosure, the first communication unit 110 and the second communication unit 120 may perform a function of connecting an industrial controller with various facilities disposed at an industrial site.

일 실시예에 의하여 제 1 통신부(110)는 산업용 공정 제어기에 포함된 PLC(Programmable Logic Controller)와 데이터를 송수신할 수 있다. 일 개시에 의하여, 제 1 통신부(110)는, CC-Link 통신포트, ProfiBus 통신포트, Devicenet 통신포트, 중 적어도 하나를 포함할 수 있다. According to an embodiment, the first communication unit 110 may transmit / receive data with a programmable logic controller (PLC) included in an industrial process controller. According to one disclosure, the first communication unit 110 may include at least one of a CC-Link communication port, a ProfiBus communication port, and a Devicenet communication port.

일 개시에 의하여, 제 1 통신부(110)는 PLC(20)와 통신하기 위한 이더넷(Ethernet) 포트를 포함할 수 있다. 일 개시에 의하여, 통신 인터페이스 장치(10)는 이더넷 포트를 이용하여 인터넷망에 연결될 수 있다.According to one disclosure, the first communication unit 110 may include an Ethernet port for communicating with the PLC 20. According to one disclosure, the communication interface device 10 may be connected to the Internet network using an Ethernet port.

일 개시에 의하여 제 2 통신부(120)는 서로 다른 프로토콜을 포함하는 복수개의 주변장치와 데이터를 송수신할 수 있다. 또한, 제 2 통신부(120)는 S232 통신포트 및 RS485 통신포트 중 적어도 하나를 포함할 수 있다.According to one disclosure, the second communication unit 120 may transmit and receive data with a plurality of peripheral devices including different protocols. In addition, the second communication unit 120 may include at least one of an S232 communication port and an RS485 communication port.

일 개시에 의하여 제 2 통신부(120)는 복수개의 제 2 포트를 포함할 수 있다. 여기서 복수개의 제 2 포트는 데이터를 송수신하는 복수개의 송신포트 및 복수개의 수신포트를 의미할 수 있다.According to one disclosure, the second communication unit 120 may include a plurality of second ports. Here, the plurality of second ports may mean a plurality of transmission ports and a plurality of reception ports for transmitting and receiving data.

일 개시에 의하여, 통신 인터페이스 장치(10)는 제 2 통신부(120)에 포함된 복수개의 수신포트를 통해 복수개의 주변장치들로부터 데이터를 수신하고, 복수개의 송신포트를 통해 복수개의 주변장치들로 데이터를 송신할 수 있다.According to one disclosure, the communication interface device 10 receives data from a plurality of peripheral devices through a plurality of receiving ports included in the second communication unit 120, and transmits data to a plurality of peripheral devices through a plurality of transmitting ports. Data can be sent.

일 개시에 의하여, 통신 인터페이스 장치(10)는 제 1 통신부(110)를 통해 PLC로부터 제어 정보 및 데이터를 수신할 주변 장치의 정보를 포함하는 제 1 데이터를 수신할 수 있다. 또한, 통신 인터페이스 장치(10)는 제 1 데이터로부터 획득한 주변 장치의 정보에 대응하는 프로토콜 형식을 결정할 수 있다. According to one disclosure, the communication interface device 10 may receive first data including information of a peripheral device to receive control information and data from a PLC through the first communication unit 110. In addition, the communication interface device 10 may determine a protocol format corresponding to the information of the peripheral device obtained from the first data.

일 실시예에 의하여 프로세서(130)는, 제 1 데이터와 프로토콜 형식을 결합하여 전송 데이터를 생성할 수 있다.According to an embodiment, the processor 130 may generate transmission data by combining the first data and the protocol format.

일 개시에 의하여, 프로세서(130)는 통신 인터페이스 장치(10)에 적정한 형식의 프로토콜이 존재하지 않는 경우, 제 1 통신부(110)를 이용하여 인터넷망을 통해 설정 페이지에 접속할 수 있다. 일 개시에 의하여 사용자는 설정 페이지를 이용하여 프로토콜을 설정할 수 있다. 예를 들어, 사용자는 기 결정된 형식의 통신 프토코톨에 식별 부호를 지정함으로써 프로토콜을 설정할 수 있다.According to an embodiment of the present disclosure, when a protocol having a proper format does not exist in the communication interface device 10, the processor 130 may access the setting page through the Internet network using the first communication unit 110. According to one disclosure, a user may set a protocol by using a setting page. For example, a user can set a protocol by assigning an identification code to a communication protocol in a predetermined format.

일 개시에 의하여, 프로세서(130)는 개별적 네트워크 연결의 실시간 운영체제(RTOS, Real-time Operrating System)가 탑재되어, 적어도 하나의 주변장치(30)와의 통신 오류로 인한 데이터 송수신 중단되는 경우 소정의 시간 경과 후 자동으로 통신을 시도할 수 있다. 일 개시에 의하여, 프로세서(130)는 주변장치(30)에서 오류가 발생하여 통신이 중단되는 경우에도, 일정 시간이 경과한 후 자동으로 복구할 수 있다.According to one disclosure, the processor 130 is equipped with a real-time operating system (RTOS, Real-time Operrating System) of the individual network connection, a predetermined time when data transmission and reception is interrupted due to a communication error with at least one peripheral device 30 After the elapse of time, communication can be attempted automatically. According to one disclosure, even when an error occurs in the peripheral device 30 and communication is interrupted, the processor 130 may automatically recover after a predetermined time elapses.

일 개시에 의하여 프로세서(130)는, 제 1 통신부(110) 및 제 2 통신부(120)의 통신 상태를 실시간 모니터링 할 수 있다. 일 개시에 의하여 프로세서(130)는, 제 1 통신부(110) 및 제 2 통신부(120)의 통신 상태에 기초하여 통신을 제어할 수 있다. 일 개시에 의하여 프로세서(130)는, 제 1 통신 상태값 및 제 2 통신 상태값 모두가 통신 양호 상태로 판단된 경우, 변환 데이터를 생성할 수 있다.According to one disclosure, the processor 130 may monitor the communication state of the first communication unit 110 and the second communication unit 120 in real time. According to one disclosure, the processor 130 may control communication based on the communication states of the first communication unit 110 and the second communication unit 120. According to one disclosure, when both the first communication state value and the second communication state value are determined to be a good communication state, the processor 130 may generate converted data.

일 개시에 의하여 프로세서(130)는, 제 1 통신부(110)를 통한 제 1 통신 상태값을 검출할 수 있다. 일 개시에 의하여 프로세서(130)는, 제 1 통신 상태값이 기 설정된 설정값 이상인 경우 통신 양호 상태로 판단하고, 제 1 통신 상태값이 기 설정된 설정값 미만인 경우 통신 불량 상태로 판단할 수 있다.According to one disclosure, the processor 130 may detect a first communication state value through the first communication unit 110. According to one disclosure, the processor 130 may determine that the communication is in a good state when the first communication state value is greater than or equal to a preset setting value, and determine that the communication is in a bad state when the first communication state value is less than the preset setting value.

일 개시에 의하여 프로세서(130)는, 제 2 통신부(120)를 통한 제 2 통신 상태값을 검출할 수 있다. 일 개시에 의하여 프로세서(130)는, 제 2 통신 상태값이 기 설정된 설정값 이상인 경우 통신 양호 상태로 판단하고, 제 2 통신 상태값이 기 설정된 설정값 미만인 경우 통신 불량 상태로 판단할 수 있다.According to one disclosure, the processor 130 may detect a second communication state value through the second communication unit 120. According to one disclosure, the processor 130 may determine that the communication is in a good state when the second communication state value is greater than or equal to a preset setting value, and determine that the communication is in a bad state when the second communication state value is less than the preset setting value.

일 개시에 의하여 메모리(140)는 프로세서(130)에 의해 실행 가능한 데이터들 저장할 수 있다. 또한, PLC(20) 및 주변장치(30)와의 송수신 데이터를 저장할 수 있다. 또한, 메모리(140)는 프로세서(130)에 의하여 변환된 데이터를 저장할 수 있다.According to one disclosure, the memory 140 may store data executable by the processor 130. In addition, transmission / reception data with the PLC 20 and the peripheral device 30 may be stored. In addition, the memory 140 may store data converted by the processor 130.

또한, 프로세서(130)는, 제 2 통신부(120)를 통해 데이터를 수신할 수 있다. 일 개시에 의하여 프로세서(130)는 제 2 통신부(120)를 통해 수신한 데이터 중 특정 영역의 데이터만 아스키 (ASCII) 코드 형태의 데이터로 변환할 수 있다. 일 개시에 의하여, 프로세서(130)는 제 1 통신부(110)를 통해 아스키 (ASCII) 코드 형태의 데이터 PLC(20)로 전송할 수 있다.In addition, the processor 130 may receive data through the second communication unit 120. According to an exemplary embodiment, the processor 130 may convert only data of a specific region among data received through the second communication unit 120 into data in ASCII code form. According to one disclosure, the processor 130 may transmit the data to the PLC 20 in the form of an ASCII code through the first communication unit 110.

일 개시에 의하여 프로세서(130)는 주변장치(30)로부터 수신된 연속적인 데이터 배열을 가공하지 않고, PLC(20)로 전송할 수 있다. 또한, 프로세서(130)는 주변장치(30)로부터 수신한 데이터 중 필요한 영역의 데이터만 취득하여 아스키 (ASCII) 코드 형태로 변환하여 PLC(20)에 전송할 수 있다.According to one disclosure, the processor 130 may transmit to the PLC 20 without processing the continuous data array received from the peripheral device 30. In addition, the processor 130 may acquire only data of a required area among the data received from the peripheral device 30, convert the data into an ASCII code form, and transmit the data to the PLC 20.

일 개시에 의하여 통신 인터페이스 장치(10)는 PLC(20)와의 통신 없이 미리 변환된 소정의 데이터를 복수개의 주변장치(30)로 주기적으로 전송하는 시뮬레이터 모듈을 포함할 수 있다. 일 개시에 의하여 시뮬레이터 기능은 통신 인터페이스 장치(10)를 통해 연결된 인터넷망을 통해 설정할 수 있다. 시뮬레이터 기능은 통신 주기, 데이터 배열, 그래프 형식 등을 설정할 수 있다.According to an exemplary embodiment, the communication interface device 10 may include a simulator module that periodically transmits predetermined data to a plurality of peripheral devices 30 without being communicated with the PLC 20. According to one disclosure, the simulator function may be set through an internet network connected through the communication interface device 10. Simulator function can set communication cycle, data arrangement, graph format, etc.

일 개시에 의하여, 시뮬레이터 모듈에 의하여 생성된 데이터는, 데이터의 전송 주기, 데이터의 배열 및 주변 장치의 식별 정보를 포함할 수 있다.According to one disclosure, the data generated by the simulator module may include a transmission period of data, an arrangement of data, and identification information of a peripheral device.

도 2는 일 개시에 의한 통신 인터페이스 방법을 나타내는 흐름도이다.2 is a flowchart illustrating a communication interface method according to one disclosure.

블록 201에서, 일 개시에 의하여 통신 인터페이스 장치(10)는 제 1 통신부(110)를 통해 PLC로부터 제어 정보 및 데이터를 수신할 주변 장치의 정보를 포함하는 제 1 데이터를 수신할 수 있다.In block 201, according to one disclosure, the communication interface device 10 may receive first data including information of a peripheral device to receive control information and data from a PLC through the first communication unit 110.

블록 202에서, 일 개시에 의하여 통신 인터페이스 장치(10)는 제 1 데이터로부터 획득한 주변 장치의 정보에 대응하는 프로토콜 형식을 결정할 수 있다. 예를 들어, 주변 장치가 RFID 리더기인 경우, 저장된 RFID의 통신 프로토콜을 불러 올 수 있다.In block 202, the communication interface device 10 may determine, according to one disclosure, a protocol format corresponding to information of a peripheral device obtained from the first data. For example, when the peripheral device is an RFID reader, the communication protocol of the stored RFID can be called.

일 개시에 의하여, 통신 인터페이스 장치(10)는 제 1 통신부(110)로부터 수신한 제 1 데이터를 파싱하여 주변장치를 제어할 수 있는 제어 정보와 데이터를 수신할 주변 장치에 대한 정보를 획득할 수 있다. 일 개시에 의하여 통신 인터페이스 장치(10)는 주변 장치에 대한 정보로부터 주변 장치의 통신 프로토콜을 결정하고, 통신 프로토콜을 저장부로부터 읽어올 수 있다.According to one disclosure, the communication interface device 10 may obtain control information for controlling the peripheral device by parsing the first data received from the first communication unit 110 and information about the peripheral device for receiving the data. have. According to one disclosure, the communication interface device 10 may determine a communication protocol of a peripheral device from information about the peripheral device, and read the communication protocol from a storage unit.

또한, 통신 인터페이스 장치(10)는 데이터를 파싱하여 송신측 장치의 식별정보(ID), 수신측 장치의 식별정보(ID), 수신측 장치의 세부정보(Tag Name), 송신 프로토콜의 정보, 수신 프로토콜의 정보, 제1 데이터 중 헤더 영역에 포함된 내용, 상기 제 1 데이터의 데이터 영역에 포함된 내용, 및 제 1 데이터의 트레일러 영역에 포함된 내용에 대한 정보 등을 획득할 수 있다. In addition, the communication interface device 10 parses the data to identify the identification information (ID) of the transmitting device, the identification information (ID) of the receiving device, the tag information of the receiving device, the information of the transmission protocol, and the reception. Information of the protocol, contents included in the header region of the first data, contents included in the data region of the first data, information about contents included in the trailer region of the first data, and the like may be obtained.

블록 203에서, 일 개시에 의하여 통신 인터페이스 장치(10)는 제 1 데이터와 프로토콜 형식을 결합하여 전송 데이터를 생성할 수 있다. 일 개시에 의하여, 통신 인터페이스 장치(10)는 제어 정보를 주변 장치로 보내기 위한 전송 데이터를 생성할 수 있다. 이때, 통신 인터페이스 장치(10)는 텍스트 형태로 수신한 제 1 데이터를 아스키 코드 형태의 전송 데이터로 생성할 수 있다.In block 203, by one disclosure, the communication interface device 10 may combine the first data and the protocol format to generate transmission data. According to one disclosure, the communication interface device 10 may generate transmission data for sending control information to the peripheral device. In this case, the communication interface device 10 may generate the first data received in text form as transmission data in ASCII code form.

블록 204에서, 일 개시에 의하여 통신 인터페이스 장치(10)는 생성된 전송 데이터를 제 2 통신부(120)를 통해 주변 장치로 전송할 수 있다. 일 개시에 의하여, 주변 장치는 RS232 통신포트 및 RS485 통신포트를 이용하여 통신할 수 있다.In block 204, the communication interface device 10 may transmit the generated transmission data to the peripheral device through the second communication unit 120 by one disclosure. According to one disclosure, a peripheral device may communicate using an RS232 communication port and an RS485 communication port.

도 3은 일 개시에 의한 PLC로부터 수신한 정보의 프로토콜을 변환하여 주변장치로 전송하는 예시를 나타낸 도면이다.3 is a diagram illustrating an example of converting a protocol of information received from a PLC according to one disclosure and converting the protocol to a peripheral device.

일 개시에 의하여, 도 3은 PLC(20)로부터 수신한 정보를 주변 장치인 RFID(31)로 전송하기 위하여 프로토콜을 변환하는 예시를 설명하기 위한 도면이다. According to one disclosure, FIG. 3 is a diagram for explaining an example of converting a protocol for transmitting information received from the PLC 20 to the RFID 31 which is a peripheral device.

일 개시에 의하여, 통신 인터페이스 장치(10)는 PLC(20)로부터 RFID 데이터 주소를 의미하는 '0010'과 "제어 정보(읽을 Byte 수)"를 의미하는 '0002'의 텍스트신호를 수신할 수 있다. According to an embodiment of the present disclosure, the communication interface device 10 may receive a text signal of '0010' meaning an RFID data address and '0002' meaning “control information (bytes to read)” from the PLC 20. .

일 개시에 의하여, 통신 인터페이스 장치(10)는 RFID(31)의 통신 프토토콜을 확인할 수 있다. 일 개시에 의하여 통신 인터페이스 장치(10)는 RFID(31)의 통신 프토토콜 형식으로서 Command code, Method, Antenna No와 Terminator 정보를 메모리로부터 불러올 수 있다. 일 개시에 의하여, 통신 인터페이스 장치(10)는 메모리로부터 불러온 Command code, Method, Antenna No와 Terminator와 RFID 데이터 주소 및 제어 정보를 결합할 수 있다.According to one disclosure, the communication interface device 10 may check the communication protocol of the RFID 31. According to one disclosure, the communication interface device 10 may read command code, method, antenna no, and terminator information as a communication protocol format of the RFID 31 from a memory. According to one disclosure, the communication interface device 10 may combine a command code, a method, an antenna no, a terminator, an RFID data address, and control information loaded from a memory.

예를 들어, 통신 인터페이스 장치(10)는 Command code인 RD, Method의 ST, Antenna No인 H1을 RFID 데이터 주소인 0010앞에 결합할 수 있다. 또한, 통신 인터페이스 장치(10)는 RFID 데이터 주소의 뒤에 제어 정보(읽을 Byte 수)인 0002를 결합하고, 데이터 길이의 종결을 의미하는 Terminator로서 *CR을 결합하여 전송 데이터를 생성할 수 있다. 또한, 통신 인터페이스 장치(10)는 텍스트 정보에 대응되는 아스키 코드로 데이터를 생성할 수 있다. For example, the communication interface device 10 may combine the command code RD, the method ST, and the antenna No. H1 in front of the RFID data address 0010. In addition, the communication interface device 10 may combine the 0002 which is the control information (the number of bytes to read) after the RFID data address and combine the * CR as a terminator which means the termination of the data length to generate the transmission data. In addition, the communication interface device 10 may generate data using an ASCII code corresponding to text information.

일 개시에 의하여, 통신 인터페이스 장치(10)는 RDSTH100100002*CR (82,68,83,84,72,49,48,48,49,48,48,48,48,50,42,13)를 RFID(31)로 전송할 수 있다.According to one disclosure, the communication interface device 10 RFIDs RDSTH100100002 * CR (82,68,83,84,72,49,48,48,49,48,48,48,48,50,42,13). 31 can be transmitted.

즉, 통신 인터페이스 장치(10)는 PLC로부터 오직 제어정보 및 주변 장치에 대한 정보만을 수신하고 자체적으로 통신 프로토콜 형식을 불러와 결합함으로써, 별도의 통신 프로토콜 변환 장치 또는 변환 프로그램 없이도, 주변 장치와 통신할 수 있는 데이터를 생성할 수 있다.That is, the communication interface device 10 receives only control information and information on the peripheral device from the PLC and calls and combines the communication protocol type by itself, thereby communicating with the peripheral device without a separate communication protocol conversion device or conversion program. Can generate data.

도 4는 일 개시에 의한 주변장치로부터 수신한 데이터로부터 정보를 추출하여 PLC로 전송하는 예시를 나타낸 도면이다.4 is a diagram illustrating an example of extracting information from data received from a peripheral device according to one disclosure and transmitting the information to a PLC.

일 개시에 의하여, 본원발명의 통신 인터페이스 장치(10)는 주변장치로부터 수신한 정보 중 필요한 정보만을 추출하여 PLC(20)로 전송할 수 있다.According to one disclosure, the communication interface device 10 of the present invention may extract only necessary information from the information received from the peripheral device and transmit it to the PLC 20.

예를 들어, 통신 인터페이스 장치(10)는 RFID(31)로부터 RD00H100123456*CR(82,68,48,48,72,49,48,48,49,50,51,52,53,54,42,13)의 데이터를 수신할 수 있다. 통신 인터페이스 장치(10)는 수신한 데이터를 파싱하여 PLC(20)로 보낼 정보를 추출할 수 있다. 일개시에 의하여, 통신 인터페이스 장치(10)는 통신프토토콜을 제외한 응답 정보만을 추출할 수 있다. 예를 들어, 통신 인터페이스 장치(10)는 "00123456(48,48,49,50,51,52,53,54)"의 응답 정보를 획득할 수 있다. For example, the communication interface device 10 is provided with RD00H100123456 * CR (82,68,48,48,72,49,48,48,49,50,51,52,53,54,42, 13) can be received. The communication interface device 10 may parse the received data and extract information to be sent to the PLC 20. By one disclosure, the communication interface device 10 may extract only the response information excluding the communication protocol. For example, the communication interface device 10 may obtain response information of “00123456 (48,48,49,50,51,52,53,54)”.

일 실시예에 의하여 통신 인터페이스 장치(10)는 획득한 응답 정보를 PLC(20)에서 이용가능한 형태의 응답 데이터로 변환할 수 있다. 통신 인터페이스 장치(10)는 변환된 응답데이터를 PLC(20)로 전송할 수 있다. 예를 들어, 통신 인터페이스 장치(10)는 "123456"의 텍스트 정보를 PLC(20)로 전송할 수 있다.According to an embodiment, the communication interface device 10 may convert the obtained response information into response data in a form usable in the PLC 20. The communication interface device 10 may transmit the converted response data to the PLC 20. For example, the communication interface device 10 may transmit text information of “123456” to the PLC 20.

따라서, 통신 인터페이스 장치(10)를 통해 주변장치로부터 프로토콜 형식이 상이한 데이터를 수신하더라도, PLC(20)에서 필요한 정보만을 획득하여 전송할 수 있어 통신 속도가 증가할 수 있다. 또한, 별다른 장치 또는 변환 프로그램 없이 원하는 정보를 획득할 수 있어서 불필요한 메모리 사용이 감소한다.Therefore, even if data having a different protocol format is received from the peripheral device through the communication interface device 10, only necessary information can be acquired and transmitted from the PLC 20, so that the communication speed can be increased. In addition, the desired information can be obtained without any device or conversion program, thereby reducing unnecessary memory usage.

도 5는 일 개시에 의하여, 인터페이스 장치에 프로토콜이 없는 경우, 사용자설정입력을 통해 프로토콜을 생성하는 방법을 설명하는 흐름도이다.5 is a flowchart illustrating a method of generating a protocol through a user setting input when there is no protocol in the interface device according to one disclosure.

블록 501에서, 일 개시에 의한 통신 인터페이스 장치(10)는, PLC 로부터 수신한 제 1 데이터를 주변장치로 전송하기 위하여, 주변 장치의 통신 프로토콜에 맞는 프로토콜 형식을 선택할 수 있다.In block 501, the communication interface device 10 according to one disclosure may select a protocol format that conforms to a communication protocol of a peripheral device in order to transmit the first data received from the PLC to the peripheral device.

블록 502에서, 일 개시에 의한 통신 인터페이스 장치(10)는, 주변 장치의 프로토콜 형식에 대한 정보가 메모리에 저장되어 있는지 판단할 수 있다. 여기서 메모리는 통신 인터페이스 장치(10)에 포함된 구성 또는 통신 인터페이스 장치(10)와 연결된 외부장치 일 수 있다.In block 502, the communication interface device 10 according to one disclosure may determine whether information about a protocol format of a peripheral device is stored in a memory. The memory may be a component included in the communication interface device 10 or an external device connected to the communication interface device 10.

블록 503에서, 일 개시에 의한 통신 인터페이스 장치(10)는, 메모리에 주변 장치의 프로토콜 형식에 대한 정보가 포함되어 있는 경우, 프로토콜 형식을 이용하여 전송 데이터를 생성할 수 있다.In block 503, the communication interface device 10 according to one disclosure may generate transmission data using the protocol format when the memory includes information about the protocol format of the peripheral device.

블록 504에서, 일 개시에 의한 통신 인터페이스 장치(10)는 주변 장치의 프로토콜 형식에 맞추어 생성된 전송 데이터를 주변 장치로 전송할 수 있다.In block 504, the communication interface device 10 according to one disclosure may transmit transmission data generated in accordance with the protocol format of the peripheral device to the peripheral device.

블록 505에서, 일 개시에 의한 통신 인터페이스 장치(10)는, 메모리에 주변 장치의 프로토콜 형식에 대한 정보가 포함되어 있지 않은 경우, 인터넷망을 이용하여 설정 페이지에 접속할 수 있다. 일 개시에 의하여 통신 인터페이스 장치(10)는 외부 PC와의 연결 또는 자체 통신망을 통해 설정 페이지에 접속할 수 있다.In block 505, the communication interface device 10 according to one disclosure may access a setting page using an internet network when the memory does not include information about a protocol format of a peripheral device. According to an exemplary embodiment, the communication interface device 10 may access a setting page through a connection with an external PC or through its own communication network.

일 개시에 의하여 설정 페이지에서는 프로토콜 형식을 조합할 수 있는 사용자 인터페이스를 제공할 수 있다. 예를 들어, 통신 인터페이스 장치(10)는 설정 페이지를 통해 복수개의 주변 장치의 프로토콜 정보에 대응하는 프로토콜 형식을 시각적으로 표시할 수 있다. 일 개시에 의하여 사용자는 화면 상에 표시된 프로토콜 정보를 보면서 프로토콜 형식을 지정할 수 있기 때문에 손쉽게 통신 데이터를 생성할 수 있는 효과가 있다.According to one disclosure, a configuration page may provide a user interface that may combine protocol types. For example, the communication interface device 10 may visually display a protocol format corresponding to protocol information of a plurality of peripheral devices through a setting page. According to one disclosure, since the user can designate a protocol format while viewing the protocol information displayed on the screen, the user can easily generate communication data.

블록 506에서, 일 개시에 의한 통신 인터페이스 장치(10)는, 사용자 입력을 통해 프로토콜을 설정할 수 있다. 일 개시에 의하여, 사용자 입력에 의하여 선택된 문자, 숫자 등을 이용하여 새로운 프로토콜 형식을 생성할 수 있다. 따라서, 통신 인터페이스 장치(10)에 저장되어 있지 않은 프로토콜을 가진 주변장치와도 손쉽게 통신을 개시할 수 있다.In block 506, the communication interface device 10 according to one disclosure may establish a protocol through user input. According to one disclosure, a new protocol format may be generated using letters, numbers, etc. selected by user input. Therefore, communication can be easily initiated even with a peripheral device having a protocol which is not stored in the communication interface device 10.

도 6은 일 개시에 의한, 통신 인터페이스 장치의 추가 구성을 보여주는 블록도이다.6 is a block diagram illustrating a further configuration of a communication interface device, according to one disclosure.

일 개시에 의하여, 통신 인터페이스 장치는 도 1에 개시된 구성 외에, 디스플레이부(150) 및 사용자 입력부(160)를 더 포함할 수 있다.According to one disclosure, in addition to the configuration disclosed in FIG. 1, the communication interface device may further include a display unit 150 and a user input unit 160.

일 개시에 의하여 디스플레이부(150)는 통신 인터페이스 장치(10)를 통한 PLC와 주변 장치의 통신 상태를 실시간 디스플레이 할 수 있다. 일 개시에 의하여, 디스플레이부(150)는 PLC로부터 수신한 제어명령에 대한 정보를 디스플레이 할 수 있다. 또한, 디스플레이부(150)는 PLC로부터 수신한 제어명령을 주변 장치에서 사용가능한 데이터로 변환한 전송 데이터를 디스플레이할 수 있다. 또한 디스플레이부(150)는 주변 장치로부터 수신한 데이터를 디스플레이 할 수 있다.According to an exemplary embodiment, the display unit 150 may display a communication state between a PLC and a peripheral device through the communication interface device 10 in real time. According to one disclosure, the display unit 150 may display information on a control command received from the PLC. In addition, the display unit 150 may display transmission data obtained by converting a control command received from the PLC into data usable in the peripheral device. In addition, the display unit 150 may display data received from the peripheral device.

일 개시에 의하여, 디스플레이부(150)는 필요한 주변 장치의 프로토콜 형식이 메모리에 존재하지 않는 경우, 경고 알림을 표시할 수 있다. 이때, 사용자는 디스플레이부(150)에 표시된 알림을 통해 프로토콜 형식의 지정이 필요함을 인식할 수 있다. 일 개시에 의하여, 디스플레이부(150)는 프로토콜 형식을 설정할 수 있는 설정 페이지를 제공할 수 있다. 디스플레이부(150)는 설정 페이지를 통해, 프로토콜의 형식을 미리 시각화하여 표시할 수 있으며, 프로토콜의 형식을 지정하기 위한 숫자 또는 문자를 예시적으로 표시할 수 있다.According to an exemplary embodiment, the display 150 may display a warning notification when a necessary protocol format of a peripheral device does not exist in a memory. In this case, the user may recognize that the specification of the protocol format is necessary through the notification displayed on the display unit 150. According to one disclosure, the display unit 150 may provide a setting page for setting a protocol format. The display unit 150 may visualize and display the format of the protocol in advance through the setting page, and may exemplarily display numbers or letters for designating the format of the protocol.

일 개시에 의하여, 사용자는 사용자 입력부(160)를 통해 프로토콜의 형식을 지정할 수 있다. 일 개시에 의하여, 사용자는 디스플레이부(150)를 통해 필요한 프로토콜의 형식을 개별적으로 지정할 수 있어 빠르고 정확하게 프로토콜 형식을 생성할 수 있다.According to one disclosure, a user may specify a format of a protocol through the user input unit 160. According to one disclosure, the user may individually designate the required protocol type through the display unit 150 to quickly and accurately generate the protocol type.

상기한 본 발명의 바람직한 실시 예는 예시의 목적으로 개시된 것이고, 본 발명에 대해 통상의 지식을 가진 당업자라면 본 발명의 사상과 범위 안에서 다양한 수정, 변경 및 부가가 가능할 것이며, 이러한 수정, 변경 및 부가는 상기의 특허청구 범위에 속하는 것으로 보아야 할 것이다. Preferred embodiments of the present invention described above are disclosed for purposes of illustration, and those skilled in the art will be able to make various modifications, changes, and additions within the spirit and scope of the present invention. Should be regarded as falling within the scope of the above claims.

상술한 예시적인 시스템에서, 방법들은 일련의 공정 또는 블록으로써 순서도를 기초로 설명되고 있지만, 본 발명은 공정들의 순서에 한정되는 것은 아니며, 어떤 공정은 상술한 바와 다른 공정과 다른 순서로 또는 동시에 발생할 수 있다. 또한, 당업자라면 순서도에 나타낸 공정들이 배타적이지 않고, 다른 공정이 포함되거나 순서도의 하나 또는 그 이상의 공정이 본 발명의 범위에 영향을 미치지 않고 삭제될 수 있음을 이해할 수 있을 것이다.In the exemplary system described above, the methods are described based on a flowchart as a series of processes or blocks, but the present invention is not limited to the order of processes, and certain processes may occur in a different order or simultaneously with other processes than those described above. Can be. In addition, those skilled in the art will appreciate that the processes shown in the flowcharts are not exclusive and that other processes may be included or one or more processes in the flowcharts may be deleted without affecting the scope of the present invention.

Claims (12)

산업용 공정 제어기에 포함된 PLC(Programmable Logic Controller)와 데이터를 송수신하는 제 1 통신부;
서로 다른 프로토콜을 포함하는 복수개의 주변장치와 적어도 하나의 데이터를 송수신 하는 제 2 통신부;
프로세서; 및
상기 프로세서에 의해 실행 가능한 명령어들을 저장하는 메모리;를 포함하고,
상기 프로세서는,
상기 명령어들을 실행함으로써,
상기 제 1 통신부를 통해 상기 PLC로부터 제1 주변 장치의 데이터를 리드하기 시작하는 주소 및 상기 데이터를 리드할 바이트의 정보를 포함하는 제 1 데이터를 수신하고,
상기 제 1 데이터로부터 획득한 상기 제1 주변 장치의 정보에 대응하는 제1 프로토콜 형식을 결정하고, 상기 제 1 데이터와 상기 제1 프로토콜 형식을 결합하여 전송 데이터를 생성하고, 상기 생성된 전송 데이터를 상기 제1 주변 장치로 전송하고,
상기 제 2 통신부를 통해 상기 제1 주변 장치로부터 상기 전송 데이터에 대응되는 제 2 데이터를 수신하고,
상기 제 2 데이터를 파싱하여, 상기 제2 데이터로부터 상기 제1 프로토콜 형식을 제외하고, 상기 PLC로 보낼 응답 정보를 획득하고, 상기 획득한 응답 정보를 상기 PLC에서 이용가능한 응답 데이터로 변환하고, 상기 변환된 응답 데이터를 상기 PLC로 전송하는, 통신 프로토콜을 변환하는 인터페이스 장치.
A first communication unit configured to transmit / receive data with a programmable logic controller (PLC) included in an industrial process controller;
A second communication unit configured to transmit and receive at least one data with a plurality of peripheral devices including different protocols;
A processor; And
A memory storing instructions executable by the processor;
The processor,
By executing the instructions,
Receiving first data including an address starting to read data of a first peripheral device and information of a byte to read the data from the PLC through the first communication unit,
Determine a first protocol format corresponding to the information of the first peripheral device obtained from the first data, combine the first data with the first protocol format to generate transmission data, and generate the transmitted data Transmit to the first peripheral device,
Receive second data corresponding to the transmission data from the first peripheral device through the second communication unit,
Parse the second data to obtain response information to be sent to the PLC from the second data, except for the first protocol format, convert the obtained response information into response data available at the PLC, and Interface device for converting a communication protocol for transmitting the converted response data to the PLC.
제 1항에 있어서,
상기 프로세서는,
텍스트 또는 숫자 형태로 수신한 상기 제 1 데이터를 아스키 코드 형태의 전송 데이터로 변환하는, 통신 프로토콜을 변환하는 인터페이스 장치.
The method of claim 1,
The processor,
And a communication protocol for converting the first data received in text or numeric form into transmission data in ASCII code form.
제 1항에 있어서,
상기 제 1 통신부는 이더넷 포트, CC-Link 통신포트, ProfiBus 통신포트, Devicenet 통신포트 중 어느 하나인, 통신 프로토콜을 변환하는 인터페이스 장치.
The method of claim 1,
And the first communication unit is any one of an Ethernet port, a CC-Link communication port, a ProfiBus communication port, and a Devicenet communication port.
삭제delete 제 1항에 있어서,
상기 프로세서는,
아스키코드 형태로 수신한 상기 제 2 데이터로부터 획득한 응답 정보를 정수, 실수 등 기타 형태의 응답 데이터로 변환하는, 통신 프로토콜을 변환하는 인터페이스 장치.
The method of claim 1,
The processor,
An interface device for converting a communication protocol for converting response information obtained from the second data received in the form of ASCII code into other types of response data such as an integer and a real number.
제 1항에 있어서,
상기 제 2 통신부는,
RS232 통신포트 및 RS485 통신포트 중 적어도 하나를 포함하는, 통신 프로토콜을 변환하는 인터페이스 장치.
The method of claim 1,
The second communication unit,
At least one of an RS232 communication port and an RS485 communication port.
제 1항에 있어서,
상기 주변 장치의 정보에 대응하는 프로토콜 형식이 없는 경우, 상기 제 1 통신부를 이용하여 설정 페이지로 접속하는, 통신 프로토콜을 변환하는 인터페이스 장치.
The method of claim 1,
And when there is no protocol format corresponding to the information of the peripheral device, connecting to a setting page using the first communication unit.
제 7항에 있어서,
상기 설정 페이지를 표시하는 디스플레이부; 및
사용자로부터 상기 프로토콜의 형식을 입력받는 사용자입력부;를 더 포함하는, 통신 프로토콜을 변환하는 인터페이스 장치.
The method of claim 7, wherein
A display unit displaying the setting page; And
And a user input unit configured to receive a format of the protocol from a user.
제 1항에 있어서,
상기 프로세서는,
상기 PLC와의 통신 없이 미리 변환된 소정의 데이터를 상기 복수개의 주변장치로 주기적으로 전송하는 시뮬레이터 모듈을 포함하며,
상기 시뮬레이터 모듈에 의하여 생성된 데이터는, 데이터의 전송 주기, 데이터의 배열, 및 주변 장치의 식별 정보를 포함하는, 통신 프로토콜을 변환하는 인터페이스 장치.
The method of claim 1,
The processor,
It includes a simulator module for periodically transmitting the predetermined data to the plurality of peripheral devices without the communication with the PLC,
And the data generated by the simulator module includes a data transmission period, an array of data, and identification information of a peripheral device.
제 1항에 있어서,
상기 인터페이스 장치는,
상기 PLC와 독립적으로 동작하며, 상기 PLC에서 상기 주변 장치와의 통신을 위한 프로그래밍을 하지 않고 데이터를 송수신할 수 있도록 보조해주는, 통신 프로토콜을 변환하는 인터페이스 장치.
The method of claim 1,
The interface device,
Operating independently from the PLC, wherein the PLC assists in transmitting and receiving data without programming for communication with the peripheral device.
PLC로부터 제1 주변 장치의 데이터를 리드하기 시작하는 주소 및 상기 데이터를 리드할 바이트의 정보를 포함하는 제 1 데이터를 수신하는 단계;
상기 제 1 데이터로부터 획득한 상기 제1 주변 장치의 정보에 대응하는 제1 프로토콜 형식을 결정하는 단계;
상기 제 1 데이터와 상기 제1 프로토콜 형식을 결합하여 전송 데이터를 생성하는 단계;
상기 생성된 전송 데이터를 상기 제1 주변 장치로 전송하는 단계;
제 2 통신부를 통해 상기 제1 주변 장치로부터 상기 전송 데이터에 대응되는 제 2 데이터를 수신하는 단계;
상기 제 2 데이터를 파싱하여, 상기 제2 데이터로부터 상기 제1 프로토콜 형식을 제외하고, 상기 PLC로 보낼 응답 정보를 획득하는 단계; 및
상기 획득한 응답 정보를 상기 PLC에서 이용가능한 응답 데이터로 변환하고, 상기 변환된 응답 데이터를 상기 PLC로 전송하는 단계를 포함하는,, 통신 프로토콜을 변환하는 인터페이스 방법.
Receiving first data from the PLC, the first data comprising an address starting to read data of the first peripheral device and information of bytes to read the data;
Determining a first protocol format corresponding to information of the first peripheral device obtained from the first data;
Combining the first data with the first protocol format to generate transmission data;
Transmitting the generated transmission data to the first peripheral device;
Receiving second data corresponding to the transmission data from the first peripheral device through a second communication unit;
Parsing the second data to obtain response information to be sent to the PLC, except for the first protocol format, from the second data; And
And converting the obtained response information into response data available in the PLC, and transmitting the converted response data to the PLC.
제 11항의 방법을 컴퓨터에서 실행시키기 위한 프로그램을 기록한 컴퓨터로 읽을 수 있는 기록매체.A computer-readable recording medium having recorded thereon a program for executing the method of claim 11 on a computer.
KR1020170181444A 2017-12-27 2017-12-27 Communication Interface Apparatus and Interface Method Using the Same KR102030012B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020170181444A KR102030012B1 (en) 2017-12-27 2017-12-27 Communication Interface Apparatus and Interface Method Using the Same
PCT/KR2018/000780 WO2019132095A1 (en) 2017-12-27 2018-01-17 Interface apparatus and method of converting communication protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170181444A KR102030012B1 (en) 2017-12-27 2017-12-27 Communication Interface Apparatus and Interface Method Using the Same

Publications (2)

Publication Number Publication Date
KR20190079328A KR20190079328A (en) 2019-07-05
KR102030012B1 true KR102030012B1 (en) 2019-11-08

Family

ID=67063885

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170181444A KR102030012B1 (en) 2017-12-27 2017-12-27 Communication Interface Apparatus and Interface Method Using the Same

Country Status (2)

Country Link
KR (1) KR102030012B1 (en)
WO (1) WO2019132095A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230168536A (en) 2022-06-07 2023-12-14 한국수력원자력 주식회사 Ethernet Conversion Device and Method of SDL or SDN for Communication between Safety-Grade Virtual PLCs

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102262938B1 (en) * 2019-07-24 2021-06-08 현덕환 System for Controlling Automatic Plant with Bus Structure
CN110716518B (en) * 2019-10-11 2021-12-07 北京航天长征飞行器研究所 High-reliability compatible initiating explosive device control platform with multiple bus communication mechanisms
CN112953880A (en) * 2019-11-26 2021-06-11 中车大连电力牵引研发中心有限公司 Communication protocol conversion device and method
CN114520729B (en) * 2020-11-05 2024-01-19 北京广利核系统工程有限公司 Communication isolation system and communication isolation method
WO2022193103A1 (en) * 2021-03-15 2022-09-22 华为技术有限公司 Data transmission method, apparatus and system
CN113381974A (en) * 2021-05-06 2021-09-10 北京工业大学 Protocol conversion method between field bus and Modbus-TCP applied to special communication
CN113572782B (en) * 2021-07-30 2023-03-10 广东机电职业技术学院 Internet of things gateway supporting multiple sensor networks and implementation method thereof
CN114137923A (en) * 2021-11-29 2022-03-04 航天新长征大道科技有限公司 Industrial production field data acquisition and control device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100294633B1 (en) * 1997-09-04 2001-07-12 이종수 Simulator of plc
KR100386597B1 (en) * 2001-06-26 2003-06-09 엘지전자 주식회사 apparatus and method for conversing communication protocol
KR100513525B1 (en) 2003-06-05 2005-09-07 현대자동차주식회사 Assembly monitoring system
KR20060010298A (en) * 2004-07-27 2006-02-02 변효현 Communication control system and method inter multi-protocol plc for remote control and management for automation system
KR101556451B1 (en) * 2013-12-27 2015-10-01 주식회사 포스코아이씨티 Communication Interface Apparatus and Interface Method Using the Same
KR20170071021A (en) * 2015-12-15 2017-06-23 엘지전자 주식회사 Device for converting a protocol between different networks

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20230168536A (en) 2022-06-07 2023-12-14 한국수력원자력 주식회사 Ethernet Conversion Device and Method of SDL or SDN for Communication between Safety-Grade Virtual PLCs

Also Published As

Publication number Publication date
KR20190079328A (en) 2019-07-05
WO2019132095A1 (en) 2019-07-04

Similar Documents

Publication Publication Date Title
KR102030012B1 (en) Communication Interface Apparatus and Interface Method Using the Same
CN107942957B (en) Method and system for debugging process control hardware
US8152053B2 (en) RFID architecture in an industrial controller environment
US11734213B2 (en) Integration of multiple communication physical layers and protocols in a process control input/output device
US10237712B2 (en) In-field wireless access to smart instruments using Bluetooth low energy
US7613783B2 (en) Gateway having an input/output scanner
US20200336925A1 (en) System, Method and Apparatus for Managing Disruption in a Sensor Network Application
US9645572B2 (en) Device class information support for multi-option devices
AU2015234371B2 (en) Apparatus and method for analyzing a control network
US9081380B2 (en) Apparatus for determining and/or monitoring a chemical or physical process variable in automation technology
US20160308688A1 (en) Communication Module for a Field Bus Device
CN108369403A (en) Field bus coupler, system and the method for config failure insurance module
US20070055391A1 (en) Method for the automatic adjustment of a busable field device used in a process automation to the bus protocol utilized on the fieldbus
JP5866067B2 (en) Programmable display
EP2859417B1 (en) Optimized communications with hart instruments
US20150223286A1 (en) Sensor brain for simple sensors in a process control system
KR200385681Y1 (en) Automatic Detection of Digital Relay for Power Monitoring System
US11092945B2 (en) Control device, control method, and non-transitory storage medium storing control program
US20220206452A1 (en) Configuration-free output of user data contained in ethernet telegrams
EP2610791A1 (en) Apparatus and method for processing project information for cross-platform
Ochoa Hidalgo Sensor diagnostic HART overlay 4-20mA
KR20170128803A (en) Method for controlling internal memory of communication card of industrial controller

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