KR101658129B1 - Script editor for gateway apparatus supporting the connection of electric power devices - Google Patents

Script editor for gateway apparatus supporting the connection of electric power devices Download PDF

Info

Publication number
KR101658129B1
KR101658129B1 KR1020160018185A KR20160018185A KR101658129B1 KR 101658129 B1 KR101658129 B1 KR 101658129B1 KR 1020160018185 A KR1020160018185 A KR 1020160018185A KR 20160018185 A KR20160018185 A KR 20160018185A KR 101658129 B1 KR101658129 B1 KR 101658129B1
Authority
KR
South Korea
Prior art keywords
data
iec61850
modbus
script
conversion
Prior art date
Application number
KR1020160018185A
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 KR1020160018185A priority Critical patent/KR101658129B1/en
Application granted granted Critical
Publication of KR101658129B1 publication Critical patent/KR101658129B1/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40228Modbus

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The present invention relates to a gateway apparatus for supporting an IED having a MODBUS communication function to be connected to an IEC61850 network as a server. The present invention relates to a script editor of the gateway apparatus including a user interface (UI) software being capable of performing data conversion via a script, having a memory space for conversion, having a function of controlling data conversion and packet operations by designating an event ID, directly reading an IED configuration description (ICD) file or a configured IED description (CID) file written in a substation configuration description language (SCL), and being capable of performing reading/writing connection between IEC61850 data and MODBUS data. The UI program includes a script editor supporting script writing and revising in order to perform data type conversion of IEC61850 and MODBUS via a script program. According to the present invention, an additional memory operation to perform the data type conversion from data received from the MODBUS into the IEC61850 data, and a memory operation for data received from the IEC61850 are performed with a conversion work via the script program. Thereby, a user can save time and resources.

Description

전력기기 연결 지원 게이트웨이 장치의 스크립트 편집기 {Script editor for gateway apparatus supporting the connection of electric power devices}[0001] The present invention relates to a script editor for a gateway device,

MODBUS 통신 기능을 갖는 IED(Intelligent Electronic Device)를 IEC61850 네트워크 상에 서버로서 연결될 수 있도록 지원하는 게이트웨이 장치에 적용되는 스크립트 편집기에 관한 것이다.The present invention relates to a script editor that is applied to a gateway device that supports an IED (intelligent electronic device) having a MODBUS communication function to be connected as a server on an IEC61850 network.

변전 자동화 전력기기 간의 통신 표준화를 위해 탄생한 IEC61850은 그 적용 분야가 점차 확대되어 가고 있지만, 현재 국내에서 사용중인 전력기기의 상당수는 아직 자체적으로 IEC61850을 지원하지 못하고 있는 상황이다. IEC61850은 변전 시스템의 통신과 제어를 위해 표준화된 데이터 모델을 제안하는 변전소 자동화 통신 프로토콜이다. IEC61850, which was created to standardize communication between power automation devices, has been expanding its application field. However, many electric power devices currently in use in Korea have not yet supported IEC61850 itself. IEC61850 is a substation automation communication protocol that proposes a standardized data model for communication and control of substation systems.

MODBUS는 자동화 디바이스간 통신을 위해 1979년에 개발된 산업용 프로토콜이다. MODBUS는 원래 시리얼 통신을 위해 고안된 어플리케이션 계층 프로토콜이었으나, 점차 시리얼, TCP/IP 및 UDP에서도 구현하도록 사용이 확대되었다. 현재 MODBUS는 다양한 현대의 네트워크에서 간단하고 안정적이며 효율적인 통신을 구현하기 위해 일반적으로 사용되는 프로토콜이다.MODBUS is an industrial protocol developed in 1979 for communication between automation devices. MODBUS was originally an application layer protocol designed for serial communications, but it has been increasingly used to implement serial, TCP / IP and UDP. Currently MODBUS is a commonly used protocol for simple, stable and efficient communication in various modern networks.

