KR102434128B1 - Programmable logic controller system - Google Patents

Programmable logic controller system Download PDF

Info

Publication number
KR102434128B1
KR102434128B1 KR1020180021129A KR20180021129A KR102434128B1 KR 102434128 B1 KR102434128 B1 KR 102434128B1 KR 1020180021129 A KR1020180021129 A KR 1020180021129A KR 20180021129 A KR20180021129 A KR 20180021129A KR 102434128 B1 KR102434128 B1 KR 102434128B1
Authority
KR
South Korea
Prior art keywords
function module
identifier
feedback signal
signal
switch
Prior art date
Application number
KR1020180021129A
Other languages
Korean (ko)
Other versions
KR20190101141A (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 KR1020180021129A priority Critical patent/KR102434128B1/en
Publication of KR20190101141A publication Critical patent/KR20190101141A/en
Application granted granted Critical
Publication of KR102434128B1 publication Critical patent/KR102434128B1/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
    • G05B6/00Internal feedback arrangements for obtaining particular characteristics, e.g. proportional, integral, differential
    • G05B6/02Internal feedback arrangements for obtaining particular characteristics, e.g. proportional, integral, differential electric
    • 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/14027IN, plc and comparator, feedback OUT, OUT
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

본 발명의 일 실시예에 따른 PLC 시스템은 제1 및 제2 기능 모듈; 상기 제1 및 제2 기능 모듈 중 어느 하나로부터 인터럽트(Interrupt) 동작과 관련된 제1 피드백 신호를 제공받는 베이스 모듈; 및 상기 베이스 모듈로부터 상기 제1 피드백 신호를 제공받고, 상기 제1 및 제2 기능 모듈 중 상기 제1 피드백 신호를 제공한 기능 모듈을 식별하는 프로세서를 포함하되, 상기 제1 및 제2 기능 모듈은 상호간 상기 제1 피드백 신호의 제공 여부를 감지하는 것을 특징으로 한다. A PLC system according to an embodiment of the present invention includes first and second function modules; a base module receiving a first feedback signal related to an interrupt operation from any one of the first and second function modules; and a processor receiving the first feedback signal from the base module and identifying a function module that provided the first feedback signal from among the first and second function modules, wherein the first and second function modules include: It is characterized in that it is detected whether the first feedback signal is mutually provided.

Description

PLC 시스템{PROGRAMMABLE LOGIC CONTROLLER SYSTEM}PLC system {PROGRAMMABLE LOGIC CONTROLLER SYSTEM}

본 발명은 PLC 시스템에 관한 것으로, 보다 구체적으로는 기능 모듈의 인터럽트 요청을 효과적으로 처리할 수 있는 PLC 시스템에 관한 것이다.The present invention relates to a PLC system, and more particularly, to a PLC system capable of effectively processing an interrupt request from a function module.

PLC 시스템(Programmable Logic Controller System; 프로그래머블 로직 컨트롤러 시스템)은 산업 현장에서 각종 기기나 설비 등을 제어하는 장치이다.A PLC system (Programmable Logic Controller System; Programmable Logic Controller System) is a device that controls various devices or equipment in an industrial field.

도 1은 종래의 PLC 시스템을 설명하는 도면이다.1 is a view for explaining a conventional PLC system.

도 1을 참조하면, 종래의 PLC 시스템(100)은 각 모듈에 전원을 공급하는 제1 전원 모듈(110)과 제2 전원 모듈(150), 프로세서(120) 및 제1 내지 제N 기능 모듈(130-1~130-N)을 포함할 수 있다.Referring to FIG. 1 , a conventional PLC system 100 includes a first power module 110 and a second power module 150 , a processor 120 , and first to N-th function modules for supplying power to each module ( 130-1 to 130-N).

메인 베이스 모듈(10) 및 증설 베이스 모듈(20)은 각종 모듈을 기계적, 전기적으로 연결할 수 있다. 그리고, 사용자는 증설 케이블(30)을 통해 증설 베이스 모듈(20)을 메인 베이스 모듈(10)에 연결함으로써 다수의 기능 모듈을 추가할 수 있다.The main base module 10 and the extension base module 20 may mechanically and electrically connect various modules. And, the user can add a plurality of function modules by connecting the extension base module 20 to the main base module 10 through the extension cable 30 .

여기서, 제1 내지 제N 기능 모듈(130-1~130-N) 각각은 아날로그 입력 모듈, 아날로그 출력 모듈, 디지털 입력 모듈, 디지털 출력 모듈 등 종래의 PLC 시스템(100)에 구비될 수 있는 모듈 중 하나를 의미할 수 있다.Here, each of the first to N-th function modules 130-1 to 130-N is one of the modules that may be provided in the conventional PLC system 100, such as an analog input module, an analog output module, a digital input module, and a digital output module. can mean one.

한편, 프로세서(120)는 일정한 주기에 따라 제1 기능 모듈(130-1) 내지 제N 기능 모듈(130-N)로부터 입력값을 제공받고, 제공받은 입력값을 토대로 프로그램을 실행하여 로직, 시퀀싱, 타이밍, 카운팅 등 다양한 처리를 할 수 있다. 그리고, 프로세서(120)는 프로그램의 실행 결과로 출력값을 제1 내지 제N 기능 모듈(130-1~130-N)에게 제공할 수 있다.Meanwhile, the processor 120 receives an input value from the first function module 130-1 to the N-th function module 130-N according to a predetermined period, and executes a program based on the received input value to perform logic and sequencing. , timing, counting, etc. can be processed. In addition, the processor 120 may provide an output value as a result of executing the program to the first to Nth function modules 130-1 to 130-N.

전술한 바와 같이, 프로세서(120)가 입력값을 제공받고, 프로그램을 실행하고, 출력값을 제공하는 일련의 과정을 '스캔'이라고 한다.As described above, a series of processes in which the processor 120 receives an input value, executes a program, and provides an output value is referred to as 'scan'.

프로세서(120)는 스캔을 수행하는 중 제1 내지 제N 기능 모듈(130-1~130-N) 중 적어도 하나로부터 인터럽트 동작을 요청 받으면, 스캔을 중단하고 미리 설정된 인터럽트 동작을 우선적으로 수행하게 된다.When the processor 120 receives a request for an interrupt operation from at least one of the first to N-th function modules 130-1 to 130-N while performing the scan, the processor 120 stops the scan and preferentially performs the preset interrupt operation. .

여기서, 제1 내지 제N 기능 모듈(130-1~130-N) 각각은 미리 설정된 인터럽트 조건이 만족되면, 인터럽트 동작 요청 신호를 출력할 수 있다.Here, each of the first to Nth function modules 130-1 to 130-N may output an interrupt operation request signal when a preset interrupt condition is satisfied.

프로세서(120)는 제1 내지 제N 기능 모듈(130-1~130-N) 각각이 출력하는 인터럽트 동작 요청 신호를 와이어드 앤드(wired-AND) 연결을 통해 전달받을 수 있다. 다시 말해서, 제1 내지 제N 기능 모듈 중 하나라도 인터럽트 동작 요청 신호를 출력하면, 프로세서(120)는 인터럽트 동작 요청 여부를 감지할 수 있다.The processor 120 may receive the interrupt operation request signal output from each of the first to Nth function modules 130-1 to 130-N through a wired-AND connection. In other words, when any one of the first to Nth function modules outputs an interrupt operation request signal, the processor 120 may detect whether an interrupt operation is requested.

하지만, 종래의 PLC 시스템(100)에서 프로세서(120)는 인터럽트 동작 요청 여부만 감지할 수 있을 뿐, 어떤 기능 모듈이 인터럽트 동작 요청 신호를 전송했는지 파악할 수 없었다.However, in the conventional PLC system 100, the processor 120 can only detect whether an interrupt operation is requested or not, and cannot determine which function module has transmitted the interrupt operation request signal.

이에 따라, 프로세서(120)는 종래의 PLC 시스템(100) 내에서 프로세서(120)와 가까운 위치의 기능 모듈(예를 들어, 제1 기능 모듈(130-1))부터 가장 먼 위치의 기능 모듈(예를 들어, 제N 기능 모듈(130-N))까지 순차적으로 탐색하며 인터럽트 동작을 요청한 기능 모듈을 찾고, 해당 기능 모듈에 대해 미리 설정된 인터럽트 동작을 수행할 수 있다.Accordingly, the processor 120 is a function module (for example, the first function module 130-1) located farthest from the function module (eg, the first function module 130-1) located close to the processor 120 in the conventional PLC system 100 ( For example, it is possible to sequentially search up to the N-th function module 130 -N), find a function module that has requested an interrupt operation, and perform a preset interrupt operation for the corresponding function module.

즉, 종래의 PLC 시스템(100)에서는 프로세서(120)가 어떤 기능 모듈이 인터럽트 동작 요청 신호를 전송했는지 파악할 수 없었기 때문에, 인터럽트 동작 요청 신호를 수신한 이후 인터럽트 동작을 요청한 기능 모듈을 찾는데 시간이 소요된다는 문제가 있다.That is, in the conventional PLC system 100, since the processor 120 could not determine which function module transmitted the interrupt operation request signal, it takes time to find the function module that requested the interrupt operation after receiving the interrupt operation request signal. There is a problem with being

또한, 종래의 PLC 시스템(100)에서는 프로세서(120)가 인터럽트 동작 요청 신호를 수신할 때마다 순차적으로 기능 모듈을 탐색하기 때문에, 기능 모듈의 개수가 많을수록 인터럽트 동작 요청 신호를 수신한 이후 인터럽트 동작을 수행하기까지 소요되는 시간이 증가한다는 문제가 있다.In addition, in the conventional PLC system 100, since the processor 120 sequentially searches for function modules each time it receives an interrupt operation request signal, as the number of function modules increases, the interrupt operation is performed after receiving the interrupt operation request signal. There is a problem in that the time it takes to execute is increased.

본 발명은 인터럽트 동작을 요청한 기능 모듈의 식별자에 대응하는 신호를 프로세서에게 제공함으로써 인터럽트 동작을 요청한 기능 모듈을 찾는 과정을 생략할 수 있는 PLC 시스템을 제공하는 것을 목적으로 한다.An object of the present invention is to provide a PLC system that can omit the process of finding the function module requesting the interrupt operation by providing a signal corresponding to the identifier of the function module requesting the interrupt operation to the processor.

또한, 본 발명은 인터럽트 동작을 요청한 기능 모듈의 식별자에 대응하는 신호를 프로세서에게 제공함으로써 기능 모듈의 개수가 증가하더라도 인터럽트 동작 요청을 수신한 이후 인터럽트 동작을 수행하기까지 소요되는 시간을 일정하게 유지할 수 있는 PLC 시스템을 제공하는 것을 목적으로 한다.In addition, the present invention provides the processor with a signal corresponding to the identifier of the function module that requested the interrupt operation, so that even if the number of function modules increases, the time required to perform the interrupt operation after receiving the interrupt operation request can be kept constant. It aims to provide a PLC system with

본 발명의 목적들은 이상에서 언급한 목적으로 제한되지 않으며, 언급되지 않은 본 발명의 다른 목적 및 장점들은 하기의 설명에 의해서 이해될 수 있고, 본 발명의 실시예에 의해 보다 분명하게 이해될 것이다. 또한, 본 발명의 목적 및 장점들은 특허 청구 범위에 나타낸 수단 및 그 조합에 의해 실현될 수 있음을 쉽게 알 수 있을 것이다.The objects of the present invention are not limited to the above-mentioned objects, and other objects and advantages of the present invention not mentioned may be understood by the following description, and will be more clearly understood by the examples of the present invention. It will also be readily apparent that the objects and advantages of the present invention may be realized by the means and combinations thereof indicated in the appended claims.

본 발명의 일 실시예에 따른 PLC 시스템은 제1 및 제2 기능 모듈; 상기 제1 및 제2 기능 모듈 중 어느 하나로부터 인터럽트(Interrupt) 동작과 관련된 제1 피드백 신호를 제공받는 베이스 모듈; 및 상기 베이스 모듈로부터 상기 제1 피드백 신호를 제공받고, 상기 제1 및 제2 기능 모듈 중 상기 제1 피드백 신호를 제공한 기능 모듈을 식별하는 프로세서를 포함하되, 상기 제1 및 제2 기능 모듈은 상호간 상기 제1 피드백 신호의 제공 여부를 감지하는 것을 특징으로 한다.A PLC system according to an embodiment of the present invention includes first and second function modules; a base module receiving a first feedback signal related to an interrupt operation from any one of the first and second function modules; and a processor receiving the first feedback signal from the base module and identifying a function module that provided the first feedback signal from among the first and second function modules, wherein the first and second function modules include: It is characterized in that it is detected whether the first feedback signal is mutually provided.

본 발명의 일 실시예에 따른 PLC 시스템은 인터럽트 동작을 요청한 기능 모듈의 식별자에 대응하는 신호를 프로세서에게 제공함으로써 인터럽트 동작을 요청한 기능 모듈을 찾는 과정을 생략할 수 있다. 이에 따라, 프로세서가 스캔을 중단하는 시간이 감소될 수 있으며, PLC 시스템 전체의 처리 성능을 증가시킬 수 있다.The PLC system according to an embodiment of the present invention provides the processor with a signal corresponding to the identifier of the function module requesting the interrupt operation, thereby omitting the process of finding the function module requesting the interrupt operation. Accordingly, the time for the processor to stop scanning may be reduced, and processing performance of the entire PLC system may be increased.

또한, 본 발명의 일 실시예에 따른 PLC 시스템은 인터럽트 동작을 요청한 기능 모듈의 식별자에 대응하는 신호를 프로세서에게 제공함으로써 기능 모듈의 개수가 증가하더라도 인터럽트 동작 요청을 수신한 이후 인터럽트 동작을 수행하기까지 소요되는 시간을 일정하게 유지할 수 있다. 이에 따라, 기능 모듈의 개수가 증가하더라도 기능 모듈의 인터럽트 동작을 효율적으로 처리할 수 있다.In addition, the PLC system according to an embodiment of the present invention provides a signal corresponding to the identifier of the function module that requested the interrupt operation to the processor, so that even if the number of function modules increases, the interrupt operation is performed after receiving the interrupt operation request. The time required can be kept constant. Accordingly, even if the number of function modules increases, the interrupt operation of the function module can be efficiently processed.

도 1은 종래의 PLC 시스템을 설명하는 개략도이다.
도 2는 본 발명의 일 실시예에 따른 PLC 시스템을 설명하는 개략도이다.
도 3은 도 2의 PLC 시스템의 구성 간의 연결 관계를 설명하는 개략도이다.
도 4는 도 3의 제1 도선을 중심으로 PLC 시스템을 설명하는 개략도이다.
도 5는 도 3의 제1 도선에 인가되는 제1 피드백 신호를 설명하는 도면이다.
도 6은 도 3의 제2 도선을 중심으로 PLC 시스템을 설명하는 개략도이다.
도 7은 도 3의 제2 도선에 인가되는 제2 피드백 신호의 일 예를 설명하는 도면이다.
도 8은 도 3의 제2 도선에 인가되는 제2 피드백 신호의 다른 예를 설명하는 도면이다.
도 9는 도 2의 제1 기능 모듈이 수행하는 인터럽트 동작 처리 방법을 설명하는 흐름도이다.
도 10은 도 9의 S940을 구체적으로 설명하는 흐름도이다.
도 11은 도 2의 프로세서가 수행하는 인터럽트 동작 처리 방법을 설명하는 도면이다.
1 is a schematic diagram illustrating a conventional PLC system.
2 is a schematic diagram illustrating a PLC system according to an embodiment of the present invention.
3 is a schematic diagram illustrating a connection relationship between the configurations of the PLC system of FIG. 2 .
FIG. 4 is a schematic diagram illustrating a PLC system centering on the first conductive line of FIG. 3 .
FIG. 5 is a view for explaining a first feedback signal applied to the first conductive line of FIG. 3 .
FIG. 6 is a schematic diagram illustrating a PLC system centering on the second conductive line of FIG. 3 .
FIG. 7 is a view for explaining an example of a second feedback signal applied to the second conductive line of FIG. 3 .
FIG. 8 is a view for explaining another example of a second feedback signal applied to the second conductive line of FIG. 3 .
9 is a flowchart illustrating an interrupt operation processing method performed by the first function module of FIG. 2 .
10 is a flowchart specifically explaining S940 of FIG. 9 .
11 is a view for explaining a method of processing an interrupt operation performed by the processor of FIG. 2 .

전술한 목적, 특징 및 장점은 첨부된 도면을 참조하여 상세하게 후술되며, 이에 따라 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명의 기술적 사상을 용이하게 실시할 수 있을 것이다. 본 발명을 설명함에 있어서 본 발명과 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 상세한 설명을 생략한다.The above-described objects, features and advantages will be described below in detail with reference to the accompanying drawings, and accordingly, those skilled in the art to which the present invention pertains will be able to easily implement the technical idea of the present invention. In describing the present invention, if it is determined that a detailed description of a known technology related to the present invention may unnecessarily obscure the gist of the present invention, the detailed description will be omitted.

이하, 첨부된 도면을 참조하여 본 발명에 따른 바람직한 실시예를 상세히 설명하기로 한다. 도면에서 동일한 참조부호는 동일 또는 유사한 구성요소를 가리키는 것으로 사용된다.Hereinafter, preferred embodiments according to the present invention will be described in detail with reference to the accompanying drawings. In the drawings, the same reference numerals are used to indicate the same or similar components.

이하, 도 2 및 도 3을 참조하여 본 발명의 일 실시예에 따른 PLC 시스템을 설명하기로 한다.Hereinafter, a PLC system according to an embodiment of the present invention will be described with reference to FIGS. 2 and 3 .

도 2는 본 발명의 일 실시예에 따른 PLC 시스템을 설명하는 개략도이다. 도 3은 도 2의 PLC 시스템의 구성 간의 연결 관계를 설명하는 개략도이다.2 is a schematic diagram illustrating a PLC system according to an embodiment of the present invention. 3 is a schematic diagram illustrating a connection relationship between the configurations of the PLC system of FIG. 2 .

PLC 시스템(200)은 산업 현장에서 각종 기기나 설비 등을 제어하는 장치이다.The PLC system 200 is a device for controlling various devices or facilities in an industrial field.

이러한 PLC 시스템(200)은 다양한 기능 모듈과 프로세서(240)를 통해 로직, 시퀀싱, 타이밍 카운팅 또는 연산 등 다양한 동작을 수행할 수 있다.The PLC system 200 may perform various operations such as logic, sequencing, timing counting, or calculation through various function modules and the processor 240 .

구체적으로, PLC 시스템(200)은 베이스 모듈(210), 제1 기능 모듈(220), 제2 기능 모듈(230) 및 프로세서(240)를 포함할 수 있다.Specifically, the PLC system 200 may include a base module 210 , a first function module 220 , a second function module 230 , and a processor 240 .

참고로, PLC 시스템(200)은 각종 모듈에 전원을 공급하는 전원 모듈(미도시), 제 3 기능 모듈(미도시) 내지 제N 기능 모듈(340)을 더 포함할 수 있으나, 이하에서는 베이스 모듈(210), 제1 기능 모듈(220), 제2 기능 모듈(230) 및 프로세서(240)를 중심으로 PLC 시스템(200)을 설명하기로 한다.For reference, the PLC system 200 may further include a power module (not shown) for supplying power to various modules, a third function module (not shown) to an Nth function module 340 , but hereinafter, the base module The PLC system 200 will be described with reference to 210 , the first function module 220 , the second function module 230 , and the processor 240 .

베이스 모듈(210)은 PLC 시스템(200)의 각종 모듈을 기계적, 전기적으로 연결하는 모듈일 수 있다. 구체적으로, 베이스 모듈(210)은 PLC 시스템(200)의 각종 모듈이 기계적, 전기적으로 연결될 수 있는 슬롯을 복수 개 포함할 수 있다.The base module 210 may be a module that mechanically and electrically connects various modules of the PLC system 200 . Specifically, the base module 210 may include a plurality of slots to which various modules of the PLC system 200 may be mechanically and electrically connected.

그리고, 베이스 모듈(210)에 연결된 각종 모듈은 베이스 모듈(210)에 구비된 각종 도선, 데이터 버스(310) 등을 통해 서로 통신할 수 있다.In addition, various modules connected to the base module 210 may communicate with each other through various conductors and data bus 310 provided in the base module 210 .

구체적으로, 프로세서(240), 제1 기능 모듈(220) 내지 제N 기능 모듈(340)은 모두 베이스 모듈(210)에 연결될 수 있다. 그리고, 프로세서(240), 제1 기능 모듈(220) 내지 제N 기능 모듈(340)은 각각 베이스 모듈(210)에 탈부착이 가능한 형태로 구현될 수도 있다.Specifically, the processor 240 , the first function module 220 to the Nth function module 340 may all be connected to the base module 210 . In addition, the processor 240 , the first function module 220 to the Nth function module 340 may be implemented in a form detachable from the base module 210 , respectively.

참고로, 도 2 및 도 3에는 PLC 시스템(200)이 하나의 베이스 모듈(210)만 포함하는 것으로 도시되었지만, 이는 예시에 불과하며, 본 발명의 일 실시예에 따른 PLC 시스템(200)은 증설 베이스 모듈(미도시), 증설 베이스 모듈과 베이스 모듈(210)을 연결하는 증설 케이블을 더 포함할 수 있다.For reference, although the PLC system 200 is illustrated as including only one base module 210 in FIGS. 2 and 3 , this is only an example, and the PLC system 200 according to an embodiment of the present invention is expanded The base module (not shown) may further include an extension cable connecting the extension base module and the base module 210 .

이러한 베이스 모듈(210)에는 데이터 버스(310), 제1 도선(320) 및 제2 도선(330)이 구비될 수 있다.The base module 210 may include a data bus 310 , a first conductive wire 320 , and a second conductive wire 330 .

데이터 버스(310)는 베이스 모듈(210)에 연결된 각종 모듈이 데이터를 전송하는 경로일 수 있다.The data bus 310 may be a path through which various modules connected to the base module 210 transmit data.

그리고, 데이터 버스(310)는 프로세서(240), 제1 기능 모듈(220) 내지 제N 기능 모듈(340)과 연결될 수 있다. 이에 따라, 베이스 모듈(210)에 연결된 프로세서(240), 제1 기능 모듈(220) 내지 제N 기능 모듈(340) 각각은 데이터 버스(310)를 통해 데이터를 송신하거나 수신할 수 있다.In addition, the data bus 310 may be connected to the processor 240 and the first function module 220 to the Nth function module 340 . Accordingly, each of the processor 240 and the first function module 220 to the Nth function module 340 connected to the base module 210 may transmit or receive data through the data bus 310 .

한편, 제1 도선(320)은 프로세서(240), 제1 기능 모듈(220) 내지 제N 기능 모듈(340)과 연결되는 도선일 수 있다.Meanwhile, the first conductive wire 320 may be a conductive wire connected to the processor 240 and the first function module 220 to the Nth function module 340 .

구체적으로, 제1 도선(320)은 제1 기능 모듈(220) 내지 제N 기능 모듈(340) 각각이 인터럽트(interrupt) 동작과 관련된 제1 피드백 신호를 제공하는데 사용될 수 있다.Specifically, the first conductive wire 320 may be used to provide a first feedback signal related to an interrupt operation to each of the first function module 220 to the Nth function module 340 .

여기서, 제1 피드백 신호는 제1 도선(320)에 인가되는 신호를 의미할 수 있다. 베이스 모듈은 제1 기능 모듈(220) 및 제2 기능 모듈(230) 중 어느 하나로부터 제1 피드백 신호를 제공받을 수 있다.Here, the first feedback signal may mean a signal applied to the first conductive line 320 . The base module may receive the first feedback signal from any one of the first function module 220 and the second function module 230 .

제1 도선(320)에 대해서는 도 4 및 도 5에서 구체적으로 설명하기로 한다.The first conductive wire 320 will be described in detail with reference to FIGS. 4 and 5 .

제2 도선(330)도 제1 도선(320)과 마찬가지로 프로세서(240), 제1 기능 모듈(220) 내지 제N 기능 모듈(340)과 연결되는 도선일 수 있다. 구체적으로, 제2 도선(330)은 제1 기능 모듈(220) 내지 제N 기능 모듈(340) 각각의 식별자와 관련된 제2 피드백 신호를 제공하는데 사용될 수 있다.The second conductor 330 may also be a conductor connected to the processor 240 , the first function module 220 to the Nth function module 340 , like the first conductor 320 . Specifically, the second conductive wire 330 may be used to provide a second feedback signal related to the identifier of each of the first function module 220 to the Nth function module 340 .

여기서, 제2 피드백 신호는 제2 도선(330)에 인가되는 신호를 의미할 수 있다.Here, the second feedback signal may mean a signal applied to the second conductive line 330 .

한편, 기능 모듈은 아날로그 입력 모듈, 아날로그 출력 모듈, 디지털 입력 모듈, 디지털 출력 모듈, 통신 모듈 등 PLC 시스템(200)에 구비될 수 있는 각종 모듈을 포함할 수 있다.Meanwhile, the function module may include various modules that may be provided in the PLC system 200 , such as an analog input module, an analog output module, a digital input module, a digital output module, and a communication module.

예를 들어, 디지털 입력 모듈은 자신과 연결된 외부 장치로부터 디지털 신호를 제공받고, PLC 시스템(200)에 구비된 다른 모듈에게 전송하는 모듈일 수 있다. 그리고, 디지털 출력 모듈은 프로세서(240)로부터 출력값을 제공받고, 이를 디지털 신호로 외부 장치에게 제공하는 모듈일 수 있다.For example, the digital input module may be a module that receives a digital signal from an external device connected thereto and transmits it to another module provided in the PLC system 200 . In addition, the digital output module may be a module that receives an output value from the processor 240 and provides it to an external device as a digital signal.

나아가, 아날로그 입력 모듈은 자신과 연결된 외부 장치로부터 아날로그 신호를 제공받고, PLC 시스템(200)에 구비된 다른 모듈에게 전송하는 모듈일 수 있다. 그리고, 아날로그 출력 모듈은 프로세서(240)로부터 출력값을 제공받고, 이를 아날로그 신호로 외부 장치에게 제공하는 모듈일 수 있다.Furthermore, the analog input module may be a module that receives an analog signal from an external device connected thereto and transmits it to another module provided in the PLC system 200 . In addition, the analog output module may be a module that receives an output value from the processor 240 and provides it to an external device as an analog signal.

통신 모듈은 이더넷 등 각종 통신 프로토콜에 따른 통신을 가능하게 하는 모듈일 수 있다.The communication module may be a module that enables communication according to various communication protocols such as Ethernet.

한편, 제1 기능 모듈(220) 내지 제N 기능 모듈(340) 각각은 전술한 다양한 기능 모듈 중 하나일 수 있다.Meanwhile, each of the first function module 220 to the Nth function module 340 may be one of the various function modules described above.

여기서, 제1 기능 모듈(220) 및 제2 기능 모듈(230)은 상호간 제1 피드백 신호의 제공 여부를 감지할 수 있다.Here, the first function module 220 and the second function module 230 may detect whether a first feedback signal is provided to each other.

구체적으로, 제1 기능 모듈(220)은 제1 도선(320) 및 제2 도선(330)과 연결되고, 미리 설정된 제1 인터럽트 조건이 만족되면, 제1 도선(320)과 연결된 제1 스위치(411)를 턴온(Turn On)시켜 제1 도선(320)에 로우 레벨(low level; 예를 들어, 0)의 제1 피드백 신호를 인가하고, 제2 도선(330)과 연결된 제2 스위치를 턴온 또는 턴오프(Turn Off)시켜 제1 식별자에 대응하는 로우 레벨 또는 하이 레벨(high level; 예를 들어, 1)의 제2 피드백 신호를 제2 도선(330)에 순차적으로 인가할 수 있다.Specifically, the first function module 220 is connected to the first conductor 320 and the second conductor 330, and when a preset first interrupt condition is satisfied, the first switch connected to the first conductor 320 ( 411) is turned on to apply a first feedback signal of a low level (eg, 0) to the first conductive wire 320 , and a second switch connected to the second conductive wire 330 is turned on Alternatively, by turning it off, a second feedback signal of a low level or a high level (eg, 1) corresponding to the first identifier may be sequentially applied to the second conductor 330 .

참고로, 식별자는 제1 기능 모듈(220) 내지 제N 기능 모듈(340) 각각의 미리 설정된 2진수 식별자일 수 있다. 그리고, 식별자는 M개의 비트로 구성될 수 있다. 여기서, M은 임의의 양의 정수를 의미할 수 있다.For reference, the identifier may be a preset binary identifier of each of the first function module 220 to the Nth function module 340 . And, the identifier may be composed of M bits. Here, M may mean any positive integer.

예를 들어, 식별자는 PLC 시스템(200)에서 기능 모듈 각각의 슬롯 번호, 기능 모듈 각각의 시리얼 번호, 기능 모듈 각각의 맥(MAC) 어드레스 등 각각의 기능 모듈별로 미리 설정된 고유한 식별자일 수 있다. 여기서, 슬롯 번호는 PLC 시스템(200)에서 각각의 기능 모듈이 연결된 슬롯의 번호를 의미할 수 있다.For example, the identifier may be a unique identifier preset for each function module, such as a slot number of each function module, a serial number of each function module, and a MAC address of each function module in the PLC system 200 . Here, the slot number may mean a number of a slot to which each function module is connected in the PLC system 200 .

이하에서, 제1 식별자 내지 제N 식별자는 제1 기능 모듈(220) 내지 제N 기능 모듈(340) 각각의 미리 설정된 식별자를 의미할 수 있다.Hereinafter, the first identifier to the N-th identifier may refer to preset identifiers of the first function module 220 to the N-th function module 340 , respectively.

예를 들어, 제1 식별자 내지 제N 식별자 각각이 제1 기능 모듈(220) 내지 제N 기능 모듈(340) 각각의 슬롯 번호인 경우, 제1 식별자는 0001, 제2 식별자는 0010, 제3 식별자는 0011가 될 수 있다.For example, when each of the first identifier to the N-th identifier is a slot number of each of the first function module 220 to the N-th function module 340, the first identifier is 0001, the second identifier is 0010, and the third identifier is the third identifier. can be 0011.

한편, 인터럽트 동작은 프로세서(240)의 우선적인 처리를 요구하는 동작일 수 있다.Meanwhile, the interrupt operation may be an operation that requires priority processing by the processor 240 .

구체적으로, 프로세서(240)는 제1 기능 모듈(220) 내지 제N 기능 모듈(340)로부터 인터럽트 동작을 요청 받으면, 수행하던 동작을 중단하고, 인터럽트 동작을 요청한 기능 모듈에 대해 미리 설정된 인터럽트 동작을 우선적으로 수행할 수 있다.Specifically, when the processor 240 receives a request for an interrupt operation from the first function module 220 to the N-th function module 340 , the processor 240 stops the operation and performs the interrupt operation preset for the function module requesting the interrupt operation. can be done first.

여기서, 미리 설정된 인터럽트 조건은 프로세서(240)에게 인터럽트 동작을 요청하기 위한 조건일 수 있다. 참고로, 미리 설정된 인터럽트 조건은 제1 기능 모듈(220) 내지 제N 기능 모듈(340) 각각에 대해 미리 설정될 수 있다.Here, the preset interrupt condition may be a condition for requesting an interrupt operation from the processor 240 . For reference, the preset interrupt condition may be preset for each of the first function module 220 to the Nth function module 340 .

이하에서, 미리 설정된 제1 인터럽트 조건 내지 미리 설정된 제N 인터럽트 조건은 제1 기능 모듈(220) 내지 제N 기능 모듈(340) 각각의 미리 설정된 인터럽트 조건일 수 있다.Hereinafter, the preset first interrupt condition to the preset N-th interrupt condition may be preset interrupt conditions of the first function module 220 to the N-th function module 340 , respectively.

그리고, 미리 설정된 인터럽트 동작은 프로세서(240)가 인터럽트 동작 요청에 따라 수행해야 하는 동작으로, 인터럽트 동작을 요청한 기능 모듈 각각에 대해 미리 설정될 수 있다.In addition, the preset interrupt operation is an operation that the processor 240 should perform according to the interrupt operation request, and may be preset for each function module that has requested the interrupt operation.

예를 들어, 제1 기능 모듈(220)이 모터로부터 전류값을 제공받는 아날로그 입력 모듈인 경우, 미리 설정된 제1 인터럽트 조건은 전류값이 0.1mA 이하가 되는 조건일 수 있다.For example, when the first function module 220 is an analog input module receiving a current value from a motor, the preset first interrupt condition may be a condition in which the current value is 0.1 mA or less.

이에 따라, 모터로부터 제공받는 전류값이 0.1mA 이하가 되면, 제1 기능 모듈(220)은 프로세서(240)에게 인터럽트 동작을 요청할 수 있다. 그러면, 프로세서(240)는 제1 기능 모듈(220)에 대응하는 미리 설정된 인터럽트 동작(예를 들어, 모터에 비상 전원을 공급하는 동작)을 수행할 수 있다.Accordingly, when the current value provided from the motor is 0.1 mA or less, the first function module 220 may request an interrupt operation from the processor 240 . Then, the processor 240 may perform a preset interrupt operation (eg, an operation of supplying emergency power to the motor) corresponding to the first function module 220 .

다른 예를 들어, 제2 기능 모듈(230)이 비상 스위치로부터 디지털 신호를 제공받는 디지털 입력 모듈인 경우, 미리 설정된 제2 인터럽트 조건은 비상 정지 스위치가 온(ON)되어 디지털 신호를 제공받는 조건일 수 있다.For another example, when the second function module 230 is a digital input module receiving a digital signal from an emergency switch, the preset second interrupt condition is a condition in which the emergency stop switch is turned on to receive a digital signal. can

이에 따라, 제2 기능 모듈(230)은 제공받는 디지털 신호가 하이 레벨 신호가 되면, 프로세서(240)에게 인터럽트 동작을 요청할 수 있다. 그러면, 프로세서(240)는 제2 기능 모듈(230)에 대응하는 미리 설정된 인터럽트 동작(예를 들어, PLC 시스템(200)과 연결된 외부 장치 전체의 전원을 끄는 동작)을 수행할 수 있다.Accordingly, when the received digital signal becomes a high level signal, the second function module 230 may request an interrupt operation from the processor 240 . Then, the processor 240 may perform a preset interrupt operation corresponding to the second function module 230 (eg, an operation of turning off the power of all external devices connected to the PLC system 200 ).

다시 제1 기능 모듈(220)에 대해 설명하면, 제1 기능 모듈(220)은 미리 설정된 제1 인터럽트 조건이 만족되면, 제1 스위치(411)를 턴온시킴으로써 프로세서(240)에게 인터럽트 동작을 요청할 수 있다.When the first function module 220 is described again, the first function module 220 may request an interrupt operation from the processor 240 by turning on the first switch 411 when a preset first interrupt condition is satisfied. have.

제1 기능 모듈(220)의 동작에 대해서는 도 4 내지 도 8에서 구체적으로 설명하기로 한다.The operation of the first function module 220 will be described in detail with reference to FIGS. 4 to 8 .

한편, 제2 기능 모듈(230)은 제1 도선(320) 및 제2 도선(330)과 연결되고, 미리 설정된 제2 인터럽트 조건이 만족되면, 제1 도선(320)에 하이 레벨의 제1 피드백 신호가 인가되는지 여부를 판단할 수 있다.Meanwhile, the second function module 230 is connected to the first conductive wire 320 and the second conductive wire 330 , and when a preset second interrupt condition is satisfied, a high level first feedback to the first conductive wire 320 is satisfied. It can be determined whether a signal is applied.

그리고, 제2 기능 모듈(230)은 제1 도선(320)에 하이 레벨의 제1 피드백 신호가 인가되는 경우, 제1 도선(320)과 연결된 제3 스위치(421)를 턴온시켜 제1 도선(320)에 로우 레벨의 제1 피드백 신호를 인가하고, 제2 도선(330)에 연결된 제4 스위치(621)를 턴온 또는 턴오프시켜 제2 식별자에 대응하는 하이 레벨(high level) 또는 로우 레벨(low level)의 제2 피드백 신호를 상기 제2 도선(330)에 순차적으로 인가할 수 있다.In addition, the second function module 230 turns on the third switch 421 connected to the first conductive wire 320 when a high-level first feedback signal is applied to the first conductive wire 320 to turn on the first conductive wire ( A first feedback signal of a low level is applied to the 320, and the fourth switch 621 connected to the second conductor 330 is turned on or off to achieve a high level or a low level (high level) corresponding to the second identifier. A second feedback signal of a low level) may be sequentially applied to the second conductive line 330 .

구체적으로, 제2 기능 모듈(230)은 미리 설정된 제2 인터럽트 조건이 만족되면, 제3 스위치(421)를 턴온시킴으로써 프로세서(240)에게 인터럽트를 요청할 수 있다.Specifically, when a preset second interrupt condition is satisfied, the second function module 230 may request an interrupt from the processor 240 by turning on the third switch 421 .

제2 기능 모듈(230)의 동작에 대해서도 도 4 내지 도 8에서 구체적으로 설명하기로 한다.The operation of the second function module 230 will also be described in detail with reference to FIGS. 4 to 8 .

참고로, 본 발명에서 제1 기능 모듈(220) 및 제2 기능 모듈(230)은 서로 동일한 방식으로 동작할 수 있으며, 제3 기능 모듈(미도시) 내지 제N 기능 모듈(340)도 제1 기능 모듈(220) 및 제2 기능 모듈(230)과 동일한 방식으로 동작할 수 있다. 따라서, 이하에서는 제1 기능 모듈(220) 및 제2 기능 모듈(230)을 중심으로 PLC 시스템(200)의 동작을 설명하기로 한다.For reference, in the present invention, the first function module 220 and the second function module 230 may operate in the same manner as each other, and the third function module (not shown) to the Nth function module 340 may also operate in the first It may operate in the same manner as the function module 220 and the second function module 230 . Therefore, hereinafter, the operation of the PLC system 200 will be described focusing on the first function module 220 and the second function module 230 .

나아가, 프로세서(240)는 제1 도선(320) 및 제2 도선(330)과 연결되고, 제1 도선(320)에 로우 레벨의 제1 피드백 신호가 인가되는 경우, 제2 도선(330)에 순차적으로 인가되는 하이 레벨 또는 로우 레벨의 제2 피드백 신호에 기초하여 제1 식별자 및 제2 식별자 중 어느 하나를 식별하고, 식별된 식별자에 대응하는 미리 설정된 인터럽트 동작을 실행할 수 있다.Furthermore, the processor 240 is connected to the first conductor 320 and the second conductor 330 , and when a first feedback signal of a low level is applied to the first conductor 320 , Any one of the first identifier and the second identifier may be identified based on the sequentially applied high-level or low-level second feedback signal, and a preset interrupt operation corresponding to the identified identifier may be executed.

프로세서(240)는 미리 설정된 주기에 따라 스캔을 수행할 수 있다.The processor 240 may perform a scan according to a preset period.

여기서, 스캔은 프로세서(240)가 각종 기능 모듈로부터 입력값을 제공받고, 입력값에 기초하여 프로세서(240)에 저장된 프로그램을 실행하고, 프로그램의 실행 결과인 출력값을 각종 기능 모듈에게 제공하는 일련의 과정을 의미할 수 있다.Here, the scan is a series of processes in which the processor 240 receives input values from various function modules, executes the program stored in the processor 240 based on the input values, and provides output values that are the execution results of the program to various function modules. It can mean process.

구체적으로, 프로세서(240)는 미리 설정된 주기에 따라 제1 기능 모듈(220) 내지 제N 기능 모듈(340)로부터 제공받은 입력값을 토대로 프로그램을 실행하여 로직, 시퀀싱, 타이밍, 카운팅 등 다양한 처리를 수행할 수 있다. 그리고, 프로세서(240)는 프로그램의 실행 결과인 출력값을 제1 기능 모듈(220) 내지 제N 기능 모듈(340)에게 제공할 수 있다.Specifically, the processor 240 executes a program based on an input value provided from the first function module 220 to the N-th function module 340 according to a preset period to perform various processes such as logic, sequencing, timing, and counting. can be done In addition, the processor 240 may provide an output value that is an execution result of the program to the first function module 220 to the Nth function module 340 .

프로세서(240)는 제1 기능 모듈(220) 내지 제N 기능 모듈(340) 중 적어도 하나로부터 인터럽트 동작을 요청 받으면, 스캔을 중단하고, 인터럽트 동작을 요청한 기능 모듈에 대응하는 미리 설정된 인터럽트 동작을 우선적으로 수행할 수 있다.When the processor 240 receives a request for an interrupt operation from at least one of the first function module 220 to the N-th function module 340 , the processor 240 stops scanning and prioritizes a preset interrupt operation corresponding to the function module requesting the interrupt operation. can be done with

프로세서(240)에는 제1 기능 모듈(220) 내지 제N 기능 모듈(340) 각각에 대응하는 미리 설정된 인터럽트 동작이 저장될 수 있다. 그리고, 미리 설정된 인터럽트 동작 각각에 제1 기능 모듈(220) 내지 제N 기능 모듈(340) 각각의 식별자가 매칭되어 프로세서(240)에 저장될 수 있다.A preset interrupt operation corresponding to each of the first function module 220 to the Nth function module 340 may be stored in the processor 240 . In addition, the identifier of each of the first function module 220 to the Nth function module 340 may be matched to each of the preset interrupt operations and stored in the processor 240 .

이하, 도 4 및 도 5를 참조하여 제1 도선(320)을 중심으로 PLC 시스템(200)의 동작을 설명한다.Hereinafter, the operation of the PLC system 200 will be described with reference to FIGS. 4 and 5 , centering on the first conductive wire 320 .

도 4는 도 3의 제1 도선을 중심으로 PLC 시스템을 설명하는 개략도이다. 도 5는 도 3의 제1 도선에 인가되는 제1 피드백 신호를 설명하는 도면이다.FIG. 4 is a schematic diagram illustrating a PLC system centering on the first conductive line of FIG. 3 . FIG. 5 is a view for explaining a first feedback signal applied to the first conductive line of FIG. 3 .

도 4에서 R1은 미리 설정된 저항값을 갖는 저항일 수 있다. 그리고, VCC1은 미리 설정된 전압값을 갖는 전압원일 수 있다.In FIG. 4 , R1 may be a resistor having a preset resistance value. And, VCC1 may be a voltage source having a preset voltage value.

R1은 제1 도선(320)에서 풀 업 저항(Pull-up resister)으로 사용될 수 있다. 즉, 제1 기능 모듈(220) 내지 제N 기능 모듈(340)에서 제1 도선(320)과 연결된 모든 스위치가 턴오프되는 경우, R1으로 인해 플로팅(floating) 현상이 발생하지 않으며, 제1 도선(320)에 VCC1의 전압값(즉, 하이 레벨 신호)이 인가될 수 있다.R1 may be used as a pull-up resistor in the first conductive wire 320 . That is, when all switches connected to the first conductive wire 320 in the first function module 220 to the Nth function module 340 are turned off, a floating phenomenon does not occur due to R1, and the first conductive wire A voltage value of VCC1 (ie, a high level signal) may be applied to 320 .

제1 기능 모듈(220)은 제1 스위치(411), 제A1 노드(412) 및 제어부(413)를 포함할 수 있다.The first function module 220 may include a first switch 411 , an A1 node 412 , and a controller 413 .

여기서, 제1 스위치(411)는 NPN 트랜지스터일 수 있다. 도시된 바와 같이, 제1 스위치(411)의 이미터(Emitter)는 접지에 연결되고, 제1 스위치(411)의 베이스(Base)는 제어부(413)에 연결되고, 제1 스위치(411)의 컬렉터(Collector)는 제1 도선(320)과 연결될 수 있다.Here, the first switch 411 may be an NPN transistor. As shown, the emitter of the first switch 411 is connected to the ground, the base of the first switch 411 is connected to the controller 413 , and the The collector may be connected to the first conductive line 320 .

제A1 노드(412)는 제1 스위치(411)와 제1 도선(320) 사이에 위치하는 노드일 수 있다.The A1 first node 412 may be a node positioned between the first switch 411 and the first conductive line 320 .

제어부(413)는 제1 스위치(411)의 베이스 및 제A1 노드(412)와 연결될 수 있다. 그리고, 제어부(413)는 제1 스위치(411)의 베이스에 로우 레벨 신호 또는 하이 레벨 신호를 출력함으로써 제1 스위치(411)를 턴온시키거나 턴오프시킬 수 있다.The controller 413 may be connected to the base of the first switch 411 and the A1 first node 412 . In addition, the controller 413 may turn on or turn off the first switch 411 by outputting a low level signal or a high level signal to the base of the first switch 411 .

여기서, 제1 기능 모듈(220) 내지 제N 기능 모듈(340) 각각의 제어부가 제1 기능 모듈(220) 내지 제N 기능 모듈(340) 각각에서 제1 도선(320)과 연결되는 스위치의 베이스에 대해 출력하는 신호를 '제1 인터럽트 신호' 내지 '제N 인터럽트 신호'로 정의하기로 한다.Here, the first function module 220 to the Nth function module 340, each control unit is connected to the first conductive wire 320 in each of the first function module 220 to the Nth function module 340, the base of the switch A signal output to ' is defined as a 'first interrupt signal' to an 'Nth interrupt signal'.

즉, 제어부(413)가 제1 스위치(411)의 베이스에 대해 출력하는 신호를 '제1 인터럽트 신호'로 정의하기로 한다. 그리고, 제어부(423)가 제3 스위치(421)의 베이스에 대해 출력하는 신호를 '제2 인터럽트 신호'로 정의하기로 한다.That is, a signal output by the control unit 413 to the base of the first switch 411 is defined as a 'first interrupt signal'. In addition, a signal output by the control unit 423 to the base of the third switch 421 is defined as a 'second interrupt signal'.

구체적으로, 제어부(413)가 로우 레벨의 제1 인터럽트 신호를 출력하면, 제1 스위치(411)가 턴온될 수 있다. 그러면, 제1 도선(320)에 로우 레벨의 제1 피드백 신호가 인가될 수 있다.Specifically, when the controller 413 outputs the first interrupt signal of a low level, the first switch 411 may be turned on. Then, a first feedback signal of a low level may be applied to the first conductive line 320 .

그리고, 제어부(413)가 하이 레벨의 제1 인터럽트 신호를 출력하면, 제1 스위치(411)가 턴오프될 수 있다. 이때, 제1 기능 모듈(220) 내지 제N 기능 모듈(340)에서 제1 도선(320)과 연결된 스위치가 모두 턴오프된 경우, 제1 도선(320)에 하이 레벨의 제1 피드백 신호가 인가될 수 있다.In addition, when the controller 413 outputs a high level first interrupt signal, the first switch 411 may be turned off. In this case, when all the switches connected to the first conductive wire 320 in the first function module 220 to the Nth function module 340 are turned off, a high level first feedback signal is applied to the first conductive wire 320 . can be

나아가, 제어부(413)는 제A1 노드(412)를 통해 제1 도선(320)에 인가되는 제1 피드백 신호를 감지할 수 있다.Furthermore, the controller 413 may sense the first feedback signal applied to the first conductive line 320 through the A1 first node 412 .

참고로, 제2 기능 모듈(230)의 제어부(423), 제3 스위치(421), 제A2 노드(422) 각각은 제1 기능 모듈(220)의 제어부(413), 제1 스위치(411), 제A1 노드(412) 각각과 동일하게 구현되고, 동작할 수 있으며, 이하에서 중복되는 설명은 생략하기로 한다.For reference, each of the control unit 423 , the third switch 421 , and the A2 node 422 of the second function module 230 includes the control unit 413 and the first switch 411 of the first function module 220 . , may be implemented and operated in the same manner as each of the first node A1 412 , and a duplicate description will be omitted below.

마찬가지로, 제3 기능 모듈(미도시) 내지 제N 기능 모듈(340) 각각의 제어부, 스위치, 노드 각각은 제1 기능 모듈(220)의 제어부(413), 제1 스위치(411), 제A1 노드(412)와 동일한 방식으로 구현되고, 동작할 수 있으며, 이하에서 중복되는 설명은 생략하기로 한다.Similarly, the control unit, the switch, and the node of each of the third function module (not shown) to the Nth function module 340 are the control unit 413 , the first switch 411 , and the A1 node of the first function module 220 , respectively. It may be implemented and operated in the same manner as (412), and repeated descriptions will be omitted below.

이하에서, 제1 기능 모듈(220) 내지 제N 기능 모듈(340) 각각이 수행하는 동작은 제1 기능 모듈(220) 내지 제N 기능 모듈(340) 각각에 구비된 제어부가 수행하는 동작을 의미할 수 있다.Hereinafter, the operation performed by each of the first function module 220 to the Nth function module 340 means an operation performed by the control unit provided in each of the first function module 220 to the Nth function module 340 . can do.

한편, 제1 기능 모듈(220) 내지 제N 기능 모듈(340) 내부에 구비되고, 제1 도선(320)과 연결된 스위치 중 적어도 하나가 턴온되면, 제1 도선(320)이 접지와 연결되므로, 제1 피드백 신호는 로우 레벨 신호가 될 수 있다.On the other hand, when at least one of the switches provided inside the first function module 220 to the Nth function module 340 and connected to the first conductive wire 320 is turned on, the first conductive wire 320 is connected to the ground, The first feedback signal may be a low level signal.

예를 들어, t2부터 t4까지, t5에서 t7까지, t8에서 t9까지 제1 피드백 신호는 로우 레벨 신호가 될 수 있다.For example, from t2 to t4, from t5 to t7, and from t8 to t9, the first feedback signal may be a low-level signal.

그리고, 제1 기능 모듈(220) 내지 제N 기능 모듈(340)에서 제1 도선(320)과 연결된 스위치가 모두 턴오프되는 경우, 제1 피드백 신호는 하이 레벨 신호가 될 수 있다.In addition, when all the switches connected to the first conductive wire 320 in the first function module 220 to the Nth function module 340 are turned off, the first feedback signal may be a high level signal.

예를 들어, t1에서 t2까지, t4에서 t5까지, t7에서 t8까지 제1 피드백 신호는 하이 레벨 신호가 될 수 있다.For example, from t1 to t2, from t4 to t5, and from t7 to t8, the first feedback signal may be a high level signal.

본 발명의 일 실시예에 따르면, 제1 기능 모듈(220)은 미리 설정된 제1 인터럽트 조건이 만족되면, 제1 스위치(411)를 턴온시켜 제1 도선(320)에 로우 레벨의 제1 피드백 신호를 인가할 수 있다.According to an embodiment of the present invention, when a preset first interrupt condition is satisfied, the first function module 220 turns on the first switch 411 to provide a low-level first feedback signal to the first conductor 320 . can be authorized.

구체적으로, 제1 기능 모듈(220)은 미리 설정된 제1 인터럽트 조건이 만족되면, 로우 레벨의 제1 인터럽트 신호를 출력함으로써 프로세서(240)에게 인터럽트 동작을 요청할 수 있다. 그러면, 제1 스위치(411)가 턴온되고, 제1 도선(320)에 로우 레벨의 제1 피드백 신호가 인가될 수 있다.Specifically, when a preset first interrupt condition is satisfied, the first function module 220 may request an interrupt operation from the processor 240 by outputting a first interrupt signal of a low level. Then, the first switch 411 may be turned on, and a first feedback signal of a low level may be applied to the first conductive wire 320 .

예를 들어, t2 이전에 미리 설정된 제1 인터럽트 조건이 만족되면, 제1 기능 모듈(220)은 t2에서 로우 레벨의 제1 피드백 신호를 인가할 수 있다. 그리고, t8 이전에 미리 설정된 제1 인터럽트 조건이 만족되면, 제1 기능 모듈(220)은 t8에서 로우 레벨의 제1 피드백 신호를 인가할 수 있다.For example, if the first interrupt condition preset before t2 is satisfied, the first function module 220 may apply the first feedback signal of a low level at t2. In addition, if the first interrupt condition preset before t8 is satisfied, the first function module 220 may apply the first feedback signal of a low level at t8.

나아가, 제1 기능 모듈(220)은 미리 설정된 제1 인터럽트 조건이 만족되면, 제1 피드백 신호가 하이 레벨 신호인지 여부를 판단할 수 있다.Furthermore, when a preset first interrupt condition is satisfied, the first function module 220 may determine whether the first feedback signal is a high level signal.

이를 통해, 제1 기능 모듈(220)은 제2 기능 모듈(230)이 인터럽트 동작을 요청하는지 여부를 판단할 수 있다. 왜냐하면, 제2 기능 모듈(230)이 하이 레벨의 제2 인터럽트 신호를 출력한 경우에만 제1 피드백 신호가 하이 레벨 신호가 될 수 있기 때문이다.Through this, the first function module 220 may determine whether the second function module 230 requests an interrupt operation. This is because the first feedback signal can be a high level signal only when the second function module 230 outputs the high level second interrupt signal.

제1 피드백 신호가 하이 레벨 신호인 경우, 제1 기능 모듈(220)은 로우 레벨의 제1 인터럽트 신호를 출력하여 제1 스위치(411)를 턴온시킬 수 있다. 그러면, 제1 도선(320)에 로우 레벨 신호가 인가될 수 있다. 즉, 제1 피드백 신호가 로우 레벨 신호가 될 수 있다.When the first feedback signal is a high level signal, the first function module 220 may output a low level first interrupt signal to turn on the first switch 411 . Then, a low level signal may be applied to the first conductive line 320 . That is, the first feedback signal may be a low level signal.

예를 들어, t5에서 t7사이에 미리 설정된 제1 인터럽트 조건이 만족되면, 제1 기능 모듈(220)은 제1 피드백 신호가 하이 레벨 신호가 될 때까지 대기할 수 있다. t7에서 제1 피드백 신호가 하이 레벨 신호가 되었으므로, 제1 기능 모듈(220)은 t8에서 로우 레벨의 제1 인터럽트 신호를 출력할 수 있다.For example, when a preset first interrupt condition is satisfied between t5 and t7, the first function module 220 may wait until the first feedback signal becomes a high-level signal. Since the first feedback signal becomes a high level signal at t7 , the first function module 220 may output a low level first interrupt signal at t8 .

그리고, 제1 기능 모듈(220)은 로우 레벨의 제1 인터럽트 신호를 출력한 이후, 제2 스위치(611)를 턴온 또는 턴오프시켜 제1 식별자에 대응하는 로우 레벨 또는 하이 레벨의 제2 피드백 신호를 제2 도선(330)에 순차적으로 인가할 수 있다. 제2 도선(330)에 대한 제1 기능 모듈(220)의 동작은 도 6 내지 도 8에서 자세히 설명하기로 한다.Then, after outputting the first interrupt signal of the low level, the first function module 220 turns on or off the second switch 611 to provide a second feedback signal of a low level or a high level corresponding to the first identifier. may be sequentially applied to the second conductor 330 . The operation of the first function module 220 with respect to the second conductive wire 330 will be described in detail with reference to FIGS. 6 to 8 .

제1 기능 모듈(220)과 마찬가지로, 제2 기능 모듈(230)은 미리 설정된 제2 인터럽트 조건이 만족되면, 제1 피드백 신호가 하이 레벨 신호인지 여부를 판단할 수 있다.Like the first function module 220 , the second function module 230 may determine whether the first feedback signal is a high level signal when a preset second interrupt condition is satisfied.

그리고, 제1 피드백 신호가 하이 레벨 신호인 경우, 제2 기능 모듈(230)은 로우 레벨의 제2 인터럽트 신호를 출력할 수 있다. 그러면, 제3 스위치(421)가 턴온되고, 제1 피드백 신호가 로우 레벨 신호가 될 수 있다. 즉, 제1 도선(320)에 로우 레벨 신호가 인가될 수 있다.And, when the first feedback signal is a high level signal, the second function module 230 may output a second interrupt signal of a low level. Then, the third switch 421 is turned on, and the first feedback signal may be a low level signal. That is, a low level signal may be applied to the first conductive line 320 .

예를 들어, 제2 기능 모듈(230)은 t5에서 t7사이에 미리 설정된 제2 인터럽트 조건이 만족되면, 제2 기능 모듈(230)은 제1 피드백 신호가 하이 레벨 신호가 될 때까지 대기할 수 있다. t7에서 제2 피드백 신호가 하이 레벨 신호가 되었으므로, 제2 기능 모듈(230)은 t8에서 로우 레벨의 제2 인터럽트 신호를 출력할 수 있다.For example, when the second interrupt condition preset in the second function module 230 is satisfied between t5 and t7, the second function module 230 may wait until the first feedback signal becomes a high level signal. have. Since the second feedback signal becomes a high level signal at t7 , the second function module 230 may output a low level second interrupt signal at t8 .

나아가, 제2 기능 모듈(230)은 로우 레벨의 제2 인터럽트 신호를 출력한 후, 제4 스위치(621)를 턴온 또는 턴오프시켜 제2 식별자에 대응하는 하이 레벨 또는 로우 레벨의 제2 피드백 신호를 제2 도선(330)에 순차적으로 인가할 수 있다.Furthermore, the second function module 230 outputs the second interrupt signal of a low level, and then turns on or off the fourth switch 621 to provide a high level or low level second feedback signal corresponding to the second identifier. may be sequentially applied to the second conductor 330 .

한편, 프로세서(240)는 제1 도선(320)과 연결되므로 베이스 모듈(210)로부터 제1 피드백 신호(즉, 제1 도선(320)에 인가되는 신호)를 제공받을 수 있다. 그리고, 프로세서(240)는 제1 기능 모듈(220) 및 제2 기능 모듈(230) 중 제1 피드백 신호를 제공한 기능 모듈을 식별할 수 있다. Meanwhile, since the processor 240 is connected to the first conductive wire 320 , it may receive a first feedback signal (ie, a signal applied to the first conductive wire 320 ) from the base module 210 . In addition, the processor 240 may identify a function module that provided the first feedback signal from among the first function module 220 and the second function module 230 .

먼저, 프로세서(240)는 제1 피드백 신호를 통해 인터럽트 동작을 요청한 기능 모듈이 존재하는지 여부를 판단할 수 있다.First, the processor 240 may determine whether a function module requesting an interrupt operation exists through the first feedback signal.

구체적으로, 프로세서(240)가 하이 레벨의 제1 피드백 신호를 감지하는 경우, 프로세서(240)는 인터럽트 동작을 요청한 기능 모듈이 존재하지 않는다고 판단할 수 있다.Specifically, when the processor 240 detects the high-level first feedback signal, the processor 240 may determine that the function module requesting the interrupt operation does not exist.

그리고, 프로세서(240)가 로우 레벨의 제1 피드백 신호를 감지하는 경우, 프로세서(240)는 인터럽트 동작을 요청한 기능 모듈이 존재한다고 판단할 수 있다.In addition, when the processor 240 detects the low-level first feedback signal, the processor 240 may determine that a function module requesting an interrupt operation exists.

나아가, 프로세서(240)가 로우 레벨의 제1 피드백 신호를 감지한 이후, 프로세서(240)는 제2 도선(330)에 순차적으로 인가되는 하이 레벨 또는 로우 레벨의 제2 피드백 신호를 감지할 수 있다.Furthermore, after the processor 240 detects the low-level first feedback signal, the processor 240 may detect the high-level or low-level second feedback signal sequentially applied to the second conductive wire 330 . .

이에 따라, 프로세서(240)는 제2 도선(330)에 순차적으로 인가되는 하이 레벨 또는 로우 레벨의 제2 피드백 신호에 기초하여 제1 및 제2 식별자 중 어느 하나를 식별할 수 있다. 그리고, 프로세서(240)는 식별된 식별자에 대응하는 미리 설정된 인터럽트 동작을 실행할 수 있다.Accordingly, the processor 240 may identify any one of the first and second identifiers based on the high-level or low-level second feedback signal sequentially applied to the second conductor 330 . Then, the processor 240 may execute a preset interrupt operation corresponding to the identified identifier.

이하, 도 6 내지 도 8을 참조하여 제2 도선(330)을 중심으로 PLC 시스템(200)의 동작을 설명한다.Hereinafter, the operation of the PLC system 200 will be described with reference to FIGS. 6 to 8 , centering on the second conductive line 330 .

도 6은 도 3의 제2 도선(330)을 중심으로 PLC 시스템을 설명하는 개략도이다. 도 7은 도 3의 제2 도선(330)에 인가되는 제2 피드백 신호의 일 예를 설명하는 도면이다. 도 8은 도 3의 제2 도선(330)에 인가되는 제2 피드백 신호의 다른 예를 설명하는 도면이다.FIG. 6 is a schematic diagram illustrating a PLC system centering on the second conductive line 330 of FIG. 3 . FIG. 7 is a view for explaining an example of a second feedback signal applied to the second conductive line 330 of FIG. 3 . FIG. 8 is a view for explaining another example of a second feedback signal applied to the second conductive line 330 of FIG. 3 .

참고로, 도 6내지 도 8에서 제2 도선(330)에는 도 4 및 도 5의 제1 도선(320)과 동일한 방식으로 신호가 인가될 수 있는 바, 이하에서는 차이점을 중심으로 설명하기로 한다.For reference, a signal may be applied to the second conductor 330 in FIGS. 6 to 8 in the same manner as that of the first conductor 320 in FIGS. 4 and 5 . Hereinafter, the difference will be mainly described. .

도 6에서 R2는 도 4의 R1과 같이 미리 설정된 저항값을 갖는 저항일 수 있다. 그리고, VCC2는 도 4의 VCC1과 같이 미리 설정된 전압값을 갖는 전압원일 수 있다. R2도 도 4의 R1과 같이 제2 도선(330)에서 풀 업 저항으로 사용될 수 있다.In FIG. 6 , R2 may be a resistor having a preset resistance value like R1 in FIG. 4 . In addition, VCC2 may be a voltage source having a preset voltage value like VCC1 of FIG. 4 . R2 may also be used as a pull-up resistor in the second conductor 330 like R1 of FIG. 4 .

제1 기능 모듈(220)은 제2 스위치(611), 제B1 노드(612), 제어부(413)를 포함할 수 있다.The first function module 220 may include a second switch 611 , a B1 th node 612 , and a controller 413 .

여기서, 제2 스위치(611)는 NPN 트랜지스터일 수 있다. 제2 스위치(611)의 이미터는 접지에 연결되고, 제2 스위치(611)의 베이스는 제어부에 연결되고, 제2 스위치(611)의 컬렉터는 제2 도선(330)과 연결될 수 있다. 그리고, 제B1 노드는 제2 스위치(611)와 제2 도선(330) 사이에 위치하는 노드일 수 있다.Here, the second switch 611 may be an NPN transistor. The emitter of the second switch 611 may be connected to the ground, the base of the second switch 611 may be connected to the controller, and the collector of the second switch 611 may be connected to the second conductor 330 . In addition, the B1 th node may be a node positioned between the second switch 611 and the second conductive line 330 .

제어부는 제2 스위치(611)의 베이스와 연결되고, 제B1 노드와 연결될 수 있다. 제어부는 제2 스위치(611)의 베이스에 로우 레벨 또는 하이 레벨의 제2 피드백 신호를 출력함으로써 제2 스위치(611)를 턴온시키거나 턴오프시킬 수 있다.The control unit may be connected to the base of the second switch 611 and connected to the B1 th node. The controller may turn on or off the second switch 611 by outputting a second feedback signal of a low level or a high level to the base of the second switch 611 .

이하에서, 제1 기능 모듈(220) 내지 제N 기능 모듈(340) 각각의 제어부가 제1 기능 모듈(220) 내지 제N 기능 모듈(340) 각각에서 제2 도선(330)을 연결하는 스위치의 베이스에 대해 출력하는 신호를 '제1 식별자 신호' 내지 '제N 식별자 신호'로 정의하기로 한다.Hereinafter, the control unit of each of the first function modules 220 to the Nth function module 340 of the switch connecting the second conductive wire 330 in each of the first function module 220 to the Nth function module 340 . A signal output to the base is defined as a 'first identifier signal' to an 'Nth identifier signal'.

즉, 제어부(413)가 제2 스위치(611)의 베이스에 대해 출력하는 신호를 '제1 식별자 신호'로 정의하기로 한다. 그리고, 제어부(423)가 제4 스위치(621)에 대해 출력하는 신호를 '제2 식별자 신호'로 정의하기로 한다.That is, a signal output by the controller 413 to the base of the second switch 611 is defined as a 'first identifier signal'. And, a signal output by the controller 423 to the fourth switch 621 is defined as a 'second identifier signal'.

구체적으로, 제어부(413)가 로우 레벨의 제1 식별자 신호를 출력하면, 제2 스위치(611)가 턴온될 수 있다. 그러면, 제2 도선(330)에 로우 레벨의 제2 피드백 신호가 인가될 수 있다.Specifically, when the controller 413 outputs the first identifier signal of a low level, the second switch 611 may be turned on. Then, a second feedback signal of a low level may be applied to the second conductor 330 .

그리고, 제어부가 하이 레벨의 제1 식별자 신호를 출력하면, 제2 스위치(611)가 턴오프될 수 있다. 이때, 제1 기능 모듈(220) 내지 제N 기능 모듈(340)에서 제2 도선(330)과 연결된 스위치가 모두 턴오프된 경우, 제2 도선(330)에 하이 레벨의 제2 피드백 신호가 인가될 수 있다.And, when the controller outputs the first identifier signal of a high level, the second switch 611 may be turned off. In this case, when the switches connected to the second conductor 330 in the first function module 220 to the Nth function module 340 are all turned off, a high level second feedback signal is applied to the second conductor 330 . can be

나아가, 제어부는 제B1 노드를 통해 제2 도선(330)에 인가되는 제2 피드백 신호를 감지할 수 있다.Furthermore, the controller may sense the second feedback signal applied to the second conductive line 330 through the B1 th node.

참고로, 제2 기능 모듈(230)의 제어부(423), 제4 스위치(621) 및 제B2 노드(622) 각각은 제1 기능 모듈(220)의 제어부(413), 제2 스위치(611) 및 제B2 노드(612) 각각과 동일하게 구현되고, 동작할 수 있으며, 이하에서 중복된 설명은 생략하기로 한다.For reference, each of the control unit 423 , the fourth switch 621 , and the B2 th node 622 of the second function module 230 includes the control unit 413 and the second switch 611 of the first function module 220 . and may be implemented and operated in the same manner as each of the B2 th node 612 , and a duplicate description will be omitted below.

마찬가지로, 제3 기능 모듈(미도시) 내지 제N 기능 모듈(340) 각각의 제어부, 스위치, 노드 각각은 제1 기능 모듈(220)의 제어부, 제2 스위치(611), 제B1 노드와 동일한 방식으로 구현되고, 동작할 수 있으며, 이하에서 중복되는 설명은 생략하기로 한다.Similarly, the control unit, the switch, and the node of each of the third function module (not shown) to the Nth function module 340 are the same as the control unit, the second switch 611, and the B1 node of the first function module 220, respectively. may be implemented and operated, and a redundant description will be omitted below.

제1 기능 모듈(220)은 제1 스위치(411)를 턴온시켜 제1 도선(320)에 로우 레벨의 제1 피드백 신호를 인가한 후, 제2 도선(330)과 연결된 제2 스위치(611)를 턴온 또는 턴오프시켜 제1 식별자에 대응하는 로우 레벨 또는 하이 레벨의 제2 피드백 신호를 제2 도선(330)에 순차적으로 인가할 수 있다.The first function module 220 turns on the first switch 411 to apply a first feedback signal of a low level to the first conductive wire 320 , and then a second switch 611 connected to the second conductive wire 330 . may be turned on or off to sequentially apply a low-level or high-level second feedback signal corresponding to the first identifier to the second conductor 330 .

제1 기능 모듈(220)은 로우 레벨의 제1 인터럽트 신호를 출력한 후, 제1 식별자의 제1 비트부터 제1 식별자의 제M 비트 각각에 대응하는 로우 레벨 또는 하이 레벨의 제2 피드백 신호를 제2 도선(330)에 순차적으로 인가할 수 있다.After outputting the first interrupt signal of the low level, the first function module 220 generates a second feedback signal of a low level or a high level corresponding to each of the first bit of the first identifier to the Mth bit of the first identifier. It may be sequentially applied to the second conductive wire 330 .

이하에서, 제1 식별자 내지 제N 식별자 각각의 제1 비트는 제1 식별자 내지 제N 식별자의 최상위 비트(most significant bit)를 의미할 수 있다. 그리고 제1 식별자 내지 제N 식별자 각각의 제M 비트는 제1 식별자 내지 제N 식별자 각각의 최하위 비트(least significant bit)를 의미할 수 있다.Hereinafter, the first bit of each of the first identifier to the N-th identifier may mean the most significant bit of the first identifier to the N-th identifier. In addition, the M-th bit of each of the first to N-th identifiers may mean the least significant bit of each of the first to N-th identifiers.

그리고, 제1 식별자 내지 제N 식별자 각각의 비트값 중 0은 로우 레벨 신호에 대응하고, 제1 식별자 내지 제N 식별자 각각의 비트값 중 1은 하이 레벨 신호에 대응할 수 있다.In addition, 0 of the bit values of the first to Nth identifiers may correspond to a low level signal, and 1 of the bit values of each of the first to Nth identifiers may correspond to a high level signal.

제1 식별자가 01인 경우를 예로 들면, 제1 기능 모듈(220)은 제1 비트인 0에 대응하는 로우 레벨의 제2 피드백 신호 및 제2 비트인 1에 대응하는 하이 레벨의 제2 피드백 신호를 제2 도선(330)에 순차적으로 인가할 수 있다.Taking the case in which the first identifier is 01 as an example, the first function module 220 provides a low-level second feedback signal corresponding to the first bit 0 and a high-level second feedback signal corresponding to the second bit 1 may be sequentially applied to the second conductor 330 .

구체적으로, 제1 기능 모듈(220)은 로우 레벨의 제1 식별자 신호를 출력함으로써 제2 스위치(611)를 턴온시킬 수 있다. 그 후, 제1 기능 모듈(220)은 하이 레벨의 제1 식별자 신호를 출력함으로써 제2 스위치(611)를 턴오프시킬 수 있다.Specifically, the first function module 220 may turn on the second switch 611 by outputting a low-level first identifier signal. Thereafter, the first function module 220 may turn off the second switch 611 by outputting a high level first identifier signal.

즉, 제1 기능 모듈(220)은 제1 식별자 01에 대응하는 로우 레벨의 제1 식별자 신호 및 하이 레벨의 제1 식별자 신호를 순차적으로 출력할 수 있다. 그러면, 제2 도선(330)에는 로우 레벨의 제2 피드백 신호가 인가된 후, 하이 레벨의 제2 피드백 신호가 인가될 수 있다.That is, the first function module 220 may sequentially output a low-level first identifier signal and a high-level first identifier signal corresponding to the first identifier 01 . Then, after the second feedback signal of the low level is applied to the second conductor 330 , the second feedback signal of the high level may be applied.

한편, 제1 기능 모듈(220) 및 제2 기능 모듈(230)이 동시에 로우 레벨의 제1 인터럽트 신호 및 로우 레벨의 제2 인터럽트 신호를 출력하는 경우, 제2 스위치(611) 및 제4 스위치(621)가 동시에 턴온될 수 있다.On the other hand, when the first function module 220 and the second function module 230 simultaneously output the first interrupt signal of the low level and the second interrupt signal of the low level, the second switch 611 and the fourth switch ( 621) may be turned on at the same time.

이러한 경우, 제1 기능 모듈(220)이 하이 레벨의 제1 식별자 신호를 출력하여 제2 스위치(611)가 턴오프된 상태에서 제2 피드백 신호가 로우 레벨 신호가 되면, 제1 기능 모듈(220)은 제2 스위치(611)를 턴오프시킨 상태를 유지할 수 있다.In this case, when the first function module 220 outputs a high level first identifier signal and the second feedback signal becomes a low level signal while the second switch 611 is turned off, the first function module 220 ) may maintain a state in which the second switch 611 is turned off.

