KR20110024477A - Monitoring system of plc system and monitoring method of plc system using the same - Google Patents

Monitoring system of plc system and monitoring method of plc system using the same Download PDF

Info

Publication number
KR20110024477A
KR20110024477A KR1020090082490A KR20090082490A KR20110024477A KR 20110024477 A KR20110024477 A KR 20110024477A KR 1020090082490 A KR1020090082490 A KR 1020090082490A KR 20090082490 A KR20090082490 A KR 20090082490A KR 20110024477 A KR20110024477 A KR 20110024477A
Authority
KR
South Korea
Prior art keywords
data
manager
monitoring
monitoring software
software
Prior art date
Application number
KR1020090082490A
Other languages
Korean (ko)
Other versions
KR101419558B1 (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 KR1020090082490A priority Critical patent/KR101419558B1/en
Publication of KR20110024477A publication Critical patent/KR20110024477A/en
Application granted granted Critical
Publication of KR101419558B1 publication Critical patent/KR101419558B1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/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/058Safety, monitoring
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • 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/14Plc safety
    • G05B2219/14006Safety, monitoring in general
    • 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/15019RS232 serial

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE: A monitoring system of PLC system and a monitoring method of a PLC system using the same are provided to monitor regard less of the number of a communication driver by enabling the data between monitoring software of the PLC system to be shared. CONSTITUTION: In a monitoring system of PLC system and a monitoring method of a PLC system using the same, a plurality of monitoring units(100_1~100_N) include a plurality of monitoring software. A scheduling unit(110) comprises the scheduling software The scheduling unit(110) controls a data transmission channel between the monitoring software and a communication driver. The scheduling unit includes a port connection administrator, a process manager, and a data manager. Communication drivers(120,130) transfer monitor data offered from a PLC system.

Description

PLC 시스템의 모니터링 시스템 및 그를 이용한 모니터링 방법{MONITORING SYSTEM OF PLC SYSTEM AND MONITORING METHOD OF PLC SYSTEM USING THE SAME}MONITORING SYSTEM OF PLC SYSTEM AND MONITORING METHOD OF PLC SYSTEM USING THE SAME}

본 발명은 Programmable Logic Control(이하 PLC) 시스템에 관한 것으로, 보다 자세하게는 PLC 시스템의 모니터링 시스템에 관한 것이다. The present invention relates to a programmable logic control (hereinafter referred to as PLC) system, and more particularly to a monitoring system of a PLC system.

전통적인 산업현장에서 자동화 설비는 릴레이등을 사용한 기계적인 장비로 구성되어 있었다. 기계적인 장비로 되어 있는 자동화 설비의 기능을 바꾸기 위해서는 설비 내부회로의 배선을 다시 일일히 고쳐야 하는 어려움이 있었다. 이러한 점을 해결하고자 만들어진 것이 PLC이다. In traditional industrial sites, automation equipment consisted of mechanical equipment using relays. In order to change the function of the automated equipment, which is a mechanical device, there was a difficulty in rewiring the internal circuit of the equipment. PLC was created to solve this problem.

PLC는 프로그램 가능한 논리적인 컨트롤러이다. PLC는 일반적으로 컴퓨터와 같은 역할을 하는데, 기계등의 설비에서 오는 신호를 받아서 내부에 프로그램된 내용대로 처리한 이후에 처리된 신호를 설비로 출력한다. PLC는 릴레이, 타이머 및 카운터 등과 같은 제어장치의 기능을 집적소자 및 트랜지스터 등과 같은 반도체 소자로 대체한 것으로서 기본적인 시퀀스 제어 기능에 수치 연산 기능을 추가하여 프 로그램 제어가 가능하고, 내부의 메모리에 미리 저장된 프로그램에 따라 소정의 로직을 수행한다. PLC는 장치제어, 장치 수치세팅, 시간제어, 실시간감시, 실시간 데이타수집, 및 안전장치 가동등 다양한 작업에 적용될 수 있다. The PLC is a programmable logical controller. The PLC generally acts like a computer. It receives signals from a facility such as a machine and processes them according to the contents programmed therein, and then outputs the processed signals to the facility. PLC replaces the functions of control devices such as relays, timers, and counters with semiconductor devices such as integrated devices and transistors, and adds arithmetic functions to basic sequence control functions to enable program control. Perform some logic in accordance with the stored program. The PLC can be applied to various tasks such as device control, device numerical setting, time control, real-time monitoring, real-time data collection, and safety device operation.

PLC 시스템이 예정된 대로 잘 구동하는지를 감시할 필요가 있는데, 주로 모니터링 소프트웨어를 저장한 개인용 컴퓨터(Personal Computer, 이하 PC)를 PLC 시스템과 연결시키고, 저장된 모니터링 소프트웨어를 이용한다. 일반적으로 PLC 시스템은 PC와 연결하기 위해서, PC에 있는 통신 포트를 이용하는데, 주로 PC의 USB 통신 포트와, RS232 통신 포트를 이용하여 접속한다. PC는 PC의 USB 통신 포트와 RS232 통신 포트를 이용하는 각각의 드라이버를 구비하고 있다.It is necessary to monitor whether the PLC system is operating as expected, mainly by connecting a personal computer (PC) storing the monitoring software to the PLC system and using the stored monitoring software. In general, a PLC system uses a communication port on a PC to connect to a PC. The PLC system mainly uses a USB communication port of the PC and an RS232 communication port. The PC has its own driver that uses the PC's USB and RS232 communication ports.

PC 에 있는 통신 포트의 수가 제한적이기 때문에 PLC 시스템의 모니터링은 제한적이 될 수 밖에 없다. Due to the limited number of communication ports on the PC, monitoring of the PLC system is inevitable.

