KR20130035363A - Plc system and plc control method - Google Patents

Plc system and plc control method Download PDF

Info

Publication number
KR20130035363A
KR20130035363A KR1020110099602A KR20110099602A KR20130035363A KR 20130035363 A KR20130035363 A KR 20130035363A KR 1020110099602 A KR1020110099602 A KR 1020110099602A KR 20110099602 A KR20110099602 A KR 20110099602A KR 20130035363 A KR20130035363 A KR 20130035363A
Authority
KR
South Korea
Prior art keywords
module
power
modules
power supply
plc
Prior art date
Application number
KR1020110099602A
Other languages
Korean (ko)
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 KR1020110099602A priority Critical patent/KR20130035363A/en
Publication of KR20130035363A publication Critical patent/KR20130035363A/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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs

Landscapes

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

Abstract

PURPOSE: A PLC(Programmable Logic Controller) system and a PLC controlling method are provided to additionally mount a new module without giving damage to the PLC system and a device connected to the PLC system. CONSTITUTION: A power module(110) supplies power for operating multiple modules(200) connected to a PLC base. A control module(120) controls power supply to the multiple modules. The power module is connected to the multiple modules. Each module and the power module comprise power blocking switches(130-1 to 130-12). [Reference numerals] (110) Power module; (120) Control module; (AA) Module 1; (BB) Module 2; (CC) Module 3; (DD) Module 11; (EE) Module 12; (FF) Device 1; (GG) Device 2; (HH) Device 3;

Description

PLC 시스템 및 PLC 제어방법 {PLC SYSTEM AND PLC CONTROL METHOD}PLC system and PLC control method {PLC SYSTEM AND PLC CONTROL METHOD}

본 발명은 PLC 시스템 및 PLC 제어방법에 관한 것으로 더욱 상세하게는 PLC 베이스에 연결된 모듈들에서 소비되는 전력이 전원 모듈의 용량을 초과하는 경우 효과적으로 전원 공급을 차단할 수 있는 PLC 시스템 및 PLC 제어방법에 관한 것이다.
The present invention relates to a PLC system and a PLC control method, and more particularly, to a PLC system and a PLC control method that can effectively cut off the power supply when the power consumed by the modules connected to the PLC base exceeds the capacity of the power module. will be.

종래에는 기계나 장치를 단독으로 제어하여 공장 시스템을 운영했지만 현대 산업이 점점 복잡하고 다양해짐에 따라 시스템의 변화가 요구되었다. 즉 시스템이 복잡해지고 중요 설비의 안전한 동작을 이루기 위해서는 이를 보완할 수 있는 장치가 필요하게 되어 현장 라인을 직접 제어하는 PLC(Programmable Logic Controller) 시스템이 개발되기에 이르렀다.Conventionally, the factory system was operated by controlling a machine or a device alone, but as the modern industry became more complicated and diverse, a change of the system was required. In other words, in order to complicate the system and to ensure safe operation of important facilities, a device that can compensate for this is required, and a PLC (Programmable Logic Controller) system that directly controls field lines has been developed.

PLC는 디지털 또는 아날로그 입출력 모듈을 통해 로직, 시퀀싱, 타이밍, 카운팅, 연산과 같은 특수한 기능을 수행하기 위해 프로그램 가능한 메모리를 사용하고 여러 종류의 기계나 프로세서를 제어하는 전자장치이다.A PLC is an electronic device that uses programmable memory and controls a variety of machines or processors to perform special functions such as logic, sequencing, timing, counting, and computation through digital or analog I / O modules.

일반적으로 PLC는 산업 자동화와 함께 가장 기본적이고 제어기로서, 공장이나 빌딩 등의 설비 자동화에 많이 사용되고 있는 시스템으로, 초기의 단순한 기본 연산에서 현재는 복잡한 응용 연산뿐만 아니라 산업 네트워크를 형성하여 다양한 현장 요구에 부응하고 있다. In general, PLC is the most basic and controller with industrial automation. It is a system that is widely used for facility automation of factories and buildings.In the early simple basic operation, it is not only complicated application operation but also an industrial network. We meet.

PLC 시스템은 베이스, 파워 모듈, CPU 모듈, 통신 모듈, I/O 모듈, 기타 특수 모듈 등으로 구성될 수 있고, 하나의 베이스에는 일반적으로 하나의 파워 모듈 및 CPU 모듈과 베이스가 허용되는 범위 내에서의 통신 모듈, I/O 모듈, 특수 모듈을 장착할 수 있다. 또한, 하나의 베이스에는 하나의 파워 모듈이 장착될 수 있는데, 이는 파워 모듈이 공급할 수 있는 전력에 의해서도 베이스에 장착할 수 있는 모듈의 수에 제한을 가진다는 것을 의미한다. The PLC system can consist of a base, a power module, a CPU module, a communication module, an I / O module, other special modules, etc., and one power module and a CPU module and a base are generally allowed in one base. Communication module, I / O module and special module can be installed. In addition, one power module may be mounted in one base, which means that the number of modules that can be mounted in the base is limited by the power that the power module can supply.