MODBUS 통신 기능을 갖는 IED를 IEC61850 네트워크 상에 서버로서 연결될 수 있도록 지원하는 게이트웨이 장비들이 공지되어 있다. 그러나 이들은 MODBUS, CAN, SPI 등 다양한 프로토콜의 IEC61850으로의 변환에 대응하는 기능이 없으며, IEC61850 적용시에 변전시스템 내 설비의 제조사 또는 통신 데이터 정의 방식이 다르면 상호 통신이 불가능하며 시스템의 유연성 내지는 탄력성이 낮다.Gateway devices are known that support IEDs with MODBUS communication capabilities to be connected as servers on the IEC61850 network. However, they do not support the conversion of various protocols such as MODBUS, CAN, and SPI to IEC61850, and when IEC61850 is applied, manufacturers or communication data definition methods in the substation system are different, mutual communication is impossible and the flexibility or resilience of the system low.

등록번호 10-1082522 공고일자 2011년 11월 10일Registration number 10-1082522 Notification date November 10, 2011 등록번호 10-1327398 공고일자 2013년 11월 8일Registration number 10-1327398 Notification date November 8, 2013

MODBUS 통신 기능을 갖는 IED(지능형 전자 디바이스)를 별도의 수정 작업 없이 IEC61850 네트워크 상에 서버로서 연결될 수 있도록 지원하여 신속한 IEC61850의 적용을 통해 시간과 자원을 절약할 수 있도록 지원하는 게이트웨이 장치에 있어서 를 제안한다.We propose a gateway device that supports IED (intelligent electronic device) with MODBUS communication function so that it can be connected as a server on IEC61850 network without any modification work so that time and resources can be saved through application of IEC61850 quickly do.

상기 과제를 해결하기 위하여, 본 출원인은 MODBUS 통신 기능을 갖는 IED를 IEC61850 네트워크 상에 서버로서 연결될 수 있도록 지원하는 게이트웨이 장치에 있어서, (1) SCL 언어(substation configuration description language)로 작성된 ICD(IED configuration description) 또는 CID(configured IED description) 파일을 직접 읽기 수행하고, (2) IEC61850 데이터와 MODBUS 데이터 간의 읽기/쓰기 연결이 가능한 유저 인터페이스(UI) 소프트웨어를 개발하였다. In order to solve the above-described problems, the applicant of the present invention has proposed a gateway device for supporting an IED having a MODBUS communication function to be connected as a server on an IEC61850 network, the gateway device comprising: (1) an IED configuration description) or CID (configured IED description) file. (2) We developed user interface (UI) software that enables read / write connection between IEC61850 data and MODBUS data.

보다 구체적으로, 본 발명의 게이트웨이 장치는 IEC61850 데이터 및 MODBUS의 데이터 유형 변환을 위한 저장 공간으로서, MODBUS로부터 수신된 데이터 및 IEC61850으로부터 쓰기가 요청된 데이터가 모두 저장되는 추가 메모리와, 본 게이트웨이 장치의 기능 제어를 위한 사용자 인터페이스(UI) 프로그램을 포함한다. 본 발명의 상기 추가 메모리는 IEC61850 데이터 및 MODBUS 데이터의 유형 변환을 위한 저장 공간으로서 필요한 것으로서, MODBUS 통신과 IEC61850 통신의 데이터를 단순히 저장하기 위한 용도만이 아닌, 스크립트를 통한 프로그래밍의 유연성을 제공하기 위하여 추가된 부분이다. More specifically, the gateway device of the present invention is a storage space for data type conversion of IEC61850 data and MODBUS, and includes an additional memory for storing both data received from MODBUS and data requested to be written from IEC61850, And a user interface (UI) program for control. The additional memory of the present invention is required as a storage space for type conversion of IEC61850 data and MODBUS data and is used not only for the purpose of storing data of MODBUS communication and IEC61850 communication but also for providing flexibility of programming through script It is an added part.

또한 상기 UI 프로그램에는 IEC61850과 MODBUS의 데이터 유형 변환을 스크립트 프로그램에 의해 수행하도록 하기 위한 스크립트 작성 및 수정을 지원하는 스크립트 편집기가 포함된다. 이러한 구성에서, MODBUS로부터 수신된 데이터의 IEC61850 데이터로의 유형 변환을 수행하는 상기 추가 메모리의 동작 및 IEC61850으로부터 수신된 데이터에 대한 메모리 동작이, 상기 스크립트 프로그램에 의한 변환 작업과 함께 수행된다.Also, the UI program includes a script editor for supporting script creation and modification for performing data type conversion of IEC61850 and MODBUS by a script program. In this configuration, the operation of the additional memory to perform the type conversion of the data received from MODBUS into IEC61850 data and the memory operation for the data received from IEC61850 are performed together with the conversion operation by the script program.