다시 말해서, 제1 기능 모듈(220)은 출력된 제1 식별자 신호와 제2 피드백 신호가 일치하지 않으면, 제1 식별자에 대응하는 제1 식별자 신호를 출력하는 것을 중단하고, 하이 레벨의 제1 식별자 신호를 출력하는 상태를 유지할 수 있다.In other words, when the output first identifier signal and the second feedback signal do not match, the first function module 220 stops outputting the first identifier signal corresponding to the first identifier, and the first identifier of the high level The state of outputting a signal can be maintained.

한편, 제2 기능 모듈(230)은 제2 인터럽트 신호를 출력한 후, 제2 식별자의 제1 비트부터 제2 식별자의 제M 비트 각각에 대응하는 로우 레벨 또는 하이 레벨의 제2 피드백 신호를 제2 도선(330)에 순차적으로 인가할 수 있다.Meanwhile, after outputting the second interrupt signal, the second function module 230 generates a second feedback signal of a low level or a high level corresponding to each of the first bit of the second identifier to the Mth bit of the second identifier. It may be sequentially applied to the two conductors 330 .

제2 식별자가 10인 경우를 예로 들면, 제2 기능 모듈(230)은 제1 비트인 1에 대응하는 하이 레벨의 제2 피드백 신호 및 제2 비트인 0에 대응하는 로우 레벨의 제2 피드백 신호를 제2 도선(330)에 순차적으로 인가할 수 있다.Taking the case where the second identifier is 10 as an example, the second function module 230 provides a high-level second feedback signal corresponding to the first bit 1 and a low-level second feedback signal corresponding to the second bit 0. may be sequentially applied to the second conductor 330 .