본 발명은 보다 효과적으로 PLC 시스템의 다양한 상태를 모니터링할 수 있는 PLC 시스템의 모니터링 시스템 및 그 모니터링 방법을 제공한다.The present invention provides a monitoring system of a PLC system and a monitoring method thereof, which can more effectively monitor various states of a PLC system.

본 발명은 다수의 모니터링 소프트웨어를 각각 구비한 다수의 모니터링 유닛; PLC 시스템으로 제공되는 모니터 데이터를 전달하기 위한 통신 드라이버; 및 상기 모니터 데이터가 해당되는 모니터링 소프트웨어로 전달될 수 있도록, 상기 다수의 모니터링 소프트웨어와 상기 통신 드라이버간의 데이터 전달 채널을 제어하기 위한 스케줄링 소프트웨어를 구비한 스케줄링 유닛을 포함하는 PLC 시스템의 모니터링 시스템을 제공한다.The present invention includes a plurality of monitoring units each having a plurality of monitoring software; A communication driver for transferring monitor data provided to the PLC system; And a scheduling unit having a scheduling software for controlling a data transfer channel between the plurality of monitoring software and the communication driver so that the monitor data can be transferred to the corresponding monitoring software. .

또한 본 발명은 포트 접속관리자가 다수의 모니터링 소프트웨어중 선택된 하나의 모니터링 소프트웨어에 채널을 할당하는 단계; 상기 선택된 모니터링 소프트웨어로부터 모니터 데이터 요청 명령이 들어왔을 때, 데이터 관리자 또는 통신 드라이버를 통해 PLC 시스템으로 모니터 데이터를 전달받아 상기 선택된 모니터링 소프트웨어로부터 전달하는 단계; 및 상기 할당된 채널을 해제하는 단계를 포함하는 PLC 시스템의 모니터링 방법을 제공한다.In another aspect, the present invention provides a method comprising: assigning a channel to a monitoring software selected from a plurality of monitoring software by a port access manager; When a monitor data request command is received from the selected monitoring software, receiving monitor data from the selected monitoring software via a data manager or a communication driver; And releasing the allocated channel.

본 발명에 의해서 PLC와 연결된 PC에 구비된 통신 드라이버 또는 통신 포트의 수와 관계없이 보다 효과적으로 PLC 시스템의 상태를 다양하게 모니터링할 수 있다.According to the present invention, regardless of the number of communication drivers or communication ports provided in the PC connected to the PLC, it is possible to monitor the status of the PLC system more effectively.

이하, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 정도로 상세히 설명하기 위하여, 본 발명의 가장 바람직한 실시예를 첨부된 도면을 참조하여 설명하기로 한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings, in order to facilitate a person skilled in the art to easily carry out the technical idea of the present invention. do.

본 발명은 보다 효과적으로 PLC 시스템의 다양한 상태를 모니터링하기 위한 것이다. 특히 PLC 시스템의 모니터링 소프트웨어 간의 데이터 공유 방법에 관한 것으로, PLC의 중앙처리장치(Central Processing Unit)와 연결된 PC가 구비한 제한된 수의 통신 드라이버를 통해 여러 소프트웨어가 연결되어 모니터링 하는 PLC 모니터링 소프트웨어를 제공하고, 그 소프트웨어의 운영과 관련된 통신 드라이버의 운영 및 데이터 공유방법에 제공한다.The present invention is to more effectively monitor various states of a PLC system. In particular, it relates to data sharing method among monitoring software of PLC system. It provides PLC monitoring software that connects and monitors several softwares through a limited number of communication drivers provided by a PC connected to a PLC's Central Processing Unit. It provides a method of operating a communication driver and a data sharing method related to the operation of the software.

도1은 일반적인 PLC 시스템의 모니터링 시스템을 나타내는 블럭도이다.1 is a block diagram showing a monitoring system of a general PLC system.

도1에 도시된 바와 같이, PLC 시스템(20)과 연결된 PC(10)는 모니터링 소프트웨어를 구비하는 유닛(11,12), RS232 통신 드라이버(13)와, USB 통신 드라이버(14)를 구비한다. PLC 시스템(20)은 RS232 통신 드라이버(21)와, USB 통신 드라이버(22)와, 데이터 처리부(23)를 구비한다. As shown in Fig. 1, the PC 10 connected to the PLC system 20 includes units 11 and 12 having monitoring software, an RS232 communication driver 13, and a USB communication driver 14. The PLC system 20 includes an RS232 communication driver 21, a USB communication driver 22, and a data processing unit 23.

모니터링 소프트웨어를 구비하는 유닛(11,12)은 통신 드라이버(13,14)를 통 해 PLC 시스템으로부터 전달되어 오는 데이터를 모니터링하기 위한 블럭이다. 모니터링 소프트웨어1를 포함하는 유닛(11)은 통신 드라이버 RS 232(13)를 통해 모니터 데이터를 입력받아 처리하는 블럭이고, 모니터링 소프트웨어2를 포함하는 모니터링 유닛(12)은 통신 드라이버 USB(14)를 통해 모니터 데이터를 입력받아 처리하는 블럭이다.The units 11 and 12 with monitoring software are blocks for monitoring data transmitted from the PLC system via the communication drivers 13 and 14. The unit 11 including the monitoring software 1 is a block for receiving and processing monitor data through the communication driver RS 232 13, and the monitoring unit 12 including the monitoring software 2 is connected via the communication driver USB 14. This block receives and processes monitor data.

