KR20180052940A - Device and method for driving program in instrumentation and control facility - Google Patents
Device and method for driving program in instrumentation and control facility Download PDFInfo
- Publication number
- KR20180052940A KR20180052940A KR1020160150120A KR20160150120A KR20180052940A KR 20180052940 A KR20180052940 A KR 20180052940A KR 1020160150120 A KR1020160150120 A KR 1020160150120A KR 20160150120 A KR20160150120 A KR 20160150120A KR 20180052940 A KR20180052940 A KR 20180052940A
- Authority
- KR
- South Korea
- Prior art keywords
- program
- plc
- hmi
- user terminal
- function
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/05—Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
- G05B19/056—Programming the PLC
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0259—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
- G05B23/0267—Fault communication, e.g. human machine interface [HMI]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/23—Pc programming
- G05B2219/23067—Control, human or man machine interface, interactive, HMI, MMI
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Human Computer Interaction (AREA)
- Programmable Controllers (AREA)
Abstract
Description
본 발명은 계측제어 설비에서의 프로그램 구동 장치 및 계측제어 설비에서의 프로그램 구동 방법에 관한 것이다.The present invention relates to a program drive apparatus in a measurement control facility and a program drive method in the measurement control facility.
종래기술에서의 계측제어 설비는 HMI 프로그램 및 PLC 프로그램을 포함하여 구성될 수 있다. PLC 프로그램은 PLC의 입출력단(I/O)을 통해 수집된 외부 데이터와, 내부 메모리를 이용하여 제어로직을 구현한다. HMI 프로그램은 PLC 프로그램에서 생성된 메모리의 데이터를 태그라는 단위로 관리할 수 있다. 이때, HMI 프로그램은 상기 태그를 이용하여 감시/제어하는 기능을 할 수 있다. The measurement control facility in the prior art can be configured including an HMI program and a PLC program. The PLC program implements the control logic using external data collected through the input / output (I / O) of the PLC and internal memory. The HMI program can manage the data of the memory created by the PLC program in units of tags. At this time, the HMI program can perform monitoring / controlling using the tag.
HMI 프로그램은 단순히 화면을 작화하고 PLC로부터 취득한 데이터를 감시/제어하는 기능뿐만 아니라, 고급언어를 지원하는 스크립트 기능, 데이터베이스 접속기능, 오피스 프로그램과 연동되는 보고서 기능, 통신 서버 기능 등을 지원할 수 있다. 반면, HMI 프로그램에서 PLC 프로그램까지 구동할 수 있는 기술은 아직 미흡한 실정이다.The HMI program can support not only the screen design and monitoring / control of the data acquired from the PLC but also the script function supporting the high-level language, the database connection function, the report function linked with the office program, and the communication server function. On the other hand, the technology that can drive the HMI program to the PLC program is still insufficient.
그런데 종래기술에서의 두 프로그램은 유사한 패턴의 작업을 나타내고 있다.However, the two programs in the prior art show a similar pattern of work.
도 1a 및 도 1b는 PLC 프로그램 및 HMI 프로그램의 구성을 설명하기 위한 도면이다.1A and 1B are views for explaining the configuration of a PLC program and an HMI program.
도 1a에 도시된 바와 같은 PLC 프로그램에서의 태그(변수) 등록은 도 1b에 도시된 바와 같은 HMI 프로그램에서의 태그 등록을 하는 작업과 유사하다. 또한, 도 1a에 도시된 바와 같은 PLC 프로그램에서의 입출력단(I/O) 상태를 변수에 적용하는 작업은 도 1b에 도시된 바와 같은 HMI 프로그램에서의 태그를 사용자 단말 상의 화면에 적용하는 작업과 유사하다. 또한, HMI 프로그램 상의 제어화면은 PLC 프로그램의 제어로직에 대한 패턴을 정의하는 작업과 유사할 수 있다.The tag (variable) registration in the PLC program as shown in Fig. 1A is similar to the tag registration in the HMI program as shown in Fig. 1B. In addition, an operation of applying an input / output (I / O) state to a variable in a PLC program as shown in FIG. 1A is performed by applying a tag in an HMI program to a screen on a user terminal as shown in FIG. similar. In addition, the control screen on the HMI program can be similar to the task of defining the pattern for the control logic of the PLC program.
따라서, HMI 프로그램을 통해 PLC프로그램을 구현함으로써, 업무 효율을 증가시킬 수 있는 기술이 필요하다.Therefore, there is a need for a technology that can increase the work efficiency by implementing the PLC program through the HMI program.
본 발명은 상기와 같은 문제점을 해결하기 위하여 안출된 것으로서, HMI 프로그램 및 PLC 프로그램을 동시에 구현함으로써, 업무 능률을 향상시킬 수 있으며, PLC 프로그램이 자동으로 모듈화 되어 유지보수가 용이하게 할 수 있는 것을 목적으로 한다.SUMMARY OF THE INVENTION The present invention has been made to overcome the above problems, and it is an object of the present invention to simultaneously implement an HMI program and a PLC program to improve work efficiency and to make a PLC program automatically modularized to facilitate maintenance .
또한, 본 발명은 직관적인 프로그램을 구현함으로써, 이해하기 쉽고 시운전시 간편하게 구동할 수 있게 하며, 라이브러리의 공유와 수정이 가능함으로써, 프로그램에 대한 재사용성을 증가시킬 수 있게 하는 다른 목적을 가지고 있다.In addition, the present invention has another purpose of implementing an intuitive program so that it can be easily understood, can be easily operated upon commissioning, and can be shared and modified in a library, thereby increasing the reusability of the program.
상기의 목적을 이루기 위한 계측제어 설비에서의 프로그램 구동 장치는, PLC 프로그램 내의 기능을 PLC 모듈로 생성하고, 상기 생성된 PLC 모듈을, HMI 프로그램 내의 데이터베이스에 등록하는 프로세서 및 사용자 단말에서 상기 HMI 프로그램이 구현 됨에 따라, 상기 PLC 모듈에 관한 메뉴를, 상기 사용자 단말의 화면 상에 표시하는 인터페이스를 포함할 수 있다.A program driving apparatus in a measuring and control facility for achieving the above object comprises a processor for generating a function in a PLC program as a PLC module and registering the generated PLC module in a database in the HMI program, And may include an interface for displaying a menu related to the PLC module on the screen of the user terminal.
또한, 상기 목적을 달성하기 위한 기술적 방법으로서, 계측제어 설비에서의 프로그램 구동 방법은, PLC 프로그램 내의 기능을 PLC 모듈로 생성하는 단계, 상기 생성된 PLC 모듈을, HMI 프로그램 내의 데이터베이스에 등록하는 단계, 및 사용자 단말에서 상기 HMI 프로그램이 구현 됨에 따라, 상기 PLC 모듈에 관한 메뉴를, 상기 사용자 단말의 화면 상에 표시하는 단계를 포함하여 구성할 수 있다.As a technical method for achieving the above object, a program driving method in a measurement control facility includes a step of generating a function in a PLC program by a PLC module, a step of registering the generated PLC module in a database in the HMI program, And displaying a menu related to the PLC module on the screen of the user terminal as the HMI program is implemented in the user terminal.
본 발명의 일실시예에 따르면, HMI 프로그램 및 PLC 프로그램을 동시에 구현할 수 있어, 업무 능률을 향상시킬 수 있으며, PLC 프로그램이 자동으로 모듈화 되어 유지보수가 용이할 수 있다.According to the embodiment of the present invention, the HMI program and the PLC program can be implemented at the same time, thereby improving the work efficiency, and the PLC program can be automatically modularized to facilitate maintenance.
또한, 본 발명의 일실시예에 따르면, 직관적인 프로그램을 구현함으로써, 이해하기 쉽고 시운전시 간편하게 구동할 수 있게 하며, 라이브러리의 공유와 수정이 가능함으로써, 프로그램에 대한 재사용성을 증가시킬 수 있다.According to an embodiment of the present invention, by implementing an intuitive program, it is easy to understand, can be easily operated in trial operation, and the sharing and modification of the library can be performed, thereby increasing the reusability of the program.
도 1a 및 도 1b는 PLC 프로그램 및 HMI 프로그램의 구성을 설명하기 위한 도면이다.
도 2는 본 발명의 일실시예에 따른 계측제어 설비에서의 프로그램 구동 시스템을 개략적으로 설명하기 위한 도면이다.
도 3은 본 발명의 일실시예에 따른 계측제어 설비에서의 프로그램 구동 장치를 나타내는 블록도이다.
도 4는 본 발명의 일실시예에 따른 프로그램 구동 장치를 이용하여 HMI 프로그램 및 PLC 프로그램을 구동하는 일례를 설명하기 위한 도면이다.
도 5는 본 발명의 일실시예에 따른 계측제어 설비에서의 프로그램 구동 방법을 구체적으로 도시한 작업 흐름도이다.1A and 1B are views for explaining the configuration of a PLC program and an HMI program.
2 is a schematic view for explaining a program drive system in a measurement control facility according to an embodiment of the present invention.
3 is a block diagram showing a program driving apparatus in a measurement control facility according to an embodiment of the present invention.
4 is a diagram for explaining an example of driving an HMI program and a PLC program using the program driving device according to an embodiment of the present invention.
5 is a flowchart illustrating a program driving method in a measurement control facility according to an exemplary embodiment of the present invention.
이하에서, 본 발명에 따른 실시예들을 첨부된 도면을 참조하여 상세하게 설명한다. 그러나, 본 발명이 실시예들에 의해 제한되거나 한정되는 것은 아니다. 각 도면에 제시된 동일한 참조 부호는 동일한 부재를 나타낸다.Hereinafter, embodiments according to the present invention will be described in detail with reference to the accompanying drawings. However, the present invention is not limited to or limited by the embodiments. Like reference symbols in the drawings denote like elements.
본 명세서에서 설명되는 계측제어 설비에서의 프로그램 구동 장치 및 계측제어 설비에서의 프로그램 구동 방법은 HMI 프로그램과 PLC 프로그램의 기능을 공유하고, HMI 오브젝트에서 PLC 로직 라이브러리를 등록하도록 함으로써, 하나의 프로그램으로 HMI 프로그램 및 PLC 프로그램을 동시에 구동할 수 있다.The program driving method in the measurement control facility and the program driving method in the measurement control facility described in this specification share the functions of the HMI program and the PLC program and register the PLC logic library in the HMI object, Program and PLC program can be driven simultaneously.
도 2는 본 발명의 일실시예에 따른 계측제어 설비에서의 프로그램 구동 시스템을 개략적으로 설명하기 위한 도면이다.2 is a schematic view for explaining a program drive system in a measurement control facility according to an embodiment of the present invention.
도 2에 도시된 바와 같이, 계측제어 설비에서의 프로그램 구동 시스템(200, 이하, 프로그램 구동 시스템)는 프로그램 구동 장치(210) 및 PLC(220)를 포함할 수 있다.2, the program driving system 200 (hereinafter referred to as a program driving system) in the measurement control facility may include a
프로그램 구동 장치(210)는 HMI 프로그램에 관한 HMI 소프트웨어 및 PLC 프로그램에 관한 PLC 로직 소프트웨어를 포함할 수 있다. 즉, 본 발명의 프로그램 구동 시스템(200)은 하나의 프로그램 구동 장치(210)에 대하여, HMI 프로그램 및 PLC 프로그램을 구동하여, PLC(220)를 제어하고 HMI 기능을 수행하도록 할 수 있다.The
프로그램 구동 장치(210)에 대한 보다 상세한 설명을 위하여 하기 도 3을 참고하여 설명하고자 한다.For a more detailed description of the
도 3은 본 발명의 일실시예에 따른 계측제어 설비에서의 프로그램 구동 장치를 나타내는 블록도이다.3 is a block diagram showing a program driving apparatus in a measurement control facility according to an embodiment of the present invention.
본 발명의 계측제어 설비에서의 프로그램 구동 장치(300, 이하, 프로그램 구동 장치)는 프로세서(310) 및 인터페이스(320)를 포함할 수 있다.The program driving apparatus 300 (hereinafter, program driving apparatus) in the measurement control facility of the present invention may include a
프로세서(310)는 PLC 프로그램 내의 기능을 PLC 모듈로 생성할 수 있다. 즉, 프로세서(310)는 계측제어 설비에 관한 HMI 프로그램에서 사용될 수 있는 PLC 모듈을 생성할 수 있다. 또한, 프로세서(310)는 상기 생성된 PLC 모듈을, HMI 프로그램 내의 데이터베이스에 등록한다. 프로세서(310)는 생성된 PLC 모듈을 HMI 프로그램과 관련된 데이터를 저장하는 데이터베이스에 등록할 수 있다.The
인터페이스(320)는 사용자 단말에서 상기 HMI 프로그램이 구현 됨에 따라, 상기 PLC 모듈에 관한 메뉴를, 상기 사용자 단말의 화면 상에 표시한다. 즉, 인터페이스(320)는 사용자 단말에 HMI 프로그램을 구현하는 것과 연동하는 PLC 모듈에 관한 메뉴를 표시할 수 있다. The
또한, 프로세서(310)는 상기 PLC 프로그램에서 유지되는 외부 서버의 통신접속 정보를, 상기 HMI 프로그램과 공유할 수 있다. 즉, 프로세서(310)는 통신할 LPC의 통신접속 정보를 설정하여 PLC 프로그램과 HMI 프로그램이 서로 통신접속 정보를 공유하도록 할 수 있다.In addition, the
또한, 프로세서(310)는 상기 공유되는 통신접속 정보를 이용하여 외부 서버와 접속하고, PLC 입출력단(I/O)을 통해 상기 외부 서버로부터 외부 데이터를 수신하는, 상기 PLC 프로그램의 통신접속 기능을 모듈화하여 상기 PLC 모듈로 생성할 수 있다. 즉, 프로세서(310)는 HMI 프로그램에 구현하기 위하여 통신접속 기능에 관한 PLC 모듈을 생성함으로써, PLC 프로그램이 PLC 모듈을 통해 외부 서버와 접속하고, 외부 데이터를 수신하도록 할 수 있다.In addition, the
또한, 프로세서(310)는 PLC 메모리에 대해, 상기 PLC 프로그램에서 관리하는 영역 정보를, 상기 HMI 프로그램과 공유할 수 있다. 즉, 프로세서(310)는 PLC 프로그램과 HMI 프로그램에서 관리하는 특정 영역에 대한 영역 정보를 공유하도록 할 수 있다. 예를 들면, 프로세서(310)는 PLC 프로그램에서 변수단위로 관리하는 특정 영역에 대한 정보를 HMI 프로그램과 공유할 수 있다. In addition, the
또한, 프로세서(310)는 상기 영역 정보에 의해 지정되는, 상기 PLC 메모리의 특정 영역에 대한 명령이 발생함에 따른, 상기 PLC 프로그램의 메모리 처리 기능을, 모듈화하여 상기 PLC 모듈로 생성할 수 있다. 즉, 프로세서(310)는 PLC 프로그램에서 관리하는 영역 정보 중 특정 영역에 대한 명령을 처리할 수 있는 PLC 모듈을 생성할 수 있다. In addition, the
또한, 인터페이스(320)는 사용자 단말에서의 동작을 선택 받을 수 있다. 즉, 인터페이스(320)는 HMI 프로그램이 구현되는 사용자 단말에서의 기능에 대한 동작을 선택 받을 수 있다. 예를 들면, 인터페이스(320)는 복수의 그래픽 오브젝트로 구성된 그래픽 화면을 사용자 단말의 감시/제어 화면에 표시할 수 있고, 그래픽 화면을 통해 동작을 선택 받을 수 있다. 이때, 각각의 그래픽 오브젝트는 태그 정보를 포함할 수 있고, 선택됨에 따라 그래픽의 상태가 변경될 수 있다.Also, the
또한, 프로세서(310)는 상기 HMI 프로그램이 구현되는 사용자 단말에서, 선택 받은 상기 동작에 관한 이벤트가 발생함에 따라, 상기 PLC 프로그램에 의해 감시되는 오브젝트에 관한 제어로직을 호출하고, 호출된 상기 제어로직을 편집하는, 상기 PLC 프로그램의 편집 기능을 모듈화하여 상기 PLC 모듈로 생성할 수 있다. 즉, 프로세서(310)는 태그 정보를 저장한 각각의 그래픽 오브젝트가 선택됨에 따라, 해당 오브젝트에 관한 제어로직을 설정할 수 있는 PLC 모듈을 생성할 수 있다. 예를 들면, 오브젝트가 펌프라면, 프로세서(310)는 펌프를 제어하기 위하여 제어로직(예컨대, 수위운전, 압력운전, 시간운전 등)에 인자(예컨대, 수위태그, 압력태그, 시간태그 등)를 설정할 수 있는 PLC 프로그램의 편집 기능을 모듈화 할 수 있다. In addition, the
또한, 프로세서(310)는 원시 파일에 대한 컴파일(compile)시, 상기 HMI 프로그램에서의 사용을 위해 제작된 그래픽 오브젝트 파일을 호출하고, 상기 호출된 그래픽 오브젝트 파일을 수정하여, 상기 PLC 프로그램에서 사용하는 그래픽 오브젝트 파일을 제작하는, 상기 PLC 프로그램의 컴파일 기능을 모듈화하여 상기 PLC 모듈로 생성할 수 있다. 즉, 프로세서(310)는 프로세서(310)에 의해 작성된 원시 파일을 이용하여 HMI 프로그램에서 사용할 수 있는 그래픽 오브젝트 파일 및 PLC 프로그램에서 사용할 수 있는 오브젝트 파일을 제작하도록 하는 PLC 모듈을 생성할 수 있다.In addition, when compiling the source file, the
실시예에 따라, 프로세서(310)는 원시 파일의 컴파일에 의한, 상기 HMI 프로그램에서 사용하는 그래픽 오브젝트 파일의 제작시, 상기 PLC 프로그램에서 사용하는 그래픽 오브젝트 파일을 함께 제작할 수 있다. 즉, 프로세서(310)는 한 번의 컴파일로, HMI 프로그램에서 사용하는 그래픽 오브젝트 파일 및 PLC 프로그램에서 사용하는 오브젝트 파일을 제작하도록 하는 PLC 프로그램의 컴파일 기능을 모듈화할 수 있다. According to the embodiment, the
또한, 인터페이스(320)는 상기 HMI 프로그램에서 사용하는 그래픽 오브젝트 파일과, 상기 PLC 프로그램에서 사용하는 그래픽 오브젝트 파일 각각에 대한 실행 메뉴를 구분하여, 상기 사용자 단말의 화면 상에 표시할 수 있다. 즉, 인터페이스(320)는 HMI 프로그램에서 사용하는 그래픽 오브젝트 파일 및 PLC 프로그램에서 사용하는 그래픽 오브젝트 파일을 각각 HMI 프로그램과 PLC 프로그램에 사용할 실행 파일로 변경하여 실행 메뉴로서 표시할 수 있다.In addition, the
또한, 프로세서(310)는 상기 HMI 프로그램에서의 실행 파일의 실행 시, 상기 PLC 프로그램으로부터 상기 실행 파일을 정해진 주기 마다 전송 받는, 상기 PLC 프로그램의 파일통신 기능을 모듈화하여 상기 PLC 모듈로 생성할 수 있다. 즉, 프로세서(310)는 PLC 프로그램을 주기마다 HMI 프로그램으로 전송하는 실행 파일을 수신하는 PLC 모듈을 생성할 수 있다.In addition, the
도 4는 본 발명의 일실시예에 따른 프로그램 구동 장치를 이용하여 HMI 프로그램 및 PLC 프로그램을 구동하는 일례를 설명하기 위한 도면이다.4 is a diagram for explaining an example of driving an HMI program and a PLC program using the program driving device according to an embodiment of the present invention.
먼저, 프로그램 구동 장치(400)는 PLC의 통신접속 정보를 설정할 수 있다(410). 이때, 프로그램 구동 장치(400)는 PLC 프로그램과 HMI 프로그램이 통신접속 정보를 서로 공유하도록 할 수 있다.First, the
다음으로, 프로그램 구동 장치(400)는 PLC 프로그램과 HMI 프로그램에 대해 태그 등록을 할 수 있다(420). 프로그램 구동 장치(400)는 PLC 프로그램에서 PLC 메모리의 특정 영역을 변수단위로 관리하고, HMI 프로그램에서 PLC 메모리의 특정 영역을 태그단위로 관리하도록 할 수 있다. 여기서, 변수 및 태그는 동일한 개념일 수 있다. 프로그램 구동 장치(400)는 프로그램에서 여러가지 부가정보를 추가로 관리하도록 할 수 있다. 이때, 프로그램 구동 장치(400)는 태그(변수) 등록에 대하여 두 프로그램이 서로 공유하도록 할 수 있다.Next, the
다음으로, 프로그램 구동 장치(400)는 PLC 프로그램과 HMI 프로그램에 대한 에디터 기능을 제공할 수 있다(430). 프로그램 구동 장치(400)는 HMI 프로그램을 통해 감시/제어화면을 그래픽 화면으로 표시할 수 있다. 이때, 프로그램 구동 장치(400)는 복수의 그래픽 오브젝트들로 구성된 감시/제어화면을 표시할 수 있다.Next, the
또한, 프로그램 구동 장치(400)는 각각의 그래픽 오브젝트에 태그 정보를 저장할 수 있고, 실행시 태그 정보에 의해 그래픽의 상태가 변화하도록 할 수 있다. 또한, 프로그램 구동 장치(400)는 다양한 이벤트를 지원하는 오브젝트를 포함할 수 있다. 예를 들면, 프로그램 구동 장치(400)는 '마우스를 눌렀을 때 어떤 명령을 실행하는 기능', '태그 값이 변경되었을 때 오브젝트의 크기를 변경하는 기능' 등의 다양한 기능을 처리하는 이벤트를 지원하는 오브젝트를 포함할 수 있다. 프로그램 구동 장치(400)는 이러한 이벤트에 PLC 로직을 등록할 수 있는 기능을 추가함으로써, PLC 에디터의 기능을 구현하도록 할 수 있다.In addition, the
예를 들면, 펌프 오브젝트에 대하여, 프로그램 구동 장치(400)는 펌프 가동상태를 표시하기 위한 태그 및 펌프를 제어하기 위한 태그를 포함하는 펌프 오브젝트를 표시할 수 있다. 프로그램 구동 장치(400)는 PLC 에디터를 통해 이러한 정보를 재입력하지 않고 미리 등록된 제어로직(예컨대, 수위운전, 압력운전, 시간운전 등)에 인자(예컨대, 수위태그, 압력태그, 시간태그 등)를 설정함으로써, PLC 로직을 구현하도록 할 수 있다.For example, with respect to the pump object, the
또한, 프로그램 구동 장치(400)는 PLC 프로그램과 HMI 프로그램이 에디터를 서로 공유하도록 할 수 있다.In addition, the
다음으로, 프로그램 구동 장치(400)는 컴파일러 기능을 실행할 수 있다(440). 즉, 프로그램 구동 장치(400)는 에디터에 의해 작성된 원시 파일을 이용하여 HMI 프로그램에서 사용할 그래픽 오브젝트 파일과 PLC 프로그램에서 사용할 오브젝트 파일을 생성할 수 있다. 프로그램 구동 장치(400)는 한 번의 컴파일 작업으로 두 개의 오브젝트를 생성할 수 있다.Next, the
다음으로, 프로그램 구동 장치(400)는 컴파일러에 의해 생성된 오브젝트 파일을 PLC와 HMI에 사용할 실행 파일로 변경할 수 있다(450).Next, the
마지막으로, 프로그램 구동 장치(400)는 PLC 프로그램에서 통신 드라이버를 실행파일을 전송하기 위하여 사용하고, HMI 프로그램에서 실행 시에 주기적으로 PLC의 데이터를 주고받는 통신용으로 사용할 수 있다(460). 즉, 프로그램 구동 장치(400)는 동일한 통신 드라이버를 PLC 프로그램 및 HMI 프로그램에서 공동으로 사용하도록 할 수 있다.Finally, the
실시예에 따라서, 단계(430)에서, 프로그램 구동 장치(400)를 이용한 PLC 로직을 등록하는 과정은 다음과 같을 수 있으나, 이에 한정된 것은 아니다.According to the embodiment, the process of registering the PLC logic using the
프로그램 구동 장치(400)는 '로직 에디터'라는 별도의 프로그램에서 사용자가 필요한 로직 라이브러리를 만들고, 재사용 또는 공유가 가능하게 하는 로직을 포함할 수 있다.The
이때, 프로그램 구동 장치(400)는 '로직 에디터'에서 작성된 라이브러리에 대하여, 대분류, 중분류, 소분류의 검색 항목을 설정하여 쉽게 사용자가 찾을 수 있도록 할 수 있다.At this time, the
또한, 프로그램 구동 장치(400)는 '로직 에디터'의 로직에 대하여, 크게 기본정보, 커맨드, 인자로 구분하도록 나눌 수 있다. 여기서, 기본 정보는 검색 항목, 로직 고유 이름, 만든이, 버젼, 고유 날자, 설명 등을 포함할 수 있다. 커맨드는 가동, 정지, 딜레이, 펄스입력, 펄스출력, 사칙연산, 타입변환, 수치비교, 논리비교, 통신수신, 통신전송, 시간이벤트 등을 포함할 수 있다.In addition, the
이때, 각각의 커맨드는 고유의 인자가 있으며, 프로그램 구동 장치(400)는 복수의 커맨드가 등록되도록 할 수 있다. 프로그램 구동 장치(400)는 커맨드가 등록된 순서대로 동작하도록 할 수 있으며, 첫 번째 커맨드가 동작하기 위한 시작 이벤트를 등록할 수 있다. 여기서, 시작 이벤트는 시간주기, 특정변수가 지정된 값으로 변경될 시, 통신에서 지정된 프레임이 수신되었을 때 등으로 나뉠 수 있다.At this time, each command has its own argument, and the
프로그램 구동 장치(400)는 커맨드를 캡슐화 할 수 있으며, 각 커맨드들이 사용된 인자들에 대하여, 중복과 재귀참조오류를 자동으로 점검하여 사용자가 입력할 인자를 자동으로 만들도록 할 수 있고, 결과값을 리턴할 수 있다. 여기서, 프로그램 구동 장치(400)는 결과값에 대하여, 문자 및 숫자 중 적어도 하나로 지정하도록 할 수 있다.The
실시예에 따라서, 프로그램 구동 장치(400)를 이용한 각각의 오브젝트간의 연동운전 및 인터록에 대한 설정 과정은 다음과 같을 수 있으나, 이에 한정된 것은 아니다.According to the embodiment, the process of setting interlocking operation and interlock between respective objects using the
프로그램 구동 장치(400)는 변수에 의한 방법을 사용할 수 있다. 즉, 프로그램 구동 장치(400)는 특정 변수값에 의해 등록된 로직을 인에이블(enable), 디스에이블(disable) 할 수 있다.The
또한, 프로그램 구동 장치(400)는 로직 라이브러리에 의한 방법을 사용할 수 있다. 즉, 프로그램 구동 장치(400)는 로직 라이브러리의 결과값에 의해 변수의 값을 변경시킬 수 있다.In addition, the
또한, 프로그램 구동 장치(400)는 위의 두 개의 방법을 조합하여 다양한 연동운전과 인터록을 구현할 수 있다.In addition, the
이러한, 본 발명의 프로그램 구동 장치(300, 400)는 HMI 프로그램 및 PLC 프로그램을 동시에 구현할 수 있어, 업무 능률을 향상시킬 수 있으며, PLC 프로그램이 자동으로 모듈화 되어 유지보수가 용이할 수 있다.The
또한, 본 발명의 프로그램 구동 장치(300, 400)는 직관적인 프로그램을 구현함으로써, 이해하기 쉽고 시운전시 간편하게 구동할 수 있게 하며, 라이브러리의 공유와 수정이 가능함으로써, 프로그램에 대한 재사용성을 증가시킬 수 있다.In addition, the
또한, 본 발명의 프로그램 구동 장치(300, 400)는 사용자(소비자)로 하여금 두 개의 프로그램 기능을 하나로 통합함으로써, 프로그램 구매에 따른 경제적인 비용 부담을 감소시킬 수 있다.In addition, the
도 5는 본 발명의 일실시예에 따른 계측제어 설비에서의 프로그램 구동 방법을 구체적으로 도시한 작업 흐름도이다.5 is a flowchart illustrating a program driving method in a measurement control facility according to an exemplary embodiment of the present invention.
우선 본 실시예에 따른 계측제어 설비에서의 프로그램 구동 방법은 상술한 프로그램 구동 장치(300)에 의해 수행될 수 있다.First, the program driving method in the measurement control facility according to the present embodiment can be performed by the program driving apparatus 300 described above.
먼저, 프로그램 구동 장치(300)는 PLC 프로그램 내의 기능을 PLC 모듈로 생성한다(510). 즉, 단계(510)는 계측제어 설비에 관한 HMI 프로그램에서 사용될 수 있는 PLC 모듈을 생성하는 과정일 수 있다. First, the program drive device 300 generates a function in the PLC program as a PLC module (510). That is,
다음으로, 프로그램 구동 장치(300)는 상기 생성된 PLC 모듈을, HMI 프로그램 내의 데이터베이스에 등록한다(520). 즉, 단계(520)는 생성된 PLC 모듈을 HMI 프로그램과 관련된 데이터를 저장하는 데이터베이스에 등록하는 과정일 수 있다.Next, the program driving device 300 registers the generated PLC module in the database in the HMI program (520). That is, the
다음으로, 프로그램 구동 장치(300)는 사용자 단말에서 상기 HMI 프로그램이 구현 됨에 따라, 상기 PLC 모듈에 관한 메뉴를, 상기 사용자 단말의 화면 상에 표시한다(530). 즉, 단계(530)는 사용자 단말에 HMI 프로그램을 구현하는 것과 연동하는 PLC 모듈에 관한 메뉴를 표시하는 과정일 수 있다. Next, as the HMI program is implemented in the user terminal, the program driving device 300 displays a menu related to the PLC module on the screen of the user terminal (530). That is, the
실시예에 따라, 단계(510)는 상기 PLC 프로그램에서 유지되는 외부 서버의 통신접속 정보를, 상기 HMI 프로그램과 공유하고, 상기 공유되는 통신접속 정보를 이용하여 외부 서버와의 접속하고, PLC 입출력단(I/O)을 통해 상기 외부 서버로부터 외부 데이터를 수신하는, 상기 PLC 프로그램의 통신접속 기능을 모듈화하여 상기 PLC 모듈로 생성하는 과정일 수 있다. 즉, 프로그램 구동 장치(300)는 통신할 LPC의 통신접속 정보를 설정하여 PLC 프로그램과 HMI 프로그램이 서로 통신접속 정보를 공유하도록 할 수 있다. 또한, 프로그램 구동 장치(300)는 HMI 프로그램에 구현하기 위하여 통신접속 기능에 관한 PLC 모듈을 생성함으로써, PLC 프로그램이 PLC 모듈을 통해 외부 서버와 접속하고, 외부 데이터를 수신하도록 할 수 있다.According to the embodiment,
또한, 단계(510)는 PLC 메모리에 대해, 상기 PLC 프로그램에서 관리하는 영역 정보를, 상기 HMI 프로그램과 공유하고, 상기 영역 정보에 의해 지정되는, 상기 PLC 메모리의 특정 영역에 대한 명령이 발생함에 따른, 상기 PLC 프로그램의 메모리 처리 기능을, 모듈화하여 상기 PLC 모듈로 생성하는 과정일 수 있다. 즉, 프로그램 구동 장치(300)는 PLC 프로그램과 HMI 프로그램에서 관리하는 특정 영역에 대한 영역 정보를 공유하도록 할 수 있다. 예를 들면, 프로그램 구동 장치(300)는 PLC 프로그램에서 변수단위로 관리하는 특정 영역에 대한 정보를 HMI 프로그램과 공유할 수 있다. 또한, 프로그램 구동 장치(300)는 PLC 프로그램에서 관리하는 영역 정보 중 특정 영역에 대한 명령을 처리할 수 있는 PLC 모듈을 생성할 수 있다. Step 510 is a step of sharing area information managed by the PLC program with the PLC memory with the HMI program and determining whether or not an instruction for a specific area of the PLC memory And a process of modularizing the memory processing function of the PLC program to generate the PLC program as the PLC module. That is, the program driving device 300 can share the area information of the specific area managed by the PLC program and the HMI program. For example, the program drive device 300 can share information on a specific area managed by the PLC program in units of variables with the HMI program. In addition, the program driving device 300 can generate a PLC module capable of processing a command for a specific area of area information managed by the PLC program.
실시예에 따라, 프로그램 구동 장치(300)는 사용자 단말에서의 동작을 선택 받을 수 있다. 즉, 프로그램 구동 장치(300)는 HMI 프로그램이 구현되는 사용자 단말에서의 기능에 대한 동작을 선택 받을 수 있다. 예를 들면, 프로그램 구동 장치(300)는 복수의 그래픽 오브젝트로 구성된 그래픽 화면을 사용자 단말의 감시/제어 화면에 표시할 수 있고, 그래픽 화면을 통해 동작을 선택 받을 수 있다. 이때, 각각의 그래픽 오브젝트는 태그 정보를 포함할 수 있고, 선택됨에 따라 그래픽의 상태가 변경될 수 있다.According to the embodiment, the program driving device 300 can be selected for operation at the user terminal. That is, the program driving device 300 can be selected for the operation of the function at the user terminal in which the HMI program is implemented. For example, the program driving device 300 can display a graphic screen composed of a plurality of graphic objects on a monitoring / control screen of a user terminal, and can select an operation through a graphic screen. At this time, each graphic object may include tag information, and the state of the graphic may be changed as selected.
이때, 단계(510)는 상기 HMI 프로그램이 구현되는 사용자 단말에서, 선택받은 상기 동작에 관한 이벤트가 발생함에 따라, 상기 PLC 프로그램에 의해 감시되는 오브젝트에 관한 제어로직을 호출하고, 호출된 상기 제어로직을 편집하는, 상기 PLC 프로그램의 편집 기능을 모듈화하여 상기 PLC 모듈로 생성하는 과정일 수 있다. 즉, 프로그램 구동 장치(300)는 태그 정보를 저장한 각각의 그래픽 오브젝트가 선택됨에 따라, 해당 오브젝트에 관한 제어로직을 설정할 수 있는 PLC 모듈을 생성할 수 있다. 예를 들면, 오브젝트가 펌프라면, 프로그램 구동 장치(300)는 펌프를 제어하기 위하여 제어로직(예컨대, 수위운전, 압력운전, 시간운정 등)에 인자(예컨대, 수위태그, 압력태그, 시간태그 등)를 설정할 수 있는 PLC 프로그램의 편집 기능을 모듈화 할 수 있다. At this time, in
또한, 단계(510)는 원시 파일에 대한 컴파일(compile)시, 상기 HMI 프로그램에서의 사용을 위해 제작된 그래픽 오브젝트 파일을 호출하고, 상기 호출된 그래픽 오브젝트 파일을 수정하여, 상기 PLC 프로그램에서 사용하는 그래픽 오브젝트 파일을 제작하는, 상기 PLC 프로그램의 컴파일 기능을 모듈화하여 상기 PLC 모듈로 생성하는 과정일 수 있다. 즉, 프로그램 구동 장치(300)는 프로그램 구동 장치(300)에 의해 작성된 원시 파일을 이용하여 HMI 프로그램에서 사용할 수 있는 그래픽 오브젝트 파일 및 PLC 프로그램에서 사용할 수 있는 오브젝트 파일을 제작하도록 하는 PLC 모듈을 생성할 수 있다.In
실시예에 따라, 프로그램 구동 장치(300)는 원시 파일의 컴파일에 의한, 상기 HMI 프로그램에서 사용하는 그래픽 오브젝트 파일의 제작시, 상기 PLC 프로그램에서 사용하는 그래픽 오브젝트 파일을 함께 제작할 수 있다. 즉, 프로그램 구동 장치(300)는 한 번의 컴파일로, HMI 프로그램에서 사용하는 그래픽 오브젝트 파일 및 PLC 프로그램에서 사용하는 오브젝트 파일을 제작하도록 하는 PLC 프로그램의 컴파일 기능을 모듈화할 수 있다. According to the embodiment, the program driving device 300 can simultaneously produce graphic object files used in the PLC program when producing graphic object files used in the HMI program by compiling source files. That is, the program driving device 300 can modularize the compile function of the PLC program to produce the graphic object file used in the HMI program and the object file used in the PLC program with one compile.
이때, 단계(530)는 상기 HMI 프로그램에서 사용하는 그래픽 오브젝트 파일과, 상기 PLC 프로그램에서 사용하는 그래픽 오브젝트 파일 각각에 대한 실행 메뉴를 구분하여, 상기 사용자 단말의 화면 상에 표시하는 과정일 수 있다. 즉, 프로그램 구동 장치(300)는 HMI 프로그램에서 사용하는 그래픽 오브젝트 파일 및 PLC 프로그램에서 사용하는 그래픽 오브젝트 파일을 각각 HMI 프로그램과 PLC 프로그램에 사용할 실행 파일로 변경하여 실행 메뉴로서 표시할 수 있다.At this time, the
또한, 단계(510)는 상기 HMI 프로그램에서의 실행 파일의 실행 시, 상기 PLC 프로그램으로부터 상기 실행 파일을 정해진 주기 마다 전송 받는, 상기 PLC 프로그램의 파일통신 기능을 모듈화하여 상기 PLC 모듈로 생성하는 과정일 수 있다. 즉, 프로그램 구동 장치(300)는 PLC 프로그램을 주기마다 HMI 프로그램으로 전송하는 실행 파일을 수신하는 PLC 모듈을 생성할 수 있다.Step 510 is a process of modularizing the file communication function of the PLC program to be transmitted to the PLC module when the execution file is transmitted from the PLC program at a predetermined cycle when the execution file is executed in the HMI program . That is, the program drive device 300 can generate a PLC module that receives an executable file for transferring the PLC program to the HMI program at every cycle.
이러한, 본 발명의 계측제어 설비에서의 프로그램 구동 방법은 HMI 프로그램 및 PLC 프로그램을 동시에 구현할 수 있어, 업무 능률을 향상시킬 수 있으며, PLC 프로그램이 자동으로 모듈화 되어 유지보수가 용이할 수 있다.According to the program driving method of the present invention, the HMI program and the PLC program can be implemented at the same time, so that the work efficiency can be improved and the PLC program can be automatically modularized to facilitate maintenance.
또한, 본 발명의 계측제어 설비에서의 프로그램 구동 방법은 직관적인 프로그램을 구현함으로써, 이해하기 쉽고 시운전시 간편하게 구동할 수 있게 하며, 라이브러리의 공유와 수정이 가능함으로써, 프로그램에 대한 재사용성을 증가시킬 수 있다.Further, the program driving method in the measurement control facility of the present invention realizes an intuitive program so that it can be easily understood and can be easily operated in trial operation, and the sharing and modification of the library can be performed, thereby increasing the reusability of the program .
또한, 본 발명의 계측제어 설비에서의 프로그램 구동 방법은 사용자(소비자)로 하여금 두 개의 프로그램 기능을 하나로 통합함으로써, 프로그램 구매에 따른 경제적인 비용 부담을 감소시킬 수 있다.Further, the program driving method in the measurement control facility of the present invention can reduce the economic cost burden of the program purchase by integrating the two program functions into one by the user (consumer).
본 발명의 실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능 매체는 프로그램 명령, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 매체에 기록되는 프로그램 명령은 실시예를 위하여 특별히 설계되고 구성된 것들이거나 컴퓨터 소프트웨어 당업자에게 공지되어 사용 가능한 것일 수도 있다. 컴퓨터 판독 가능 기록 매체의 예에는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체(magnetic media), CD-ROM, DVD와 같은 광기록 매체(optical media), 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical media), 및 롬(ROM), 램(RAM), 플래시 메모리 등과 같은 프로그램 명령을 저장하고 수행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령의 예에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함한다. 상기된 하드웨어 장치는 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지이다.The method according to an embodiment of the present invention may be implemented in the form of a program command that can be executed through various computer means and recorded in a computer-readable medium. The computer-readable medium may include program instructions, data files, data structures, and the like, alone or in combination. The program instructions to be recorded on the medium may be those specially designed and configured for the embodiments or may be available to those skilled in the art of computer software. Examples of computer-readable media include magnetic media such as hard disks, floppy disks and magnetic tape; optical media such as CD-ROMs and DVDs; magnetic media such as floppy disks; Magneto-optical media, and hardware devices specifically configured to store and execute program instructions such as ROM, RAM, flash memory, and the like. Examples of program instructions include machine language code such as those produced by a compiler, as well as high-level language code that can be executed by a computer using an interpreter or the like. The hardware devices described above may be configured to operate as one or more software modules to perform the operations of the embodiments, and vice versa.
이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. For example, it is to be understood that the techniques described may be performed in a different order than the described methods, and / or that components of the described systems, structures, devices, circuits, Lt; / RTI > or equivalents, even if it is replaced or replaced.
그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다.Therefore, other implementations, other embodiments, and equivalents to the claims are also within the scope of the following claims.
300 : 계측제어 설비에서의 프로그램 구동 장치
310 : 프로세서
320 : 인터페이스300: Program drive device in measurement control facility
310: Processor
320: Interface
Claims (14)
사용자 단말에서 상기 HMI 프로그램이 구현 됨에 따라, 상기 PLC 모듈에 관한 메뉴를, 상기 사용자 단말의 화면 상에 표시하는 인터페이스
를 포함하는 계측제어 설비에서의 프로그램 구동 장치.A processor for generating a function in the PLC program as a PLC module and registering the generated PLC module in a database in the HMI program; And
The HMI program is implemented in the user terminal, and a menu related to the PLC module is displayed on the screen of the user terminal
And a control unit for controlling the program.
상기 프로세서는,
상기 PLC 프로그램에서 유지되는 외부 서버의 통신접속 정보를, 상기 HMI 프로그램과 공유하고,
상기 공유되는 통신접속 정보를 이용하여 외부 서버와 접속하고, PLC 입출력단(I/O)을 통해 상기 외부 서버로부터 외부 데이터를 수신하는, 상기 PLC 프로그램의 통신접속 기능을 모듈화하여 상기 PLC 모듈로 생성하는
계측제어 설비에서의 프로그램 구동 장치.The method according to claim 1,
The processor comprising:
Sharing communication connection information of an external server held in the PLC program with the HMI program,
The communication connection function of the PLC program is modularized to be connected to an external server using the shared communication connection information and to receive external data from the external server through a PLC input / output terminal (I / O) doing
Program drive apparatus in a measurement control facility.
상기 프로세서는,
PLC 메모리에 대해, 상기 PLC 프로그램에서 관리하는 영역 정보를, 상기 HMI 프로그램과 공유하고,
상기 영역 정보에 의해 지정되는, 상기 PLC 메모리의 특정 영역에 대한 명령이 발생함에 따른, 상기 PLC 프로그램의 메모리 처리 기능을, 모듈화하여 상기 PLC 모듈로 생성하는
계측제어 설비에서의 프로그램 구동 장치.The method according to claim 1,
The processor comprising:
Sharing area information managed by the PLC program with the HMI program for the PLC memory,
And the memory processing function of the PLC program, which is specified by the area information and is generated when a command for a specific area of the PLC memory is generated, is modularized and generated by the PLC module
Program drive apparatus in a measurement control facility.
상기 인터페이스는,
사용자 단말에서의 동작을 선택 받고,
상기 프로세서는,
상기 HMI 프로그램이 구현되는 사용자 단말에서, 선택 받은 상기 동작에 관한 이벤트가 발생함에 따라,
상기 PLC 프로그램에 의해 감시되는 오브젝트에 관한 제어로직을 호출하고, 호출된 상기 제어로직을 편집하는, 상기 PLC 프로그램의 편집 기능을 모듈화하여 상기 PLC 모듈로 생성하는
계측제어 설비에서의 프로그램 구동 장치.The method according to claim 1,
The interface comprises:
An operation in the user terminal is selected,
The processor comprising:
In the user terminal in which the HMI program is implemented, as the event related to the selected operation occurs,
The editing function of the PLC program, which calls the control logic relating to the object monitored by the PLC program and edits the called control logic, is modularized and generated by the PLC module
Program drive apparatus in a measurement control facility.
상기 프로세서는,
원시 파일에 대한 컴파일(compile)시,
상기 HMI 프로그램에서의 사용을 위해 제작된 그래픽 오브젝트 파일을 호출하고,
상기 호출된 그래픽 오브젝트 파일을 수정하여, 상기 PLC 프로그램에서 사용하는 그래픽 오브젝트 파일을 제작하는, 상기 PLC 프로그램의 컴파일 기능을 모듈화하여 상기 PLC 모듈로 생성하는
계측제어 설비에서의 프로그램 구동 장치.The method according to claim 1,
The processor comprising:
When compiling the source file,
Calling a graphic object file created for use in the HMI program,
The compiling function of the PLC program for modifying the called graphic object file to produce a graphic object file used in the PLC program is modularized and generated by the PLC module
Program drive apparatus in a measurement control facility.
상기 인터페이스는,
상기 HMI 프로그램에서 사용하는 그래픽 오브젝트 파일과, 상기 PLC 프로그램에서 사용하는 그래픽 오브젝트 파일 각각에 대한 실행 메뉴를 구분하여, 상기 사용자 단말의 화면 상에 표시하는
계측제어 설비에서의 프로그램 구동 장치.6. The method of claim 5,
The interface comprises:
A graphical object file used in the HMI program and an execution menu for each graphic object file used in the PLC program are distinguished and displayed on the screen of the user terminal
Program drive apparatus in a measurement control facility.
상기 프로세서는,
상기 HMI 프로그램에서의 실행 파일의 실행 시,
상기 PLC 프로그램으로부터 상기 실행 파일을 정해진 주기 마다 전송 받는, 상기 PLC 프로그램의 파일통신 기능을 모듈화하여 상기 PLC 모듈로 생성하는
계측제어 설비에서의 프로그램 구동 장치.The method according to claim 1,
The processor comprising:
Upon execution of the executable file in the HMI program,
The file communication function of the PLC program is modularized and transmitted to the PLC module to receive the executable file from the PLC program for each predetermined period
Program drive apparatus in a measurement control facility.
상기 생성된 PLC 모듈을, HMI 프로그램 내의 데이터베이스에 등록하는 단계; 및
사용자 단말에서 상기 HMI 프로그램이 구현 됨에 따라, 상기 PLC 모듈에 관한 메뉴를, 상기 사용자 단말의 화면 상에 표시하는 단계
를 포함하는 계측제어 설비에서의 프로그램 구동 방법.Generating a function in the PLC program as a PLC module;
Registering the generated PLC module in a database in an HMI program; And
Displaying a menu related to the PLC module on the screen of the user terminal as the HMI program is implemented in the user terminal
Wherein the program control method comprises the steps of:
상기 PLC 모듈로 생성하는 단계는,
상기 PLC 프로그램에서 유지되는 외부 서버의 통신접속 정보를, 상기 HMI 프로그램과 공유하는 단계; 및
상기 공유되는 통신접속 정보를 이용하여 외부 서버와 접속하고, PLC 입출력단(I/O)을 통해 상기 외부 서버로부터 외부 데이터를 수신하는, 상기 PLC 프로그램의 통신접속 기능을 모듈화하여 상기 PLC 모듈로 생성하는 단계
를 포함하는 계측제어 설비에서의 프로그램 구동 방법.9. The method of claim 8,
Wherein the generating by the PLC module comprises:
Sharing communication connection information of an external server held in the PLC program with the HMI program; And
The communication connection function of the PLC program is modularized to be connected to an external server using the shared communication connection information and to receive external data from the external server through a PLC input / output terminal (I / O) Step
Wherein the program control method comprises the steps of:
상기 PLC 모듈로 생성하는 단계는,
PLC 메모리에 대해, 상기 PLC 프로그램에서 관리하는 영역 정보를, 상기 HMI 프로그램과 공유하는 단계; 및
상기 영역 정보에 의해 지정되는, 상기 PLC 메모리의 특정 영역에 대한 명령이 발생함에 따른, 상기 PLC 프로그램의 메모리 처리 기능을, 모듈화하여 상기 PLC 모듈로 생성하는 단계
를 포함하는 계측제어 설비에서의 프로그램 구동 방법.9. The method of claim 8,
Wherein the generating by the PLC module comprises:
Sharing area information managed by the PLC program with the HMI program for the PLC memory; And
Modulating the PLC program memory processing function in response to the generation of a command for a specific area of the PLC memory, which is designated by the area information,
Wherein the program control method comprises the steps of:
사용자 단말에서의 동작을 선택 받는 단계
를 더 포함하고,
상기 PLC 모듈로 생성하는 단계는,
상기 HMI 프로그램이 구현되는 사용자 단말에서, 선택 받은 상기 동작에 관한 이벤트가 발생함에 따라,
상기 PLC 프로그램에 의해 감시되는 오브젝트에 관한 제어로직을 호출하고, 호출된 상기 제어로직을 편집하는, 상기 PLC 프로그램의 편집 기능을 모듈화하여 상기 PLC 모듈로 생성하는 단계
를 포함하는 계측제어 설비에서의 프로그램 구동 방법.9. The method of claim 8,
Selecting an operation in the user terminal
Further comprising:
Wherein the generating by the PLC module comprises:
In the user terminal in which the HMI program is implemented, as the event related to the selected operation occurs,
Modifying the editing function of the PLC program to call the control logic related to the object monitored by the PLC program and editing the called control logic,
Wherein the program control method comprises the steps of:
상기 PLC 모듈로 생성하는 단계는,
원시 파일에 대한 컴파일시,
상기 HMI 프로그램에서의 사용을 위해 제작된 그래픽 오브젝트 파일을 호출하는 단계; 및
상기 호출된 그래픽 오브젝트 파일을 수정하여, 상기 PLC 프로그램에서 사용하는 그래픽 오브젝트 파일을 제작하는, 상기 PLC 프로그램의 컴파일 기능을 모듈화하여 상기 PLC 모듈로 생성하는 단계
를 포함하는 계측제어 설비에서의 프로그램 구동 방법.9. The method of claim 8,
Wherein the generating by the PLC module comprises:
When compiling the source file,
Calling a graphic object file created for use in the HMI program; And
Modifying the compiled function of the PLC program to produce the graphic object file used in the PLC program by modifying the called graphic object file,
Wherein the program control method comprises the steps of:
상기 사용자 단말의 화면 상에 표시하는 단계는,
상기 HMI 프로그램에서 사용하는 그래픽 오브젝트 파일과, 상기 PLC 프로그램에서 사용하는 그래픽 오브젝트 파일 각각에 대한 실행 메뉴를 구분하여, 상기 사용자 단말의 화면 상에 표시하는 단계
를 포함하는 계측제어 설비에서의 프로그램 구동 방법.13. The method of claim 12,
Wherein the step of displaying on the screen of the user terminal comprises:
Dividing the graphical object file used in the HMI program and the execution menu for each graphical object file used in the PLC program and displaying on the screen of the user terminal
Wherein the program control method comprises the steps of:
상기 PLC 모듈로 생성하는 단계는,
상기 HMI 프로그램에서의 실행 파일의 실행 시,
상기 PLC 프로그램으로부터 상기 실행 파일을 정해진 주기 마다 전송 받는, 상기 PLC 프로그램의 파일통신 기능을 모듈화하여 상기 PLC 모듈로 생성하는 단계
를 포함하는 계측제어 설비에서의 프로그램 구동 방법.9. The method of claim 8,
Wherein the generating by the PLC module comprises:
Upon execution of the executable file in the HMI program,
Modifying the file communication function of the PLC program to receive the executable file from the PLC program at a predetermined cycle,
Wherein the program control method comprises the steps of:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160150120A KR101907199B1 (en) | 2016-11-11 | 2016-11-11 | Device and method for driving program in instrumentation and control facility |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020160150120A KR101907199B1 (en) | 2016-11-11 | 2016-11-11 | Device and method for driving program in instrumentation and control facility |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20180052940A true KR20180052940A (en) | 2018-05-21 |
KR101907199B1 KR101907199B1 (en) | 2018-10-12 |
Family
ID=62453378
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020160150120A KR101907199B1 (en) | 2016-11-11 | 2016-11-11 | Device and method for driving program in instrumentation and control facility |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR101907199B1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112272802A (en) * | 2018-07-30 | 2021-01-26 | 欧姆龙株式会社 | Support device and support program |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002268707A (en) * | 2001-03-12 | 2002-09-20 | Omron Corp | Controller and tool, and system constituted of the same |
JP2003131710A (en) * | 2001-10-26 | 2003-05-09 | Digital Electronics Corp | Programmable display unit |
JP2003131709A (en) * | 2001-10-25 | 2003-05-09 | Digital Electronics Corp | Control display system, control program and recording medium storing the program |
JP2011108008A (en) * | 2009-11-18 | 2011-06-02 | Koyo Electronics Ind Co Ltd | Hmi-screen automatic generation method |
-
2016
- 2016-11-11 KR KR1020160150120A patent/KR101907199B1/en active IP Right Grant
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002268707A (en) * | 2001-03-12 | 2002-09-20 | Omron Corp | Controller and tool, and system constituted of the same |
JP2003131709A (en) * | 2001-10-25 | 2003-05-09 | Digital Electronics Corp | Control display system, control program and recording medium storing the program |
JP2003131710A (en) * | 2001-10-26 | 2003-05-09 | Digital Electronics Corp | Programmable display unit |
JP2011108008A (en) * | 2009-11-18 | 2011-06-02 | Koyo Electronics Ind Co Ltd | Hmi-screen automatic generation method |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112272802A (en) * | 2018-07-30 | 2021-01-26 | 欧姆龙株式会社 | Support device and support program |
CN112272802B (en) * | 2018-07-30 | 2024-04-09 | 欧姆龙株式会社 | Support device and recording medium |
Also Published As
Publication number | Publication date |
---|---|
KR101907199B1 (en) | 2018-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103150249B (en) | A kind of method and system of automatic test | |
CN112558928A (en) | Virtual design environment | |
US8527452B2 (en) | Construction of rules for use in a complex event processing system | |
CN102495802B (en) | Method and device for testing software system, and computer system | |
CN103092585A (en) | Image library configuration design system for integrated supervision software | |
US20220011756A1 (en) | Configuration of a modular plant | |
Di Marino et al. | Enhancing Human-Robot Collaboration in the Industry 5.0 Context: Workplace Layout Prototyping | |
CN104246702A (en) | Workflow compilation | |
US20170277170A1 (en) | Hmi system | |
EP1548581A2 (en) | Methods, apparatus and programs for system development | |
CN104133676A (en) | Function execution method and function execution device based on scripts | |
US20230333822A1 (en) | Graphical and text based co-design editor for industrial automation projects | |
CN103605526A (en) | Template componentized code generating method based on chain-of-responsibility pattern | |
KR101907199B1 (en) | Device and method for driving program in instrumentation and control facility | |
Prähofer et al. | Feature-oriented development in industrial automation software ecosystems: Development scenarios and tool support | |
CN111880793A (en) | HMI configuration system and method based on binary file | |
CN105446788B (en) | A kind of information processing method and electronic equipment | |
WO2021024520A1 (en) | Information processing device, support program, and support system | |
Nguyen et al. | Automatic construction of timing diagrams from UML/MARTE models for real-time embedded software | |
JP5726108B2 (en) | Editing apparatus and editing method | |
CN114518734B (en) | Control model integration method, device and medium thereof | |
CN112000366B (en) | System parameter configuration method and device based on code generator | |
US20100268652A1 (en) | Apparatus and method for configuring a workflow | |
CN114879943A (en) | Algorithm scheme generation method and device and computer readable storage medium | |
US12014172B2 (en) | Presentation design dynamic generation from data model server |
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 |