구체적으로, 제2 기능 모듈(230)은 하이 레벨의 제2 식별자 신호를 출력한 후에 로우 레벨의 제2 식별자 신호를 출력할 수 있다. 그러면, 제2 도선(330)에는 하이 레벨의 제2 피드백 신호가 인가된 후, 로우 레벨의 제2 피드백 신호가 인가될 수 있다.Specifically, the second function module 230 may output the second identifier signal of the low level after outputting the second identifier signal of the high level. Then, after the high level second feedback signal is applied to the second conductor 330 , the low level second feedback signal may be applied.

한편, 제1 기능 모듈(220) 및 제2 기능 모듈(230)이 동시에 로우 레벨의 제1 인터럽트 신호 및 로우 레벨의 제2 인터럽트 신호를 출력하는 경우, 제2 스위치(611) 및 제4 스위치(621)가 동시에 턴온될 수 있다.On the other hand, when the first function module 220 and the second function module 230 simultaneously output the first interrupt signal of the low level and the second interrupt signal of the low level, the second switch 611 and the fourth switch ( 621) may be turned on at the same time.

이러한 경우, 제2 기능 모듈(230)이 하이 레벨의 제2 식별자 신호를 출력하여 제2 스위치(611)가 턴오프된 상태에서 제2 피드백 신호가 로우 레벨 신호가 되면, 제2 기능 모듈(230)은 제4 스위치(621)를 턴오프시킨 상태를 유지할 수 있다.In this case, when the second function module 230 outputs a high level second identifier signal and the second feedback signal becomes a low level signal while the second switch 611 is turned off, the second function module 230 ) may maintain a state in which the fourth switch 621 is turned off.