상기 Script 프로그램 언어로는 Lua 언어를 사용할 수 있으나 이에 한정되는 것은 아니다.The Script program language may use the Lua language, but is not limited thereto.

또한 상기 UI 프로그램에는 MODBUS 통신 패킷이 전송되는 채널을 설정하는 채널 설정창을 추가로 포함할 수 있는데, 이 채널 설정창은 연속하여 전송되는 패킷과 패킷 사이에 지연 시간값을 설정하는 P2P 지연 설정 수단을 포함할 수 있다.The UI program may further include a channel setting window for setting a channel through which a MODBUS communication packet is transmitted. The channel setting window may include a P2P delay setting means for setting a delay time value between a continuously transmitted packet and a packet can do.

이상 설명한 본 발명의 특징은 이하에서 도면과 함께 상세하게 설명한 실시예의 구성 및 동작을 통하여 한층 명확해질 것이다.The features of the present invention described above will become clearer through the construction and operation of the embodiments described in detail below with reference to the drawings.

본 발명의 게이트웨이 장치에 의해서 MODBUS, CAN, SPI 등 다양한 프로토콜을 기존 설비를 바꾸지 않고도 IEC61850 유형으로 변환할 수 있다. IEC61850을 적용하면 변전시스템 내 설비의 제조사나 제품 모델이 달라도 상호 통신이 가능할 뿐만 아니라 설비간 상호 호환성의 획득으로 유지 보수에 유의미한 이점을 갖게 된다. 결론적으로 미리 정의된 데이터 유형 중에서 선택을 하는 기존의 방식과 비교하여, 본 발명은 스크립트 해석 기능과  편집 기능을 통하여, 데이터의 변환 및 제어 등에서 많은 유연함을 사용자에게 부여할 수 있다.The gateway device of the present invention can convert various protocols such as MODBUS, CAN, and SPI into the IEC61850 type without changing existing facilities. With IEC61850, different manufacturers or product models of the facilities in the substation system can communicate with each other and have a significant advantage in maintenance by acquiring mutual compatibility between the facilities. In conclusion, compared with the conventional method of selecting from among the predefined data types, the present invention can give the user a lot of flexibility in data conversion and control through the script interpreting function and the editing function.

도 1은 본 발명에 따른 게이트웨이 장치의 IEC61850 네트워크 상에서의 위치.
도 2는 본 발명에 따른 게이트웨이 장치(10)의 패널의 한 가지 구성례.
도 3은 본 발명에 따른 게이트웨이 장치(10)의 기능 제어를 위한 사용자 인터페이스(UI) 프로그램의 화면
도 4는 본 발명에 따른 게이트웨이 장치의 UI 프로그램의 기능 메뉴들 중의 설정창을 나타낸다.
도 5는 MODBUS Packet으로 데이터가 수신된 경우의 메모리 동작
도 6은 스크립트 편집기의 UI 화면
도 7은 본 발명의 게이트웨이 장치에 사용된 데이터 변환 스크립트
도 8은 UINT32에서 FLOAT32로의 변환 스크립트의 예제
도 9는 특정 비트를 부울 데이터(Boolean)로 변환하는 스크립트의 예제
도 10은 채널 설정창의 UI 화면
BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a location of a gateway device according to the present invention on an IEC61850 network.
2 is an exemplary configuration of a panel of the gateway device 10 according to the present invention.
3 shows a screen of a user interface (UI) program for controlling functions of the gateway device 10 according to the present invention
Fig. 4 shows a setting window among function menus of the UI program of the gateway apparatus according to the present invention.
5 shows a memory operation when data is received by the MODBUS packet
6 shows a UI screen of the script editor
7 is a block diagram of a data conversion script
Figure 8 shows an example of a UINT32 to FLOAT32 conversion script
Figure 9 is an example of a script that converts certain bits to Boolean data (Boolean)
10 shows a UI screen