도 1은 종래에 사용하던 PLC 시스템(10)의 구성을 나타낸다. 종래의 PLC 시스템(10)은 전원 모듈(20), CPU(30) 및 PLC 베이스(10)에 연결된 복수의 모듈(40)을 구비한다. 한편 복수의 모듈(40)에는 각각 별개의 기기들(50)이 연결된다. 상기 복수의 모듈(40)은 시스템에 필요한 입/출력 모듈이나 특수/통신 모듈을 상정할 수 있다. 여기서 전원 모듈(20)은 복수의 모듈(40)이 동작하기 위한 전원을 공급하는 기능을 갖는다.1 shows a configuration of a PLC system 10 used in the related art. The conventional PLC system 10 includes a power module 20, a CPU 30, and a plurality of modules 40 connected to the PLC base 10. Meanwhile, separate devices 50 are connected to the plurality of modules 40, respectively. The plurality of modules 40 may assume input / output modules or special / communication modules required for the system. Here, the power supply module 20 has a function of supplying power for operating the plurality of modules 40.

이러한 구성을 가지고 있는 종래 PLC 시스템은 사용자가 시스템 전원 모듈의 용량을 고려하지 않고 PLC 시스템에 모듈을 장착하는 경우, 또는 PLC 시스템의 운전 중 특정 모듈의 고장으로 인해 소비 전력이 증가하여 전원 모듈(20)의 용량을 초과하는 경우 시스템 전원 모듈(20)의 고장으로 PLC 시스템 전체에 영향을 줄 뿐만 아니라 PLC 시스템과 연결된 기기(50)에까지 영향을 줌으로써 막대한 손실을 초래할 수 있는 문제점이 있다.
The conventional PLC system having such a configuration increases the power consumption when a user mounts the module to the PLC system without considering the capacity of the system power module or due to a failure of a specific module during operation of the PLC system. In case of exceeding the capacity of), the system power module 20 may not only affect the entire PLC system but also affect the device 50 connected to the PLC system, which may cause a huge loss.

본 발명은 상기 문제점을 감안하여 안출된 것으로 본 발명의 목적은 PLC 베이스에 연결된 모듈에서의 소비 전력이 전원 모듈의 용량을 벗어나는 경우에도 안정적으로 동작 가능한 PLC 시스템 및 PLC 제어방법을 제공함에 있다.SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and an object of the present invention is to provide a PLC system and a PLC control method that can be stably operated even when power consumption of a module connected to a PLC base exceeds a capacity of a power supply module.

또한 새로운 모듈을 추가로 장착하고자 하는 경우 전원 모듈의 용량을 벗어나는 경우에도 PLC 시스템 및 PLC 시스템에 연결된 기기에 손상을 주지 않는 LC 시스템 및 PLC 제어방법을 제공함에 있다.
In addition, the present invention provides an LC system and a PLC control method that do not damage the PLC system and the devices connected to the PLC system even if the capacity of the power module is exceeded when a new module is to be installed.

상기 목적을 달성하기 위한 본 발명의 일 실시예에 따른 PLC 시스템은 PLC 베이스에 연결된 복수의 모듈을 동작시키기 위한 전원을 공급하기 위한 전원 모듈; 및 상기 복수의 모듈로의 전원 공급을 제어하기 위한 제어 모듈;을 포함하며, 상기 전원 모듈은 상기 복수의 모듈 각각과 연결되며, 상기 각각의 모듈과 상기 전원 모듈은 전원 차단 스위치를 포함한다.PLC system according to an embodiment of the present invention for achieving the above object is a power supply module for supplying power for operating a plurality of modules connected to the PLC base; And a control module for controlling power supply to the plurality of modules, wherein the power module is connected to each of the plurality of modules, and each of the modules and the power module includes a power cutoff switch.

그리고 상기 제어 모듈은, 상기 복수의 모듈에서의 소비 전력의 합이 상기 전원 모듈의 용량을 초과하는 경우 상기 전원 차단 스위치를 제어하여 상기 복수의 모듈로의 전원 공급을 차단할 수 있다.The control module may block the power supply to the plurality of modules by controlling the power cutoff switch when the sum of power consumption of the plurality of modules exceeds the capacity of the power module.

또한 상기 제어 모듈은, 전원 공급을 차단한 모듈의 순서가 기설정되어 있는 경우, 상기 복수의 모듈에서의 소비 전력의 합이 상기 전원 모듈의 용량을 초과하면 상기 기설정된 순서에 따라 전원 공급을 차단하며, 상기 기설정된 순서는 사용자의 입력에 의해 가변될 수 있다.In addition, when the order of the modules that cut off the power supply is preset, the control module cuts off the power supply according to the preset order when the sum of the power consumption of the plurality of modules exceeds the capacity of the power supply module. The preset order may be changed by a user's input.

그리고 상기 사용자에 의하여 입력된 상기 전원 공급을 차단할 모듈의 순서를 저장하는 저장 모듈을 더 포함할 수 있다.The storage module may further include a storage module configured to store an order of modules to cut off the power supply input by the user.

또한 상기 제어 모듈은, 전원 공급을 차단한 모듈의 순서가 기설정되어 있지 않은 경우, 상기 연결된 모듈의 순서대로 전원 공급을 차단할 수 있다.In addition, when the order of the modules that cut off the power supply is not predetermined, the control module may cut off the power supply in the order of the connected modules.