다시 말해서, 제2 기능 모듈(230)은 출력된 제2 식별자 신호와 제2 피드백 신호가 일치하지 않으면, 제2 식별자에 대응하는 제2 식별자 신호를 출력하는 것을 중단하고, 하이 레벨의 제2 식별자 신호를 출력하는 상태를 유지할 수 있다.In other words, when the output second identifier signal and the second feedback signal do not match, the second function module 230 stops outputting the second identifier signal corresponding to the second identifier, and the high level second identifier The state of outputting a signal can be maintained.

참고로, 제1 기능 모듈(220) 및 제2 기능 모듈(230) 각각은 미리 설정된 시간 간격(예를 들어, 1μs)에 따라 순차적으로 제1 식별자 신호 및 제2 식별자 신호를 출력할 수 있다.For reference, each of the first function module 220 and the second function module 230 may sequentially output the first identifier signal and the second identifier signal according to a preset time interval (eg, 1 μs).

한편, 프로세서(240)는 제2 도선(330)에 순차적으로 인가되는 하이 레벨 또는 로우 레벨의 제2 피드백 신호를 감지할 수 있다.Meanwhile, the processor 240 may detect a second feedback signal of a high level or a low level sequentially applied to the second conductor 330 .

그리고, 프로세서(240)는 제2 도선(330)에 순차적으로 인가되는 하이 레벨 또는 로우 레벨의 제2 피드백 신호에 기초하여 제1 식별자 및 제2 식별자 중 어느 하나를 식별할 수 있다.In addition, the processor 240 may identify any one of the first identifier and the second identifier based on the high-level or low-level second feedback signal sequentially applied to the second conductor 330 .

