KR100237613B1 - Remote redundant system and control method in plc - Google Patents

Remote redundant system and control method in plc Download PDF

Info

Publication number
KR100237613B1
KR100237613B1 KR1019970009915A KR19970009915A KR100237613B1 KR 100237613 B1 KR100237613 B1 KR 100237613B1 KR 1019970009915 A KR1019970009915 A KR 1019970009915A KR 19970009915 A KR19970009915 A KR 19970009915A KR 100237613 B1 KR100237613 B1 KR 100237613B1
Authority
KR
South Korea
Prior art keywords
data
output
remote
input
remote slave
Prior art date
Application number
KR1019970009915A
Other languages
Korean (ko)
Other versions
KR19980074206A (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 KR1019970009915A priority Critical patent/KR100237613B1/en
Publication of KR19980074206A publication Critical patent/KR19980074206A/en
Application granted granted Critical
Publication of KR100237613B1 publication Critical patent/KR100237613B1/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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B9/00Safety arrangements
    • G05B9/02Safety arrangements electric
    • G05B9/03Safety arrangements electric with multiple-channel loop, i.e. redundant control systems
    • 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/11Plc I-O input output
    • G05B2219/1157I-O used either as input or as output
    • 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/12Plc mp multi processor system
    • G05B2219/1215Master slave system
    • 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/13Plc programming
    • G05B2219/13164Remote and local programming unit, control panel
    • 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/14015Dual plc's, processors and dual I-O

Abstract

본 발명은 피엘씨 리모트 이중화 시스템 및 제어방법에 관한 것으로, 종래에는 마스터 국의 전원이 끊긴 경우나 통신라인의 단선 등에 의한 통신 두절시에 리모트 슬레이브 유닛(RSU)은 마스터 국에서 데이터를 수신할 수 없으므로 통신두절 직전에 최종으로 수신한 출력데이터를 출력모듈을 통해 출력할 수 밖에 없으므로 통신두절 등과 같은 비상시에는 리모트 국의 출력값 제어가 불가능하고, 리모트 국의 이상상태 발생시에는 입,출력을 제어할 수 없으며 노이즈에 의한 오 데이터가 통신상으로 전달될 때 여과없이 그대로 출력 모듈로 출력되므로 리모트 시스템의 신뢰성을 저하사키는 문제점이 있다. 따라서 본 발명은 통신케이블을 통해 상대국과의 데이터 통신을 하는 두 개의 모뎀(1)(1′)과; 정해진 프로토콜에 의해 마스터국과의 데이터 송수신을 하는 송수신 모듈(2)과; 출력카드로 출력될 데이터를 마스터국에서 수신하여 저장하는 출력데이터 저장부(4)와; 입력모듈로 부터 입력데이터를 읽어 저장하는 입력데이터 저장부(6)와; 비상시 출력값을 설정하여 저장하는 비상출력 데이터 저장부(5)와; 리모트 국의 입출력 모듈(I/0)로 데이터를 출력하거나 그로부터 데이터를 입력받으며, 입출력 카드정보 및 착탈유무를 제어하는 입출력 제어모듈(7)과; 외부기긱 제어를 실제로 행하는 입출력 모듈(8)을 이용하여 이중화로 구성하고, 이렇게 이중화로 구성된 각각의 리모트 슬레이브 유닛 사이에 인터록 장치를 삽입하여 서로 감시하도록 하여 이상상태에서는 오 데이터를 출력하지 않도록 하여 시스템의 오동작을 막도록 함과 아울러 신뢰성을 향상 시킬 수 있도록 한다.The present invention relates to a PRC remote redundancy system and a control method. In the related art, a remote slave unit (RSU) can receive data from a master station when the master station is powered off or when communication is lost due to disconnection of a communication line. Therefore, the output data finally received just before the communication interruption can be output through the output module, so it is impossible to control the output value of the remote station in case of emergency such as communication interruption, and to control the input and output in case of abnormal status of the remote station. In addition, there is a problem that the reliability of the remote system is deteriorated because false data due to noise is outputted to the output module without being filtered when it is transmitted through communication. Therefore, the present invention provides two modems (1) (1 ') for data communication with a counterpart station via a communication cable; A transmission / reception module (2) for performing data transmission and reception with a master station by a predetermined protocol; An output data storage section 4 for receiving and storing data to be output to the output card at the master station; An input data storage unit 6 for reading and storing input data from the input module; An emergency output data storage unit 5 for setting and storing an emergency output value; An input / output control module 7 for outputting data to or receiving data from an input / output module I / 0 of a remote station, and controlling input / output card information and attachment / detachment; The system is configured with redundancy using the input / output module 8 which actually performs external device control, and interlock devices are inserted between the remote slave units configured as redundant to monitor each other so that no error data is output in the abnormal state. It prevents malfunctions and improves reliability.

Description

피엘씨 리모트 이중화 시스템 및 제어방법PRC remote redundancy system and control method

본 발명은 리모트 국의 리모트 슬레이브 유닛을 이중화로 구성하고 이 이중화된 유닛간의 상호 데이터를 교환 및 체크함으로써 이상상태가 발생하면 데이터를 수신하지 않아 오 동작을 방지하도록 한 피엘씨 리모트 이중화 시스템에 관한 것으로, 특히 이중화된 리모트 슬레이브 유닛간에 인터록 장치를 삽입하여 서로를 감시하도록 하여 리모트 시스템의 신뢰성을 향상시키도록 한 피엘씨 리모트 이중화 시스템 및 제어방법에 관한 것이다.The present invention relates to a PRC remote redundancy system in which a remote slave unit of a remote station is configured in redundancy and exchanges and checks mutual data between the duplicated units so as to prevent a malfunction by not receiving data when an abnormal state occurs. In particular, the present invention relates to a PRC remote redundancy system and a control method for improving reliability of a remote system by inserting interlock devices between redundant remote slave units to monitor each other.

피엘씨(PLC)를 이용하여 제어시스템을 구성할 때 피엘씨 씨피유(CPU)와 원거리에 입출력 모듈이 필요한 경우, 피엘씨 씨피유 및 통신 모듈을 설치하지 않고 통신기능과 입출력 제어기능을 겸비한 리모트 슬레이브 유닛(RSU)를 설치하는 것이 경제적이어서, 상기 리모트 슬레이브 유닛(RSU)는 피엘씨 씨피유의 입출력 확장 용도 및 원거리 입출력 제어 용도에 많이 사용되고 있다.When configuring a control system using PLC, if the PLC and I / O module are needed at a long distance, the remote slave unit combines the communication function and the I / O control function without installing the PPC and the communication module. Since it is economical to install (RSU), the remote slave unit (RSU) has been widely used for the input / output expansion application of PPC CPI and the remote input / output control application.

상기에서와 같은 용도로 사용되고 있는 종래 링크 마스터 국과 리모트 슬레이브 유닛(RSU)으로 이루어진 통신시스템의 구성은, 제1도에 도시된 바와같이, 피엘씨(PLC)에 장착된 모듈로 네트워크상에서 마스터국으로 작용하여 통신권을 가지며 자신의 입출력 접점을 제어함과 아울러 네트워크 상의 모든 입출력 접점을 제어하는 링크국(LINK) 및 입출력 모듈(I/O)로 이루어진 마스터 국(M1)과; 상기 마스터 국(M1)과 데이터 통신을 통하여 자신의 입출력 모듈(I/O)을 제어하는 n개의 리모트 슬레이브 유닛(RSU)으로 이루어진 리모트 국(S1,S2,S3,....,Sn)으로 구성된다.The configuration of a communication system consisting of a conventional link master station and a remote slave unit (RSU) used for the same purpose as described above is, as shown in FIG. 1, a module mounted on a PLC (PLC) master station on a network. A master station (M1) consisting of a link station (LINK) and an input / output module (I / O) for controlling all input / output contacts on the network as well as having a communication right and controlling its input / output contacts; To the remote station (S1, S2, S3, ..., Sn) composed of n remote slave units (RSU) for controlling its input / output module (I / O) through data communication with the master station (M1). It is composed.

상기에서 리모트 슬레이브 유닛(RSU)는, 제2도에 도시된 바와같이, 통신케이블을 통해 상대국과의 데이터 통신을 하는 모뎀(1)과; 정해진 프로토콜에 의해 마스터국과의 데이터 송수신을 하는 송수신 모듈(2)과; 출력카드로 출력될 데이터를 마스터국에서 수신하여 저장하는 출력데이터 저장부(4)와; 입력모듈로 부터 입력데이터를 읽어 저장하는 입력데이터 저장부(5)와; 리모트 국의 입출력 모듈(I/O)로의 데이터 출력 및 입력을 행하며, 입출력 카드정보 및 착탈유물를 제어하는 입출력 제어모듈(6)과; 외부기기 제어를 실제로 행하는 입출력 모듈(7)로 구성된다.In the above, the remote slave unit (RSU) includes a modem (1) for data communication with a counterpart station via a communication cable, as shown in FIG. A transmission / reception module (2) for performing data transmission and reception with a master station by a predetermined protocol; An output data storage section 4 for receiving and storing data to be output to the output card at the master station; An input data storage unit 5 for reading and storing input data from the input module; An input / output control module 6 for outputting and inputting data to and from the remote station's input / output module (I / O), and controlling input / output card information and removal items; It consists of the input / output module 7 which actually performs external device control.

이와같이 구성된 종래의 기술에 대하여 상세히 살펴보면 다음과 같다.Looking at the prior art configured as described above in detail.

마스터 국(M1)의 링크국(LINK)은 피엘씨(PLC)에 장착된 링크모듈로 네트워크 상에서 마스터 국(M1)으로 작용하여 통신권을 가지고 있으며, 최대 n국의 리모트 슬레이브 유닛(RSU)을 슬레이브 국으로 설정할 수 있고, 리모트 슬레이브 유닛(RSU)은 자국번 및 마스터 국을 하드웨어적으로 설정하여 마스터 국(M1)으로 부터 통신권을 배분받아 마스터 국과 데이터 교환을 한다.The link station (LINK) of the master station (M1) is a link module installed in the PLC and acts as a master station (M1) on the network and has a communication right, and the remote slave unit (RSU) of up to n stations is connected. It can be set as a slave station, and the remote slave unit (RSU) sets its own station number and master station in hardware and receives data from the master station M1 to exchange data with the master station.

제2도에서, 리모트 슬레이브 유닛(RSU)의 출력모듈로의 데이터 출력순서에 대하여 살펴보면, 먼저 송수신 모듈(2)이 모뎀(1)을 통하여 마스터 국(M1)으로 부터 수신한 데이터를 송수신 버퍼(3)를 통해 출력데이터 저장부(4)에 저장한다.Referring to FIG. 2, the data output sequence of the remote slave unit RSU to the output module will be described. First, the transmission / reception module 2 receives data received from the master station M1 via the modem 1 through a transmission / reception buffer ( 3) it is stored in the output data storage unit (4).

그러면, 입출력 제어모듈(6)는 출력데이터 저장부(4)에 수신되어 저장된 데이터를 읽어들여 입출력 모듈(7)의 출력모듈로 출력한다.Then, the input / output control module 6 reads the data received and stored in the output data storage unit 4 and outputs the stored data to the output module of the input / output module 7.

상기의 경우와 반대로 입력모듈로 부터 데이터를 수신하는 과정은 입출력 제어모듈(6)는 입출력 모듈(7)의 입력모듈로 부터 외부의 입력값을 읽어들여 입력데이터 저장부(5)에 저장하여 둔다.In contrast to the above, in the process of receiving data from the input module, the input / output control module 6 reads an external input value from the input module of the input / output module 7 and stores it in the input data storage unit 5. .

그러면 송수신 모듈(2)은 입력데이터 저장부(5)의 데이터를 송수신 버퍼(3)로 옮겨 마스터 국(M1)의 송신 요구시 모뎀(1)을 통해 마스터 국(M1)으로 송신한다.Then, the transmission / reception module 2 transfers the data of the input data storage unit 5 to the transmission / reception buffer 3 and transmits the data to the master station M1 through the modem 1 when the transmission request of the master station M1 is made.

이상에서와 같이 리모트 국(S1,S2,S3,....,Sn)은 자신의 입출력 모듈(7)로의 데이터 입출력을 행하며, 마스터 국(M1)은 자신에게 설정된 리모트 국(S1,S2,S3,...,Sn)들과 순차적으로 통신을 행하여 입출력 데이터를 송수신 하므로서, 여러 국의 리모트 슬레이브 유닛(RSU)을 자신의 리모트 입출력 모듈(I/O_로 사용하여 원거리의 입출력 제어가 가능하다.As described above, the remote stations S1, S2, S3, ..., Sn perform data input / output to their I / O module 7, and the master station M1 sets the remote stations S1, S2, I / O data can be transmitted / received by sequentially communicating with S3, ..., Sn, so remote I / O control is possible by using remote slave unit (RSU) of several stations as its remote I / O module (I / O_). Do.

그러나, 상기에서와 같은 종래기술은 리모트 국에서 마스터 국의 전원이 끊긴 경우나, 통신라인의 단선 등에 의한 통신 두절시에 리모트 슬레이브 유닛(RSU)는 마스터 국에서 데이터를 수신할 수 없으므로 통신두절 직전에 최종으로 수신한 출력데이터를 출력모듈을 통해 출력할 수 밖에 없으므로 통신두절 등과 같은 비상시에는 리모트 국의 출력값은 제어가 불가능하고, 리모트 국의 이상상태 발생시에는 입,출력을 제어할 수 없으며 노이즈에 의한 오 데이터가 통신상으로 전달될 때 여과없이 그대로 출력 모듈로 출력되므로 리모트 시스템의 신뢰성을 저하시키는 문제점이 있다.However, in the prior art as described above, the remote slave unit (RSU) cannot immediately receive data from the master station when the master station is disconnected from the remote station or when communication is lost due to disconnection of the communication line. In case of emergency such as communication loss, the output value of remote station cannot be controlled.In case of abnormal state of remote station, input / output cannot be controlled. When the false data is transmitted to the communication module as it is output to the output module as it is without filtration, there is a problem that reduces the reliability of the remote system.

따라서 상기에서와 같은 종래 문제점을 해결하기 위한 본 발명의 목적을 리모트 슬레이브 유닛(RSU)을 이중화로 구성하고, 이 이중화된 리모트 슬레이브 유닛간의 데이터를 교환 및 체크하여 오 데이터에 대한 리모트 슬레이브 유닛의 오출력을 방지하여 시스템 오동작을 막을 수 있도록 한 피엘씨 리모트 이중화 시스템 및 제어방법을 제공함에 있다.Accordingly, an object of the present invention for solving the conventional problems as described above is to configure a remote slave unit (RSU) in redundancy, exchange and check data between the duplicated remote slave units, and thereby It is to provide a PRC remote redundancy system and control method to prevent the system malfunction by preventing the output.

본 발명의 다른 목적은 이중화된 리모트 슬레이브 유닛간에 인터록 장치를 삽입하여 서로를 감시하도록 하여 마스터 국의 전원이 끊긴 경우나, 통신라인의 단선 등에 의한 통신두절의 상태에서 리모트 국의 데이터를 출력하지 않도록 하여 리모트 국의 신뢰성을 향상시키도록 한 피엘씨의 리모트 이중화 시스템 및 제어방법을 제공함에 있다.Another object of the present invention is to insert an interlock device between redundant remote slave units to monitor each other so that the data of the remote station is not output in the case of a power failure of the master station or a communication breakdown due to disconnection of a communication line. In order to improve the reliability of the remote station, PLC's remote redundancy system and control method are provided.

제1도는 종래 링크 마스터 국과 리모트 슬레이브 유닛(RSU)로 이루어진 통신시스템 구성도.1 is a diagram of a communication system consisting of a conventional link master station and a remote slave unit (RSU).

제2도는 제1도에서, 리모트 슬레이브 유닛(RSU)의 상세 블록 구성도.2 is a detailed block diagram of a remote slave unit (RSU) in FIG.

제3도는 본 발명의 피엘씨 리모트 이중화 시스템 구성도.3 is a schematic diagram of a PRC remote redundancy system according to the present invention.

제4도는 리모트 슬레이브 유닛와 리모트 슬레이브 유닛 사이의 이중화 동작시 감시하는 인터록(interlock) 장치 구성도.4 is a block diagram of an interlock device for monitoring during redundancy operation between a remote slave unit and a remote slave unit.

제5도는 본 발명의 피엘씨 리모트 이중화 제어방법에 대한 동작 과정도.5 is an operation process diagram for a PRC remote redundancy control method of the present invention.

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

1,1′: 모뎀 2 : 송수신 모듈1,1 ′: modem 2: transmission / reception module

3 : 송수신 버퍼 4 : 출력데이터 저장부3: transmission / reception buffer 4: output data storage unit

5 : 비상출력 데이터 저장부 6 : 입력데이터 저장부5: emergency output data storage 6: input data storage

7 : 입출력 제어모듈 8 : 입출력 모듈7: I / O control module 8: I / O module

11,11′: 인터록 신호발생부 12,12′: 제어부11,11 ': interlock signal generator 12,12': controller

13,13′: 공용 램 CO : 인퍼페이스 케이블13,13 ′: shared ram CO: interface cable

상기 목적을 달성하기 위한 본 발명 피엘씨 리모트 이중화 제어방법은, 제5도에 도시한 바와 같이, 이중화된 복수개의 리모트 슬레이브 유닛으로 이루어진 리모트국과 마스터국의 데이터 송수신시, 상기 이중화돈 복수개의 리모트 슬레이브 유닛에서 주,부 리모트 슬레이브 유닛을 결정하는 제1단계와; 상기 제1단계에서 주,부 리모트 슬레이브 유닛 결정 후 수신데이터가 있으면 주 리모트 슬레이브 유닛은 부리모트 슬레이브 유닛과 수신데이터를 비교하는 제2단계와; 상기 제2단계에서 주부 리모트 슬레이브 유닛에 수신된 두 데이터가 같으면 데이터를 처리하고, 다르면 마스터국으로 재전송을 요구하는 제3단계와; 상기 마스터국으로의 송신데이터가 있는지를 체크하는 제4단계와, 상기 제4단계에서 송신데이터가 있으면 송신하고, 송신데이터가 없으면 인터록장치를 이용하여 상대방의 리모트 슬레이브 유닛의 상태를 체크하는 제5단계와; 상기 제5단계에서 이상이 있으면 마스터국에 현상황을 보고하여 대처할 수 있도록 하는 제6단계로 이루어진다.In order to achieve the above object, the present invention relates to a PRC remote redundancy control method. As shown in FIG. 5, when the data is transmitted / received between a master station and a remote station comprising a plurality of duplicated remote slave units, Determining a primary and secondary remote slave unit in the slave unit; A second step of comparing the received data with the secondary remote slave unit if there is received data after determining the primary and secondary remote slave units in the first step; A third step of processing data if the two data received by the housewife remote slave unit are the same in the second step, and requesting retransmission to the master station if different; A fourth step of checking whether there is transmission data to the master station; a fifth step of transmitting if there is transmission data in the fourth step; and a fifth step of checking the status of the remote slave unit of the other party using an interlock device if there is no transmission data. Steps; If there is an abnormality in the fifth step, the sixth step is performed so that the present situation can be reported to the master station to deal with.

이와같이 각 단계로 이루어진 방법을 수행하기 위한 본 발명 피엘씨 리모트 이중화 시스템 구성은, 제3도에 도시한 바와같이, 통신케이블을 통해 상대국과의 데이터 통신을 수행하기 위한 두 개의 모뎀(1)(1′)과; 정해진 프로토콜에 의해 마스터국과의 데이터 송수신을 하는 송수신 모듈(2)과; 출력카드로 출력될 데이터를 마스터국에서 수신하여 저장하는 출력데이터 저장부(4)와; 상기 마스터국으로 데이터 송신시 입력모듈로 부터 입력데이터를 읽어들여 저장하는 입력데이터 저장부(6)와; 비상시 마스터국에 전송할 출력값을 설정하여 저장하는 비상출력 데이터 저장부(5)와; 리모트 국의 입출력 모듈(I/O)로 데이터를 출력하거나 그로부터 데이터를 입력받으며, 입출력 카드정보 및 착탈유무를 제어하는 입출력 제어모듈(7)과; 외부기긱 제어를 실제로 행하는 입출력 모듈(8)로 구성한다.In this way, the PRC remote redundancy system configuration of the present invention for performing the method consisting of each step includes two modems (1) (1) for performing data communication with the other station via a communication cable, as shown in FIG. ')and; A transmission / reception module (2) for performing data transmission and reception with a master station by a predetermined protocol; An output data storage section 4 for receiving and storing data to be output to the output card at the master station; An input data storage unit (6) for reading and storing input data from an input module when transmitting data to the master station; An emergency output data storage unit 5 for setting and storing an output value to be transmitted to the master station in an emergency; An input / output control module 7 for outputting data to or receiving data from an input / output module (I / O) of a remote station, and controlling input / output card information and attachment / detachment; It consists of the input / output module 8 which actually performs external machine control.

그리고, 이중화로 구성된 리모트 슬레이브 유닛과 리모트 슬레이브 유닛 사이에 삽입하여 서로를 감시하도록 하는 인터록 장치는, 제4도에 도시한 바와같이, 통신 두절이나 이상 상태 발생시 이를 알리기 위한 인터록신호를 생성하여 발생하는 인터록 신호발생부(11)와; 케이블을 통해서 인터록 신호를 입력받아 상대 리모트 슬레이브 유닛의 이상 상태 유무를 감지하고 입출력 데이터를 비교하는 제어부(12)와; 상기 제어부(12)에서 비교하고자 하는 데이터를 저장하는 공용 랭(13)으로 구성한다.The interlock device inserted between the redundant remote slave unit and the remote slave unit to monitor each other is generated by generating an interlock signal for notifying when a communication breakdown or abnormal condition occurs, as shown in FIG. An interlock signal generator 11; A control unit 12 which receives an interlock signal through a cable and detects an abnormal state of a counterpart remote slave unit and compares input / output data; The control unit 12 is configured as a common Lang 13 for storing the data to be compared.

이와같이 구성된 본 발명의 동작 및 작용 효과에 대하여 상세히 설명하면 다음과 같다.Referring to the operation and effect of the present invention configured as described in detail as follows.

리모트 국의 리모트 슬레이브 유닛(RSU)은 모뎀(1)이나 또다른 모뎀(1′)을 통해 마스터 국(M1)에서 수신된 데이터는 송수신 모듈(2)을 통하여 송수신 버퍼(3)에 저장한다.The remote slave unit RSU of the remote station stores the data received at the master station M1 via the modem 1 or another modem 1 'in the transmission / reception buffer 3 via the transmission / reception module 2.

그리고 상기 송수신 모듈(2)은 수신한 데이터가 출력 데이터인 경우에는 출력 데이터 저장부(4)에 저장하고, 비상 출력 데이터인 경우에는 비상출력 데이터 저장부(5)에 저장한다.The transmission / reception module 2 stores the received data in the output data storage unit 4 when the received data is output data, and in the emergency output data storage unit 5 in the case of emergency output data.

반대로 마스터 국으로 송신할 경우 송수신 모듈(2)은 입력 데이터 저장부(6)에 저장되어 있는 데이터를 송수신 버퍼(3)로 옮겨 마스터 국의 송신 요구시 모뎀(1) 또는 또다른 모뎀(1′) 모두를 통해 마스터 국으로 송신하여 입력값을 송신한다. 입출력 제어모듈(7)은 정상 동작시에는 출력 데이터 저장부(4)의 데이터를 입출력 모듈(8)을 구성하고 있는 출력모듈로 출력하며, 반대로 입출력 모듈(8)을 구성하고 있는 입력모듈로 부터 입력값을 읽어 입력데이터 저장부(6)에 저장을 하여, 송수신 모듈(2)로 하여금 마스터 국으로 송신할 수 있도록 한다.On the contrary, when transmitting to the master station, the transmission / reception module 2 transfers the data stored in the input data storage unit 6 to the transmission / reception buffer 3 and the modem 1 or another modem 1 'when the master station transmits a request. ) Send the input value to the master station through both. In the normal operation, the input / output control module 7 outputs the data of the output data storage unit 4 to the output module constituting the input / output module 8, and vice versa from the input module constituting the input / output module 8. The input value is read and stored in the input data storage section 6 so that the transmission / reception module 2 can transmit to the master station.

상기에서와 같은 절차에 의해 마스터 국은 리모트 국의 리모트 슬레이브 유닛(RSU)의 입출력 접점을 제어할 수 있다.By the same procedure as above, the master station can control the input / output contact of the remote slave unit (RSU) of the remote station.

이와같이 이중화로 구성된 리모트 슬레이브 유닛(RSU)을 갖는 리모트 국은 마스터국의 전원이 끊긴 경우나 이상상태가 발생시 오 데이터의 교환이 이루어지지 않도록 감시할 필요가 있다.In this way, a remote station having a redundant Remote Slave Unit (RSU) needs to be monitored to ensure that data is not exchanged when the master station loses power or an abnormal condition occurs.

따라서 이중화로 구성된 리모트 슬레이브 유닛과 또 다른 리모트 슬레이브 유닛(RSU)간의 서로를 감시하기 위하여 인터록 장치를 삽입한다.Therefore, an interlock device is inserted to monitor each other between the redundant remote slave unit and another remote slave unit (RSU).

이렇게 삽입된 인터록 장치의 동작에 대하여 제5도에 의거하여 살펴보면 다음과 같다.The operation of the interlock device inserted as described above will be described with reference to FIG.

마스터 국의 전원이 끊긴 상태나 통신라인의 단선 등에 의한 통신 두절의 상태가 이중화로 구성된 하나의 리모트 슬레이브 유닛(RSU1)이 마스터 국으로 부터 데이터를 수신하지 못하게 되면, 상기 리모트 슬레이브 유닛(RSU1)의 인터록 장치의 인터록 신호발생부(11)에서 이상 상태가 발생했음을 알리기 위하여 인터록 신호를 생성하여 발생한다.When one of the remote slave units (RSU1) configured as duplex cannot receive data from the master station when the power of the master station is cut off or the state of communication interruption due to disconnection of the communication line is performed, the remote slave unit (RSU1) The interlock signal generating unit 11 of the interlock device generates and generates an interlock signal to indicate that an abnormal state has occurred.

그러면 상대 리모트 슬레이브 유닛(RSU2)의 인터록 장치에서 인터페이스 케이블을 통해 인터록 신호를 읽어들인다.The interlock signal is then read from the interlock device of the counterpart remote slave unit RSU2 via the interface cable.

이렇게 읽어들인 인터록 신호를 제어부(12′)에서 입력받아 이상상태 발생유무를 감지한다.The interlock signal thus read is input from the control unit 12 'to detect the occurrence of an abnormal state.

따라서 상기 제어부(12′)는 리모트 슬레이브 유닛(RSU1)의 이상상태를 감지하고 그 유닛(RUS1)과의 데이터 교환을 행하지 않아 오동작을 방지한다.Therefore, the controller 12 ′ detects an abnormal state of the remote slave unit RSU1 and does not exchange data with the unit RUS1 to prevent malfunction.

그러다가 사용자에 의해 정상동작을 하게 되면 리모트 슬레이브 유닛(RSU1)과 다른 리모트 슬레이브 유닛(RSU2)은 마스터 국으로 부터 수신한 데이터를 서로 교환하여 비교한다.Then, when the user operates normally, the remote slave unit RSU1 and the other remote slave unit RSU2 exchange data received from the master station with each other.

이때 비교 동작은 인터록 장치의 제어부(12)(12′)에서 행하고, 수신한 데이터는 공용 램(13)(13′)에 각각 저장하고 이 저장된 데이터를 이용하여 비교한다.At this time, the comparison operation is performed by the control unit 12 (12 ') of the interlock device, and the received data is stored in the common RAM 13 (13') and compared using the stored data.

비교 결과, 데이터가 서로 같으면 그 수신 데이터를 사용하며, 데이터가 서로 같지 않으면 마스터 국에 다시 데이터를 요청하여 수신하고 이 수신된 데이터를 비교한 후 처리한다.As a result of the comparison, if the data is the same, the received data is used. If the data are not the same, the received data is requested from the master station again, received, compared, and processed.

이상에서와 같이 통신라인 두절이나 하나의 리모트 슬레이브 유닛의 이상상태 발생시 이중화로 구성된 다른 리모트 슬레이브 유닛이 인터록 장치에서 나오는 신호로 감지하여 통신에 전혀 지장이 없도록 한다.As described above, when a communication line breakage or an abnormal state of one remote slave unit occurs, another remote slave unit configured as redundancy is detected as a signal from the interlock device so that there is no problem in communication.

이때 상기 인터록 장치는 실시간으로 데이터를 비교함으로써 리모트 통신 시스템 전체의 신뢰성을 향상시킨다.At this time, the interlock device improves the reliability of the entire remote communication system by comparing data in real time.

그리고, 상기에서 하나의 리모트 슬레이브 유닛(RSU1)과 다른 하나의 리모트 슬레이브 유닛(RSU2)의 데이터 교환시 하나의 유닛이 주 리모트 슬레이브 유닛(RSU)가 되고 나머지가 부 리모트 슬레이브 유닛(RSU)이 된다.And, in the above data exchange between one remote slave unit RSU1 and another remote slave unit RSU2, one unit becomes the primary remote slave unit RSU and the other becomes the secondary remote slave unit RSU. .

아울러 두 개의 통신선로를 초기에 테스트해 보고 하나를 통신선로를 선택하여 통신선로를 개설하여 통신을 한다.In addition, two communication lines are initially tested, and one communication line is selected to establish a communication line for communication.

상술한 바와 같이, 본 발명은 리모트 국의 슬레이브 유닛을 이중화로 구성하여 출력데이터의 신뢰성을 향상시키고, 이상상태 감지 및 오동작을 인터록 장치를 삽입하여 실시간으로 데이터를 비교 처리하도록 하여 통신 시스템 전체의 신뢰성을 향상시키도록 한 효과가 있다.As described above, the present invention improves the reliability of the output data by configuring the slave unit of the remote station in redundancy, and inserts an interlock device for abnormal state detection and malfunction so that the data can be compared and processed in real time to ensure the reliability of the entire communication system. There is an effect to improve the.

Claims (5)

모뎀을 통한 통신기능과 입출력 제어기능을 겸비한 리모트 슬레이브 유닛(RSU)에 있어서, 통신케이블을 통해 상대국과의 데이터 통신을 수행하기 위한 두 개 이상의 모뎀과, 비상시 상대국에게 알리기 위한 출력값을 설정하여 비상출력 데이터 저장부를 상기 리모트 슬레이브 유닛에 더 포함시켜 이중화시스템으로 구성한 것을 특징으로 하는 피엘씨 리모트 이중화 시스템.In the remote slave unit (RSU), which has a communication function through a modem and an input / output control function, two or more modems for performing data communication with a counterpart station through a communication cable and an output value for informing the counterpart station in case of emergency are outputted. And a data storage unit further included in the remote slave unit to configure a redundant system. 제1항에 있어서, 리모트 슬레이브 유닛은 또 다른 리모트 슬레이브 유닛과 데이터 통신시 하나는 주 RSU(리모트 슬레이브 유닛)으로 정하고, 나머지는 부 RSU로 정하여 동작하도록 한 것을 특징으로 하는 피엘씨 리모트 이중화 시스템.The PRC remote redundancy system according to claim 1, wherein the remote slave unit is configured to operate by designating one as the primary RSU (remote slave unit) and the other as the secondary RSU during data communication with another remote slave unit. 제1항에 있어서, 이중화된 리모트 슬레이브 유닛간에 인터록 장치를 삽입하여 상호 데이터를 교환하고, 체크하여 오 출력을 방지할 수 있도록 한 것을 특징으로 하는 피엘씨 리모트 이중화 시스템.2. The PRC remote redundancy system according to claim 1, wherein an interlock device is inserted between the redundant remote slave units to exchange data with each other, and to check and prevent false output. 제3항에 있어서, 인터록 장치는 통신 두절이나 이상 상태 발생시 이를 알리기 위한 인터록신호를 생성하여 발생하는 인터록 신호발생부와; 케이블을 통해서 인터록 신호를 입력받아 상대 리모트 슬레이브 유닛의 이상 상태 발생 유무를 감지하고 입출력 데이터를 비교하는 제어부와; 상기 제어부에서 비교하고자 하는 데이터를 저장하는 공용 램으로 구성함을 특징으로 하는 피엘씨 리모트 이중화 시스템.4. The apparatus of claim 3, wherein the interlock device comprises: an interlock signal generator for generating and generating an interlock signal for notifying when a communication breakdown or abnormal condition occurs; A control unit which receives an interlock signal through a cable and detects an abnormal state of a counterpart remote slave unit and compares input / output data; And a common RAM for storing data to be compared in the control unit. 이중화된 복수개의 리모트 슬레이브 유닛으로 이루어진 리모트 국과 마스터국의 데이터 송수신시, 상기 이중화된 복수개의 리모트 슬레이브 유닛에서 주,부 리모트 슬레이브 유닛을 결정하는 제1단계와; 상기 제1단계에서 주,부 리모트 슬레이브 유닛 결정 후 수신데이터가 있으면 주 리모트 슬레이브 유닛은 부 리모트 슬레이브 유닛과 수신데이터를 비교하는 제2단계와; 상기 제2단계에서 주,부 리모트 슬레이브 유닛에 수신된 두 데이터가 같으면 데이터를 처리하고, 다르면 마스터국으로 재전송을 요구하는 제3단계와; 상기 마스터국으로의 송신데이터가 있는지를 체크하는 제4단계와, 상기 제4단계에서 송신데이터가 있으면 송신하고, 송신데이터가 없으면 인터록장치를 이용하여 상대방의 리모트 슬레이브 유닛의 상태를 체크하는 제5단계와; 상기 제5단계에서 이상이 있으면 마스터국에 현상황을 보고하여 대처할 수 있도록 하는 제6단계로 이루어진 것을 특징으로 하는 피엘씨 리모트 이중화 제어방법.A first step of determining primary and secondary remote slave units in the plurality of redundant remote slave units when transmitting and receiving data between a remote station and a master station including a plurality of redundant remote slave units; A second step of comparing the received data with the secondary remote slave unit if there is received data after determining the primary and secondary remote slave units in the first step; A third step of processing data if two data received by the primary and secondary remote slave units are the same in the second step, and requesting retransmission to the master station if different; A fourth step of checking whether there is transmission data to the master station; a fifth step of transmitting if there is transmission data in the fourth step; and a fifth step of checking the status of the remote slave unit of the other party using an interlock device if there is no transmission data. Steps; And a sixth step of reporting the current status to the master station to cope with the abnormality in the fifth step.
KR1019970009915A 1997-03-22 1997-03-22 Remote redundant system and control method in plc KR100237613B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970009915A KR100237613B1 (en) 1997-03-22 1997-03-22 Remote redundant system and control method in plc

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970009915A KR100237613B1 (en) 1997-03-22 1997-03-22 Remote redundant system and control method in plc

Publications (2)

Publication Number Publication Date
KR19980074206A KR19980074206A (en) 1998-11-05
KR100237613B1 true KR100237613B1 (en) 2000-01-15

Family

ID=19500498

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970009915A KR100237613B1 (en) 1997-03-22 1997-03-22 Remote redundant system and control method in plc

Country Status (1)

Country Link
KR (1) KR100237613B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000059718A (en) * 1999-03-08 2000-10-05 이종수 Nonstop operation method and circuit for plc duplication system
KR100986004B1 (en) * 2008-11-10 2010-10-06 엘에스산전 주식회사 Intelligent input/output module in plc system
CN114791723B (en) * 2022-05-11 2023-09-29 傲拓科技股份有限公司 Large-scale PLC system and data compression method thereof

Also Published As

Publication number Publication date
KR19980074206A (en) 1998-11-05

Similar Documents

Publication Publication Date Title
US6466539B1 (en) Bus system
US4745597A (en) Reconfigurable local area network
US5387902A (en) Data networks
US5297134A (en) Loop mode transmission system with bus mode backup
CN100566277C (en) Communications network system and the method that is used to the information that transmits
US5473752A (en) Fault isolation circuit
KR100237613B1 (en) Remote redundant system and control method in plc
CN113721448B (en) Redundant module switching method and device
KR100333954B1 (en) The Mehod and Apparatus of Dual Operation and Fault Detection in Optical Network Using Single Core
KR19990012985A (en) I / O multiplexed PLC system
JP2007266708A (en) Erroneous connection detector and detection method of cable
JP2555472B2 (en) Distributed control system with signal cable connection status monitoring function
KR960011136B1 (en) Network dualization and its method
JP3149047B2 (en) Redundant data processor
KR100606888B1 (en) Apparatus and Method to Duplicate Controlling Digital Tranceiver Board in Mobile Communication System
CN115185772A (en) USB flash disk fault online detection alarm device, method, equipment and system
US7724642B2 (en) Method and apparatus for continuous operation of a point-of-sale system during a single point-of-failure
JP2606134B2 (en) Failure detection method
JPH10242889A (en) Mutual supervisory method for duplicate system
CA1182567A (en) Automatic line termination in distributed industrial process control system
KR100575957B1 (en) Maintenance and method of service in transmission device_
CA1182569A (en) Industrial control system with interconnected remotely located computer control units
JPH05284116A (en) Data communication system and optical repeater device for the system
KR100194983B1 (en) Blocking method of faulty board in private exchange
JP2734410B2 (en) Transmission line switching system

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: 20120919

Year of fee payment: 14

FPAY Annual fee payment

Payment date: 20130916

Year of fee payment: 15

FPAY Annual fee payment

Payment date: 20141001

Year of fee payment: 16

FPAY Annual fee payment

Payment date: 20151002

Year of fee payment: 17

LAPS Lapse due to unpaid annual fee