한편 상기 목적을 달성하기 위한 본 발명의 일 실시예에 따른 PLC 제어방법은 전원 모듈의 용량 및 복수의 모듈에서의 소비 전력의 합을 비교하는 단계; 및 상기 비교 단계에서 상기 복수의 모듈에서의 소비 전력의 합이 상기 전원 모듈의 용량을 초과하는 경우 기설정된 순서에 따라 상기 복수의 모듈로의 전원 공급을 차례로 차단하는 단계;를 포함한다.On the other hand, PLC control method according to an embodiment of the present invention for achieving the above object comprises the steps of comparing the sum of the capacity of the power supply module and the power consumption in the plurality of modules; And sequentially shutting off power supply to the plurality of modules in a predetermined order when the sum of power consumption of the plurality of modules exceeds the capacity of the power module in the comparing step.

그리고 상기 차단하는 단계는, 상기 전원 모듈과 상기 복수의 모듈 사이에 각각 구비된 전원 차단 스위치를 제어하여 상기 복수의 모듈로의 전원 공급을 차단할 수 있다.The blocking may include controlling power cutoff switches respectively provided between the power module and the plurality of modules to cut off power supply to the plurality of modules.

또한 상기 복수의 모듈에서의 소비 전력의 합이 상기 전원 모듈의 용량을 초과하는 경우 우선적으로 전원 공급을 차단하기 위한 순서를 사용자로부터 입력받는 단계;를 더 포함할 수 있다.In addition, if the sum of the power consumption in the plurality of modules exceeds the capacity of the power module, the step of receiving from the user first the order to cut off the power supply first.

그리고 상기 전원 공급을 차단하는 단계는, 상기 입력받는 단계에서 상기 사용로부터의 입력이 없는 경우, 상기 복수의 모듈이 장착된 순서대로 전원 공급을 차단할 수 있다.
And in the step of cutting off the power supply, when there is no input from the use in the receiving step, the power supply may be cut off in the order in which the plurality of modules are mounted.

상기 본 발명의 구성에 따른 PLC 시스템 및 PLC 제어방법에 의하면 PLC 베이스에 연결된 모듈에서의 소비 전력이 전원 모듈의 용량을 벗어나는 경우에도 안정적으로 PLC를 동작시킬 수 있게 된다. According to the PLC system and the PLC control method according to the configuration of the present invention it is possible to operate the PLC stably even when the power consumption of the module connected to the PLC base exceeds the capacity of the power supply module.

또한 전원 모듈의 용량을 벗어나는 경우에도 PLC 시스템 및 PLC 시스템에 연결된 기기에 손상을 주지 않고 새로운 모듈을 추가로 장착할 수 있게 된다.
In addition, if the capacity of the power supply module is exceeded, new modules can be added without damaging the PLC system and the devices connected to the PLC system.

도 1은 종래에 사용하던 PLC 시스템(10)의 구성을 나타내는 도면,
도 2는 본 발명의 일 실시예에 따른 PLC 시스템의 구성을 나타내는 도면,
도 3은 본 발명의 일 실시예에 따른 PLC 제어방법의 흐름을 나타내는 흐름도,
도 4는 본 발명의 또 다른 실시예에 따른 PLC 제어방법의 흐름을 나타내는 흐름도, 그리고,
도 5 및 도 6은 본 발명의 또 다른 실시예에 따른 PLC 제어방법을 설명하기 위한 도면이다.
1 is a view showing the configuration of a conventional PLC system 10,
2 is a view showing the configuration of a PLC system according to an embodiment of the present invention;
3 is a flowchart illustrating a flow of a PLC control method according to an embodiment of the present invention;
4 is a flowchart illustrating a flow of a PLC control method according to another embodiment of the present invention, and
5 and 6 are views for explaining a PLC control method according to another embodiment of the present invention.

본 발명은 다양한 변경을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 그러나 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다.While the invention is susceptible to various modifications and alternative forms, specific embodiments thereof are shown by way of example in the drawings and will herein be described in detail. It is to be understood, however, that the invention is not to be limited to the specific embodiments, but includes all modifications, equivalents, and alternatives falling within the spirit and scope of the invention.

또한, 첨부 도면을 참조하여 설명함에 있어, 도면 부호에 관계없이 동일한 구성 요소는 동일한 참조부호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 본 발명을 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다.In the following description of the present invention with reference to the accompanying drawings, the same components are denoted by the same reference numerals regardless of the reference numerals, and redundant explanations thereof will be omitted. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail.

이하에서는 첨부된 도면을 참조하면서 본 발명에 대하여 더욱 상세히 설명하기로 한다. Hereinafter, with reference to the accompanying drawings will be described in more detail with respect to the present invention.