이에 따라, 프로세서(240)는 식별된 식별자에 대응하는 미리 설정된 인터럽트 동작을 실행할 수 있다.Accordingly, the processor 240 may execute a preset interrupt operation corresponding to the identified identifier.

예를 들어, 프로세서(240)가 제1 식별자를 식별한 경우, 프로세서(240)는 제1 식별자에 대응하는 미리 설정된 인터럽트 동작을 실행할 수 있다. 즉, 프로세서(240)는 제1 기능 모듈(220)에 대응하는 미리 설정된 인터럽트 동작을 실행할 수 있다.For example, when the processor 240 identifies the first identifier, the processor 240 may execute a preset interrupt operation corresponding to the first identifier. That is, the processor 240 may execute a preset interrupt operation corresponding to the first function module 220 .

다른 예를 들어, 프로세서(240)가 제2 식별자를 식별한 경우, 프로세서(240)는 제2 식별자에 대응하는 미리 설정된 인터럽트 동작을 실행할 수 있다. 즉, 프로세서(240)는 제2 기능 모듈(230)에 대응하는 미리 설정된 인터럽트 동작을 실행할 수 있다.As another example, when the processor 240 identifies the second identifier, the processor 240 may execute a preset interrupt operation corresponding to the second identifier. That is, the processor 240 may execute a preset interrupt operation corresponding to the second function module 230 .

그리고, 프로세서(240)는 식별된 식별자에 대응하는 인터럽트 동작의 실행이 완료되면, 데이터 버스(310)를 통해 제1 기능 모듈(220) 또는 제2 기능 모듈(230) 중 식별된 식별자에 대응하는 기능 모듈에게 실행 완료 메시지를 제공할 수 있다.In addition, when the execution of the interrupt operation corresponding to the identified identifier is completed, the processor 240 determines the identifier corresponding to the identified one of the first function module 220 or the second function module 230 through the data bus 310 . An execution completion message can be provided to the function module.