데이터 처리부(23)는 PLC 시스템의 예정된 동작을 수행하기 위한 블럭으로, 모니터링 소프트웨어를 구비하는 유닛(11,12)로 모니터링에 필요한 데이터를 제공하는 역할도 한다. PLC 시스템의 데이터 처리부(23)는 전체 시퀀스 및 모듈제어를 관장하는 중앙연산장치(Central Process Unit, 이하 CPU)와 입/출력, 통신, 특수 기능등을 하는 여러 모듈들의 조합으로 이루어진다. The data processor 23 is a block for performing a predetermined operation of the PLC system, and serves to provide data for monitoring to the units 11 and 12 having monitoring software. The data processing unit 23 of the PLC system is composed of a combination of various modules that perform input / output, communication, special functions, etc., with a central processing unit (CPU) that manages the entire sequence and module control.

PLC 시스템의 CPU와 각 모듈은 베이스라는 장치를 통해서 데이터를 공유한다. 이때 PLC 시스템의 동작 상태를 현장에서 PC 등을 통해서 점검하기 위해서는 PLC 모니터링 소프트웨어가 필요하다. 모니터링에 필요한 데이터는 CPU에 의해 수집되고, 통신 드라이버(21,22)를 통해 PC의 모니터링 소프트웨어로 전달된다. The CPU of the PLC system and each module share data through a device called a base. At this time, PLC monitoring software is needed to check the operation status of PLC system through PC in the field. The data necessary for monitoring is collected by the CPU and transferred to the monitoring software of the PC through the communication drivers 21 and 22.

일반적으로, PLC 시스템의 CPU가 제어하는 통신 드라이버는 2개 (RS232 또는 USB)로 한정 되어 있다. PLC 시스템의 다양한 모듈에서 제공하는 데이터를 전술한 통신 드라이버로 전달하는 것이다. 또한, 일반적으로 PC에 구비되는 통신 드라이버는 도시된 바와 같이, RS232 통신 드라이버(13)와, USB 통신 드라이버(14)가 있다. 이에 대응하여 모니터링 소프트웨어를 포함하는 모니터링 유닛이 2개가 배치되어 각각의 통신 드라이버(13,14)에서 제공되는 모니터 데이터를 전달받게 된다. 따라서 더 다양한 종류의 모니터 데이터를 모니터링 하려면 더 많은 소프트웨어가 필요하며, 그에 대응하여 통신 드라이버가 더 구비되어야 한다. 그러나, 일반적으로 PC 에 구비되는 통신 드라이버의 수는 정해져 있으며, PLC 시스템에서도 구비할 수 있는 통신 드라이버의 수는 제한적일 수 밖에 없다. 즉, 모니터링 소프트웨어와 통신 드라이버를 N:N 방식으로 하는 모니터링 시스템인 것이다. In general, the communication driver controlled by the CPU of the PLC system is limited to two (RS232 or USB). Data provided by various modules of the PLC system is transferred to the above-described communication driver. In general, the communication driver provided in the PC includes an RS232 communication driver 13 and a USB communication driver 14 as shown. Correspondingly, two monitoring units including monitoring software are arranged to receive the monitor data provided from the respective communication drivers 13 and 14. Therefore, more software is required to monitor more various kinds of monitor data, and correspondingly, more communication drivers are required. However, in general, the number of communication drivers provided in the PC is fixed, and the number of communication drivers that can be provided in the PLC system is limited. That is, it is a monitoring system using N: N method of monitoring software and communication driver.

지금까지 살펴본 바와 같은 PLC 시스템의 모니터링 시스템에서는 통신 드라이버의 수에 대응하여 모니터링 소프트 웨어가 구비되어야 한다. 여러 모니터링 소프트웨어 상에서 또는 동일한 모니터링 소프트웨어로 다양한 정보를 보고자 할 경우, 통신 드라이버 수에 의해 많은 제약이 있었다. 또한 각 모니터링 소프트 웨어가 요청하는 데이터가 비슷한 종류의 데이터라고 할지라도 항상 PLC 시스템이 그에 응답하고 처리하여야 했기 때문에, PLC 시스템이 처리하고 통신 드라이버를 통해 제공하는 시간이 일정하게 소요되어, 결국 모니터 데이터를 얻고 모니터링하는 데 많은 시간이 걸리는 단점이 있었다.In the monitoring system of the PLC system as described above, the monitoring software should be provided corresponding to the number of communication drivers. In order to view various information on multiple monitoring software or the same monitoring software, there are many limitations due to the number of communication drivers. In addition, even though the data requested by each monitoring software was of a similar kind, the PLC system always had to respond to and process the data. Therefore, the time that the PLC system processes and provides through the communication driver takes a certain amount of time. The disadvantage was that it takes a lot of time to get and monitor.

본 발명에서는 제한된 통신 드라이버로 PLC 시스템과 PC가 통신함에도 불구하고, 다양한 모니터링 소프트웨어들이 PLC 시스템 상의 여러 모듈의 정보를 보다 효과적으로 모니터링 할 수 있는 방법에 대해 제시한다.In the present invention, despite the communication between the PLC system and the PC with a limited communication driver, a variety of monitoring software proposes a method that can effectively monitor the information of the various modules on the PLC system.

도2는 본 발명의 바람직한 실시예에 따른 PLC 시스템의 모니터링 시스템을 나타내는 블럭도이다.2 is a block diagram illustrating a monitoring system of a PLC system according to a preferred embodiment of the present invention.

도2에 도시된 바와 같이, 본 실시예에 따른 PLC 모니터링 시스템은 PC에 구비되는 다수의 모니터링 소프트웨어를 각각 구비하는 모니터링 유닛(100_1 ~ 100_N)과, 스케줄링 소트트웨어를 포함하는 스케줄링 유닛(110)과, RS232 통신 드라이버(120)와, USB 통신 드라이버(130)를 포함한다. PLC 시스템(200)은 RS232 통신 드라이버(210)와, USB 통신 드라이버(220)와, 데이터 처리부(230)를 구비한다. As shown in FIG. 2, the PLC monitoring system according to the present embodiment includes a monitoring unit 100_1 to 100_N each having a plurality of monitoring software provided in a PC, a scheduling unit 110 including scheduling software, and RS232 communication driver 120 and USB communication driver 130. The PLC system 200 includes an RS232 communication driver 210, a USB communication driver 220, and a data processor 230.

