KR102262090B1 - Apparatus and method for duplexing input of plc - Google Patents
Apparatus and method for duplexing input of plc Download PDFInfo
- Publication number
- KR102262090B1 KR102262090B1 KR1020190004749A KR20190004749A KR102262090B1 KR 102262090 B1 KR102262090 B1 KR 102262090B1 KR 1020190004749 A KR1020190004749 A KR 1020190004749A KR 20190004749 A KR20190004749 A KR 20190004749A KR 102262090 B1 KR102262090 B1 KR 102262090B1
- Authority
- KR
- South Korea
- Prior art keywords
- input
- contacts
- state
- plc
- final
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
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/18—Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form
- G05B19/414—Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller
- G05B19/4148—Structure of the control system, e.g. common controller or multiprocessor systems, interface to servo, programmable interface controller characterised by using several processors for different functions, distributed (real-time) systems
-
- 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/052—Linking several PLC's
-
- 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/0218—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
- G05B23/0224—Process history based detection method, e.g. whereby history implies the availability of large amounts of data
- G05B23/0227—Qualitative history assessment, whereby the type of data acted upon, e.g. waveforms, images or patterns, is not relevant, e.g. rule based assessment; if-then decisions
- G05B23/0237—Qualitative history assessment, whereby the type of data acted upon, e.g. waveforms, images or patterns, is not relevant, e.g. rule based assessment; if-then decisions based on parallel systems, e.g. comparing signals produced at the same time by same type systems and detect faulty ones by noticing differences among their responses
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Human Computer Interaction (AREA)
- Manufacturing & Machinery (AREA)
- Programmable Controllers (AREA)
Abstract
본 발명은 피엘씨의 입력 이중화 처리장치 및 방법에 관한 것이다. 본 발명의 일 실시예에 따르면, 복수의 입력접점을 통해 수신한 입력신호를 내부 로직신호로 변환하는 검출부, 복수의 입력접점에 대한 이중화 대상이 되는 접점쌍들의 상태를 비교하여 그 상태가 일치하지 않는 경우 검출 입력을 미리 선언된 안전 입력으로 치환하여 최종 입력으로 결정하고, 상기 최종 입력에 대한 경보 플래그를 생성하는 판정부 및 시스템 버스를 통하여 상기 최종입력과 상기 경보 플래그를 외부로 전달하는 버스 연결부를 포함하는 피엘씨의 입력 이중화 처리장치를 제공한다.The present invention relates to an input duplication processing apparatus and method of PLC. According to an embodiment of the present invention, a detection unit that converts an input signal received through a plurality of input contacts into an internal logic signal, compares the states of contact pairs to be duplicated for the plurality of input contacts, and the states do not match If not, a determination unit that replaces the detection input with a previously declared safety input and determines it as the final input, generates an alarm flag for the final input, and a bus connection unit that transmits the final input and the warning flag to the outside through a system bus It provides an input duplication processing device of PLC comprising a.
Description
본 발명은 피엘씨의 입력 이중화 처리장치 및 방법에 관한 것으로, 보다 상세하게는 본 발명은 최소한의 구성으로 PLC로 입력되는 디지털신호의 이중화구성이 가능하도록 함으로써, 신호의 이상 여부를 가능한 정확하게 판단하고, 이상 발생시 시스템의 안전을 확보할 수 있는 방향으로 제어가 이루어 질 수 있도록 구성한 피엘씨의 입력 이중화 처리장치 및 방법에 관한 것이다.The present invention relates to an apparatus and method for processing an input duplication of a PLC, and more particularly, the present invention enables a duplication of a digital signal input to a PLC with a minimum configuration, thereby determining whether a signal is abnormal and as accurately as possible. , relates to an input duplication processing apparatus and method of PLC configured so that control can be performed in a direction that can secure the safety of the system in the event of an abnormality.
PLC는 자동화 시스템에 널리 사용되는 산업용 컴퓨터이다. 특히, 다양한 센서들의 신호를 입력 받아 논리연산을 수행하고 그 결과에 따라 제어 신호를 출력하는 기능을 핵심으로 하고 있다. 이러한 PLC는 다양한 분야의 자동제어시스템에 적용되어 운용되고 있다. 이 중 일부 자동제어시스템은 특별히 안전한 시스템 구성과 동작이 요구된다. 제어대상 설비가 운전되는 동안 작업자의 안전을 확보할 필요가 있는 경우가 이에 해당된다. 또한, 입력 센서의 고장으로 인하여 수행되는 제어 동작이 큰 재산상 손실을 유발하는 경우도 해당된다.PLC is an industrial computer widely used in automation systems. In particular, the core function is to receive signals from various sensors, perform logic operations, and output control signals according to the results. These PLCs are being applied and operated in automatic control systems in various fields. Some of these automatic control systems require specially safe system configuration and operation. This is the case when it is necessary to ensure the safety of workers while the controlled facility is operating. Also, a case in which a control operation performed due to a failure of an input sensor causes a large property loss is also applicable.
이러한 요구에 대응하는 방법은 여러가지가 있겠으나, 종래에는 모듈 단위의 입력 이중화방법을 이용하였다. 통상의 디지털 입력모듈은 8개부터 64개까지 여러개의 신호를 하나의 모듈에서 처리한다. 따라서, 종래에는 소수의 핵심 입력접점만 이중처리를 하고자 하는 경우에도 전체 모듈을 이중화구성으로 사용하여야 하므로 접점의 낭비를 초래하였다.There are various methods to respond to this request, but in the prior art, an input duplication method of module unit was used. A typical digital input module processes several signals from 8 to 64 in one module. Therefore, conventionally, even when only a few key input contacts are to be double-processed, the entire module must be used in a redundant configuration, resulting in wastage of contacts.
본 발명은 피엘씨의 입력 이중화 처리장치 및 방법을 제공하는 것이다.An object of the present invention is to provide an input duplication processing apparatus and method of a PLC.
본 발명의 일 실시예에 따르면, 복수의 입력접점을 통해 수신한 입력신호를 내부 로직신호로 변환하는 검출부, 복수의 입력접점에 대한 이중화 대상이 되는 접점쌍들의 상태를 비교하여 그 상태가 일치하지 않는 경우 검출 입력을 미리 선언된 안전 입력으로 치환하여 최종 입력으로 결정하고, 상기 최종 입력에 대한 경보 플래그를 생성하는 판정부, 및 시스템 버스를 통하여 상기 최종입력과 상기 경보 플래그를 외부로 전달하는 버스 연결부를 포함하는, 피엘씨의 입력 이중화 처리장치를 제공한다.According to an embodiment of the present invention, a detection unit that converts an input signal received through a plurality of input contacts into an internal logic signal, compares the states of contact pairs to be duplicated for the plurality of input contacts, and the states do not match If not, a determination unit that replaces the detection input with a previously declared safety input to determine the final input, generates an alarm flag for the final input, and a bus that transmits the final input and the warning flag to the outside through a system bus It provides a PLC input duplication processing device including a connection unit.
또한, 상기 복수의 입력접점는 적어도 한 쌍의 접점이 이중화 접점쌍으로 설정되고, 상기 이중화 접점쌍 중 적어도 하나를 안전입력 상태로 설정할 수 있다.In addition, in the plurality of input contacts, at least one pair of contacts may be set as a duplicated contact pair, and at least one of the duplicated contact pairs may be set to a safety input state.
또한, 상기 안전입력 상태는 상기 이중화 접점쌍의 상태가 비정상으로 판정되었을 때 보정 용도로 사용하는 신호상태일 수 있다.In addition, the safety input state may be a signal state used for correction when the state of the redundant contact pair is determined to be abnormal.
또한, 상기 복수의 입력접점 중 나머지 접점은 일반접점으로 설정할 수 있다.In addition, the remaining contacts among the plurality of input contacts may be set as general contacts.
또한, 상기 판정부는 상기 이중화 접점쌍의 상태가 일치하지 않는 경우 상기 경보플래그를 생성하여 상기 최종입력에 삽입하고, 상기 경보플래그가 삽입된 최종입력을 상기 버스 연결부로 전달할 수 있다.In addition, when the state of the redundant contact pair does not match, the determination unit may generate the alarm flag and insert it into the final input, and transmit the final input into which the alarm flag is inserted to the bus connection unit.
또한, 상기 경보플래그는 상기 이중화 접점쌍마다 별도로 마련되어 이상 발생시 해당 이중화 접점쌍을 용이하게 식별하도록 구성될 수 있다.In addition, the alarm flag may be separately provided for each pair of redundant contact points, and may be configured to easily identify the corresponding redundant contact pair when an abnormality occurs.
본 발명의 다른 실시 예에 따르면, (a) 복수의 입력접점을 통해 수신한 입력 신호를 내부 로직 신호로 변환하는 단계, (b) 복수의 입력접점에 대한 이중화입력 처리를 수행하기 위하여 상기 입력신호를 연산하여 최종입력과, 상기 최종입력이 일치하지 않을 경우 대한 경보 플래그를 생성하는 단계, 및 (c) 시스템 버스를 통하여 상기 최종입력과 상기 경보 플래그를 외부로 전달하는 단계를 포함하는, 피엘씨의 입력 이중화 처리방법을 제공한다.According to another embodiment of the present invention, (a) converting an input signal received through a plurality of input contacts into an internal logic signal, (b) the input signal to perform dual input processing on the plurality of input contacts , generating an alarm flag for when the final input and the final input do not match by calculating , and (c) transmitting the final input and the warning flag to the outside through a system bus. of the input duplication processing method.
또한, 상기 (b) 단계에서, 상기 복수의 입력접점 중 적어도 한 쌍의 접점을 이중화 접점쌍으로 설정하고, 상기 복수의 입력접점 중 나머지 접점을 일반접점으로 설정하며, 상기 이중화 접점쌍 중 적어도 하나를 안전입력 상태로 설정할 수 있다.In addition, in step (b), at least one pair of contacts among the plurality of input contacts is set as a duplicated contact pair, and the other contacts among the plurality of input contacts are set as general contacts, and at least one of the duplicated contact pairs is set as a general contact. can be set as the safety input state.
또한, 상기 안전입력 상태는 상기 이중화 접점쌍의 상태가 비정상으로 판정되었을 때 보정 용도로 사용하는 신호상태일 수 있다.In addition, the safety input state may be a signal state used for correction when the state of the redundant contact pair is determined to be abnormal.
또한, 상기 (b) 단계에서는, 상기 이중화 접점쌍의 상태가 일치하지 않는 경우 상기 경보플래그를 생성하여 상기 최종입력에 삽입할 수 있다.In addition, in step (b), when the state of the redundant contact pair does not match, the alarm flag may be generated and inserted into the final input.
또한, 상기 이중화입력 처리에 대한 설정 및 처리 결과를 펑션블록을 통해 적용할 수 있다.In addition, the setting and processing results for the redundant input processing can be applied through a function block.
본 발명은 다른 외부의 하드웨어 혹은 소프트웨어를 필요로 하지 않으며, 이로써 시스템 구성을 단순하게 설계할 수 있고, 최소한의 비용으로 입력신호의 이중화 구성이 가능하다.The present invention does not require any other external hardware or software, so that the system configuration can be simply designed, and the dual input signal configuration is possible at a minimum cost.
또한, 본 발명은 완벽한 이상 검출이 불가능한 논리적 한계에 합리적 대응이 가능한 방법을 제시하여 이상 발생시 경보플래그를 사용하여 작업자에게 이상 발생 사실을 알림과 동시에 미리 설정된 안전입력을 제어동작에 적용함으로써 시스템의 안전을 확보할 수 있고, 시스템의 정지 없이 계속 운전시키는 것이 가능하다.In addition, the present invention proposes a method capable of rationally responding to a logical limit in which perfect abnormal detection is impossible, and when an abnormality occurs, an alarm flag is used to notify the operator of the abnormal occurrence and at the same time apply a preset safety input to the control operation to ensure the safety of the system can be secured, and it is possible to continue operation without stopping the system.
또한, 본 발명은 입력모듈 단위의 이중화방식을 채택하여 입력접점의 낭비 요소가 존재하는 종래 기술과 달리, 접점 단위의 이중화방법을 제시함으로써 보다 효율적인 이중화 시스템의 구성이 가능하다.In addition, the present invention adopts the duplication method in units of input modules, and unlike the prior art in which there is a waste factor of input contacts, it is possible to configure a more efficient duplication system by presenting a duplication method in units of contacts.
또한, 본 발명은 입력 이중화 대한 설정 및 처리 결과를 펑션 블록을 통해 쉽게 적용함으로써 단일 입력 모듈 내에서 자유롭게 필요에 따라 설정에 의해 입력 이중화를 지정할 수 있다.In addition, according to the present invention, by easily applying the setting and processing results for input duplication through a function block, it is possible to freely designate input duplication by setting as needed within a single input module.
또한, 본 발명은 적어도 PLC 프로그래밍 툴에서 사용 가능한 입력 이중화설정을 자동적으로 실시할 수 있도록 하여 프로그래밍 시간을 크게 줄이고 오류 가능성을 줄일 수 있다.In addition, the present invention can at least automatically perform the input redundancy setting available in the PLC programming tool, thereby greatly reducing the programming time and reducing the possibility of errors.
본 발명의 효과는 이상에서 언급한 효과로 제한되지 않으며, 언급되지 않는 또 다른 효과는 아래의 기재로부터 통상의 기술자에게 명확하게 이해될 수 있을 것이다.The effects of the present invention are not limited to the above-mentioned effects, and other effects not mentioned will be clearly understood by those skilled in the art from the following description.
도 1은 본 발명의 일 실시예에 따른 피엘씨의 입력 이중화 처리장치의 구성을 나타내는 도면이다.
도 2는 본 발명의 일 실시예에 따른 피엘씨의 입력 이중화 처리장치에서 이중화 접점쌍의 안전입력을 설정하는 외부 프로그램의 예시를 나타내는 도면이다.
도 3은 이중화 접점쌍의 입력 상태에 따라 결정되는 최종입력과 경보플래그의 상태를 설명하는 논리테이블이다.
도 4는 도 1의 판정부에서 수행되는 알고리즘을 나타내는 도면이다.
도 5는 입력 이중화 처리장치가 중앙처리장치 모듈에게 일반접점과 이중화 접점쌍의 현재 상태를 전송하는 포멧의 예시를 나타내는 도면이다.
도 6은 정상적인 이중화 접점쌍 입력상태일 때 입력 이중화 처리장치가 중앙처리장치 모듈에게 전송하는 데이터의 예시를 나타내는 도면이다.
도 7은 비정상적인 이중화 입력상태일 때 입력 이중화 처리장치가 중앙처리장치 모듈에게 전송하는 데이터의 예시를 나타내는 도면이다.
도 8은 중앙처리장치 모듈에서 입력 이중화 처리장치에게 설정값을 전송하는 포멧의 예시를 나타내는 도면이다.
도 9는 본 발명의 일 실시예에 따른 피엘씨의 입력 이중화 처리장치를 위한 펑션블록과 이를 활용하여 작성한 레더프로그램의 예시를 나타내는 도면이다.
도 10은 도 9의 펑션블록 내부의 처리 흐름을 나타내는 도면이다.1 is a diagram showing the configuration of an input duplication processing apparatus of a PLC according to an embodiment of the present invention.
2 is a diagram illustrating an example of an external program for setting a safety input of a duplicated contact pair in the input duplication processing apparatus of a PLC according to an embodiment of the present invention.
3 is a logic table explaining the state of the final input and the alarm flag determined according to the input state of the redundant contact pair.
FIG. 4 is a diagram illustrating an algorithm performed by the determination unit of FIG. 1 .
5 is a diagram showing an example of a format in which the input redundant processing unit transmits the current state of the normal contact and the redundant contact pair to the central processing unit module.
6 is a diagram illustrating an example of data transmitted by the input duplication processing unit to the central processing unit module in a normal duplex contact pair input state.
7 is a diagram illustrating an example of data transmitted by the input duplication processing unit to the central processing unit module when the duplex input state is abnormal.
8 is a diagram illustrating an example of a format for transmitting a set value from a central processing unit module to an input duplication processing unit.
9 is a view showing an example of a function block for an input duplication processing apparatus of a PLC according to an embodiment of the present invention and a ladder program written using the function block.
FIG. 10 is a diagram illustrating a processing flow inside the function block of FIG. 9 .
이하에서는, 본 발명의 바람직한 실시예에 기초하여 본 발명을 보다 구체적으로 설명한다. 그러나, 하기 실시예는 본 발명의 이해를 돕기 위한 일 예에 불과한 것으로 이에 의해 본 발명의 권리범위가 축소되거나 한정되는 것은 아니다.Hereinafter, the present invention will be described in more detail based on preferred embodiments of the present invention. However, the following examples are merely examples to help the understanding of the present invention, thereby not reducing or limiting the scope of the present invention.
본 발명은 두 개의 모듈을 사용하는 이중화구성이 아니라, 하나의 디지털 입력모듈에 이중화 접점쌍들을 모두 연결시키는 구성으로 이루어질 수 있다. 특히, 본 발명의 일 실시예에 따른 피엘씨의 입력 이중화 처리장치에 구비된 입력접점들 중 이중화 접점쌍으로 사용되지 않는 나머지 접점들은 일반접점으로 활용할 수 있도록 구성될 수 있다.The present invention may be configured in a configuration in which all redundant contact pairs are connected to one digital input module, not in a redundant configuration using two modules. In particular, among the input contacts provided in the input duplication processing apparatus of PLC according to an embodiment of the present invention, the remaining contacts that are not used as duplicate contact pairs may be configured to be used as general contacts.
이하에서는 도면을 참조하여 본 발명의 일 실시예에 따른 PLC의 입력 이중화 처리장치를 보다 상세하게 설명한다.Hereinafter, an input duplication processing apparatus of a PLC according to an embodiment of the present invention will be described in more detail with reference to the drawings.
도 1은 본 발명의 일 실시예에 따른 피엘씨의 입력 이중화 처리장치의 구성을 나타내는 도면이다.1 is a diagram showing the configuration of an input duplication processing apparatus of a PLC according to an embodiment of the present invention.
도 1을 참조하면, 본 발명의 일 실시예에 따른 피엘씨의 입력 이중화 처리장친(102)는 복수의 입력접점을 통해 수신한 입력신호를 내부 로직 신호로 변환하는 검출부(104), 복수의 입력접점에 대한 이중화 대상이 되는 접점쌍들의 상태를 비교하여 그 상태가 일치하지 않는 경우 검출 입력을 미리 선언된 안전 입력으로 치환하여 최종 입력으로 결정하고, 상기 최종 입력에 대한 경보 플래그를 생성하는 판정부(105) 및 시스템 버스를 통하여 최종입력과 경보 플래그를 외부로 전달하는 버스 연결부(106)를 포함할 수 있다.Referring to FIG. 1 , the input
검출부(104)는 외부의 입력회로(103)가 접속되며, 입력회로(103)를 통해 수신한 입력신호를 피엘씨의 입력 이중화 처리장치가 인식할 수 있는 신호로 변환할수 있다. 여기서, 검출부(104)는 포토커플러와 같은 절연소자를 사용하여 신호를 변환시킬 수 있다. 이러한 검출부(104)는 외부의 노이즈가 시스템 내부로 전달되는 것을 방지할 수 있다.The
판정부(105)는 마이크로 프로세서 유닛(Micro Process Unit) 또는 이와 유사한 논리연산장치를 활용하여 이중화입력 처리를 수행할 수 있다. 또한, 판정부(105)는 연산된 최종입력을 중앙처리장치 모듈(101)로 전송하는 경우, 경보 플래그를 생성하여 최종입력에 삽입할 수 있다.The
버스 연결부(106)는 판정부(105)에서 연산된 최종입력과 경보플래그를 시스템버스(100)를 통하여 중앙처리장치 모듈(101)로 전달할 수 있다.The
본 발명의 일 실시예에 따른 피엘씨의 입력 이중화 처리장치는 다른 일반 모듈들과 마찬가지로 시스템버스(100)에 접속되어 중앙처리장치(PLC CPU) 모듈(101)과 데이터를 교환할 수 있도록 구성되어 있다. 교환되는 데이터는 실시간으로 외부에서 입력되는 스위치의 상태가 '1' 과 '0'의 디지털 형태로 변환된 것이다.The input duplication processing device of PLC according to an embodiment of the present invention is connected to the
한편, 본 발명에서는 입력접점에 대한 이중화구성을 위하여 외부의 입력회로(103)에 별도의 장비를 연결하거나 사용할 필요가 없다. 따라서, 본 발명에서는 통상적인 스위치가 포함된 입력회로(103)를 구성하여 피엘씨의 입력 이중화 처리장치에 접속시킬 수 있다.On the other hand, in the present invention, there is no need to connect or use a separate device to the
또한, 본 발명은 일반접점과 이중화 접점쌍을 하나의 모듈에 혼합 연결할 수 있다. 이 장점을 활용하기 위해서, 본 발명에서는 각 입력 접점들의 구성방식(일반접점 혹은 이중화 접점쌍)을 시스템 설치단계에서 지정할 수 있다. 이러한 입력 접점의 지정은 다양하게 설정할 수 있다. 간단하게는 모듈 내부에 기능 선택 스위치 등을 설치하여 해결할 수 있다. 또, 다른 방법으로는 판정부(105)의 시퀀스 프로그램의 명령어를 사용하여 설정할 수도 있다. 이 방법은 본 설명의 말미에 예를 사용하여 상세하게 서술된다.In addition, according to the present invention, a pair of general contacts and redundant contacts can be mixed and connected to one module. In order to take advantage of this advantage, in the present invention, the configuration method (normal contact or redundant contact pair) of each input contact can be specified in the system installation step. The designation of these input contacts can be set in various ways. It can be solved simply by installing a function selection switch inside the module. Alternatively, it may be set using the instruction of the sequence program of the
여기에서는 이해를 돕기 위하여 외부 컴퓨터(PC)를 활용하여 개별 접점의 용도를 설정하는 방법을 도 를 참조하여 설명한다.Here, a method of setting the purpose of each contact point using an external computer (PC) will be described with reference to FIG.
도 를 참조하면, 설정창에 보이는 것과 같이 X0 부터 X7 까지 총 8점의 입력을 본 발명의 일 실시예에 따른 피엘씨의 입력 이중화 처리장치가 제공하는 것으로 가정하였다. 총 8점의 입력 접점이 구비되어 있으므로, 사용자는 최대 4개까지의 이중화 접점쌍을 구성할 수 있다.Referring to FIG. , it is assumed that the input duplication processing apparatus of PLC according to an embodiment of the present invention provides a total of 8 input points from X0 to X7 as shown in the setting window. Since a total of 8 input contacts are provided, the user can configure up to 4 redundant contact pairs.
여기서는, 리던던트 입력 체크박스를 이용하여 X2 접점(201)과 X3 접점(202)을 이중화 접점쌍으로 설정할 수 있다. 리던던트 입력 체크박스는 소프트웨어를 이용하여 구현할 수도 있고, 스위치와 같은 하드웨어를 이용하여 구현할 수도 있다. 예를 들면, PLC 프로그리밍 툴을 이용하여 리던던트 입력 체크박스가 설정된 PLC 프로그램을 생성하고, X2 접점(201)과 X3 접점(202)의 리던던트 입력 체크박스를 체크하여 이중화 접점쌍으로 설정할 수 있다. 또는, 리던던트 입력 체크박스용으로 8개의 스위치 접점을 회로적으로 연결하고, X2 접점(201)과 X3 접점(202)에 해당하는 스위치 접점을 조작하여 이중화 접점쌍으로 설정할 수 있다.Here, the
이때, 나머지 6 접점은 일반접점으로 사용하도록 설정할 수 있다. 다만, 이중화 접점쌍은 반드시 안전입력(Safe Input)(205) 상태를 추가로 입력하여야 한다.At this time, the remaining 6 contacts can be set to be used as general contacts. However, the redundant contact pair must additionally input the state of the safety input (Safe Input) 205 .
도 2에 도시된 바와 같이, 본 발명에서는 안전입력(205)을 '1'로 지정할 수 있다. 이렇게 지정된 안전입력(205)은 과 같이 기호 Isafe로 표시할 수 있다. 즉, Isafe는 이중화 접점쌍의 상태가 비정상으로 판정되었을 때 보정 용도로 사용하는 신호상태라고 말할 수 있다. 또한, 1 또는 0의 두 상태 중 시스템의 안전한 운전이 보장되는 상태를 의미할 수 있다. 이것을 사용하여 다중화 입력신호 처리과정 중 정상신호 판정 방법에 내재되어 있는 논리적 한계를 극복할 수 있다.2, in the present invention, the
여기서, 논리적 한계라 함은 이중화된 입력 중 하나에 이상이 발생한 경우 서로 다르게 입력되는 두 신호 중 어느 신호가 정상인지 판단하는 것이 논리적으로 불가능한 것을 의미할 수 있다. 이러한 논리적 한계는 신호를 3중화 또는 그보다 더 많은 수의 신호로 다중화 시키더라도 마주치게 되는 한계이다.Here, the logical limit may mean that it is logically impossible to determine which of the two differently input signals is normal when an error occurs in one of the duplicated inputs. This logical limit is a limit encountered even if the signal is multiplexed into a triple or a larger number of signals.
예를 들면, PLC 시스템을 설계하는 담당자는 두 상태 중 안전을 확보할 수 있는 상태가 어느 것인지 잘 알고 있을 것이므로, 안전을 확보할 수 있는 상태를 미리 Isafe 신호로 지정해 둘 수 있다. 그리고, 실제 이상 상태가 검출되었을 경우, 본 발명의 일 실시예에 따른 피엘씨의 입력 이중화 처리장치는 도 에 도시된 논리표와 같이 Isafe를 처리하여 중앙처리장치 모듈(101)에게 전송하도록 구성함으로써 인명 피해 혹은 재산상의 손실을 최대한 방지할 수 있다.For example, a person in charge of designing a PLC system may well know which of the two states can ensure safety, so the state in which safety can be secured can be designated as an Isafe signal in advance. And, when an actual abnormal state is detected, the input duplication processing device of PLC according to an embodiment of the present invention processes Isafe as shown in the logic table shown in FIG. It is possible to prevent personal injury or property damage as much as possible.
또한, 본 발명의 일 실시예에 따른 피엘씨의 입력 이중화 처리장치는 안전한 사후 조치를 위하여 이중화 접점쌍 신호의 이상 상태를 자동화 설비 운용자에게 알릴 수 있다. 이때, 피엘씨의 입력 이중화 처리장치는 이중화 접점쌍에 문제가 발생되었음을 미리 인지할 수 있으므로, 이상 상태를 표시하는 경보 플래그를 세팅하고, 시스템 버스(100)를 경유하여 경보 플래그가 세팅된 입력신호를 중앙처리장치 모듈(101)로 전송할 수 있다. 여기서, 전술한 Isafe 도출 과정과 경보 플래그의 상태를 결정하는 과정은 판정부(105)에서 수행될 수 있다.In addition, the input duplication processing apparatus of PLC according to an embodiment of the present invention may notify an automated facility operator of an abnormal state of the duplicated contact pair signal for safe follow-up measures. At this time, since the input duplication processing apparatus of PLC can recognize in advance that a problem has occurred in the duplex contact pair, it sets an alarm flag indicating an abnormal state, and sends an input signal to which the alarm flag is set via the
이하에서는 도 를 참조하여 판정부에서 연산되는 과정을 설명한다.Hereinafter, a process calculated by the determination unit will be described with reference to FIG.
도 4는 판정부에서 연산되는 과정을 자세하게 설명하고 있다.4 is a detailed description of a process performed by the determination unit.
우선, 판정부에서는 외부의 입력신호들(In, n=0~7)를 검출하고(S110), 입력신호들이 이중화 입력인지 판단할 수 있다(S120).First, the determination unit detects external input signals (In, n=0 to 7) (S110), and may determine whether the input signals are redundant inputs (S120).
여기서, 변환된 외부의 입력신호들(In, n=0~7) 중 이중화 접점쌍이 아닌 일반접점들인 경우, 판정부(105)는 경보 플래그를 운용할 필요가 없다. 따라서, 판정부(105)는 경보 플래그 An(n=0~7)를 '0'으로 리셋 처리한 다음(S122), 외부 입력 데이터 In을 Xn(n=0~7)으로 복사하여(S124) 중앙처리장치 모듈(101)로 전달할 준비를 마칠 수 있다.Here, if the converted external input signals (In, n = 0 to 7) are normal contacts other than the redundant contact pair, the
변환된 외부의 입력 신호들(In, n=0~7) 중 이중화 접점쌍인 경우, 판정부(105)는 이중화 결선된 두 신호 Ia와 Ib를 비교하는 과정을 수행할 수 있다(S130). 두 신호가 동일하면 판정부(105)는 정상상태라고 판정하고 경보 플래그 Aa와 Ab를 '0'으로 리셋시키고(S142), 입력신호 Ia와 Ib를 각각 Xa와 Xb로 복사할 수 있다(S144). 만약, 두 신호가 일지하지 않는 경우, 판정부(105)는 경보 플래그 Aa와 Ab를 세팅한 다음(S152) 미리 설정된 안전입력 Isafe를 Xa와 Xb 모두에 기록하여(S154) 중앙처리장치 모듈(101)로 전송할 준비를 수행할 수 있다.Among the converted external input signals (In, n = 0 to 7), in the case of a duplicated contact pair, the
전술한 과정을 통하여 중앙처리장치 모듈(101)로 전송될 입력데이터 Xn(n=0~7)과 경보데이터 An(n=1~7)이 준비되면, 버스 연결부(106)는 시스템 버스(100)를 경유하여 중앙처리장치 모듈(101)로 입력데이터 Xn(n=0~7)과 경보데이터 An(n=1~7)을 전송할 수 있다.When the input data Xn (n=0-7) and the alarm data An (n=1-7) to be transmitted to the central
구체적으로, 버스 연결부(106)의 데이터 전송 방법은 PLC 시스템의 설계 내용에 따라 다양한 방법이 사용될 수 있다. 여기에서는 가장 간단하면서 최소한의 데이터 크기로 처리할 수 있는 방법을 예시로 설명한다.Specifically, as for the data transmission method of the
통상적인 PLC 시스템은 입력데이터를 최대한 빠르게 중앙처리장치 모듈(101)에 전송하기 위하여 데이터의 크기를 최대한 작게 설계할 수 있다. 도 5에서는 이렇게 설계된 데이터 포멧의 사례를 보여준다.A typical PLC system can design the size of data to be as small as possible in order to transmit the input data to the central
여기서는, 8개의 입력 상태를 전송하기 위하여 1 바이트(byte)를 사용하도록 구성할 수 있다. 즉, 1 바이트 데이터를 구성하는 8개의 비트를 8개의 입력으로 1:1 대응시킨 구조이다. 이중화 접점쌍이 포함되어 있지 않을 경우에는 입력접점과 비트 위치 사이의 관계를 직관적으로 이해할 수 있다.Here, it can be configured to use one byte to transmit eight input states. That is, it is a structure in which 8 bits constituting 1 byte data are 1:1 with 8 inputs. If the redundant contact pair is not included, the relationship between the input contact and the bit position can be intuitively understood.
예를 들면, 1개의 이중화접점이 도 2의 예시와 같이 I2와 I3 단자를 통하여 연결되어 있는 경우를 가정해보면, 도 3의 논리표와 도 4의 알고리즘을 사용하여 I2와 I3 단자의 입력은 각각 X2와 X3로 변환되고, X2와 X3는 이중화 접점쌍의 이상 유무와 관계없이 항상 같은 상태값을 가질 수 있다. 이 특성을 이용하여 도 5의 예에서는 X2 값이 위치하는 곳에 X2와 X3의 현재 상태값을 기록할 수 있다. 경보플래그 A2와 A3 역시 이중화 접점쌍과 같은 값을 가질 수 있다.For example, if it is assumed that one redundant contact is connected through terminals I2 and I3 as in the example of FIG. 2 , the inputs of terminals I2 and I3 using the logic table of FIG. 3 and the algorithm of FIG. 4 are respectively It is converted into X2 and X3, and X2 and X3 can always have the same state value regardless of whether there is an abnormality in the redundant contact pair. Using this characteristic, in the example of FIG. 5 , the current state values of X2 and X3 may be recorded where the value of X2 is located. Alarm flags A2 and A3 may also have the same value as the redundant contact pair.
도 5의 예에서는 이 경보플래그를 X3 값이 위치하는 곳에 기록하여 전송할 수 있다. 이것은 중앙처리장치 모듈(101)과 피엘씨의 입력 이중화 처리장치 사이에 상호 약속된 것이다. 이 방법으로 실제 전송되는 데이터를 도 6과 도 7에 예시하였다.In the example of FIG. 5 , this warning flag may be recorded and transmitted where the X3 value is located. This is mutually agreed between the central
도 6은 이중화 접점쌍의 상태값이 '0'으로 정상 입력되는 경우의 전송 데이터를 나타낸다.6 shows transmission data when the state value of the redundant contact pair is normally input as '0'.
도 6를 참조하면, X3 위치에 기록된 경보플래그 값이 '0'으로 설정될 수 있다.Referring to FIG. 6 , the alarm flag value recorded at position X3 may be set to '0'.
도 7은 이중화 접점쌍의 값이 서로 다르게 입력되어 이상 상태로 확인되는 경우의 전송 데이터를 나타낸다. 여기서에서 X3에 기록된 경보플래그 값은 '1'로 설정할 수 있다. 그리고, X2 위치에는 도 2에서 설정된 Isafe 값은 '1'로 설정할 수 있다.7 shows transmission data in the case where the value of the redundant contact pair is input differently and the abnormal state is confirmed. Here, the alarm flag value recorded in X3 can be set to '1'. In addition, the Isafe value set in FIG. 2 may be set to '1' at the X2 position.
이하에서는 도 8을 참조하여 본 발명의 다른 실시예에 따른 이중화 접점쌍과 안전입력 Isafe 값을 설정하는 방법을 설명한다.Hereinafter, a method of setting a redundant contact pair and a safety input Isafe value according to another embodiment of the present invention will be described with reference to FIG. 8 .
특히, 여기서는 중앙처리장치 모듈(101)에서 명령어를 사용하여 이중화 접점쌍과 안전입력 Isafe 값을 설정하는 과정을 설명한다. 설정값은 중앙처리장치 모듈(101)로부터 피엘씨의 입력 이중화 처리장치를 향하는 방향으로 전송될 수 있다. 여기에서도 전송데이터를 최소한의 크기로 구성하는 것이 유리하다. 총 8점의 입력을 수용하는 모듈을 가정하면, 최대 4개의 이중화 접점쌍을 구성할 수 있으므로, 접점쌍 설정용도의 비트 4개와 각 이중화 접점쌍의 안전입력 Isafe 상태 설정용 비트 4개를 묶어 1 바이트의 전송데이터로 구성할 수 있다. 이와 같은 방법으로 구성했을 때 도 8는 도 2와 동일한 설정값을 전송하는 경우를 예시적으로 나타낸다. 이때, X2와 X3 입력이 이중화 접점쌍으로 지정되고, 이 접점쌍의 안전입력 Isafe 상태값을 '1'로 설정할 수 있다.In particular, the process of setting the redundant contact pair and the safety input Isafe value by using a command in the central
한편, 본 발명의 일 실시예에 따른 피엘씨의 입력 이중화 처리장치는 펑션블록을 이용하여 이중화 접점쌍 설정 및 동작 설정을 수행할 수 있다. 여기서, 펑션블록은 일종의 라이브러리 함수와 같은 역할을 하는 레더 프로그램 구성요소로 이해할 수 있으며, 피엘씨의 입력 이중화 처리장치에 연결된 이중화입력을 손쉽게 활용할 수 있도록 돕는다. 이러한 펑션블록은 프로그램 활성화 신호와 피엘씨의 입력 이중화 처리장치의 장착 위치를 특정하는 입력 파라미터를 수신하여 PLC 시스템 버스에 접근한 다음 피엘씨의 입력 이중화 처리장치로부터 데이터를 취득하고 취득된 데이터에서 최종입력과 경보플래그를 추출하여 외부 논리회로에서 활용할 수 있도록 출력할 수 있다.On the other hand, the input duplication processing apparatus of PLC according to an embodiment of the present invention may perform duplex contact pair setting and operation setting using a function block. Here, the function block can be understood as a ladder program component that acts like a kind of library function, and helps to easily utilize the duplicated input connected to the PLC's duplicated input processing device. These function blocks receive the program activation signal and input parameters specifying the mounting position of the PLC input redundant processing device, access the PLC system bus, and then acquire data from the PLC input redundant processing device and finalize the obtained data. Input and alarm flags can be extracted and output to be used in an external logic circuit.
도 9는 펑션블록이 사용된 레더프로그램의 예시를 나타낸다. 도 9에서 참조번호 301은 펑션블록(300)을 실행시키기 위한 회로의 예시이고, 참조번호 302는 펑션블록(300)이 실행된 후 처리되는 회로의 예시이고, 참조번호 303은 펑션블록(300)의 실행에 사용되는 입력 파라미터의 예시이고, 참조번호 304는 펑션블록(300)의 실행 결과를 내부 메모리에 전달 또는 저장하는 예시이다.9 shows an example of a ladder program using a function block. In FIG. 9 ,
본 발명의 일 실시예에 따른 피엘씨의 입력 이중화 처리장치를 위한 펑션블록(300)은 4개의 입력과 3개의 출력으로 구성될 수 있다. 4개의 입력 중 인에이블(Enable) 입력은 펑션블록(300)의 기능을 활성화시키는 신호가 연결될 수 있다. 이 신호는 일반적인 논리회로로 정의할 수 있다.The
도 9에 펑션블록(300)을 활성화시키는 간단한 논리회로(301)가 예시되어 있다. 이 회로의 연산 결과가 트루(True)가 되면 펑션블록(300) 내부의 로직이 활성화되어 프로그램이 실행될 수 있다.A
도 10은 피엘씨의 입력 이중화 처리장치를 위한 펑션블록(300) 내부의 프로그램 동작과정을 보여준다.10 shows a program operation process inside the
우선, 인에이블 신호가 입력되는지 판단하고(S210), 인에이블 신호가 입력되지 않은 경우 출력을 리셋할 수 있다(S215).First, it is determined whether an enable signal is input (S210), and when the enable signal is not input, the output can be reset (S215).
다음, 이중화 입력 신호의 위치를 분석할 수 있다(S220). 이때, 도 10에서 인에이블(Enable) 신호와 함께 입력되는 정보는 도 9의 입력 파라미터(303)로서 피엘씨의 입력 이중화 처리장치가 장착된 위치 정보('Base#'와 'Slot#')와 해당 모듈에서의 접점 번호('Point#')가 포함될 수 있다. 펑션블록(300) 내부에서 전술한 입력파라미터를 해석한 다음 이것을 바탕으로 시스템 버스(100)에 접근하여 피엘씨의 입력 이중화 처리장치의 데이터를 취득할 수 있다(S230). 이와 같은 데이터 취득 과정을 통해 취득한 데이터가 도 5에 예시적으로 나타나 있다.Next, the position of the redundant input signal may be analyzed (S220). At this time, the information input together with the enable signal in FIG. 10 is the
다음 과정으로 취득된 데이터에 기록되어 있는 이중화입력과 이중화알람플래그를 추출할 수 있다(S240). 도 5에 제시된 예를 기준으로 살펴보면, 각각 X2(X3)와 A2(A3) 신호가 될 수 있다.The redundancy input and the redundancy alarm flag recorded in the acquired data can be extracted through the following process (S240). Referring to the example presented in FIG. 5 as a reference, the signals may be X2(X3) and A2(A3) signals, respectively.
마지막으로, 추출된 데이터를 각각 스테이트(State)와 알람(Alarm)으로 표시된 회로로 출력시키고, 인에이블 아웃(En_Out)으로 표시된 회로는 논리 트루(True) 상태로 전환되어 펑션블록(300)이 실행되어 그 결과값이 준비되었음을 외부 회로에 알릴 수 있다(S250). 이들 출력 신호는 펑션블록(300)의 출력부에 연결되어 구성된 외부회로(302,304) 의해 처리되거나 활용될 수 있다.Finally, the extracted data is output to the circuits marked with State and Alarm, respectively, and the circuit marked with Enable Out (En_Out) is converted to a logic true state and the
이를 위하여, 본 발명에서는 박스 형태의 펑션 블록을 이용하여 PLC 프로그램을 쉽게 설정할 수 있다. 즉, 본 발명에서는 하드웨어 또는 소프트웨어로 이루어진 별도의 독립적인 수단을 이용하여 피엘씨의 입력 이중화 처리장치의 입력 및 출력을 쉽게 구성할 수 있다.To this end, in the present invention, a PLC program can be easily set using a box-shaped function block. That is, in the present invention, it is possible to easily configure the input and output of the input duplication processing apparatus of the PLC by using a separate and independent means made of hardware or software.
본 발명은 단일 모듈 내에서 입력 이중화처리가 가능한 PLC의 입력 이중화 처리장치를 제시하고 있다. 또한, 본 발명은 입력 이중화 대한 설정 및 처리 결과를 시스템 라이브러리 형태로 제공될 수 있는 펑션블록을 통해 쉽게 적용할 수 있다.The present invention proposes an input duplication processing apparatus of PLC capable of duplicating input processing within a single module. In addition, the present invention can be easily applied through a function block that can provide setting and processing results for input duplication in the form of a system library.
본 발명에서는 8개의 입력이 지원되는 피엘씨의 입력 이중화 처리장치를 가정하고 기술적 특징 및 예시를 설명하였다. 그러나, 이것은 설명의 이해를 돕고자 설정한 것이며, 통상의 입력모듈들은 8점, 16점, 32점, 64점 등 다양한 조합의 입력을 하나의 모듈에서 수용할 수 있도록 제작됨을 주지하여야 한다. 이들 모듈에 대해서도 용이하게 전술한 방법의 디지털 입력 이중화처리가 적용될 수 있다.In the present invention, it is assumed that an input duplication processing device of PLC supporting 8 inputs is assumed, and technical features and examples have been described. However, it should be noted that this is set to help the understanding of the description, and common input modules are manufactured to accommodate inputs of various combinations, such as 8 points, 16 points, 32 points, and 64 points, in one module. The digital input duplication process of the above-described method can be easily applied to these modules as well.
종래에는 단일 모듈 내에서 8점 ~ 64점에 이르는 입력 모듈의 이중화처리를 지원하지 않고, 모듈 자체를 중복 사용하는 방식으로 되어 있어, 수많은 입력 접점에 대한 과도한 비용 발생 및 시스템의 복잡한 구성을 야기했으며, 이중화처리를 위해 데이터 컨트롤 유닛이 별도로 존재해야 되므로 추가 비용이 발생하고, 런상태와 스텐바이 상태로 분리되어 있어 입력 신호 자체의 문제를 데이터 컨트롤 유닛이 감지할 수 없었다.Conventionally, it did not support the duplication processing of input modules ranging from 8 to 64 points within a single module, but used the module itself in a way that overlapped, resulting in excessive cost for numerous input contacts and complicated configuration of the system. , additional cost is incurred because the data control unit must exist separately for redundant processing, and the data control unit cannot detect the problem of the input signal itself because it is separated into the run state and the standby state.
이와 같이 종래에는 비용적인 측면과 기술적인 한계가 분명히 존재하는데 반해, 본 발명은 단일 입력 모듈 내에서 자유롭게, 필요에 따라, 설정에 의해 입력 이중화 지정할 수 있어서 비용을 절감할 수 있으며, 이중화지정이라고 하는 작업을 복잡한 래더(PLC 표준 언어)로 모든 시퀀스를 구성하는것이 아닌 박스 형태의 펑션 블록(PLC 표준 언어)을 이용하여 구성과 설정이 용이하다.As described above, while there are clear cost aspects and technical limitations in the prior art, the present invention can reduce costs by freely designating input redundancy by setting within a single input module, if necessary, and is called redundancy designation. It is easy to configure and set by using a box-shaped function block (PLC standard language) rather than composing all sequences with a complicated ladder (PLC standard language).
특히, 본 발명은 다른 외부의 하드웨어 혹은 소프트웨어를 필요로 하지 않으며, 이로써 시스템 구성을 단순하게 설계할 수 있고, 최소한의 비용으로 입력신호의 이중화구성이 가능하다.In particular, the present invention does not require any external hardware or software, and thus the system configuration can be designed simply, and the dual input signal configuration is possible at a minimum cost.
또한, 본 발명은 완벽한 이상 검출이 불가능한 논리적 한계에 합리적 대응이 가능한 방법을 제시하여 이상 발생시 경보플래그를 사용하여 작업자에게 이상 발생 사실을 알림과 동시에 미리 설정된 안전입력을 제어동작에 적용함으로써 시스템의 안전을 확보할 수 있고, 시스템의 정지 없이 계속 운전시키는 것이 가능하다.In addition, the present invention proposes a method capable of rationally responding to a logical limit in which perfect abnormal detection is impossible, and when an abnormality occurs, an alarm flag is used to notify the operator of the abnormal occurrence and at the same time apply a preset safety input to the control operation to ensure the safety of the system can be secured, and it is possible to continue operation without stopping the system.
또한, 본 발명은 입력모듈 단위의 이중화방식을 채택하여 입력접점의 낭비 요소가 존재하는 종래 기술과 달리, 접점 단위의 이중화방법을 제시함으로써 보다 효율적인 이중화 시스템의 구성이 가능하다.In addition, the present invention adopts the duplication method in units of input modules, and unlike the prior art in which there is a waste factor of input contacts, it is possible to configure a more efficient duplication system by presenting a duplication method in units of contacts.
또한, 본 발명은 입력 이중화 대한 설정 및 처리 결과를 펑션 블록을 통해 쉽게 적용함으로써 단일 입력 모듈 내에서 자유롭게 필요에 따라 설정에 의해 입력 이중화를 지정할 수 있다.In addition, according to the present invention, by easily applying the setting and processing results for input duplication through a function block, it is possible to freely designate input duplication by setting as needed within a single input module.
또한, 본 발명은 적어도 PLC 프로그래밍 툴에서 사용 가능한 입력 이중화설정을 자동적으로 실시할 수 있도록 하여 프로그래밍 시간을 크게 줄이고 오류 가능성을 줄일 수 있다.In addition, the present invention can at least automatically perform the input redundancy setting available in the PLC programming tool, thereby greatly reducing the programming time and reducing the possibility of errors.
이상에서 본 발명에 대한 기술 사상을 첨부 도면과 함께 서술하였지만, 이는 본 발명의 바람직한 실시예를 예시적으로 설명한 것이지 본 발명을 한정하는 것은 아니다. 또한, 이 기술 분야의 통상의 지식을 가진 자라면 누구나 본 발명의 기술 사상의 범주를 이탈하지 않는 범위 내에서 다양한 변형 및 모방이 가능함은 명백한 사실이다.Although the technical idea of the present invention has been described in conjunction with the accompanying drawings in the above, the preferred embodiment of the present invention is exemplarily described and does not limit the present invention. In addition, it is clear that any person with ordinary skill in the art can make various modifications and imitations without departing from the scope of the technical idea of the present invention.
104: 검출부
105: 판정부
106: 버스 연결부104: detection unit
105: judgment unit
106: bus connection
Claims (11)
복수의 입력접점에 대한 이중화 대상이 되는 접점쌍들의 상태를 비교하여 그 상태가 일치하지 않는 경우 검출 입력을 미리 선언된 안전 입력으로 치환하여 최종 입력으로 결정하고, 상기 최종 입력에 대한 경보 플래그를 생성하는 판정부; 및
시스템 버스를 통하여 상기 최종입력과 상기 경보 플래그를 외부로 전달하는 버스 연결부; 를 포함하고,
상기 복수의 입력접점은 적어도 한 쌍의 접점이 이중화 접점쌍으로 설정되고, 상기 이중화 접점쌍 중 적어도 하나를 안전입력 상태로 설정하며,
상기 판정부는 상기 이중화 접점쌍의 상태가 일치하지 않는 경우 상기 경보플래그를 생성하여 상기 최종입력에 삽입하고, 상기 경보플래그가 삽입된 최종입력을 상기 버스 연결부로 전달하고,
상기 경보플래그는 상기 이중화 접점쌍마다 별도로 마련되어 이상 발생시 해당 이중화 접점쌍을 용이하게 식별하도록 구성되는, 피엘씨의 입력 이중화 처리장치.
a detection unit that converts an input signal received through a plurality of input contacts into an internal logic signal;
By comparing the states of contact pairs to be duplicated for a plurality of input contacts, if the states do not match, the detection input is replaced with a pre-declared safety input to determine the final input, and an alarm flag for the final input is generated judging unit; and
a bus connection unit for transmitting the final input and the warning flag to the outside through a system bus; including,
In the plurality of input contacts, at least one pair of contacts is set as a redundant contact pair, and at least one of the redundant contact pairs is set to a safety input state,
When the state of the redundant contact pair does not match, the determination unit generates the alarm flag and inserts it into the final input, and transfers the final input into which the alarm flag is inserted to the bus connection unit,
The alarm flag is separately provided for each duplicated contact pair, and is configured to easily identify the duplicated contact pair when an abnormality occurs.
상기 안전입력 상태는 상기 이중화 접점쌍의 상태가 비정상으로 판정되었을 때 보정 용도로 사용하는 신호상태인 것인, 피엘씨의 입력 이중화 처리장치.
According to claim 1,
The safety input state is a signal state used for correction when the state of the duplicated contact pair is determined to be abnormal.
상기 복수의 입력접점 중 나머지 접점은 일반접점으로 설정하는, PLC의 입력 이중화 처리장치.
According to claim 1,
Among the plurality of input contacts, the remaining contacts are set as general contacts, an input duplication processing device of PLC.
(b) 복수의 입력접점 중 적어도 한 쌍의 접점을 이중화 접점쌍으로 설정하고, 상기 복수의 입력접점에 대한 이중화입력 처리를 수행하기 위하여 상기 입력신호를 연산하여 최종입력과, 상기 최종입력에 대한 경보 플래그를 생성하는 단계; 및
(c) 시스템 버스를 통하여 상기 최종입력과 상기 경보 플래그를 외부로 전달하는 단계 를 포함하고,
(b) 단계에서는, 상기 이중화 접점쌍의 상태가 일치하지 않는 경우 상기 경보 플래그를 생성하여 상기 최종입력에 삽입하는, 피엘씨의 입력 이중화 처리방법.
(a) converting an input signal received through a plurality of input contacts into an internal logic signal;
(b) setting at least one pair of contacts among a plurality of input contacts as a duplicated contact pair, calculating the input signal to perform duplicated input processing for the plurality of input contacts, a final input, and a final input for the final input generating an alert flag; and
(c) transmitting the final input and the warning flag to the outside through a system bus,
In step (b), when the state of the duplicated contact pair does not match, the alarm flag is generated and inserted into the final input, the PLC input duplication processing method.
상기 (b) 단계에서, 상기 복수의 입력접점 중 나머지 접점을 일반접점으로 설정하며, 상기 이중화 접점쌍 중 적어도 하나를 안전입력 상태로 설정하는, 피엘씨의 입력 이중화 처리방법.
8. The method of claim 7,
In step (b), the remaining contacts among the plurality of input contacts are set as normal contacts, and at least one of the duplicated contact pairs is set to a safety input state.
상기 안전입력 상태는 상기 이중화 접점쌍의 상태가 비정상으로 판정되었을 때 보정 용도로 사용하는 신호상태인 것인, 피엘씨의 입력 이중화 처리방법.
9. The method of claim 8,
The safety input state is a signal state used for correction when the state of the redundant contact pair is determined to be abnormal.
상기 이중화입력 처리에 대한 설정 및 처리 결과를 펑션블록을 통해 적용하는, 피엘씨의 입력 이중화 처리방법.
8. The method of claim 7,
PLC's input duplication processing method for applying the setting and processing results for the duplex input processing through a function block.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020190004749A KR102262090B1 (en) | 2019-01-14 | 2019-01-14 | Apparatus and method for duplexing input of plc |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020190004749A KR102262090B1 (en) | 2019-01-14 | 2019-01-14 | Apparatus and method for duplexing input of plc |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20200088137A KR20200088137A (en) | 2020-07-22 |
KR102262090B1 true KR102262090B1 (en) | 2021-06-07 |
Family
ID=71893122
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020190004749A Active KR102262090B1 (en) | 2019-01-14 | 2019-01-14 | Apparatus and method for duplexing input of plc |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102262090B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7690372B2 (en) * | 2021-10-11 | 2025-06-10 | オークマ株式会社 | Safety controller monitoring device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006040195A (en) * | 2004-07-30 | 2006-02-09 | Toyoda Mach Works Ltd | Programmable controller |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07199798A (en) * | 1993-12-28 | 1995-08-04 | Omron Corp | I/o unit of programable controller |
KR20000066126A (en) * | 1999-04-13 | 2000-11-15 | 이종수 | Method for detecting error in plc |
KR100786668B1 (en) | 2006-12-15 | 2007-12-21 | 현대로템 주식회사 | Door individual control device of railway vehicle |
-
2019
- 2019-01-14 KR KR1020190004749A patent/KR102262090B1/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2006040195A (en) * | 2004-07-30 | 2006-02-09 | Toyoda Mach Works Ltd | Programmable controller |
Also Published As
Publication number | Publication date |
---|---|
KR20200088137A (en) | 2020-07-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107957692B (en) | Controller redundancy method, device and system | |
CN109143954B (en) | System and method for realizing controller reset | |
CN104977907A (en) | Direct Connect Algorithm | |
CN100451892C (en) | Control system using serial communication | |
KR102262090B1 (en) | Apparatus and method for duplexing input of plc | |
US20100176972A1 (en) | Method and device for monitioning avionics systems connected to a shared medium | |
CN115237064B (en) | Safety control method, system and device | |
CN113204767A (en) | BMC starting method, device, equipment and readable storage medium | |
US6412016B1 (en) | Network link bypass device | |
KR20140135031A (en) | Redundancy system and controllin method thereof | |
JP2007043679A (en) | Transmitting apparatus, receiving apparatus, and communication system | |
JP2706027B2 (en) | Programmable controller | |
JPS61267810A (en) | Deciding circuit for detection of service interruption | |
JP2778691B2 (en) | Bus monitoring circuit | |
JPH0726762Y2 (en) | Bus mismatch circuit | |
JP2004133680A (en) | Monitor device | |
JPS61213932A (en) | Distributed dual system computer system and its control method | |
JP3107104B2 (en) | Standby redundancy method | |
JPH02281343A (en) | Cpu operation monitor system | |
CN119939640A (en) | A method, device, equipment and readable storage medium for secure communication between BIOS and BMC | |
JPH1168802A (en) | Faulty environment supervisory system | |
JPH05250195A (en) | Health check control system of information processing system | |
US6807514B2 (en) | Apparatus for monitoring the proper operation of components of an electrical system carrying out the same or mutually corresponding actions | |
JPS5812062A (en) | Output device for parallel electronic computer system | |
JP3298989B2 (en) | Failure detection / automatic embedded device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20190114 |
|
PA0201 | Request for examination | ||
PG1501 | Laying open of application | ||
E902 | Notification of reason for refusal | ||
PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20200831 Patent event code: PE09021S01D |
|
E701 | Decision to grant or registration of patent right | ||
PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 20210325 |
|
GRNT | Written decision to grant | ||
PR0701 | Registration of establishment |
Comment text: Registration of Establishment Patent event date: 20210602 Patent event code: PR07011E01D |
|
PR1002 | Payment of registration fee |
Payment date: 20210602 End annual number: 3 Start annual number: 1 |
|
PG1601 | Publication of registration | ||
PR1001 | Payment of annual fee |
Payment date: 20240402 Start annual number: 4 End annual number: 4 |
|
PR1001 | Payment of annual fee |
Payment date: 20250401 Start annual number: 5 End annual number: 5 |