여기서, 실행 완료 메시지는 인터럽트 동작의 실행이 완료되었음을 나타내는 정보를 포함하는 메시지일 수 있다.Here, the execution completion message may be a message including information indicating that the execution of the interrupt operation is completed.

제1 기능 모듈(220)이 프로세서(240)로부터 실행 완료 메시지를 제공받은 경우, 제1 기능 모듈(220)은 제1 스위치(411)를 턴오프시킬 수 있다. 즉, 제1 기능 모듈(220)은 하이 레벨의 제1 인터럽트 신호를 출력할 수 있다.When the first function module 220 receives the execution completion message from the processor 240 , the first function module 220 may turn off the first switch 411 . That is, the first function module 220 may output a high level first interrupt signal.

제2 기능 모듈(230)이 프로세서(240)로부터 실행 완료 메시지를 제공받은 경우, 제2 기능 모듈(230)은 제3 스위치(421)를 턴오프시킬 수 있다. 즉, 제2 기능 모듈(230)은 하이 레벨의 제2 인터럽트 신호를 출력할 수 있다.When the second function module 230 receives the execution completion message from the processor 240 , the second function module 230 may turn off the third switch 421 . That is, the second function module 230 may output a high level second interrupt signal.

도 7을 참조하여 제1 식별자가 00, 제2 식별자가 10인 경우의 PLC 시스템(200)의 동작의 예시를 설명한다.An example of the operation of the PLC system 200 when the first identifier is 00 and the second identifier is 10 will be described with reference to FIG. 7 .

제1 기능 모듈(220)은 t11부터 t12까지 제1 식별자의 제1 비트(즉, 0)에 대응하는 로우 레벨의 제1 식별자 신호를 출력할 수 있다. 그리고, 제1 기능 모듈(220)은 t11부터 t12까지 출력된 제1 식별자 신호와 제2 피드백 신호가 일치하는지 여부를 판단할 수 있다.The first function module 220 may output a low-level first identifier signal corresponding to the first bit (ie, 0) of the first identifier from t11 to t12. In addition, the first function module 220 may determine whether the first identifier signal output from t11 to t12 matches the second feedback signal.

t11부터 t12까지 출력된 제2 피드백 신호도 로우 레벨 신호이므로, 제1 기능 모듈(220)은 t11부터 t12까지 출력된 제1 식별자 신호와 제2 피드백 신호가 일치한다고 판단할 수 있다.Since the second feedback signal output from t11 to t12 is also a low level signal, the first function module 220 may determine that the first identifier signal output from t11 to t12 matches the second feedback signal.

그러면, 제1 기능 모듈(220)은 t12부터 t13까지 제1 식별자의 제2 비트(즉, 0)에 대응하는 로우 레벨의 제1 식별자 신호를 출력할 수 있다.Then, the first function module 220 may output a low-level first identifier signal corresponding to the second bit (ie, 0) of the first identifier from t12 to t13.

t11부터 t13까지 제1 식별자에 대응하는 제1 피드백 신호를 모두 출력한 이후, 제1 기능 모듈(220)은 t13부터 하이 레벨의 제1 피드백 신호를 출력할 수 있다.After outputting all of the first feedback signals corresponding to the first identifier from t11 to t13, the first function module 220 may output the first feedback signal having a high level from t13.

한편, t11부터 t12까지, 제2 기능 모듈(230)은 제2 식별자의 제1 비트(즉, 1)에 대응하는 하이 레벨의 제2 식별자 신호를 출력할 수 있다. 그리고, 제2 기능 모듈(230)은 t11에서 t12까지 출력된 제2 식별자 신호와 제2 피드백 신호가 일치하는지 여부를 판단할 수 있다.Meanwhile, from t11 to t12, the second function module 230 may output a high-level second identifier signal corresponding to the first bit (ie, 1) of the second identifier. In addition, the second function module 230 may determine whether the second identifier signal output from t11 to t12 matches the second feedback signal.

t11에서 t12까지 출력된 제2 피드백 신호가 로우 레벨 신호이므로, 제2 기능 모듈(230)은 t11에서 t12까지 출력된 제2 식별자 신호와 제2 피드백 신호가 일치하지 않는다고 판단할 수 있다.Since the second feedback signal output from t11 to t12 is a low level signal, the second function module 230 may determine that the second identifier signal output from t11 to t12 does not match the second feedback signal.

그러면, 제2 기능 모듈(230)은 t12에서 t13까지 제2 식별자에 대응하는 제2 식별자 신호(즉, 0)를 출력하는 것을 중단하고, 하이 레벨의 제2 식별자 신호를 출력하는 상태를 유지할 수 있다.Then, the second function module 230 may stop outputting the second identifier signal (ie, 0) corresponding to the second identifier from t12 to t13 and maintain a state of outputting the high level second identifier signal. have.

나아가, 제2 기능 모듈(230)은 하이 레벨의 제2 인터럽트 신호를 출력할 수 있다. 그러면, 제3 스위치(421)가 턴오프될 수 있다.Furthermore, the second function module 230 may output a high level second interrupt signal. Then, the third switch 421 may be turned off.

그리고, 제2 기능 모듈(230)은 제1 피드백 신호가 하이 레벨 신호가 될 때까지 대기할 수 있다. 이후, 제1 피드백 신호가 하이 레벨 신호가 되면, 제2 기능 모듈(230)은 로우 레벨의 제2 인터럽트 신호를 출력하여 프로세서(240)에게 다시 인터럽트 동작을 요청할 수 있다.In addition, the second function module 230 may wait until the first feedback signal becomes a high level signal. Thereafter, when the first feedback signal becomes a high level signal, the second function module 230 may output a second interrupt signal of a low level to request an interrupt operation from the processor 240 again.

나아가, 프로세서(240)는 t11부터 t13까지 제2 도선(330)에 순차적으로 인가되는 하이 레벨 또는 로우 레벨의 제2 피드백 신호에 기초하여 제1 식별자를 식별할 수 있다.Furthermore, the processor 240 may identify the first identifier based on a high-level or low-level second feedback signal sequentially applied to the second conductive line 330 from t11 to t13.

즉, 프로세서(240)는 t11에서 t12까지 로우 레벨의 제2 피드백 신호, t12에서 t13까지 로우 레벨의 제2 피드백 신호를 감지할 수 있다. 이에 따라, 프로세서(240)는 제1 식별자(즉, 00)을 식별할 수 있다.That is, the processor 240 may detect a low-level second feedback signal from t11 to t12 and a low-level second feedback signal from t12 to t13. Accordingly, the processor 240 may identify the first identifier (ie, 00).

그러면, 프로세서(240)는 제1 식별자에 대응하는 인터럽트 동작을 실행할 수 있다. 즉, 프로세서(240)는 제1 기능 모듈(220)에 대응하는 인터럽트 동작을 실행할 수 있다.Then, the processor 240 may execute an interrupt operation corresponding to the first identifier. That is, the processor 240 may execute an interrupt operation corresponding to the first function module 220 .

제1 식별자에 대응하는 인터럽트 동작의 실행이 완료되면, 프로세서(240)는 데이터 버스(310)를 통해 제1 기능 모듈(220)에게 실행 완료 메시지를 제공할 수 있다.When the execution of the interrupt operation corresponding to the first identifier is completed, the processor 240 may provide an execution completion message to the first function module 220 through the data bus 310 .

그러면, 제1 기능 모듈(220)은 하이 레벨의 제1 인터럽트 신호를 출력할 수 있다.Then, the first function module 220 may output a high level first interrupt signal.

도 8을 참조하여 제1 식별자가 0101, 제2 식별자가 0010인 경우의 PLC 시스템(200)의 동작의 예시를 설명한다.An example of the operation of the PLC system 200 when the first identifier is 0101 and the second identifier is 0010 will be described with reference to FIG. 8 .

제1 기능 모듈(220)은 t21부터 t22까지 제1 식별자의 제1 비트(즉, 0)에 대응하는 로우 레벨의 제1 식별자 신호를 출력할 수 있다.The first function module 220 may output a low-level first identifier signal corresponding to the first bit (ie, 0) of the first identifier from t21 to t22.

t21부터 t22까지의 제2 피드백 신호가 로우 레벨 신호이므로, 제1 기능 모듈(220)은 t21부터 t22까지 출력된 제1 식별자 신호와 제2 피드백 신호가 일치한다고 판단할 수 있다.Since the second feedback signal from t21 to t22 is a low level signal, the first function module 220 may determine that the first identifier signal output from t21 to t22 matches the second feedback signal.

이에 따라, 제1 기능 모듈(220)은 t22부터 t23까지 제1 식별자의 제2 비트(즉, 1)에 대응하는 하이 레벨의 제1 식별자 신호를 출력할 수 있다.Accordingly, the first function module 220 may output a high-level first identifier signal corresponding to the second bit (ie, 1) of the first identifier from t22 to t23.

t22부터 t23까지의 제2 피드백 신호가 로우 레벨 신호이므로, 제1 기능 모듈(220)은 t22부터 t23까지 제1 식별자의 제2 비트에 대응하는 제1 식별자 신호와 제2 피드백 신호가 일치하지 않는다고 판단할 수 있다.Since the second feedback signal from t22 to t23 is a low-level signal, the first function module 220 determines that the first identifier signal corresponding to the second bit of the first identifier from t22 to t23 does not match the second feedback signal. can judge

그러면, 제1 기능 모듈(220)은 t23 이후에는 제1 식별자에 대응하는 제1 식별자 신호를 출력하는 것을 중단할 수 있다. 그리고, 제1 기능 모듈(220)은 t23부터 하이 레벨의 제1 식별자 신호를 출력할 수 있다.Then, the first function module 220 may stop outputting the first identifier signal corresponding to the first identifier after t23. In addition, the first function module 220 may output a high level first identifier signal from t23.

나아가, 제1 기능 모듈(220)은 하이 레벨의 제1 인터럽트 신호를 출력할 수 있다. 그러면, 제1 스위치가 턴오프될 수 있다.Furthermore, the first function module 220 may output a high level first interrupt signal. Then, the first switch may be turned off.

한편, 제2 기능 모듈(230)은 제2 식별자의 제1 비트(즉, 0)에 대응하는 로우 레벨의 제2 식별자 신호를 출력할 수 있다.Meanwhile, the second function module 230 may output a low-level second identifier signal corresponding to the first bit (ie, 0) of the second identifier.

t21부터 t22까지의 제2 피드백 신호가 로우 레벨 신호이므로, 제2 기능 모듈(230)은 t21부터 t22까지 출력된 제2 식별자 신호와 제2 피드백 신호가 일치한다고 판단할 수 있다.Since the second feedback signal from t21 to t22 is a low level signal, the second function module 230 may determine that the second identifier signal output from t21 to t22 matches the second feedback signal.

이에 따라, 제2 기능 모듈(230)은 t22부터 t23까지 제2 식별자의 제2 비트(즉, 0)에 대응하는 로우 레벨의 제2 식별자 신호를 출력할 수 있다.Accordingly, the second function module 230 may output a low-level second identifier signal corresponding to the second bit (ie, 0) of the second identifier from t22 to t23.

t22부터 t23까지의 제2 피드백 신호가 로우 레벨 신호이므로, 제2 기능 모듈(230)은 t22부터 t23까지 출력된 제2 식별자 신호와 제2 피드백 신호가 일치한다고 판단할 수 있다.Since the second feedback signal from t22 to t23 is a low level signal, the second function module 230 may determine that the second identifier signal output from t22 to t23 matches the second feedback signal.

이에 따라, 제2 기능 모듈(230)은 t23부터 t24까지 제2 식별자의 제3 비트(즉, 1)에 대응하는 하이 레벨의 제2 식별자 신호를 출력할 수 있다.Accordingly, the second function module 230 may output a high-level second identifier signal corresponding to the third bit (ie, 1) of the second identifier from t23 to t24.

t23부터 t24까지의 제2 피드백 신호가 하이 레벨 신호이므로, 제2 기능 모듈(230)은 t23부터 t24까지 출력된 제2 식별자 신호와 제2 피드백 신호가 일치한다고 판단할 수 있다.Since the second feedback signal from t23 to t24 is a high level signal, the second function module 230 may determine that the second identifier signal output from t23 to t24 matches the second feedback signal.

이에 따라, 제2 기능 모듈(230)은 t24부터 t25까지 제2 식별자의 제4 비트(즉, 0)에 대응하는 로우 레벨의 제2 식별자 신호를 출력할 수 있다.Accordingly, the second function module 230 may output a low-level second identifier signal corresponding to the fourth bit (ie, 0) of the second identifier from t24 to t25.

t21부터 t25까지 제2 식별자에 대응하는 제2 피드백 신호를 모두 출력한 이후, 제2 기능 모듈(230)은 t25부터 하이 레벨의 제2 피드백 신호를 출력할 수 있다.After outputting all of the second feedback signals corresponding to the second identifier from t21 to t25, the second function module 230 may output a second feedback signal having a high level from t25.

나아가, 프로세서(240)는 t21부터 t26까지 제2 도선(330)에 순차적으로 인가되는 하이 레벨 또는 로우 레벨의 제2 피드백 신호에 기초하여 제1 식별자를 식별할 수 있다.Furthermore, the processor 240 may identify the first identifier based on the high-level or low-level second feedback signal sequentially applied to the second conductor 330 from t21 to t26.

구체적으로, 프로세서(240)는 t21부터 t26까지, 로우 레벨의 제2 피드백 신호, 로우 레벨의 제2 피드백 신호, 하이 레벨의 제2 피드백 신호, 로우 레벨의 제2 피드백 신호를 순차적으로 감지할 수 있다.Specifically, the processor 240 may sequentially detect a low-level second feedback signal, a low-level second feedback signal, a high-level second feedback signal, and a low-level second feedback signal from t21 to t26. have.

이에 따라, 프로세서(240)는 순차적으로 감지한 제2 피드백 신호에 기초하여 제2 식별자(즉, 0010)를 식별할 수 있다.Accordingly, the processor 240 may identify the second identifier (ie, 0010) based on the sequentially sensed second feedback signal.

그러면, 프로세서(240)는 제2 식별자에 대응하는 인터럽트 동작을 실행할 수 있다. 즉, 프로세서(240)는 제2 기능 모듈(230)에 대응하는 인터럽트 동작을 실행할 수 있다.Then, the processor 240 may execute an interrupt operation corresponding to the second identifier. That is, the processor 240 may execute an interrupt operation corresponding to the second function module 230 .

제2 식별자에 대응하는 인터럽트 동작의 실행이 완료되면, 프로세서(240)는 데이터 버스(310)를 통해 제2 기능 모듈(230)에게 실행 완료 메시지를 제공할 수 있다.When the execution of the interrupt operation corresponding to the second identifier is completed, the processor 240 may provide an execution completion message to the second function module 230 through the data bus 310 .

그러면, 제2 기능 모듈(230)은 하이 레벨의 제2 인터럽트 신호를 출력할 수 있다.Then, the second function module 230 may output a high level second interrupt signal.

이하에서, 도 9 및 도 10을 참조하여 제1 기능 모듈(220) 내지 제N 기능 모듈(340)이 수행하는 인터럽트 동작 처리 방법을 설명하기로 한다. Hereinafter, an interrupt operation processing method performed by the first function module 220 to the Nth function module 340 will be described with reference to FIGS. 9 and 10 .

도 9는 도 2의 제1 기능 모듈이 수행하는 인터럽트 동작 처리 방법을 설명하는 흐름도이다. 도 10은 도 9의 S940을 구체적으로 설명하는 흐름도이다.9 is a flowchart illustrating an interrupt operation processing method performed by the first function module of FIG. 2 . 10 is a flowchart specifically explaining S940 of FIG. 9 .