본 실시예에서는 PLC 시스템의 상태를 모니터링 하는데 있어서, 통신 드라이버(120,130)와 다수의 모니터링 소프트웨어를 각각 구비하는 모니터링 유닛(100_1 ~ 100_N) 사이에 스케줄링 소프트웨어를 구비하는 스케줄링 유닛(110)을 두어서 다수의 모니터링 소프트웨어를 각각 구비하는 모니터링 유닛(100_1 ~ 100_N)이 한정된 포트를 통해서도 다양하게 모니터링 할 수 있다. In the present embodiment, in monitoring the state of the PLC system, a plurality of scheduling units 110 having scheduling software are provided between the communication drivers 120 and 130 and the monitoring units 100_1 to 100_N each having a plurality of monitoring software. The monitoring units 100_1 to 100_N each having the monitoring software may monitor variously through the limited port.

PLC 시스템(200)은 PC 상의 모니터링 소프트웨어의 요청에 따라 통신 드라이버(210,220)를 통해 모니터 데이터를 PC의 통신 드라이버(120,130)로 전달한다. 스케줄링 소프트웨어를 구비하는 모니터링 유닛(110)은 통신 드라이버(120,130)를 통해 전달된 모니터 데이터를 다수의 모니터링 소프트웨어를 구비하는 모니터링 유닛(100_1 ~ 100_N)에 전달하는 역할을 한다.The PLC system 200 transmits the monitor data to the communication drivers 120 and 130 of the PC through the communication drivers 210 and 220 according to a request of the monitoring software on the PC. The monitoring unit 110 having the scheduling software serves to deliver the monitor data transmitted through the communication drivers 120 and 130 to the monitoring units 100_1 to 100_N having the plurality of monitoring software.

도3은 도2에 도시된 스케줄링 소프트웨어의 내부구성을 나타내는 블럭도이다.FIG. 3 is a block diagram showing an internal configuration of the scheduling software shown in FIG.

도3을 참조하여 살펴보면, 스케줄링 소프트 웨어를 구비하는 스케줄링 유닛(110)은 포트 접속 관리자(111), 프로세스 관리자(112), 데이터 관리자(113)를 포함한다. 포트 접속 관리자(111)는 통신 드라이버(120,130)와의 접속 및 다수의 모니터링 소프트웨어를 구비하는 모니터링 유닛(100_1 ~ 100_N)과의 접속 기능을 담당한다. 프로세스 관리자(112)는 포트 접속 관리자(111)에 의해 생성된 각 채널 에 대해 하나의 프로세스를 할당하여 데이터를 처리하기 위한 것이다. 데이터 관리자(113)는 전체 모니터 데이터를 업데이트하고 검색하는 역할을 한다. 데이터 관리자(113)는 데이터 공유에 있어서 불필요한 데이터를 다시 읽지 않게 조정함으로써 다수의 모니터링 소프트웨어를 구비하는 모니터링 유닛(100 ~ 100_N)에서 PLC 시스템을 모니터링 할 때에 발생할 수 있는 데이터 업데이트 지연을 방지할 수 있다.Referring to FIG. 3, the scheduling unit 110 having the scheduling software includes a port access manager 111, a process manager 112, and a data manager 113. The port connection manager 111 is responsible for the connection function with the communication drivers 120 and 130 and with the monitoring units 100_1 to 100_N having a plurality of monitoring software. The process manager 112 allocates one process to each channel generated by the port access manager 111 to process data. The data manager 113 is responsible for updating and retrieving the entire monitor data. The data manager 113 may prevent data update delays that may occur when monitoring the PLC system in the monitoring units 100 to 100_N having a plurality of monitoring software by adjusting not to read again unnecessary data in data sharing. .

도4는 도2에 도시된 스케줄링 소프트웨어의 내부 동작 흐름을 보여주는 데이터 흐름도이다. FIG. 4 is a data flow diagram showing an internal operation flow of the scheduling software shown in FIG.

먼저 첫번째 흐름(1)은 채널할당 과정을 보여주고, 두번째 흐름(2)는 모니터링 소프트웨어로부터 모니터 데이터 요청 명령이 들어왔을 때의 과정을 보여주며, 세번째 흐름(3)은 접속 채널 해제 과정을 나타낸다. The first flow (1) shows the channel allocation process, the second flow (2) shows the process when a monitor data request command is received from the monitoring software, and the third flow (3) shows the access channel release process.

각각의 모니터링 소프트웨어를 구비하는 모니터링 유닛(100_1 ~ 100_N)중 하나가 모니터 데이터를 요청하면 스케줄링 소프트웨어를 구비하는 모니터링 유닛(110)의 포트 접속 관리자(111)에서 해당 모니터링 소프트웨어의 포트 종류에 따라 접속 채널을 할당한다.(1-1) 접속 채널이 할당되면 포트 접속 관리자(111)는 프로세스 관리자(112)에게 해당 모니터링 소프트웨어의 데이터를 처리하기 위한 프로세스를 생성하도록 요청한다.(1-2) 프로세스가 생성 된 후 모니터링 소프트웨어로부터 모니터 데이터 요청 명령이 포트 접속 관리자(111)에 입력되면(2-1), 포트 접속 관리자(111)는 프로세스 관리자(112)에게 현재 접속 채널 및 모니터 데이터 요청 명령을 전달한다.(2-2) When one of the monitoring units 100_1 to 100_N having the respective monitoring software requests the monitor data, the connection channel according to the port type of the corresponding monitoring software in the port connection manager 111 of the monitoring unit 110 having the scheduling software. (1-1) When the access channel is allocated, the port access manager 111 requests the process manager 112 to create a process for processing data of the corresponding monitoring software. (1-2) When the monitor data request command from the monitoring software is input to the port access manager 111 after being generated (2-1), the port access manager 111 transmits the current access channel and the monitor data request command to the process manager 112. . (2-2)