도 2는 본 발명의 일 실시예에 따른 PLC 시스템의 구성을 나타내는 도면이다. 도 2에 도시된 바와 같이 전원 모듈(110), 제어 모듈(120), 각종 모듈(200) 및 각종 모듈(200)과 연결된 기기들(210)이 있고, 전원 모듈(110)과 각각의 모듈(200) 사이에는 전원 차단 스위치(130-1, 130-2, 130-3, …, 130-11, 130-12)가 구비된다. 도 2에서는 총 12개의 모듈(40)이 PLC 시스템(10)에 장착되어 있는 것으로 상정하였으나, 이보다 많은 모듈 혹은 이보다 적은 모듈이 구비될 수 있음은 물론이다.2 is a view showing the configuration of a PLC system according to an embodiment of the present invention. As shown in FIG. 2, there are a power module 110, a control module 120, various modules 200, and devices 210 connected to various modules 200, and a power module 110 and each module ( Power cutoff switches 130-1, 130-2, 130-3,..., 130-11, and 130-12 are provided between the 200. In FIG. 2, it is assumed that a total of 12 modules 40 are mounted in the PLC system 10, but more modules or fewer modules may be provided.

전원 모듈(110)은 PLC 시스템(100)의 동작을 위한 동작 전원을 공급하고, 특히 각 모듈들(200)에 연결된 기기들(210)에 동작 전원을 공급하는 기능을 갖는다. The power supply module 110 supplies the operation power for the operation of the PLC system 100, and in particular, has a function of supplying the operation power to the devices 210 connected to the respective modules 200.

한편 제어 모듈(120)은 각 모듈(200)의 전반적인 동작에 관여하지만, 본 발명에서는 각 모듈들(200)에 공급되는 전원을 제어하는 기능도 갖는다. 특히 제어 모듈(120)은 각 모듈(200)에서의 소비 전력의 합이 전원 모듈(110)의 용량을 초과하는 경우에 각 모듈(200)로의 전원 공급을 차단한다.On the other hand, the control module 120 is involved in the overall operation of each module 200, but the present invention also has a function of controlling the power supplied to each module 200. In particular, the control module 120 cuts off the power supply to each module 200 when the sum of power consumption in each module 200 exceeds the capacity of the power supply module 110.

구체적으로 각 모듈(200)에서의 소비 전력의 합이 전원 모듈(110)의 용량을 초과한다고 판단되면, 전원 모듈(110)과 각 모듈(200) 사이에 하나씩 구비되는 전원 차단 스위치(130-1, 130-2, 130-3, …, 130-11, 130-12)를 제어하여 각 모듈(200)로의 전원 공급을 차단한다.Specifically, when it is determined that the sum of power consumption in each module 200 exceeds the capacity of the power module 110, a power cutoff switch 130-1 provided between the power module 110 and each module 200 one by one. , 130-2, 130-3, ..., 130-11, 130-12 to control the power supply to each module 200.

특히 제어 모듈(120)은 각 모듈(200)에서의 소비 전력의 합이 상기 전원 모듈의 용량을 초과하는 경우, 기설정된 순서에 따라 전원 공급을 차단한다.In particular, when the sum of the power consumption of each module 200 exceeds the capacity of the power module, the control module 120 cuts off the power supply in a predetermined order.

여기서 기설정된 순서란 사용자가 미리 시스템에 입력해 놓은 순서로 먼저 전력 차단을 수행할 순서를 말한다. 만약 사용자로부터 미리 시스템에 입력해 놓은 차단 순서가 존재하지 않는 경우 모듈 1부터 모듈 12까지 순서대로 전원 공급을 차단해도 무방하다. 이와 달리 모듈 12부터 모듈 1까지 역순으로 전원 공급을 차단해도 무방하다.Here, the predetermined order is a sequence of powering off first in an order input by the user in advance in the system. If there is no shut-off order inputted to the system from the user, the power supply can be shut off in order from module 1 to module 12. Alternatively, the power supply can be disconnected in reverse order from module 12 to module 1.

전원 차단 스위치(130-1, 130-2, 130-3, …, 130-11, 130-12)는 상기 설명과 같이 제어 모듈(120)의 제어에 의하여 동작하며 전원 모듈(110)로부터 공급되는 전원이 각 모듈(200)로 전달되는 것을 차단하는 기능을 갖는다. 구체적으로 도 2에서는 모듈 1로의 전원 공급을 차단하는 경우 모듈 1과 전원 모듈(110)을 연결하는 전원 차단 스위치(130-1)가 동작해 전원 공급 혹은 전원 차단 여부를 결정한다.The power cutoff switches 130-1, 130-2, 130-3,..., 130-11, 130-12 operate under the control of the control module 120 as described above and are supplied from the power module 110. It has a function of blocking power from being transmitted to each module 200. In detail, in FIG. 2, when the power supply to the module 1 is cut off, the power cutoff switch 130-1 connecting the module 1 and the power module 110 operates to determine whether the power is supplied or the power is cut off.

마찬가지로 모듈 12로의 전원 공급을 차단하는 경우 모듈 12와 전원 모듈(110)을 연결하는 전원 차단 스위치(130-12)가 동작해 전원 공급 혹은 전원 차단 여부를 결정하게 된다. Likewise, when the power supply to the module 12 is cut off, the power cutoff switch 130-12 connecting the module 12 and the power module 110 operates to determine whether the power supply or the power supply is cut off.

이로써 전원 모듈(110)로부터 공급되는 전원을 각 모듈별로 제어할 수 있게 된다.As a result, the power supplied from the power module 110 can be controlled for each module.

여기서 복수의 모듈(200)은 시스템에 필요한 입/출력 모듈이나 특수/통신 모듈을 상정할 수 있고 일반적인 PLC 시스템에서 사용되는 모듈일 수 있다.Here, the plurality of modules 200 may assume input / output modules or special / communication modules required for the system and may be modules used in a general PLC system.

이와 같이 각각의 모듈에 공급되는 전원을 제어할 수 있게 되면 PLC 시스템(100)에 연결된 모듈(200)에서의 소비 전력이 전원 모듈(110)의 용량을 벗어나는 경우에도 안정적으로 PLC 시스템(100)을 동작시킬 수 있게 될 뿐만 아니라 PLC 시스템(100) 및 PLC 시스템(100)에 연결된 기기(210)에 손상을 주지 않고 새로운 모듈을 추가로 장착할 수 있게 된다.When the power supplied to each module can be controlled as described above, even when the power consumption of the module 200 connected to the PLC system 100 exceeds the capacity of the power module 110, the PLC system 100 can be stably controlled. In addition to being able to operate, it is possible to additionally install a new module without damaging the PLC system 100 and the device 210 connected to the PLC system 100.

도 3은 본 발명의 일 실시예에 따른 PLC 제어방법의 흐름을 나타내는 흐름도이다. 도 3과 관련한 설명에서는 도 2의 PLC 시스템을 상정하여 설명하기로 한다. 따라서 PLC 시스템에 부착된 모듈은 총 12개인 것으로 상정하기로 한다.3 is a flowchart illustrating a flow of a PLC control method according to an embodiment of the present invention. In the description related to FIG. 3, the PLC system of FIG. 2 is assumed and described. Therefore, it is assumed that 12 modules are attached to the PLC system.

우선 모듈의 전원 차단 순서가 정해지지 않는 경우에는 모듈 1부터 모듈 12의 순서로 차단하는 것으로 설정된다(S300).First, when the power-off order of the module is not determined, it is set to block in the order of module 1 to module 12 (S300).

이후 PLC 시스템에 전원이 투입되고(S310), 전원 모듈의 용량이 PLC 시스템에 부착된 전체 모듈의 소비전력 합보다 큰 경우(S320-YES), PLC 시스템을 정상동작한다(S340).Thereafter, power is supplied to the PLC system (S310), and if the capacity of the power module is greater than the sum of power consumption of all modules attached to the PLC system (S320-YES), the PLC system operates normally (S340).

하지만 전원 모듈의 용량이 PLC 시스템에 부착된 전체 모듈의 소비전력 합보다 작은 경우(S320-NO)에는 1번 모듈부터 차례로 전원 공급을 차단한다(S330). 1번 모듈에 전원 공급을 차단하면 다시 전원 모듈의 용량이 PLC 시스템에 부착된 전체 모듈의 소비전력 합보다 큰지 여부를 확인하기 전에 카운트 수를 올려 다음에는 2번 모듈의 전원을 차단하도록 한다. 이렇게 전원을 차단할 모듈의 번호를 카운트 하는 카운트 회로가 따로 있어도 좋고, 1번 모듈부터 12번 모듈의 순서를 데이터로 저장하는 저장부가 있고 소프트웨어에 의하여 이루어져도 좋다. 이는 다양한 방법으로 구현될 수 있을 것이다.However, when the capacity of the power module is smaller than the sum of power consumption of all modules attached to the PLC system (S320-NO), power supply is cut off from the first module (S330). If the power supply to module 1 is cut off, increase the count before checking whether the capacity of power module is greater than the sum of power consumption of all modules attached to PLC system. There may be a separate count circuit for counting the number of the module to cut off the power supply, and there may be a storage unit for storing the order of modules 1 to 12 as data and may be made by software. This may be implemented in various ways.

도 4는 본 발명의 또 다른 실시예에 따른 PLC 제어방법의 흐름을 나타내는 흐름도이다. 도 4의 설명에 있어서도 도 2의 PLC 시스템을 상정하여 설명하기로 한다. 따라서 PLC 시스템에 부착된 모듈은 총 12개인 것으로 상정하기로 한다.4 is a flow chart showing the flow of a PLC control method according to another embodiment of the present invention. In the description of FIG. 4, the PLC system of FIG. 2 is assumed and described. Therefore, it is assumed that 12 modules are attached to the PLC system.

처음에 PLC 시스템은 정상적으로 동작한다(S400). 이렇게 정상 동작 중인 PLC에 임의의 모듈 고장으로 인해 소비 전력이 증가하는 경우를 상정할 수 있다(S410). 이렇게 되면 PLC 시스템뿐만 아니라 PLC 에 부착된 기기들에도 손상을 초래할 여지가 있다. Initially, the PLC system operates normally (S400). In this case, it may be assumed that power consumption increases due to an arbitrary module failure in the PLC in normal operation (S410). This may cause damage not only to the PLC system but also to the devices attached to the PLC.

이때 전원 모듈 용량과 모듈 전체 소비전력을 비교하고(S420), 전원 모듈 용량이 모듈의 전체 소비 전력보다 큰 경우(S420-NO)에는 시스템에 큰 무리가 없기 때문에 PLC 시스템을 계속해서 정상 동작한다(S430).At this time, the power module capacity is compared with the total power consumption of the module (S420), and if the power module capacity is larger than the total power consumption of the module (S420-NO), the PLC system continues to operate normally because there is no big burden on the system ( S430).

다만 전원 모듈 용량이 모듈의 전체 소비 전력보다 작은 경우(S420-YES)에는 PLC 시스템에 손상이 갈 수 있기 때문에 모듈에서의 소비 전력을 줄여야 하므로 1번 모듈부터 차례로 차단한다(S420). However, if the power module capacity is smaller than the total power consumption of the module (S420-YES), since the damage may occur to the PLC system, the power consumption of the module should be reduced, so the first module is blocked first (S420).

여기서는 도 3과 마찬가지로 모듈의 전원 차단 순서를 미설정하였기에 1번 모듈부터 차례로 차단하게 된다. 다만 전원 차단 순서가 기설정된 경우에는 기설정된 순서대로 모듈로의 전원 공급을 차단할 수 있다.In this case, as shown in FIG. 3, since the power cutoff order of the module is not set, the first block is sequentially cut. However, if the power shutdown order is set in advance, the power supply to the module can be shut off in the preset order.

그리고 다시 전원 모듈 용량과 모듈 전체 소비전력을 비교하고(S420), 전원 모듈 용량이 모듈의 전체 소비 전력보다 큰 경우가 될 때까지 모듈로의 전원 공급을 하나씩 차단하게 된다.Then, the power module capacity is again compared with the total power consumption of the module (S420), and the power supply to the module is cut off one by one until the power module capacity is larger than the total power consumption of the module.

도 3 및 도 4의 설명에 있어서 모듈로의 전원 차단은 전원 차단 스위치에 의해 수행될 수 있고 이는 회로로 구현될 수도 있고 소프트웨어로 구현될 수도 있다. 즉 전원 공급을 연결하고 차단하는 방법은 기존의 어떠한 방법을 사용해도 무방하다.In the description of FIGS. 3 and 4, power down to the module may be performed by a power down switch, which may be implemented in a circuit or in software. In other words, any method of connecting and disconnecting the power supply can be used.

도 5 및 도 6은 본 발명의 또 다른 실시예에 따른 PLC 제어방법을 설명하기 위한 도면이다. 도 5는 전원 공급을 차단할 모듈의 순서를 나타내는 데이터이고, 도 6은 이를 이용한 PLC 제어방법의 흐름을 나타내는 흐름도이다.5 and 6 are views for explaining a PLC control method according to another embodiment of the present invention. 5 is data showing a sequence of modules to cut off power supply, and FIG. 6 is a flowchart illustrating a flow of a PLC control method using the same.

도 5에 도시된 바와 같이 사용자는 우선적으로 전원 공급을 차단할 모듈을 임의적으로 선정할 수 있다. 도 5에서는 첫 번째로 전원 공급을 차단할 모듈을 3번 모듈로 정하고, 이어서 1번 모듈, 7번 모듈, 8번 모듈… 순서로 정했다. 이와 같은 데이터는 PLC 시스템 내부의 이미 존재하는 저장부나 별도로 마련한 저장부에 저장할 수 있다.As shown in FIG. 5, the user may preferentially select a module to block power supply. In FIG. 5, the first module to block power supply is designated as module 3, and then module 1, module 7, module 8, and so on. In order. Such data may be stored in a storage unit already existing in the PLC system or a storage unit provided separately.

도 6의 흐름도를 보면 우선 상기 도 5와 같은 모듈의 전원 차단 순서를 설정한다(S600). 이후 PLC 전원이 투입되고(S610), PLC 시스템이 동작하면 전원 모듈 용량이 모듈의 전체 소비전력보다 큰 경우(S620-YES)에는 PLC 시스템을 정상 동작시킨다(S640).Referring to the flow chart of Figure 6 first set the power-off sequence of the module as shown in Figure 5 (S600). Since the PLC power is turned on (S610), when the PLC system operates, if the power module capacity is larger than the total power consumption of the module (S620-YES), the PLC system operates normally (S640).

하지만 전원 모듈 용량이 모듈의 전체 소비 전력보다 작은 경우(S620-NO)에는 상술한 바와 같이 도 5에 도시된 기설정된 순서대로 모듈로의 전원 공급을 하나씩 차단시킨다(S630). 즉 처음에는 제1순위인 3번 모듈이 차단되고, 다시 S620단계를 거쳐 전원 모듈 용량이 모듈의 전체 소비전력보다 작은 경우 제2순위인 1번 모듈이 차단된다.However, when the power module capacity is smaller than the total power consumption of the module (S620-NO), as described above, the power supply to the module is cut off one by one in the predetermined order shown in FIG. 5 (S630). That is, the first module 3 is blocked first, and if the power module capacity is smaller than the total power consumption of the module through step S620, the second module 1 is blocked.

상술한 본 발명의 구성에 따른 PLC 시스템 및 PLC 제어방법에 의하면 PLC 베이스에 연결된 모듈에서의 소비 전력이 전원 모듈의 용량을 벗어나는 경우에도 안정적으로 PLC를 동작시킬 수 있게 될 뿐만 아니라 임의의 모듈 고장으로 모듈의 소비 전력이 이상적으로 증가하는 경우에도 PLC의 안정적인 동작을 유도할 수 있다.According to the PLC system and the PLC control method according to the configuration of the present invention described above, it is possible not only to stably operate the PLC even if the power consumption of the module connected to the PLC base exceeds the capacity of the power module, but also to any module failure. Even if the power consumption of the module increases ideally, it can lead to stable operation of the PLC.

아울러 전원 모듈의 용량을 벗어나는 경우에도 PLC 시스템 및 PLC 시스템에 연결된 기기에 손상을 주지 않고 새로운 모듈을 추가로 장착할 수도 있다.In addition, if the capacity of the power supply module is exceeded, new modules can be added without damaging the PLC system and the devices connected to the PLC system.

상술한 설명에서 전원 모듈의 용량은 이미 설정되어 있을 수 있고, 모듈의 전체 소비 전력은 각 모듈로 흐르는 전류를 센싱해 판단할 수 있다. 따라서 전류 센싱을 위한 구성이 더 부가될 수 있고, 이와 달리 전력을 센싱할 수 있는 다른 방법이 사용될 수도 있다. 이는 당업자에 의해서 다양한 방법으로 구현 가능하다.In the above description, the capacity of the power supply module may be already set, and the total power consumption of the module may be determined by sensing the current flowing to each module. Therefore, a configuration for sensing current may be further added, or alternatively, another method for sensing power may be used. This can be implemented in various ways by those skilled in the art.

상기한 바에서, 다양한 실시예에서 설명한 각 구성요소 및/또는 기능은 서로 복합적으로 결합하여 구현될 수 있으며, 해당 기술 분야에서 통상의 지식을 가진 자라면 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위 내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.
In the foregoing description, each component and / or function described in various embodiments may be implemented in combination with each other, and those skilled in the art may recognize the present invention described in the claims below. It will be understood that various modifications and variations can be made in the present invention without departing from the spirit and scope.

100............................................PLC 시스템
110............................................전원 모듈
120............................................제어 모듈
130-1 ~ 130-12.................................전원 차단 스위치
200............................................모듈 1~12
210............................................기기 1~12
100 ...................................... PLC system
110 ............................................ Power modules
120 ...................................... Control module
130-1 to 130-12 .....................
200 ............................ Modules 1 ~ 12
210 .........................................

Claims (9)

PLC 베이스에 연결된 복수의 모듈을 동작시키기 위한 전원을 공급하기 위한 전원 모듈; 및
상기 복수의 모듈로의 전원 공급을 제어하기 위한 제어 모듈;을 포함하며,
상기 전원 모듈은 상기 복수의 모듈 각각과 연결되며, 상기 각각의 모듈과 상기 전원 모듈은 전원 차단 스위치를 포함하는 PLC 시스템.
A power supply module for supplying power for operating the plurality of modules connected to the PLC base; And
And a control module for controlling power supply to the plurality of modules.
The power module is connected to each of the plurality of modules, each module and the power module PLC system including a power off switch.
제 1항에 있어서,
상기 제어 모듈은,
상기 복수의 모듈에서의 소비 전력의 합이 상기 전원 모듈의 용량을 초과하는 경우 상기 전원 차단 스위치를 제어하여 상기 복수의 모듈로의 전원 공급을 차단하는 것을 특징으로 하는 PLC 시스템.
The method of claim 1,
The control module,
PLC system, characterized in that for controlling the power cut off switch to cut off the power supply to the plurality of modules when the sum of power consumption of the plurality of modules exceeds the capacity of the power module.
제 1항에 있어서,
상기 제어 모듈은,
전원 공급을 차단한 모듈의 순서가 기설정되어 있는 경우, 상기 복수의 모듈에서의 소비 전력의 합이 상기 전원 모듈의 용량을 초과하면 상기 기설정된 순서에 따라 전원 공급을 차단하며, 상기 기설정된 순서는 사용자의 입력에 의해 가변되는 것을 특징으로 하는 PLC 시스템.
The method of claim 1,
The control module,
When the order of the modules that cut off the power supply is preset, when the sum of power consumption of the plurality of modules exceeds the capacity of the power supply module, the power supply is cut off according to the predetermined order, and the preset order PLC system, characterized in that the variable by the user input.
제 3항에 있어서,
상기 사용자에 의하여 입력된 상기 전원 공급을 차단할 모듈의 순서를 저장하는 저장 모듈을 더 포함하는 것을 특징으로 하는 PLC 시스템.
The method of claim 3, wherein
And a storage module for storing an order of modules to cut off the power supply input by the user.
제 3항에 있어서,
상기 제어 모듈은,
전원 공급을 차단한 모듈의 순서가 기설정되어 있지 않은 경우, 상기 연결된 모듈의 순서대로 전원 공급을 차단하는 것을 특징으로 하는 PLC 시스템.
The method of claim 3, wherein
The control module,
The PLC system, characterized in that the power supply is cut off in the order of the connected module, if the order of the modules that cut off the power supply is not predetermined.
전원 모듈의 용량 및 복수의 모듈에서의 소비 전력의 합을 비교하는 단계; 및
상기 비교 단계에서 상기 복수의 모듈에서의 소비 전력의 합이 상기 전원 모듈의 용량을 초과하는 경우 기설정된 순서에 따라 상기 복수의 모듈로의 전원 공급을 차례로 차단하는 단계;를 포함하는 PLC 제어방법.
Comparing the sum of the capacity of the power supply module and the power consumption of the plurality of modules; And
And interrupting power supply to the plurality of modules in order according to a predetermined order when the sum of power consumption of the plurality of modules exceeds the capacity of the power module in the comparing step.
제 6항에 있어서,
상기 차단하는 단계는,
상기 전원 모듈과 상기 복수의 모듈 사이에 각각 구비된 전원 차단 스위치를 제어하여 상기 복수의 모듈로의 전원 공급을 차단하는 것을 특징으로 하는 PLC 제어방법.
The method according to claim 6,
Wherein the blocking step comprises:
PLC control method, characterized in that for controlling the power cut-off switch provided between each of the power module and the plurality of modules to cut off the power supply to the plurality of modules.
제 6항에 있어서,
상기 복수의 모듈에서의 소비 전력의 합이 상기 전원 모듈의 용량을 초과하는 경우 우선적으로 전원 공급을 차단하기 위한 순서를 사용자로부터 입력받는 단계;를 더 포함하는 것을 특징으로 하는 PLC 제어방법.
The method according to claim 6,
And receiving input from the user in order to cut off the power supply first when the sum of power consumptions of the plurality of modules exceeds the capacity of the power supply module.
제 8항에 있어서,
상기 전원 공급을 차단하는 단계는,
상기 입력받는 단계에서 상기 사용로부터의 입력이 없는 경우, 상기 복수의 모듈이 장착된 순서대로 전원 공급을 차단하는 것을 특징으로 하는 PLC 제어방법.
The method of claim 8,
Blocking the power supply,
If there is no input from the use in the receiving step, PLC control method characterized in that the power supply is cut off in the order in which the plurality of modules are mounted.
KR1020110099602A 2011-09-30 2011-09-30 Plc system and plc control method KR20130035363A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020110099602A KR20130035363A (en) 2011-09-30 2011-09-30 Plc system and plc control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020110099602A KR20130035363A (en) 2011-09-30 2011-09-30 Plc system and plc control method

Publications (1)

Publication Number Publication Date
KR20130035363A true KR20130035363A (en) 2013-04-09

Family

ID=48437205

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020110099602A KR20130035363A (en) 2011-09-30 2011-09-30 Plc system and plc control method

Country Status (1)

Country Link
KR (1) KR20130035363A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102013113910A1 (en) 2013-04-01 2014-10-02 Hyundai Motor Co. Pump motor control system for an automatic transmission and method thereof
CN104407562A (en) * 2014-12-04 2015-03-11 镇江市宏业科技有限公司 Alternating current multi-transmission system for color coating production line of aluminum plate
CN104793555A (en) * 2015-04-13 2015-07-22 核工业理化工程研究院 Magnetic component magnetizer control system based on PLC (programmable logic controller)
JPWO2021199416A1 (en) * 2020-04-02 2021-10-07

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102013113910A1 (en) 2013-04-01 2014-10-02 Hyundai Motor Co. Pump motor control system for an automatic transmission and method thereof
CN104407562A (en) * 2014-12-04 2015-03-11 镇江市宏业科技有限公司 Alternating current multi-transmission system for color coating production line of aluminum plate
CN104793555A (en) * 2015-04-13 2015-07-22 核工业理化工程研究院 Magnetic component magnetizer control system based on PLC (programmable logic controller)
JPWO2021199416A1 (en) * 2020-04-02 2021-10-07
WO2021199416A1 (en) * 2020-04-02 2021-10-07 三菱電機株式会社 Plc system, control method, and program

Similar Documents

Publication Publication Date Title
US7786618B2 (en) Apparatus, system and method for a UPS
US8745425B2 (en) Computer system with blade system and management server
KR101458357B1 (en) Rack and power control method thereof
WO2013097241A1 (en) Method and device for processing when power is supplied by multiple sources
KR20130035363A (en) Plc system and plc control method
CN102750248A (en) USB (Universal Serial Bus) equipment working mode switching method and USB equipment
CN114530904A (en) Control method of uninterruptible power supply
KR20110085425A (en) Safety extention base and its control method
CN102768561A (en) Design method for twinbridge piece mainboard redundancy
TWI497274B (en) Rack and power controlling method thereof
JP2003296133A (en) Controller
US20140354061A1 (en) Power supply device and switch method thereof
CN102938699A (en) Method and device for balanced power supply
CN104423528A (en) Power allocation method and power allocation system for data centre
US9459619B2 (en) Continuous equipment operation in an automated control environment
JP4933917B2 (en) Electronic device and method for starting electronic device
TWI477032B (en) Rack and power controlling method thereof
CN106953734B (en) Power supply method, power supply equipment and powered equipment
JP5879671B2 (en) Analysis equipment
JP2006101592A (en) Control device and power supply control method
JP5537354B2 (en) Programmable logic controller
JP2007179094A (en) Information processing apparatus and power consumption control method executed therein
JP2009219188A (en) Power supply control system, power supply controller, and traffic information equipment
JP2013117897A (en) Blade type computer device and control method of blade type computer device
KR20150006551A (en) Programmable Logic Controller system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E601 Decision to refuse application