이하에서 제1 기능 모듈이 수행하는 인터럽트 동작 처리 방법은, 제2 기능 모듈(230) 내지 제N 기능 모듈(340) 각각에 의해서 동일한 과정 및 단계를 거쳐 수행될 수 있다. 따라서, 이하에서는 설명의 편의를 위해 제1 기능 모듈(220)을 중심으로 인터럽트 동작 처리 방법을 설명하기로 한다.Hereinafter, the interrupt operation processing method performed by the first function module may be performed by each of the second function module 230 to the Nth function module 340 through the same process and steps. Therefore, hereinafter, for convenience of description, a method of processing an interrupt operation will be described focusing on the first function module 220 .

제1 기능 모듈(220)은 미리 설정된 제1 인터럽트 조건이 만족되는지 여부를 판단할 수 있다(S910).The first function module 220 may determine whether a preset first interrupt condition is satisfied (S910).

예를 들어, 제1 기능 모듈(220)이 외부 장치로부터 전압값을 입력받는 아날로그 입력 모듈이고, 미리 설정된 제1 인터럽트 조건이 전압값이 0.1mV 이하가 되는 조건일 수 있다.For example, the first function module 220 may be an analog input module that receives a voltage value from an external device, and the preset first interrupt condition may be a condition in which the voltage value is 0.1 mV or less.

그러면, 외부 장치로부터 입력받은 전압값이 0.1mV 이하인 경우, 제1 기능 모듈(220)은 제1 인터럽트 조건이 만족되는 것으로 판단할 수 있다. 반대로, 외부 장치로부터 입력받은 전압값이 0.1mV 초과인 경우, 제1 기능 모듈(220)은 제1 인터럽트 조건인 만족되지 않는 것으로 판단할 수 있다.Then, when the voltage value input from the external device is 0.1 mV or less, the first function module 220 may determine that the first interrupt condition is satisfied. Conversely, when the voltage value input from the external device exceeds 0.1 mV, the first function module 220 may determine that the first interrupt condition is not satisfied.

제1 인터럽트 조건이 만족되지 않는 경우, 제1 기능 모듈(220)은 단계(S910)를 다시 수행할 수 있다.If the first interrupt condition is not satisfied, the first function module 220 may perform step S910 again.

제1 인터럽트 조건이 만족되는 경우, 제1 기능 모듈(220)은 제1 피드백 신호가 하이 레벨 신호인지 여부를 판단할 수 있다(S920).When the first interrupt condition is satisfied, the first function module 220 may determine whether the first feedback signal is a high level signal (S920).

여기서, 제1 기능 모듈(220)은 제1 피드백 신호가 하이 레벨 신호인지 여부를 판단함으로써 다른 기능 모듈이 인터럽트 신호를 출력했는지 여부를 알 수 있다.Here, the first function module 220 may determine whether another function module has output an interrupt signal by determining whether the first feedback signal is a high level signal.

제1 피드백 신호가 로우 레벨 신호인 경우, 제1 기능 모듈(220)은 단계(S920)를 다시 수행할 수 있다.When the first feedback signal is a low-level signal, the first function module 220 may perform step S920 again.

제1 피드백 신호가 하이 레벨 신호인 경우, 제1 기능 모듈(220)은 제1 스위치(411)를 턴온시킬 수 있다(S930).When the first feedback signal is a high level signal, the first function module 220 may turn on the first switch 411 ( S930 ).

구체적으로, 제1 기능 모듈(220)은 로우 레벨의 제1 인터럽트 신호를 출력할 수 있다. 그러면, 제1 스위치(411)가 턴온될 수 있다. 이에 따라, 제1 도선(320)에 로우 레벨 신호가 인가될 수 있다.Specifically, the first function module 220 may output a first interrupt signal of a low level. Then, the first switch 411 may be turned on. Accordingly, a low level signal may be applied to the first conductive line 320 .

단계(S930)를 수행한 이후, 제1 기능 모듈(220)은 제1 식별자에 대응하는 로우 레벨 신호 또는 하이 레벨 신호를 제2 도선(330)에 순차적으로 인가할 수 있다(S940).After performing step S930 , the first function module 220 may sequentially apply a low-level signal or a high-level signal corresponding to the first identifier to the second conductor 330 ( S940 ).

구체적으로, 제1 기능 모듈(220)은 제1 식별자에 대응하는 제1 식별자 신호를 순차적으로 출력하여 제2 스위치(611)를 턴온시키거나 턴오프시킬 수 있다.Specifically, the first function module 220 may sequentially output a first identifier signal corresponding to the first identifier to turn on or turn off the second switch 611 .

제2 스위치(611)가 턴온되는 경우, 제2 도선(330)에 로우 레벨의 제2 피드백 신호가 인가될 수 있다. 그리고, 제2 스위치(611)가 턴오프되는 경우, 제2 도선(330)에 하이 레벨의 제2 피드백 신호가 인가될 수 있다.When the second switch 611 is turned on, a second feedback signal of a low level may be applied to the second conductive line 330 . In addition, when the second switch 611 is turned off, a second feedback signal of a high level may be applied to the second conductive wire 330 .

도 10을 참조하여, 단계(S940)에 대해 보다 구체적으로 설명한다.Referring to FIG. 10 , step S940 will be described in more detail.

단계(S930)를 수행한 이후, 제1 기능 모듈(220)은 제1 식별자의 제1 비트에 대응하는 제1 식별자 신호를 출력할 수 있다(S1010).After performing step S930, the first function module 220 may output a first identifier signal corresponding to the first bit of the first identifier (S1010).

구체적으로, 제1 식별자의 제1 비트가 1인 경우, 제1 기능 모듈(220)은 하이 레벨의 제1 식별자 신호를 출력할 수 있다. 그리고, 제1 식별자의 제1 비트가 0인 경우, 제1 기능 모듈(220)은 로우 레벨의 제1 식별자 신호를 출력할 수 있다.Specifically, when the first bit of the first identifier is 1, the first function module 220 may output a high-level first identifier signal. And, when the first bit of the first identifier is 0, the first function module 220 may output a low-level first identifier signal.

단계(S1010)를 수행한 이후, 제1 기능 모듈(220)은 제1 식별자 신호와 제2 피드백 신호가 일치하는지 여부를 판단할 수 있다.After performing step S1010, the first function module 220 may determine whether the first identifier signal and the second feedback signal match.

제1 식별자의 제1 비트에 대응하는 제1 식별자 신호와 제2 피드백 신호가 일치하지 않는 경우, 제1 기능 모듈(220)은 단계(S920)를 수행할 수 있다.When the first identifier signal corresponding to the first bit of the first identifier and the second feedback signal do not match, the first function module 220 may perform step S920 .

구체적으로, 제1 식별자의 제1 비트에 대응하는 제1 식별자 신호와 제2 피드백 신호가 일치하지 않는 경우, 제1 기능 모듈(220)은 하이 레벨의 제1 식별자 신호를 출력하는 상태를 유지할 수 있다. 즉, 제1 기능 모듈(220)은 제2 스위치(611)를 턴오프시킨 상태를 유지할 수 있다. 그 후, 제1 기능 모듈(220)은 단계(S920)를 수행할 수 있다.Specifically, when the first identifier signal corresponding to the first bit of the first identifier and the second feedback signal do not match, the first function module 220 may maintain a state of outputting the high-level first identifier signal. have. That is, the first function module 220 may maintain a state in which the second switch 611 is turned off. Thereafter, the first function module 220 may perform step S920 .

한편, 제1 식별자의 제1 비트에 대응하는 제1 식별자 신호와 제2 피드백 신호가 일치하는 경우, 제1 기능 모듈(220)은 제1 식별자의 제2 비트에 대응하는 제1 식별자 신호를 출력할 수 있다(S1030).Meanwhile, when the first identifier signal corresponding to the first bit of the first identifier and the second feedback signal match, the first function module 220 outputs the first identifier signal corresponding to the second bit of the first identifier It can be done (S1030).

구체적으로, 제1 식별자의 제2 비트가 1인 경우, 제1 기능 모듈(220)은 하이 레벨의 제1 식별자 신호를 출력할 수 있다. 그리고, 제1 식별자의 제2 비트가 0인 경우, 제1 기능 모듈(220)은 로우 레벨의 제1 식별자 신호를 출력할 수 있다.Specifically, when the second bit of the first identifier is 1, the first function module 220 may output a high-level first identifier signal. And, when the second bit of the first identifier is 0, the first function module 220 may output the first identifier signal of a low level.

단계(S1030)를 수행한 이후, 제1 기능 모듈(220)은 제1 식별자의 제2 비트에 대응하는 제1 식별자 신호와 제2 피드백 신호가 일치하는지 여부를 판단할 수 있다(S1040).After performing step S1030, the first function module 220 may determine whether the first identifier signal corresponding to the second bit of the first identifier matches the second feedback signal (S1040).

제1 식별자의 제2 비트에 대응하는 제1 식별자 신호와 제2 피드백 신호가 일치하지 않는 경우, 제1 기능 모듈(220)은 하이 레벨의 제1 식별자 신호를 출력하는 상태를 유지할 수 있다. 즉, 제1 기능 모듈(220)은 제2 스위치(611)를 턴오프시킨 상태를 유지할 수 있다. 그 후, 제1 기능 모듈(220)은 단계(S920)를 수행할 수 있다.When the first identifier signal corresponding to the second bit of the first identifier and the second feedback signal do not match, the first function module 220 may maintain a state of outputting the high level first identifier signal. That is, the first function module 220 may maintain a state in which the second switch 611 is turned off. Thereafter, the first function module 220 may perform step S920 .

한편, 제1 식별자의 제2 비트에 대응하는 제1 식별자 신호와 제2 피드백 신호가 일치하는 경우, 제1 기능 모듈(220)은 단계(950)를 수행할 수 있다.Meanwhile, when the first identifier signal corresponding to the second bit of the first identifier matches the second feedback signal, the first function module 220 may perform step 950 .

도 10에서 제1 식별자가 2개의 비트로 구성된 경우를 설명하였지만, 이는 예시에 불과하며, 본 발명에 있어서 제1 식별자가 1개 이하 또는 3개 이상의 비트로 구성된 경우에도 제1 기능 모듈(220)은 도 10의 흐름도와 동일한 방식으로 동작할 수 있다.Although the case where the first identifier consists of two bits has been described in FIG. 10, this is only an example, and in the present invention, even when the first identifier consists of one or less or three or more bits, the first function module 220 is shown in FIG. It can operate in the same way as the flowchart of 10.

다시 도 9를 참조하면, 단계(S940)를 수행한 이후, 제1 기능 모듈(220)은 프로세서(240)로부터 실행 완료 메시지를 수신하는지 여부를 판단할 수 있다(S950).Referring back to FIG. 9 , after performing step S940 , the first function module 220 may determine whether an execution completion message is received from the processor 240 ( S950 ).

제1 기능 모듈(220)이 프로세서(240)로부터 실행 완료 메시지를 수신하지 않은 경우, 제1 기능 모듈(220)은 단계(S950)를 다시 수행할 수 있다.When the first function module 220 does not receive the execution completion message from the processor 240 , the first function module 220 may perform step S950 again.

제1 기능 모듈(220)이 프로세서(240)로부터 실행 완료 메시지를 수신한 경우, 제1 기능 모듈(220)은 제1 스위치(411)를 턴오프시킬 수 있다(S960).When the first function module 220 receives the execution completion message from the processor 240 , the first function module 220 may turn off the first switch 411 ( S960 ).

구체적으로, 제1 기능 모듈(220)은 프로세서(240)로부터 실행 완료 메시지를 수신한 이후, 하이 레벨의 제1 인터럽트 신호를 출력함으로써 제1 스위치(411)를 턴오프시킬 수 있다.Specifically, after receiving the execution completion message from the processor 240 , the first function module 220 may turn off the first switch 411 by outputting a high level first interrupt signal.

이하에서, 도 11을 참조하여 프로세서(240)가 수행하는 인터럽트 동작 처리 방법을 설명하기로 한다.Hereinafter, an interrupt operation processing method performed by the processor 240 will be described with reference to FIG. 11 .

도 11은 도 2의 프로세서가 수행하는 인터럽트 동작 처리 방법을 설명하는 도면이다.11 is a view for explaining a method of processing an interrupt operation performed by the processor of FIG. 2 .

프로세서(240)는 제1 피드백 신호(즉, 제1 도선(320)에 인가되는 신호)가 로우 레벨 신호인지 여부를 판단할 수 있다(S1110). The processor 240 may determine whether the first feedback signal (ie, the signal applied to the first conductive line 320 ) is a low level signal ( S1110 ).

구체적으로, 프로세서(240)는 제1 피드백 신호가 로우 레벨 신호인지 여부를 판단함으로써 인터럽트 동작을 요청한 기능 모듈이 존재하는지 여부를 판단할 수 있다.Specifically, the processor 240 may determine whether a function module requesting an interrupt operation exists by determining whether the first feedback signal is a low-level signal.

제1 피드백 신호가 하이 레벨 신호인 경우, 프로세서(240)는 단계(S1110)를 다시 수행할 수 있다.When the first feedback signal is a high level signal, the processor 240 may perform step S1110 again.

즉, 제1 피드백 신호가 하이 레벨 신호인 경우, 프로세서(240)는 인터럽트 동작을 요청한 기능 모듈이 존재하지 않는 것으로 판단할 수 있다. 그리고, 프로세서(240)는 단계(S1110)를 다시 수행할 수 있다.That is, when the first feedback signal is a high level signal, the processor 240 may determine that the function module requesting the interrupt operation does not exist. Then, the processor 240 may perform step S1110 again.

제1 피드백 신호가 로우 레벨 신호인 경우, 프로세서(240)는 제2 피드백 신호의 수신 완료 여부를 결정할 수 있다(S1120).When the first feedback signal is a low-level signal, the processor 240 may determine whether reception of the second feedback signal has been completed ( S1120 ).

구체적으로, 프로세서(240)는 인터럽트 동작을 요청한 기능 모듈의 미리 설정된 식별자(제1 식별자 또는 제2 식별자)에 대응하는 제2 피드백 신호를 순차적으로 수신할 수 있다.Specifically, the processor 240 may sequentially receive the second feedback signal corresponding to the preset identifier (the first identifier or the second identifier) of the function module that has requested the interrupt operation.

프로세서(240)는 미리 설정된 식별자의 비트 길이만큼 제2 피드백 신호를 순차적으로 수신하면, 제2 피드백 신호의 수신이 완료된 것으로 결정할 수 있다.The processor 240 may determine that the reception of the second feedback signal is completed when the second feedback signal is sequentially received by the bit length of the preset identifier.

예를 들어, 미리 설정된 식별자의 비트 길이가 4인 경우, 프로세서(240)는 로우 레벨의 제1 피드백 신호를 수신한 후, 기능 모듈이 비트 길이 4의 제2 피드백 신호를 인가하는데 소요되는 시간(예를 들어, 4μs)만큼 대기할 수 있다.For example, when the bit length of the preset identifier is 4, the processor 240 receives the first feedback signal of the low level, and then the time required for the function module to apply the second feedback signal of the bit length 4 ( For example, it can wait as long as 4 μs).

제2 피드백 신호의 수신이 완료되지 않은 경우, 프로세서(240)는 단계(S1120)를 다시 수행할 수 있다.When the reception of the second feedback signal is not completed, the processor 240 may perform step S1120 again.

제2 피드백 신호의 수신이 완료된 경우, 프로세서(240)는 순차적으로 수신된 제2 피드백 신호에 기초하여 식별자를 식별할 수 있다(S1130).When the reception of the second feedback signal is completed, the processor 240 may identify the identifier based on the sequentially received second feedback signal ( S1130 ).

구체적으로, 프로세서(240)는 순차적으로 수신된 제2 피드백 신호에 기초하여 제1 식별자 및 제 2 식별자 중 어느 하나를 식별할 수 있다.Specifically, the processor 240 may identify any one of the first identifier and the second identifier based on the sequentially received second feedback signal.