계속해서 살펴보면, 프로세스 관리자(112)는 데이터 관리자(113)에게 접속 채널 및 데이터 요청 명령을 전달하며(2-3), 데이터 관리자(113)는 프로세스 관리자(112)의 요청에 따라 데이터를 검색하여 현재 요청한 모니터 데이터가 업데이트 된 상태에 있으면 모니터 데이터를 전달한다.(2-4) 프로세스 관리자(112)는 이 모니터 데이터를 포트 접속 관리자(111)에 전달하여(2-5) 포트 접속 관리자(111)가 모니터 데이터를 요청한 채널에 모니터 데이터를 전달할 수 있도록 한다.(2-6) Continuing with reference, the process manager 112 transmits an access channel and a data request command to the data manager 113 (2-3), and the data manager 113 retrieves data according to the request of the process manager 112. If the currently requested monitor data is in the updated state, the monitor data is transmitted. (2-4) The process manager 112 transfers the monitor data to the port access manager 111 (2-5) to the port access manager 111. ) Enables monitor data to be delivered to the channel that requested the monitor data. (2-6)

만약 요청한 모니터 데이터가 존재하지 않으면 데이터 관리자(113)는 프로세스 관리자(112)에게 이를 알린다.(2-4') 프로세스 관리자(112)는 모니터 데이터 명령 실행요청을 포트 접속 관리자(111)에 보내어(2-5'), 포트 접속 관리자(111)가 해당되는 모니터 데이터를 PLC 시스템의 통신 드라이버를 통해 전달받도록 한다.(2-6') PLC 시스템의 응답에 의해 모니터링 명령 결과 데이터가 포트 접속 관리자(111)에 전달되면,(2-7') 포트 접속 관리자(111)는 프로세스 관리자(112)에 데이터를 전달하여(2-8') 명령 데이터가 데이터 관리자(113)에 의해 데이터 영역에 업데이트되도록 한다. (2-9') 모니터링 소프트웨어에서 접속 채널 해제 요청을 하면,(3-1) 포트 접속 관리자(111)는 프로세스 관리자에 해당 채널의 프로세스를 종료 요청(3-2) 하며 프로세스 종료 후 해당 접속 채널의 자원들을 해제하게 된다.If the requested monitor data does not exist, the data manager 113 informs the process manager 112 (2-4 '). The process manager 112 sends a monitor data command execution request to the port access manager 111 ( 2-5 '), the port connection manager 111 receives the corresponding monitor data through the communication driver of the PLC system. (2-6') In response to the PLC system, the monitoring command result data is transmitted to the port connection manager ( 111, the port access manager 111 passes data to the process manager 112 (2-8 ') so that the command data is updated in the data area by the data manager 113. do. (2-9 ') When the access software releases a request from the monitoring software (3-1), the port access manager 111 requests the process manager to terminate the process of the corresponding channel (3-2). Will free resources.

도5는 도2에 도시된 스케줄링 소프트웨어의 포트 접속 관리자의 동작을 보여주는 플로차트이다.FIG. 5 is a flowchart showing the operation of the port access manager of the scheduling software shown in FIG.

포트 접속 요청이 들어오면, 포트 접속 관리자는 포트별 접속 채널을 할당하고 프로세스 관리자에 프로세스 할당 요청을 보낸다. 모니터 데이터 요청이 들어왔을 경우 모니터 데이터 요청 명령을 프로세스 관리자에 보내고 이에 대한 응답으로 데이터가 도착하면 해당 데이터를 모니터 데이터 접속 채널상에 연결된 포트로 전송한다. 만약 요청한 모니터 데이터가 존재하지 않으면 모니터 데이터 요청을 실행하여 접속 포트를 통해 PLC 시스템에 모니터 데이터를 요청하게 된다. 이 결과로 모니터 데이터가 도착하면 데이터 업데이트를 프로세스 관리자에 요청한다.When a port access request comes in, the port access manager allocates a port-specific access channel and sends a process assignment request to the process manager. When a monitor data request comes in, a monitor data request command is sent to the process manager, and in response, the data is sent to a port connected on the monitor data connection channel. If the requested monitor data does not exist, the monitor data request is executed and the monitor data is requested to the PLC system through the connection port. As a result, when monitor data arrives, it asks the process manager to update the data.

모니터링 소프트웨어로부터 포트 해제 요청이 들어오면 해당 포트에 대한 채널 설정을 해제하고 해당 프로세스를 해제하게 된다. 포트 접속 관리자 종료 요청이 들어오면 전체 포트 접속을 해제하고 현재 활성화된 모든 프로세스 해제 요청을 프로세스 관리자에 한 후 프로세스 관리자를 종료한다.When a port release request comes from the monitoring software, it releases the channel setting for that port and releases the process. When a port access manager exit request comes in, it releases all port accesses, sends all currently active process release requests to process manager, and then exits process manager.

도6은 도2에 도시된 스케줄링 소프트웨어의 프로세스 관리자의 동작을 보여주는 플로차트이다.6 is a flowchart showing the operation of the process manager of the scheduling software shown in FIG.

포트 접속 관리자로부터 프로세스 할당 요청이 들어오면 프로세스 ID를 할당하고 프로세스를 생성하게 된다. 포트 접속 관리자로부터 모니터 데이터 들어왔을 경우 모니터 데이터 요청 데이터 관리자에 보내면 이에 대한 응답으로 데이터가 도착하면 해당 데이터를 포트 접속 관리자에 전송한다. 만약 요청한 모니터 데이터가 존재하지 않으면 포트 접속 관리자에 모니터 데이터 요청을 하게 된다. 포트 접속 관리자로부터 데이터 업데이트 요청이 들어오면 해당 데이터를 데이터 관리자에 전송한다.When a process allocation request comes in from a port access manager, a process ID is assigned and a process is created. When the monitor data is received from the port access manager, the monitor data request is sent to the data manager. If the data arrives in response, the data is sent to the port access manager. If the requested monitor data does not exist, the monitor data request is made to the port access manager. When a data update request comes from the port access manager, the data is sent to the data manager.

포트 접속 관리자로부터 활성 프로세스 종료 요청이 들어오면 해당 프로세스를 종료하게 된다. 프로세스 관리자 종료 요청이 들어오면 전체 활성 프로세스를 종료하고 프로세스 관리자를 종료하게 된다.When an active process termination request is received from the port access manager, the process is terminated. When a request to terminate the process manager comes in, it terminates all active processes and terminates the process manager.

도7은 도2에 도시된 스케줄링 소프트웨어의 데이터 관리자의 동작을 보여주는 플로차트이다.7 is a flowchart showing the operation of the data manager of the scheduling software shown in FIG.

모니터 데이터 요청이 들어오면 해당 데이터가 현재 저장된 공유 데이터 상에 업데이트 되어 있는지 확인하고 데이터가 존재하면 데이터를 프로세스 관리자에 전달하게 된다. 만약 현재 업데이트 된 데이터가 존재하지 않으면 모니터 데이터 요청을 프로세스 관리자에게 요청한다.When a monitor data request comes in, it checks to see if the data is updated on the currently stored shared data and, if the data exists, sends the data to the process manager. If there is no data currently updated, request a monitor data request from the process manager.

프로세스 관리자로부터 데이터 업데이트 요청이 들어오면 해당 데이터를 공유 데이터 상에서 검색하여 데이터를 업데이트 하게 된다. 데이터 관리자 종료 요청이 프로세스 관리자로부터 들어오면 공유 데이터를 해제하고 데이터 관리자를 종료하게 된다.When a data update request comes from the process manager, the data is retrieved from the shared data and updated. When a data manager exit request comes from the process manager, it releases the shared data and exits the data manager.

본 실시예에 의한 PLC 시스템의 모니터링 시스템은 스케줄링 소프트웨어의 포트 접속 관리자를 통해 접속 포트를 관리함으로서, 제한된 접속 포트에 대해서 복수의 모니터링 소프트웨어를 접속 가능하게 하여 PC와 PLC 시스템 사이의 제한 된 접속 포트를 이용하여 여러 모듈의 상태 정보를 다양한 방법으로 확인할 수 있다.The monitoring system of the PLC system according to the present embodiment manages the connection port through the port connection manager of the scheduling software, thereby making it possible to connect a plurality of monitoring software to the restricted connection port, thereby limiting the restricted connection port between the PC and the PLC system. You can check the status information of various modules in various ways.

또한, 본 실시예에 의한 PLC 시스템의 모니터링 시스템은 스케줄링 소프트웨어의 데이터 관리자를 통해 데이터를 관리함으로써 복수의 모니터링 소프트웨어에서 같은 모니터 데이터를 요구할 때에 발생할 수 있는 불필요한 데이터 요청에 의한 모니터링 속도 지연등을 해결 할 수 있다. In addition, the monitoring system of the PLC system according to the present embodiment manages the data through the data manager of the scheduling software to solve the monitoring speed delay due to unnecessary data requests that may occur when the same monitor data is requested from a plurality of monitoring software. Can be.

이상에서 대표적인 실시예를 통하여 본 발명에 대하여 상세하게 설명하였으 나, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자는 상술한 실시예에 대하여 본 발명의 범주에서 벗어나지 않는 한도 내에서 다양한 변형이 가능함을 이해할 것이다. 그러므로 본 발명의 권리범위는 설명된 실시예에 국한되어 정해져서는 안되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등한 것들에 의해 정해져야 한다.Although the present invention has been described in detail through the representative embodiments, those skilled in the art can make various modifications without departing from the scope of the present invention with respect to the embodiments described above. Will understand. Therefore, the scope of the present invention should not be limited to the described embodiments, but should be determined by the scope of the appended claims, as well as the appended claims.

도1은 일반적인 PLC 시스템의 모니터링 시스템을 나타내는 블럭도.1 is a block diagram showing a monitoring system of a general PLC system.

도2는 본 발명의 바람직한 실시예에 따른 PLC 시스템의 모니터링 시스템을 나타내는 블럭도.2 is a block diagram showing a monitoring system of a PLC system according to a preferred embodiment of the present invention.

도3은 도2에 도시된 스케줄링 소프트웨어의 내부구성을 나타내는 블럭도.3 is a block diagram showing an internal configuration of the scheduling software shown in FIG.

도4는 도2에 도시된 스케줄링 소프트웨어의 내부 동작흐름을 보여주는 데이터 흐름도.4 is a data flow diagram showing an internal operation flow of the scheduling software shown in FIG.

도5는 도2에 도시된 스케줄링 소프트웨어의 포트접속 관리자의 동작을 보여주는 플로차트.5 is a flowchart showing the operation of the port access manager of the scheduling software shown in FIG.

도6은 도2에 도시된 스케줄링 소프트웨어의 프로세스 관리자의 동작을 보여주는 플로차트.6 is a flowchart showing the operation of the process manager of the scheduling software shown in FIG.

도7은 도2에 도시된 스케줄링 소프트웨어의 데이터 관리자의 동작을 보여주는 플로차트.7 is a flowchart showing the operation of the data manager of the scheduling software shown in FIG.

* 도면의 주요부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings

100: PC 100: PC

200: PLC 시스템200: PLC system

100_1 ~ 100_N: 모니터링 소프트웨어를 구비하는 유닛100_1 to 100_N: unit with monitoring software

110: 스케줄링 소프트웨어를 구비하는 유닛110: unit with scheduling software

120: RS232 통신 드라이버 120: RS232 communication driver

130: USB 통신 드라이버130: USB communication driver

Claims (8)

다수의 모니터링 소프트웨어를 각각 구비한 다수의 모니터링 유닛;A plurality of monitoring units each having a plurality of monitoring software; PLC 시스템으로 제공되는 모니터 데이터를 전달하기 위한 통신 드라이버; 및A communication driver for transferring monitor data provided to the PLC system; And 상기 모니터 데이터가 해당되는 모니터링 소프트웨어로 전달될 수 있도록, 상기 다수의 모니터링 소프트웨어와 상기 통신 드라이버간의 데이터 전달 채널을 제어하기 위한 스케줄링 소프트웨어를 구비한 스케줄링 유닛A scheduling unit having scheduling software for controlling a data transfer channel between the plurality of monitoring software and the communication driver so that the monitor data can be transferred to the corresponding monitoring software 을 포함하는 PLC 시스템의 모니터링 시스템.Monitoring system of the PLC system comprising a. 제 1 항에 있어서,The method of claim 1, 상기 스케줄링 유닛은The scheduling unit 상기 통신 드라이버와의 접속 및 상기 다수의 모니터링 소프트웨어와의 접속하여 데이터를 전송하기 위해 채널을 생성하는 포트 접속 관리자;A port access manager for creating a channel for connecting data with the communication driver and with the plurality of monitoring software to transmit data; 상기 포트 접속 관리자에 의해 생성된 각 채널에 대해 프로세스를 할당하기 위한 프로세스 관리자; 및A process manager for allocating a process for each channel created by the port access manager; And 상기 포트 접속 관리자에 의해 제공받은 데이터를 관리하고 업데이트하기 위한 데이터 관리자를 포함하는 PLC 시스템의 모니터링 시스템.And a data manager for managing and updating data provided by the port access manager. 제 1 항에 있어서,The method of claim 1, 상기 통신 드라이버는The communication driver RS232 통신 드라이버 이거나 USB 통신 드라이버인 것을 특징으로 하는 PLC 시스템의 모니터링 시스템.Monitoring system of PLC system, characterized by RS232 communication driver or USB communication driver. 포트 접속관리자가 다수의 모니터링 소프트웨어중 선택된 하나의 모니터링 소프트웨어에 채널을 할당하는 단계;A port access manager assigning a channel to a monitoring software selected from among a plurality of monitoring software; 상기 선택된 모니터링 소프트웨어로부터 모니터 데이터 요청 명령이 들어왔을 때, 데이터 관리자 또는 통신 드라이버를 통해 PLC 시스템으로 모니터 데이터를 전달받아 상기 선택된 모니터링 소프트웨어로부터 전달하는 단계; 및When a monitor data request command is received from the selected monitoring software, receiving monitor data from the selected monitoring software via a data manager or a communication driver; And 상기 할당된 채널을 해제하는 단계를 포함하는 PLC 시스템의 모니터링 방법.Releasing the allocated channel. 제 4 항에 있어서,The method of claim 4, wherein 상기 채널을 할당하는 단계는Allocating the channel 상기 모니터링 소프트웨어중 선택된 모니터링 소프트웨어가 모니터 데이터를 요청하는 단계;Requesting monitor data from the monitoring software selected from the monitoring software; 상기 포트 접속 관리자에서 상기 선택된 모니터링 소프트웨어의 포트 종류에 따라 접속 채널을 할당하는 단계; 및Allocating an access channel according to a port type of the selected monitoring software in the port access manager; And 상기 포트 접속 관리자는 프로세스 관리자에게 해당 모니터링 소프트웨어의 데이터를 처리하기 위한 프로세스를 생성하도록 요정하는 단계를 포함하는 PLC 시스템의 모니터링 방법.And the port access manager issuing a process manager to create a process for processing data of the corresponding monitoring software. 제 5 항에 있어서,The method of claim 5, 상기 선택된 모니터링 소프트웨어로부터 전달하는 단계는Delivering from the selected monitoring software 상기 선택된 모니터링 소프트웨어로부터 모니터 데이터 요청 명령이 상기 포트 접속 관리자에 입력되면, 상기 포트 접속 관리자는 상기 프로세스 관리자에게 상기 모니터 데이터 요청 명령을 전달하는 단계; If a monitor data request command from the selected monitoring software is input to the port access manager, the port access manager forwarding the monitor data request command to the process manager; 상기 프로세스 관리자가 상기 데이터 관리자에게 데이터 요청 명령을 전달하는 단계;The process manager forwarding a data request command to the data manager; 상기 데이터 관리자가 상기 프로세스 관리자의 요청에 따라 데이터를 검색하여 현재 요청한 모니터 데이터가 업데이트 된 상태에 있으면 모니터 데이터를 상기 포트 접속 관리자에게 전달하는 단계; 및Retrieving data according to a request of the process manager, and transmitting monitor data to the port access manager when the currently requested monitor data is in an updated state; And 상기 포트 접속 관리자는 상기 모니터 데이터를 요청한 채널에 연결된 상기 모니터 소프트웨어로 전달하는 단계The port access manager forwarding the monitor data to the monitor software connected to the requested channel; 를 포함하는 PLC 시스템의 모니터링 방법.Monitoring method of the PLC system comprising a. 제 6 항에 있어서,The method of claim 6, 상기 요청한 모니터 데이터가 상기 데이터 관리자에게 존재하지 않으면, 상기 프로세스 관리자는 모니터 데이터 명령 실행요청을 상기 포트 접속 관리자에 전달하는 단계;If the requested monitor data does not exist in the data manager, the process manager forwarding a monitor data command execution request to the port access manager; 상기 포트 접속 관리자가 PLC 시스템으로부터 상기 명령의 결과에 따른 데이터를 전달받는 단계; 및Receiving, by the port access manager, data according to a result of the command from a PLC system; And 상기 데이터를 데이터 관리자가 업데이트 하는 단계를 더 포함하는 PLC 시스템의 모니터링 방법.And updating the data by the data manager. 제 7 항에 있어서,The method of claim 7, wherein 상기 할당된 채널을 해제하는 단계는Releasing the assigned channel 상기 선택된 모니터링 소프트웨어에서 접속 채널 해제 요청을 하면, 상기 포트 접속 관리자는 상기 프로세스 관리자에 해당 채널의 프로세스를 종료하도록 요청하고, 프로세스 종료 후 해당 접속 채널의 자원들을 해제하는 것을 특징으로 하는 PLC 시스템의 모니터링 방법.When the access monitoring channel release request is made by the selected monitoring software, the port access manager requests the process manager to terminate the process of the corresponding channel, and releases the resources of the access channel after the process is terminated. Way.
KR1020090082490A 2009-09-02 2009-09-02 Monitoring system of plc system and monitoring method of plc system using the same KR101419558B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020090082490A KR101419558B1 (en) 2009-09-02 2009-09-02 Monitoring system of plc system and monitoring method of plc system using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020090082490A KR101419558B1 (en) 2009-09-02 2009-09-02 Monitoring system of plc system and monitoring method of plc system using the same

Publications (2)

Publication Number Publication Date
KR20110024477A true KR20110024477A (en) 2011-03-09
KR101419558B1 KR101419558B1 (en) 2014-07-14

Family

ID=43932308

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020090082490A KR101419558B1 (en) 2009-09-02 2009-09-02 Monitoring system of plc system and monitoring method of plc system using the same

Country Status (1)

Country Link
KR (1) KR101419558B1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104360631A (en) * 2014-11-12 2015-02-18 宁夏嘉翔自控技术有限公司 Oil field boiler control system
KR20210051864A (en) 2019-10-31 2021-05-10 주식회사 유디엠텍 Apparatus and method System managing data for controlling of Programmable Logic Controller
KR20210051863A (en) 2019-10-31 2021-05-10 주식회사 유디엠텍 Apparatus and method System managing data for controlling of Programmable Logic Controller
KR20210133111A (en) 2020-04-27 2021-11-05 주식회사 유디엠텍 Method for generating flow-chart using static data of PLC program information

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4492778B2 (en) * 2001-08-30 2010-06-30 豊和工業株式会社 Communication system in monitoring system
KR101283026B1 (en) * 2007-10-09 2013-07-05 현대자동차주식회사 System for real time control of total control system and method thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104360631A (en) * 2014-11-12 2015-02-18 宁夏嘉翔自控技术有限公司 Oil field boiler control system
KR20210051864A (en) 2019-10-31 2021-05-10 주식회사 유디엠텍 Apparatus and method System managing data for controlling of Programmable Logic Controller
KR20210051863A (en) 2019-10-31 2021-05-10 주식회사 유디엠텍 Apparatus and method System managing data for controlling of Programmable Logic Controller
KR20210133111A (en) 2020-04-27 2021-11-05 주식회사 유디엠텍 Method for generating flow-chart using static data of PLC program information

Also Published As

Publication number Publication date
KR101419558B1 (en) 2014-07-14

Similar Documents

Publication Publication Date Title
US8255095B2 (en) Modular avionics system of an aircraft
KR100689323B1 (en) Fieldbus network multiplexing system
JP3050355B2 (en) Transmission system for data exchange
JPS6387435A (en) Information transmission control method for elevator system
KR20110024477A (en) Monitoring system of plc system and monitoring method of plc system using the same
EP3771989A2 (en) Overlay layer for network of processor cores
KR20020008955A (en) Bus system and execution scheduling method for access commands thereof
CN110169017B (en) Control device and communication device
KR102080078B1 (en) Automation system and method for operation
US20230281155A1 (en) Overlay layer hardware unit for network of processor cores
CN103999002A (en) A relay interface module for a distributed control system
RU2713757C1 (en) Reconfigurable computing system
EP3582444B1 (en) Control device and communication device
KR100718082B1 (en) Multi-port I2C controller and method thereof
KR100334702B1 (en) Apparatus to process of multi-level protocol
US20070130390A1 (en) Method and apparatus for effective package memory bandwidth management
KR20160035446A (en) Control method of factory automation system, recording medium recording a program therefor and central processor of factory automation system
KR0136520B1 (en) Distributed control system
JP2655680B2 (en) Communication control method with level
JPH0476751A (en) Communication control system for communication control equipment
JPS63113714A (en) Communication network for closed area
JPH07219803A (en) Multiplex computer control system
JPH0612421A (en) Distributed building managing system
JPH08328638A (en) Fa system constructing method and fa system device
JPS61221863A (en) Control system for main memory access

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
FPAY Annual fee payment

Payment date: 20170703

Year of fee payment: 4

FPAY Annual fee payment

Payment date: 20180702

Year of fee payment: 5

FPAY Annual fee payment

Payment date: 20190701

Year of fee payment: 6