도 1은 본 발명의 한 실시예에 따른 게이트웨이 장치의 IEC61850 네트워크 상에서의 위치를 나타낸다. 본 발명의 게이트웨이 장치(10)는 IEC61850 네트워크(20) 상에 하나의 IED인 단일 서버로서 연결된다. 즉, IEC61850을 지원하는 다른 IED(30)들과 동일한 레벨에 위치하게 되며, 본 게이트웨이 장치(10)에 MODBUS(40)로 연결되는 MODBUS 지원 IED(50)들은 IEC61850 네트워크(20) 상에 단일 IED로 표현된다. MODBUS 통신 연결은 RS485로 연결된다.1 shows a location of a gateway device on an IEC61850 network according to an embodiment of the present invention. The gateway device 10 of the present invention is connected as a single server which is one IED on the IEC61850 network 20. [ The MODBUS-enabled IEDs 50 that are located at the same level as the other IEDs 30 supporting IEC61850 and connected to the gateway device 10 by the MODBUS 40 are connected to the IEC61850 network 20 via a single IED 30, Lt; / RTI > MODBUS communication connection is connected to RS485.

도 2는 본 발명의 한 실시예에 따른 게이트웨이 장치(10)의 패널의 한 가지 구성례를 참고로 보여주고 있다. 도 1과 같은 연결 구조를 위해 갖추어야 할 외부 환경과의 인터페이스 및 사용자와의 인터페이스가 갖추어져 있다. 도 2에서 왼쪽 부분은 패널부를 나타내고 오른쪽 부분은 왼쪽의 패널부의 각 부분의 설명을 나타낸다.2 shows one example of the configuration of a panel of the gateway device 10 according to an embodiment of the present invention. The interface with the external environment and the interface with the user are provided for the connection structure shown in FIG. In Fig. 2, the left part shows the panel part and the right part shows the explanation of each part of the left panel part.

도 3은 본 발명에 따른 게이트웨이 장치(10)의 기능 제어를 위한 사용자 인터페이스(UI) 프로그램의 예시 화면을 나타낸다. 도 3의 프로그램 화면의 구성은 종래의 게이트웨이에 사용되는 것들과 유사하며, 당업자가 필요에 따라 다양한 형태로 디자인할 수 있을 것이다. 프로그램 화면의 상부 기능 메뉴에 파일, 편집, 작성, 설정, 보기, 도움말 기능이 있음을 알 수 있다. 이들 각 메뉴의 세부 기능들을 아래 표에 예시하였다. FIG. 3 shows an exemplary screen of a user interface (UI) program for controlling the function of the gateway device 10 according to the present invention. The structure of the program screen of FIG. 3 is similar to those used in conventional gateways, and can be designed in various forms as needed by those skilled in the art. You can see that the upper function menu of program screen has file, edit, create, setup, view, help function. The detailed functions of each of these menus are illustrated in the table below.

Figure 112016015528158-pat00001
Figure 112016015528158-pat00001

이들 기능들은 종래의 게이트웨이 장치에 사용되는 것들과 유사하다. 단, 본 발명의 게이트웨이 장치에서는 설정 메뉴에 본 발명의 특유한 새롭고 독창적인 기능(이하 '본 발명의 설정 기능'이라고 함)을 추가하였다. These functions are similar to those used in conventional gateway devices. However, in the gateway device of the present invention, a new and unique function (hereinafter referred to as " setting function of the present invention ") unique to the present invention is added to the setting menu.

도 4는 본 발명에 따른 게이트웨이 장치의 UI 프로그램의 기능 메뉴들 중의 설정창을 나타낸다. 도 4의 설정창은 IEC61850 데이터와 MODBUS 데이터의 연결을 구성하는 화면이다. 좌측은 트리뷰(tree view)로 표시되는 모든 하위 항목들의 리스트이고 우측은 MODBUS 데이터의 연결을 설정하는 리스트이다. 좌측의 리스트에서 추가하고자 하는 항목을 선택하고 '추가' 또는 '모두추가' 버튼을 선택하면 우측의 리스트에 항목이 추가된다. 우측의 항목을 선택하고 '삭제' 또는 '모두삭제' 버튼을 선택하면 우측의 리스트에서 항목이 삭제된다. 좌측의 리스트는 IED 구성 파일인 CID(또는 ICD) 파일에서 읽어들인 구성이므로 수정이 불가능하고 우측의 리스트는 Memory, Event ID, Script Name 항목의 수정이 가능하다. 우측 리스트의 각 항목의 의미는 아래 표와 같다. Fig. 4 shows a setting window among function menus of the UI program of the gateway apparatus according to the present invention. The setting window of FIG. 4 is a screen for configuring the connection between IEC61850 data and MODBUS data. The left side is a list of all sub items displayed in the tree view, and the right side is a list for setting the connection of the MODBUS data. Select the item you want to add from the list on the left and select the 'Add' or 'Add All' button to add the item to the list on the right. Select the item on the right and select 'Delete' or 'Delete All' button to delete the item from the list on the right. The list on the left is the configuration read from the CID (or ICD) file, which is an IED configuration file, so it can not be modified and the list on the right can modify the Memory, Event ID, and Script Name items. The meanings of the items in the right list are as follows.

Figure 112016015528158-pat00002
Figure 112016015528158-pat00002

도 4에 나타낸 설정창의 상단에 나열된 각 메뉴는 차례로, IEC61850 정보(IEC61850 Information), MODBUS 패킷 편집기(Modbus Packet Editor), 스크립트 편집기(Script Editor), 채널 설정(Channel Settings), 장치 구성(Device Configuration)이다. 이들 기능 중에서 본 발명의 특징인 '스크립트 편집기'에 대해서 이하 상세하게 설명한다. Each of the menus listed at the top of the setting window shown in FIG. 4 includes IEC61850 information, Modbus Packet Editor, Script Editor, Channel Settings, Device Configuration, to be. Among these functions, the 'script editor' which is a feature of the present invention will be described in detail below.

먼저, 본 발명의 게이트웨이 장치에는 IEC61850 데이터 및 MODBUS의 데이터 변환을 위한 저장 공간으로서 추가 메모리가 필요하다. 추가 메모리는, MODBUS 통신과 IEC61850 통신의 데이터를 단순히 저장하기 위한 용도만이 아닌, 스크립트를 통한 프로그래밍의 유연성을 제공하기 위하여 추가된 부분이다. First, the gateway device of the present invention requires additional memory as storage space for data conversion of IEC61850 data and MODBUS. Additional memory is added to provide programming flexibility through scripting, not just to store data for MODBUS communications and IEC61850 communications.

한 실시예에서 이 메모리로는 MODBUS와 동일한 16-Bit 단위의 주소를 부가하였으며 0~65535의 주소로 할당하였다. MODBUS로부터 수신된 데이터 및 IEC61850으로부터 쓰기가 요청된 데이터가 모두 저장되어 데이터의 유연성(flexibility)이 증대되며, 데이터 형의 변환은 스크립트(Script)를 통하여 수행된다. Script에 대한 자세한 내용은 추후 설명한다.In one embodiment, the same 16-bit unit address as MODBUS is added to this memory, and the address is assigned to 0 ~ 65535. The data received from MODBUS and the data requested to be written from IEC61850 are stored, so that the flexibility of data is increased and the data type conversion is performed through a script. More on Scripting will be explained later.

이러한 추가 메모리의 동작에 관하여 예를 들어서 설명한다. 도 5는 아래 표의 항목과 같은 설정을 가진 MODBUS Packet으로 데이터가 수신된 경우의 메모리 동작을 나타낸다.The operation of this additional memory will be described by way of example. 5 shows a memory operation when data is received by a MODBUS packet having the same settings as the items in the following table.

Figure 112016015528158-pat00003
.
Figure 112016015528158-pat00003
.

즉, MODBUS의 요청에 의하여 수신된 데이터는 지정된 주소에서 시작되는 메모리 공간에 저장되며, 이 데이터는 다시 각각의 IEC61850의 데이터로 이용된다. 단, 메모리에서 IEC61850 데이터로의 전환은 단순 복사가 아니라, 스크립트를 통한 변환 작업이 함께 수행된다. 이와 유사하게, IEC61850으로부터 수신된 데이터에 대한 메모리 동작은, 상기 MODBUS로부터 수신된 데이터에 대한 메모리 동작 항목과 반대 방향으로 동작한다. 스크립트의 변환은 IEC61850 데이터가 메모리에 복사되는 과정에서 진행된다.That is, the data received by the request of MODBUS is stored in the memory space starting from the designated address, and this data is again used as the data of each IEC 61850. However, the conversion from memory to IEC61850 data is not a simple copy, but a conversion operation is performed through a script. Similarly, the memory operation for data received from IEC 61850 operates in the opposite direction to the memory operation entry for data received from the MODBUS. The conversion of the script proceeds as IEC61850 data is copied to memory.

도 6은 스크립트(script) 편집기의 UI 화면을 나타낸다. 6 shows a UI screen of a script editor.

스크립트 편집기를 설명하기 전에 스크립트에 관하여 먼저 설명한다. MODBUS는 실제 데이터의 형태를 제조사에서 정의하여 이용하는 경우가 많기 때문에 다양한 IED를 연결하기 위해서는 다양한 상황에 적용가능한 데이터 변환 방식의 적용이 반드시 필요하다. 본 발명의 게이트웨이 장치에서는 이러한 문제에 대응하기 위하여 스크립트 편집 기능을 내장하여 데이터의 변환에 적용하였다. 데이터 변환 스크립트는 스크립트 언어인 Lua 문법으로 작성할 수 있다. 본 발명의 게이트웨이 장치에 사용된 데이터 변환 스크립트는 도 7과 같은 기본 구조를 갖는다. Before describing the script editor, let's talk about scripts first. Since MODBUS often defines the actual data type by the manufacturer, it is necessary to apply the data conversion method applicable to various situations in order to connect various IEDs. In order to cope with such a problem, the gateway device of the present invention incorporates a script editing function and is applied to data conversion. Data conversion scripts can be written in Lua syntax, a scripting language. The data conversion script used in the gateway device of the present invention has the basic structure as shown in FIG.

도 7의 스크립트에서 각 행의 의미는 아래 표와 같다.The meanings of the respective lines in the script of Fig. 7 are shown in the following table.

Figure 112016015528158-pat00004
Figure 112016015528158-pat00004

스크립트의 실제 예제를 통해 설명한다. 도 8은 부호없는 정수형 데이터 UINT32에서 실수형 데이터 FLOAT32로의 변환 스크립트의 예제를 나타내고, 도 9는 특정 비트를 부울 데이터(Boolean)로 변환하는 스크립트의 예제를 나타낸다. The actual example of the script will be explained. FIG. 8 shows an example of a script for converting unsigned integer data UINT32 to real data FLOAT32, and FIG. 9 shows an example of a script for converting a specific bit into Boolean data (Boolean).

도 7의 스크립트에 의해 UINT32와 같은 정수값으로 저장된 데이터가 실수형인 FLOAT32로 변환된다. 이 예제는 저장되어 있는 정수형 데이터가 실제값의 10배를 취한 값인 경우에 대한 예제이다. 즉, 실제값 123.4를 10배하여 1234의 정수값으로 저장된 UINT32 형 데이터를 123.4의 실수 값인 FLOAT32 형으로 변환하는 예제이다. 도 8에서, MODBUS의 기본인 16-Bits 데이터의 특정 Bit의 상태가 IEC61850의 Boolean으로 변환된다. The data stored as an integer value such as UINT32 is converted into FLOAT32, which is a real number type, by the script of Fig. This example is an example of when the stored integer data is 10 times the actual value. That is, an actual value 123.4 is multiplied by 10, and the UINT32 data stored as an integer value of 1234 is converted into a FLOAT32 real value of 123.4. In FIG. 8, the state of a specific bit of 16-bit data, which is the basis of MODBUS, is converted into a Boolean of IEC61850.

도 6으로 돌아가, 스크립트 편집기는 IEC61850과 MODBUS의 유형 변환을 위한 Script 프로그램의 작성 및 수정을 지원한다. MODBUS 데이터는 관련 장치의 제조사에 따라서 그 데이터 표현 방식이 매우 다양하기 때문에 이러한 문제에 대응하여 본 발명의 게이트웨이 장치에서는 스크립트에 의한 데이터 변환 기능을 추가한 것이다. 앞에서 언급한 것과 같이 Script 언어로는 Lua를 적용가능하며, 본 편집기는 Endian의 변환, 정수형의 실수형으로의 변환 등, 다양하게 구성할 수 있다. Returning to FIG. 6, the script editor supports creation and modification of a script program for type conversion of IEC61850 and MODBUS. Since the MODBUS data has various data representation methods depending on the manufacturer of the related apparatus, the gateway apparatus of the present invention adds a data conversion function by script in response to this problem. As mentioned above, Script language can be applied to Lua, and this editor can be configured in various ways such as Endian conversion, conversion to integer type, and so on.

한 실시예에서, 도 6에 나타낸 편집기의 동작예를 아래 표와 같은 하단 버튼의 기능을 통해 설명한다. 이와 같이 Script 편집기 창에서는 일반적인 메모장에서와 같이, 실행 취소, 잘라내기, 복사, 붙여 넣기, 삭제, 모두 선택 등의 기능으로 구현가능하다.In one embodiment, an example of the operation of the editor shown in Fig. 6 will be described with the function of the lower button as shown in the following table. Like the normal Notepad, the Script Editor window can be implemented with functions such as undo, cut, copy, paste, delete, and select all.

Figure 112016015528158-pat00005
Figure 112016015528158-pat00005

Claims (2)

삭제delete MODBUS 통신 기능을 갖는 IED를 IEC61850 네트워크 상에 서버로서 연결될 수 있도록 지원하는 게이트웨이 장치에 있어서, 이 게이트웨이 장치는
IEC61850 데이터 및 MODBUS 데이터의 유형 변환을 위한 저장 공간으로서, MODBUS로부터 수신된 데이터 및 IEC61850으로부터 쓰기가 요청된 데이터가 모두 저장되는 추가 메모리;
IEC61850과 MODBUS의 데이터 유형 변환을 별도 입력된 스크립트 프로그램을 해석하여 수행하는 수단;
상기 게이트웨이 장치의 기능 제어를 위한 것으로, IEC61850 및 MODBUS의 데이터 유형 변환을 수행하기 위한 상기 스크립트 프로그램의 작성 및 수정을 지원하는 스크립트 편집기를 포함하는 사용자 인터페이스(UI) 프로그램을 포함하며,
상기 추가 메모리의 MODBUS로부터 수신된 데이터 유형의 IEC61850 데이터 유형으로의 변환을 수행하는 동작 및 IEC61850으로부터 수신된 데이터에 대한 메모리 동작이, 상기 데이터 유형 변환 스크립트 프로그램에 의한 변환 작업과 함께 수행되고,
상기 추가 메모리의 메모리 동작에 있어서 상기 MODBUS로부터 수신된 데이터는 지정된 주소에서 시작되는 메모리 공간에 저장되고, IEC61850으로부터 수신된 데이터의 메모리 동작은 상기 MODBUS로부터 수신된 데이터에 대한 메모리 동작과 반대 방향으로 동작하는 것을 특징으로 하는, 전력기기 연결 지원 게이트웨이 장치의 스크립트 편집기.
A gateway apparatus for supporting an IED having a MODBUS communication function to be connected as a server on an IEC61850 network, the gateway apparatus comprising:
Storage space for type conversion of IEC61850 data and MODBUS data, wherein the additional memory stores both data received from MODBUS and data requested to be written from IEC61850;
A means for interpreting the data type conversion of IEC61850 and MODBUS by interpreting a separately input script program;
A user interface (UI) program for controlling the function of said gateway device and including a script editor for supporting creation and modification of said script program for performing data type conversion of IEC61850 and MODBUS,
Performing a conversion of the data type received from the MODBUS of the additional memory to the IEC61850 data type and a memory operation for the data received from the IEC61850 are performed together with the conversion operation by the data type conversion script program,
In the memory operation of the additional memory, the data received from the MODBUS is stored in the memory space starting at the designated address, and the memory operation of the data received from the IEC 61850 is performed in the opposite direction to the memory operation for the data received from the MODBUS Wherein the script editor of the power device connection support gateway device comprises:
KR1020160018185A 2016-02-17 2016-02-17 Script editor for gateway apparatus supporting the connection of electric power devices KR101658129B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020160018185A KR101658129B1 (en) 2016-02-17 2016-02-17 Script editor for gateway apparatus supporting the connection of electric power devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020160018185A KR101658129B1 (en) 2016-02-17 2016-02-17 Script editor for gateway apparatus supporting the connection of electric power devices

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR1020150183802A Division KR101619923B1 (en) 2015-12-22 2015-12-22 Gateway apparatus for supporting the connection of electric power devices

Publications (1)

Publication Number Publication Date
KR101658129B1 true KR101658129B1 (en) 2016-09-20

Family

ID=57102222

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020160018185A KR101658129B1 (en) 2016-02-17 2016-02-17 Script editor for gateway apparatus supporting the connection of electric power devices

Country Status (1)

Country Link
KR (1) KR101658129B1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101082522B1 (en) 2009-12-11 2011-11-10 한전케이디엔주식회사 Multi-Functional Gataway System for Providing Power Information
EP2130349B1 (en) * 2007-03-30 2012-08-01 ABB Technology AG Method of configuring an intelligent electronic device
KR101327398B1 (en) 2011-12-28 2013-11-08 전자부품연구원 Network gateway

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2130349B1 (en) * 2007-03-30 2012-08-01 ABB Technology AG Method of configuring an intelligent electronic device
KR101082522B1 (en) 2009-12-11 2011-11-10 한전케이디엔주식회사 Multi-Functional Gataway System for Providing Power Information
KR101327398B1 (en) 2011-12-28 2013-11-08 전자부품연구원 Network gateway

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ABB Review (2010.08.19.) https://library.e.abb.com/public/ba5c0d1cacc015a7c12577840033f1a2/ABB_SR_IEC_61850_72dpi.pdf* *

Similar Documents

Publication Publication Date Title
JP6279703B1 (en) Software definition realization method based on protection control system of smart substation
CN109460232B (en) Method for manufacturing and monitoring configuration page
CN109302464B (en) APP unified control method and system of intelligent household equipment based on control station
EP1586966B1 (en) Control system configuration device
US8181157B2 (en) Custom language support for project documentation and editing
WO2003079126A1 (en) A system and method for accessing devices in a factory automation network
CN105794152A (en) Web-based interaction with building automation
CN113039498A (en) Method for commissioning field devices in an industrial system network
KR101619923B1 (en) Gateway apparatus for supporting the connection of electric power devices
WO2022156316A1 (en) Configuration method and system supporting heterogeneous environment
CN111865662A (en) Network equipment configuration method and system
CN109901830B (en) Signal configuration method and system for scada system development
US9391797B2 (en) Dynamic host profiles for option modules
US20230103137A1 (en) Engineering System and Method for Configuring and Parameterizing Field Bus Subscribers
CN107407923A (en) PLC control datas generating means, PLC control datas generation method and PLC control datas generation program
KR101658129B1 (en) Script editor for gateway apparatus supporting the connection of electric power devices
EP3457667B1 (en) Method, control device and agent device for operation of equipment
KR20150088462A (en) Method for linking network device in cloud environment and apparatus therefor
Thramboulidis et al. Field device specification for the development of function block oriented engineering support systems
DE102020113499A1 (en) Quick Connect Techniques for Skid Communicator Instrument
CN114157524B (en) Multi-equipment one-stop implementation device and method for intelligent space
CN117130318B (en) Industrial data acquisition method, device, system and readable storage medium
CN114095464B (en) Instant message realization method and system
CN114500667B (en) Data processing method and device based on URL protocol, electronic equipment and storage medium
US11893372B1 (en) Deployment system for internet of things and deployment method for the same

Legal Events

Date Code Title Description
AMND Amendment
E601 Decision to refuse application
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20190702

Year of fee payment: 4