단계(S1130)를 수행한 이후, 프로세서(240)는 식별자에 대응하는 인터럽트 동작을 실행할 수 있다(S1140).After performing step S1130, the processor 240 may execute an interrupt operation corresponding to the identifier (S1140).

구체적으로, 프로세서(240)가 제1 식별자를 식별한 경우, 프로세서(240)는 제1 식별자에 대응하는 인터럽트 동작을 실행할 수 있다. 즉, 프로세서(240)는 제1 기능 모듈(220)에 대응하는 인터럽트 동작을 실행할 수 있다.Specifically, when the processor 240 identifies the first identifier, the processor 240 may execute an interrupt operation corresponding to the first identifier. That is, the processor 240 may execute an interrupt operation corresponding to the first function module 220 .

프로세서(240)가 제2 식별자를 식별한 경우, 프로세서(240)는 제2 식별자에 대응하는 인터럽트 동작을 실행할 수 있다. 즉, 프로세서(240)는 제2 기능 모듈(230)에 대응하는 인터럽트 동작을 실행할 수 있다.When the processor 240 identifies the second identifier, the processor 240 may execute an interrupt operation corresponding to the second identifier. That is, the processor 240 may execute an interrupt operation corresponding to the second function module 230 .

단계(S1140)를 수행한 이후, 프로세서(240)는 식별자에 대응하는 기능 모듈에게 실행 완료 메시지를 제공할 수 있다(S1150).After performing step S1140, the processor 240 may provide an execution completion message to the function module corresponding to the identifier (S1150).

구체적으로, 프로세서(240)는 인터럽트 동작의 실행이 완료되면, 데이터 버스(310)를 통해 식별자에 대응하는 기능 모듈에게 실행 완료 메시지를 제공할 수 있다.Specifically, when the execution of the interrupt operation is completed, the processor 240 may provide an execution completion message to the function module corresponding to the identifier through the data bus 310 .

예를 들어, 프로세서(240)가 제1 식별자에 대응하는 인터럽트 동작의 실행을 완료한 경우, 제1 기능 모듈(220)에게 실행 완료 메시지를 제공할 수 있다. 그리고, 프로세서(240)가 제2 식별자에 대응하는 인터럽트 동작의 실행을 완료한 경우, 제2 기능 모듈(230)에게 실행 완료 메시지를 제공할 수 있다.For example, when the processor 240 completes the execution of the interrupt operation corresponding to the first identifier, it may provide an execution completion message to the first function module 220 . In addition, when the processor 240 completes the execution of the interrupt operation corresponding to the second identifier, it may provide an execution completion message to the second function module 230 .

전술한 바와 같이, 본 발명의 일 실시예에 따른 PLC 시스템(200)은 인터럽트 동작을 요청한 기능 모듈의 식별자에 대응하는 제2 피드백 신호를 프로세서(240)에게 제공함으로써 인터럽트 동작을 요청한 기능 모듈을 찾는 과정을 생략할 수 있다. 이에 따라, 프로세서(240)가 스캔을 중단하는 시간이 감소될 수 있으며, PLC 시스템 전체의 처리 성능을 증가시킬 수 있다.As described above, the PLC system 200 according to an embodiment of the present invention provides a second feedback signal corresponding to the identifier of the function module requesting the interrupt operation to the processor 240 to find the function module requesting the interrupt operation. The process can be omitted. Accordingly, the time for which the processor 240 stops scanning may be reduced, and processing performance of the entire PLC system may be increased.

또한, 본 발명의 일 실시예에 따른 PLC 시스템은 인터럽트 동작을 요청한 기능 모듈의 식별자에 대응하는 제2 피드백 신호를 프로세서(240)에게 제공함으로써 기능 모듈의 개수가 증가하더라도 인터럽트 동작 요청을 수신한 이후 인터럽트 동작을 수행하기까지 소요되는 시간을 일정하게 유지할 수 있다. 이에 따라, 기능 모듈의 개수가 증가하더라도 기능 모듈의 인터럽트 동작을 효율적으로 처리할 수 있다.In addition, the PLC system according to an embodiment of the present invention provides a second feedback signal corresponding to the identifier of the function module requesting the interrupt operation to the processor 240 so that even if the number of function modules increases, after receiving the interrupt operation request The time required to perform the interrupt operation can be kept constant. Accordingly, even if the number of function modules increases, the interrupt operation of the function module can be efficiently processed.

전술한 본 발명은, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경이 가능하므로 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니다.For those of ordinary skill in the art to which the present invention pertains, various substitutions, modifications and changes are possible within the scope of the present invention without departing from the technical spirit of the present invention. is not limited by

200: PLC 시스템
210: 베이스 모듈
220: 제1 기능 모듈
230: 제2 기능 모듈
240: 프로세서
200: PLC system
210: base module
220: first function module
230: second function module
240: processor

Claims (12)

제1 기능 모듈 및 제2 기능 모듈;
상기 제1 기능 모듈 및 상기 제2 기능 모듈 중 어느 하나로부터 인터럽트(Interrupt) 동작과 관련된 제1 피드백 신호를 제공받는 베이스 모듈; 및
상기 베이스 모듈로부터 상기 제1 피드백 신호를 제공받고, 상기 제1 기능 모듈 및 상기 제2 기능 모듈 중 상기 제1 피드백 신호를 제공한 기능 모듈을 식별하는 프로세서를 포함하되,
상기 제1 기능 모듈 및 상기 제2 기능 모듈은 상호간 상기 제1 피드백 신호의 제공 여부를 감지하며,
상기 베이스 모듈은 제1 도선 및 제2 도선을 구비하고, 상기 제1 기능 모듈 및 상기 제2 기능 모듈과 상기 프로세서는 상기 제1 도선 및 상기 제2 도선에 연결되되,
상기 제1 기능 모듈은 미리 설정된 제1 인터럽트 조건이 만족되면, 상기 제1 도선과 연결된 제1 스위치를 턴온시켜 상기 제1 도선에 로우 레벨의 제1 피드백 신호를 인가하고, 상기 제2 도선과 연결된 제2 스위치를 턴온 또는 턴오프시켜 제1 식별자에 대응하는 로우 레벨(low level) 또는 하이 레벨(high level)의 제2 피드백 신호를 상기 제2 도선에 순차적으로 인가하는
PLC 시스템.
a first function module and a second function module;
a base module receiving a first feedback signal related to an interrupt operation from any one of the first function module and the second function module; and
A processor receiving the first feedback signal from the base module and identifying a function module that provided the first feedback signal from among the first function module and the second function module,
The first function module and the second function module detect whether the first feedback signal is provided to each other,
The base module includes a first conductive wire and a second conductive wire, and the first functional module, the second functional module, and the processor are connected to the first conductive wire and the second conductive wire,
When a preset first interrupt condition is satisfied, the first function module turns on a first switch connected to the first conductor to apply a first feedback signal of a low level to the first conductor, and is connected to the second conductor turning on or off a second switch to sequentially apply a second feedback signal of a low level or a high level corresponding to the first identifier to the second conductor;
PLC system.
삭제delete 제1항에 있어서,
상기 제2 기능 모듈은 미리 설정된 제2 인터럽트 조건이 만족되면, 상기 제1 도선에 하이 레벨의 제1 피드백 신호가 인가되는지 여부를 판단하는
PLC 시스템.
According to claim 1,
The second function module is configured to determine whether a high-level first feedback signal is applied to the first conductor when a preset second interrupt condition is satisfied.
PLC system.
제3항에 있어서,
상기 제2 기능 모듈은 상기 제1 도선에 하이 레벨의 제1 피드백 신호가 인가되는 경우, 상기 제1 도선과 연결된 제3 스위치를 턴온시켜 상기 제1 도선에 로우 레벨의 제1 피드백 신호를 인가하고, 상기 제2 도선에 연결된 제4 스위치를 턴온 또는 턴오프시켜 제2 식별자에 대응하는 하이 레벨 또는 로우 레벨의 제2 피드백신호를 상기 제2 도선에 순차적으로 인가하는
PLC 시스템.
4. The method of claim 3,
When a high-level first feedback signal is applied to the first conductor, the second function module turns on a third switch connected to the first conductor to apply a low-level first feedback signal to the first conductor; , sequentially applying a high level or low level second feedback signal corresponding to a second identifier to the second conductor by turning on or off a fourth switch connected to the second conductor
PLC system.
제4항에 있어서,
상기 프로세서는 상기 제1 도선에 로우 레벨의 제1 피드백 신호가 인가되는 경우, 상기 제2 도선에 순차적으로 인가되는 하이 레벨 또는 로우 레벨의 제2 피드백 신호에 기초하여 상기 제1 식별자 및 상기 제2 식별자 중 어느 하나를 식별하고, 상기 식별된 식별자에 대응하는 미리 설정된 인터럽트 동작을 실행하는
PLC 시스템.
5. The method of claim 4,
The processor is configured to, when a first feedback signal of a low level is applied to the first conductor, the first identifier and the second feedback signal based on a second feedback signal of a high level or a low level sequentially applied to the second conductor. Identifies any one of the identifiers and executes a preset interrupt operation corresponding to the identified identifier
PLC system.
제4항에 있어서,
상기 제1 스위치 및 상기 제3 스위치 중 적어도 하나가 턴온되면 상기 제1 도선에 로우 레벨의 제1 피드백 신호가 인가되고,
상기 제1 스위치 및 상기 제3 스위치가 턴오프되면 상기 제1 도선에 하이 레벨의 제1 피드백 신호가 인가되는
PLC 시스템.
5. The method of claim 4,
When at least one of the first switch and the third switch is turned on, a first feedback signal of a low level is applied to the first conductor;
When the first switch and the third switch are turned off, a first feedback signal of a high level is applied to the first conductive wire.
PLC system.
제4항에 있어서,
상기 제1 기능 모듈 및 상기 제2 기능 모듈이 동시에 로우 레벨의 제1 인터럽트 신호 및 로우 레벨의 제2 인터럽트 신호를 출력하는 경우, 상기 제2 스위치 및 상기 제4 스위치가 동시에 턴온되는
PLC 시스템.
5. The method of claim 4,
When the first function module and the second function module simultaneously output a first interrupt signal of a low level and a second interrupt signal of a low level, the second switch and the fourth switch are simultaneously turned on
PLC system.
제4항에 있어서,
상기 제1 식별자 및 상기 제2 식별자 각각은 M개의 비트로 구성되고,
상기 제1 기능 모듈은 상기 제1 스위치를 턴온시킨 후, 상기 제2 스위치를 턴온 또는 턴오프시켜 상기 제1 식별자의 제1 비트부터 제M 비트 각각에 대응하는 로우 레벨 또는 하이 레벨의 제2 피드백 신호를 상기 제2 도선에 순차적으로 인가하는
PLC 시스템.
5. The method of claim 4,
Each of the first identifier and the second identifier consists of M bits,
After turning on the first switch, the first function module turns on or off the second switch to provide a second feedback of a low level or a high level corresponding to each of the first bit to the Mth bit of the first identifier. sequentially applying a signal to the second conductor
PLC system.
제8항에 있어서,
상기 제2 기능 모듈은 상기 제3 스위치를 턴온시킨 후, 상기 제4 스위치를 턴온 또는 턴오프시켜 상기 제2 식별자의 제1 비트부터 제M 비트 각각에 대응하는 로우 레벨 신호 또는 하이 레벨의 제2 피드백 신호를 순차적으로 인가하는
PLC 시스템.
9. The method of claim 8,
After turning on the third switch, the second function module turns on or off the fourth switch to obtain a low-level signal or a high-level second signal corresponding to each of the first bit to the M-th bit of the second identifier. Sequential application of feedback signals
PLC system.
삭제delete 제6항에 있어서,
상기 제1 기능 모듈은 상기 제2 스위치가 턴오프된 상태에서 상기 제2 도선에 로우 레벨의 제2 피드백 신호가 인가되는 경우, 상기 제2 스위치를 턴오프시킨 상태를 유지하는
PLC 시스템.
7. The method of claim 6,
The first function module is configured to maintain a state in which the second switch is turned off when a second feedback signal of a low level is applied to the second conductor in a state in which the second switch is turned off.
PLC system.
제5항에 있어서,
상기 베이스 모듈은 상기 제1 기능 모듈, 상기 제2 기능 모듈 및 상기 프로세서에 연결되는 데이터 버스를 더 구비하고,
상기 프로세서는 상기 식별된 식별자에 대응하는 인터럽트 동작의 실행이 완료되면, 상기 데이터 버스를 통해 상기 제1 기능 모듈 또는 상기 제2 기능 모듈 중 상기 식별된 식별자에 대응하는 기능 모듈에게 실행 완료 메시지를 제공하는
PLC 시스템.
6. The method of claim 5,
The base module further includes a data bus connected to the first function module, the second function module, and the processor,
When the execution of the interrupt operation corresponding to the identified identifier is completed, the processor provides an execution completion message to a function module corresponding to the identified identifier among the first function module or the second function module through the data bus doing
PLC system.
KR1020180021129A 2018-02-22 2018-02-22 Programmable logic controller system KR102434128B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180021129A KR102434128B1 (en) 2018-02-22 2018-02-22 Programmable logic controller system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180021129A KR102434128B1 (en) 2018-02-22 2018-02-22 Programmable logic controller system

Publications (2)

Publication Number Publication Date
KR20190101141A KR20190101141A (en) 2019-08-30
KR102434128B1 true KR102434128B1 (en) 2022-08-18

Family

ID=67776332

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180021129A KR102434128B1 (en) 2018-02-22 2018-02-22 Programmable logic controller system

Country Status (1)

Country Link
KR (1) KR102434128B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113936941A (en) * 2021-09-10 2022-01-14 华为数字能源技术有限公司 Switching device and power distribution system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000163108A (en) * 1998-11-27 2000-06-16 Mitsubishi Electric Corp Programmable controller

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160134994A (en) * 2015-05-14 2016-11-24 엘에스산전 주식회사 Interrupt processing method in modular plc system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000163108A (en) * 1998-11-27 2000-06-16 Mitsubishi Electric Corp Programmable controller

Also Published As

Publication number Publication date
KR20190101141A (en) 2019-08-30

Similar Documents

Publication Publication Date Title
US20130282941A1 (en) Network communications apparatus, system, and method
KR102434128B1 (en) Programmable logic controller system
US10013389B2 (en) Automatic cascaded address selection
CN112291387A (en) Method, device and equipment for automatically addressing master and slave machines and storage medium
JP2015033952A (en) Control system
US10013374B2 (en) Bidirectional communication method between a master terminal and a slave terminal on a single transmission line
US9425994B2 (en) Discovering devices in a network
US10299352B2 (en) Light source control system
US20110141883A1 (en) Multi-lane control apparatus and method using control signal of physical layer
JP2024515742A (en) System and method for verifying power amplifier of car audio system
CN113268443A (en) SMI bus communication method, device, electronic equipment and medium
WO2015172306A1 (en) Antenna cascade relationship recognition method, antenna device and antenna control device
US11403248B2 (en) Bi-directional bus topology
JP7086027B2 (en) Bidirectional serial bus switch
CN113711542B (en) Network machine
CN112994969B (en) Service detection method, device, equipment and storage medium
US9681524B2 (en) Start up circuit for digital addressable lighting interface stand by compatible driver
CN113777427B (en) No-load detection method and power supply equipment for power over Ethernet system
US10938507B2 (en) Communication apparatus
US11109172B2 (en) Audio processing circuit supporting multi-channel audio input function
US20140304432A1 (en) Identification of electronic devices operating within a computing system
JP2014016907A (en) Communication system, and address allocation method
US20220335001A1 (en) Bi-directional bus topology
JP4574256B2 (en) Communication apparatus and communication method
US11700144B2 (en) Master slave communication system and control method for master slave communication 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