JP5818758B2 - PLC system - Google Patents

PLC system Download PDF

Info

Publication number
JP5818758B2
JP5818758B2 JP2012190120A JP2012190120A JP5818758B2 JP 5818758 B2 JP5818758 B2 JP 5818758B2 JP 2012190120 A JP2012190120 A JP 2012190120A JP 2012190120 A JP2012190120 A JP 2012190120A JP 5818758 B2 JP5818758 B2 JP 5818758B2
Authority
JP
Japan
Prior art keywords
error
unit
plc
error level
led
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2012190120A
Other languages
Japanese (ja)
Other versions
JP2014048809A (en
Inventor
貴裕 大石
貴裕 大石
康一 青木
康一 青木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP2012190120A priority Critical patent/JP5818758B2/en
Publication of JP2014048809A publication Critical patent/JP2014048809A/en
Application granted granted Critical
Publication of JP5818758B2 publication Critical patent/JP5818758B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、プログラマブルロジックコントローラ(Programmable Logic Controller:PLC)ユニット及びPLCシステムに関する。   The present invention relates to a programmable logic controller (PLC) unit and a PLC system.

従来、プログラマブルロジックコントローラシステム(以下、PLCシステムと呼ぶ。)は、各種PLCユニットを適宜組み合わせて構成される。PLCユニットには、例えば、電源供給源の電源ユニット、PLCシステム全体の制御を統率するCPUユニット、生産装置や設備装置の駆動部に取り付けられたサーボアンプを介してサーボモータを制御するモーションCPU(Central Processing Unit)ユニット、生産装置や設備装置の適所に取り付けたスイッチやセンサの信号を入力する入力ユニット、アクチュエータなどに制御出力を出力する出力ユニット、通信ネットワークに接続するための通信ユニットなどがあり、使用用途に応じて様々な機能のユニットが準備されている。   Conventionally, a programmable logic controller system (hereinafter referred to as a PLC system) is configured by appropriately combining various PLC units. The PLC unit includes, for example, a power supply unit of a power supply source, a CPU unit that controls the entire PLC system, and a motion CPU that controls a servo motor via a servo amplifier attached to a drive unit of a production apparatus or facility apparatus ( Central Processing Unit), switches installed at appropriate locations in production equipment and equipment, input units for inputting sensor signals, output units for outputting control output to actuators, etc., and communication units for connecting to communication networks Depending on the intended use, various functional units are prepared.

PLCシステムにおける異常発生有無の一次診断は、例えば、特許文献1に記載されているように、CPUユニットのERR LED(Light Emitting Diode)の点灯/消灯/点滅に基づいて実施している。   For example, as described in Patent Document 1, primary diagnosis of whether or not an abnormality has occurred in a PLC system is performed based on lighting / extinguishing / flashing of an ERR LED (Light Emitting Diode) of a CPU unit.

特開2005−157665号公報JP 2005-157665 A

しかしながら、上記従来の技術では、エラーが発生しているユニットを特定するには、エラーコードを解析するための専用のアプリケーションをインストールしたコンピュータをPLCシステムに接続する必要がある。   However, in the above conventional technique, in order to identify a unit in which an error has occurred, it is necessary to connect a computer in which a dedicated application for analyzing the error code is installed to the PLC system.

また、各ユニットの障害の重症度を示すエラーレベル(例えば、重度、中度、軽度の重症度の段階を言う。)を確認する場合も、PLCシステムにコンピュータを接続して得られるエラーコードを解析し、人がエラーコードの内容を判断する必要があったことから、個人の技術的な知識が必要であった。   Also, when checking the error level indicating the severity of the failure of each unit (for example, the severity level of severe, moderate, or mild), an error code obtained by connecting a computer to the PLC system is used. Since it was necessary to analyze and determine the contents of the error code, individual technical knowledge was required.

さらに、PLCシステムが所望の効果を奏して動作しているものの、例えば、ネットワークユニットの通信エラーのようにいずれかのユニットにエラーがある場合、各ユニットでLEDの配置・名称・挙動が異なるため、エラーを認知するにはユニット毎に各々異なるLEDの配置・名称を全て把握し、ユニット各々のLEDの表示状態、すなわち点灯状態、消灯状態、又は点滅状態かを確認する必要があり、ユーザの負担が大きくなっていた。   Furthermore, although the PLC system is operating with the desired effect, for example, when there is an error in any unit such as a communication error in the network unit, the LED arrangement, name, and behavior differ from unit to unit. In order to recognize the error, it is necessary to grasp all the arrangements and names of the different LEDs for each unit and check the display state of each unit LED, that is, whether it is lit, extinguished, or blinking. The burden was growing.

本発明は、上記に鑑みてなされたものであって、エラーコードを解析するための専用のアプリケーションをインストールしたコンピュータを接続しなくてもエラー発生の有無とエラーレベルとを確認できるPLCシステムを得ることを目的とする。 The present invention was made in view of the above, P LC system without connecting a computer installed with a dedicated application for analyzing the error code Ru can check and the error level whether an error occurred The purpose is to obtain.

上述した課題を解決し、目的を達成するために、本発明は、複数のPLCユニットを接続してなるPLCシステムにおいて、PLCユニット内で発生したエラーを検出するエラー検出部と、エラー検出部が検出したエラーのエラーレベルを判断するエラーレベル判断部と、エラーレベル判断部の判断結果を表示するエラーレベル表示部とを備え、エラーレベル判断部は、他のPLCユニットと共通する複数のエラーレベルと、エラーレベルに紐付けられたPLCユニットで生じるエラーの内容とを保持し、エラー検出部で検出したエラーの内容に対応したエラーレベルをエラーレベル表示部に表示することを特徴とする。   In order to solve the above-described problems and achieve the object, the present invention provides an error detection unit for detecting an error generated in a PLC unit and an error detection unit in a PLC system formed by connecting a plurality of PLC units. An error level determination unit that determines an error level of a detected error, and an error level display unit that displays a determination result of the error level determination unit. The error level determination unit includes a plurality of error levels common to other PLC units. And the error content generated in the PLC unit associated with the error level, and the error level corresponding to the error content detected by the error detection unit is displayed on the error level display unit.

本発明によれば、エラーコードを解析するための専用のアプリケーションをインストールしたコンピュータを接続しなくてもエラー発生の有無とエラーレベルとを確認できるという効果を奏する。   According to the present invention, the presence / absence of an error and the error level can be confirmed without connecting a computer in which a dedicated application for analyzing an error code is installed.

図1は、本発明にかかるPLCユニットを用いたPLCシステムの実施の形態の構成を示す図である。FIG. 1 is a diagram showing a configuration of an embodiment of a PLC system using a PLC unit according to the present invention. 図2は、PLCユニットの構成を示す図である。FIG. 2 is a diagram illustrating a configuration of the PLC unit. 図3は、エラー定義の一例を示す図である。FIG. 3 is a diagram illustrating an example of an error definition. 図4は、PLCユニットのエラー表示動作の流れを示すフローチャートである。FIG. 4 is a flowchart showing the flow of error display operation of the PLC unit. 図5は、本実施の形態にかかるPLCユニットを複数接続したPLCシステムの外観模式図である。FIG. 5 is a schematic external view of a PLC system in which a plurality of PLC units according to the present embodiment are connected.

以下に、本発明にかかるPLCユニット及びPLCシステムの実施の形態を図面に基づいて詳細に説明する。なお、この実施の形態によりこの発明が限定されるものではない。   Embodiments of a PLC unit and a PLC system according to the present invention will be described below in detail with reference to the drawings. Note that the present invention is not limited to the embodiments.

実施の形態.
図1は、本発明にかかるPLCユニットを用いたPLCシステムの実施の形態の構成を示す図である。PLCシステム10は、複数のPLCユニット1(1〜1)を接続して構成される。なお、以下の説明において、PLCユニット1〜1の個々を区別する必要がない場合は、添え字を省略してPLCユニット1と表記する。
Embodiment.
FIG. 1 is a diagram showing a configuration of an embodiment of a PLC system using a PLC unit according to the present invention. The PLC system 10 is configured by connecting a plurality of PLC units 1 (1 1 to 1 n ). In the following description, when it is not necessary to distinguish each of the PLC units 1 1 to 1 n , the suffix is omitted and the PLC unit 1 is described.

図2は、PLCユニットの構成を示す図である。PLCユニット1は、ユニット固有機能部11と、エラー診断機能部12とを有する。ユニット固有機能部11は、PLCユニットの機種に応じた固有の機能を実現する機能部である。例えば、CPUユニットの場合、ユニット固有機能部11は演算装置を備える。また、ネットワークユニットの場合、ユニット固有機能部11は通信I/F(interface)を備える。そして、このユニット固有機能部11は、各ユニットで共通してウォッチドッグタイマ(以下、WDTと略称する。)111とこれを制御する不図示のマイコンとを有する。   FIG. 2 is a diagram illustrating a configuration of the PLC unit. The PLC unit 1 includes a unit specific function unit 11 and an error diagnosis function unit 12. The unit specific function unit 11 is a function unit that implements a specific function corresponding to the model of the PLC unit. For example, in the case of a CPU unit, the unit specific function unit 11 includes an arithmetic device. In the case of a network unit, the unit specific function unit 11 includes a communication I / F (interface). The unit-specific function unit 11 includes a watchdog timer (hereinafter abbreviated as WDT) 111 and a microcomputer (not shown) that controls the watchdog timer in common with each unit.

なお、I/O(Input/Output)ユニットのように、ユニット固有機能部11として入出力端子を備えるが、上述のWDT111を有していない場合もある。このWDT111は、後述するようにエラー診断機能部12においてエラーを検出しなかった場合、第1のLED124を消灯する機能を有している。本実施の形態において、PLCユニット10がWDT111を有していない場合、エラー診断機能部12は、エラーを検出したことのみをトリガとしてエラーレベルを判断し、第1及び第2のLED124、125の点灯、点滅、消灯という表示状態を制御するようになされている。   Note that, like an I / O (Input / Output) unit, an input / output terminal is provided as the unit-specific function unit 11, but the above-described WDT 111 may not be provided. As will be described later, the WDT 111 has a function of turning off the first LED 124 when no error is detected in the error diagnosis function unit 12. In the present embodiment, when the PLC unit 10 does not have the WDT 111, the error diagnosis function unit 12 determines the error level using only the detection of the error as a trigger, and the first and second LEDs 124 and 125 The display state of lighting, blinking, and extinguishing is controlled.

エラー診断機能部12は、エラー検出部121、エラーレベル判断部122、表示制御部123、第1のLED124、第2のLED125を有する。   The error diagnosis function unit 12 includes an error detection unit 121, an error level determination unit 122, a display control unit 123, a first LED 124, and a second LED 125.

エラーレベル判断部122は、エラー定義122aを有する。エラーレベル判断部122は、エラー検出部121が検出したエラーが軽度・中度・重度のいずれに該当するかをエラー定義122aに基づいて判断する。エラー検出部121は、PLCユニット1内で発生する各種エラーを検出し、当該エラー検出の方法は、監視対象毎に異なっている。例えば、エラー検出部121は、バッテリ電圧の低下によるエラーを検出する場合、バッテリ電圧を監視し、バッテリ電圧としての機能を維持するのに必要な電圧以下になったことを確認することでエラーを検出する。また、別の例として、エラー検出部121は、0を母数とする除算によって適切な演算結果を出力できないことを確認することでエラーを検出する。すなわち、エラー検出部121は、各機能部の機能を維持又は発揮できているか否かを確認することでエラーを検出している。   The error level determination unit 122 has an error definition 122a. The error level determination unit 122 determines whether the error detected by the error detection unit 121 corresponds to mild, moderate, or severe based on the error definition 122a. The error detection unit 121 detects various errors that occur in the PLC unit 1, and the error detection method differs for each monitoring target. For example, when detecting an error due to a decrease in battery voltage, the error detection unit 121 monitors the battery voltage, and confirms that the error has occurred by confirming that the voltage is lower than the voltage necessary to maintain the function as the battery voltage. To detect. As another example, the error detection unit 121 detects an error by confirming that an appropriate calculation result cannot be output by division using 0 as a parameter. That is, the error detection unit 121 detects an error by confirming whether or not the function of each function unit can be maintained or exhibited.

図3は、エラー定義122aの一例を示す図である。エラー定義122aは、上記エラー検出部121が検出するエラーをPLCユニットの安定稼働への影響度毎に「重度」、「中度」、「軽度」とレベル分けしたものである。エラー定義122aには、エラー検出部121が検出可能なエラーの各々がどのレベルに該当するかが定義されている。なお、エラー定義122aに定義されるエラーの少なくとも一部について、エラーレベルをユーザが設定できるようにしても良い。例えば、デフォルト設定ではレベルが中度に分類されている任意のエラーを、ユーザ設定によりレベルを軽度に変更することなどが可能となる。   FIG. 3 is a diagram illustrating an example of the error definition 122a. The error definition 122a is obtained by classifying the error detected by the error detection unit 121 into “severe”, “medium”, and “mild” for each degree of influence on the stable operation of the PLC unit. The error definition 122a defines which level each error that can be detected by the error detection unit 121 corresponds to. Note that the user may be able to set an error level for at least some of the errors defined in the error definition 122a. For example, an arbitrary error whose level is classified as medium in the default setting can be changed lightly by the user setting.

エラー定義122aをユーザが変更可能にする場合は、PLCシステム10を構成するPLCユニット1〜1の各々でエラー定義122aを共有できるようにしても良い。例えば、PLCシステム10の各種設定を行うエンジニアリングツール上でエラー定義122aの変更を可能とし、一度の作業で変更後のエラー定義122aを各PLCユニット1〜1に書き込めるようにしても良い。また、例えばCPUユニットのように特定の種類のPLCユニット1に書き込んだエラー定義122aを、接続された他のPLCユニット1が読み込むようにしても良い。 When the user can change the error definition 122a, the error definition 122a may be shared by each of the PLC units 1 1 to 1 n constituting the PLC system 10. For example, the error definition 122a may be changed on an engineering tool for performing various settings of the PLC system 10, and the changed error definition 122a may be written to each of the PLC units 1 1 to 1 n in one operation . Further, for example, an error definition 122a written in a specific type of PLC unit 1 such as a CPU unit may be read by another connected PLC unit 1.

なお、エラーレベル判断部122は、エラー検出部121がエラー定義122aにて定義されていないエラーを検出した場合には、例えば、一旦「重度」としてエラーレベルを判断するようになされている。そして、ユーザによりエラーの原因を確認した後、ユニットの障害の重症度に応じて、当該エラーをエラー定義122aに追加する。   When the error detection unit 121 detects an error that is not defined in the error definition 122a, for example, the error level determination unit 122 temporarily determines the error level as “severe”. Then, after confirming the cause of the error by the user, the error is added to the error definition 122a according to the severity of the failure of the unit.

エラーレベル判断部122が上述のようにエラーレベルを判断することにより、CPUユニット、ネットワークユニット、I/Oユニット等のPLCユニットの固有のエラーに拠ることなく一律にエラーレベルの判断ができ、各種PLCユニットにおいて統一的にエラー表示することが可能となる。   When the error level determination unit 122 determines the error level as described above, the error level can be determined uniformly without depending on errors inherent in the PLC unit such as the CPU unit, the network unit, and the I / O unit. It is possible to display errors uniformly in the PLC unit.

続いて、表示制御部123は、第1及び第2のLED124、125の各々の表示状態の組み合わせを、エラー検出部121によるエラー検出の有無、及びエラーレベル判断部122の判断結果に応じて変更することにより、第1及び第2のLED124、125をエラーレベル表示部として機能させる。具体的には、表示制御部123は、エラー検出部121がエラーを検出していない場合は第1のLED124を点灯させ、第2のLED125を消灯させるように制御する。表示制御部123は、エラー検出部121がエラーを検出した場合には、エラーレベル判断部122の判断結果に応じて第2のLED125の表示状態を変更する。エラーレベル判断部122の判断結果が軽度である場合、表示制御部123は、第1のLED124を点灯させ、第2のLED125を点灯させるように制御する。また、エラーレベル判断部122の判断結果が中度である場合、第1のLED124を点灯させ、第2のLED125を点滅させるように制御する。さらに、エラーレベル判断部122の判断結果が重度である場合には、表示制御部123は、第1のLED124及び第2のLED125を消灯させるように制御する。   Subsequently, the display control unit 123 changes the combination of the display states of the first and second LEDs 124 and 125 according to the presence or absence of error detection by the error detection unit 121 and the determination result of the error level determination unit 122. Thus, the first and second LEDs 124 and 125 are caused to function as an error level display unit. Specifically, the display control unit 123 performs control to turn on the first LED 124 and turn off the second LED 125 when the error detection unit 121 does not detect an error. When the error detection unit 121 detects an error, the display control unit 123 changes the display state of the second LED 125 according to the determination result of the error level determination unit 122. When the determination result of the error level determination unit 122 is mild, the display control unit 123 performs control so that the first LED 124 is turned on and the second LED 125 is turned on. Further, when the determination result of the error level determination unit 122 is medium, the first LED 124 is turned on and the second LED 125 is blinked. Further, when the determination result of the error level determination unit 122 is severe, the display control unit 123 performs control so that the first LED 124 and the second LED 125 are turned off.

第1のLED124は、WDT111がタイムアウトすると消灯するように実装されている。ユニット固有機能部11に含まれる不図示のマイコンは、WDT111に所定のタイミングでリセット信号を送り、WDT111がタイムアウトしないように制御している。PLCユニット1に重度のエラーが発生して、WDT111にリセット信号が送られなくなった場合、WDT111がタイムアウトする。   The first LED 124 is mounted so that it turns off when the WDT 111 times out. A microcomputer (not shown) included in the unit specific function unit 11 sends a reset signal to the WDT 111 at a predetermined timing to control the WDT 111 so that it does not time out. When a severe error occurs in the PLC unit 1 and the reset signal is not sent to the WDT 111, the WDT 111 times out.

エラー検出部121、エラーレベル判断部122及び表示制御部123は、専用のハードウェア(例えば、ASIC(Application Specific Integrated Circuit)。)を用いた構成であっても良いし、ユニット固有機能部11が演算装置を備えている場合には、演算装置によるソフトウェア処理で機能が実現されても良い。   The error detection unit 121, the error level determination unit 122, and the display control unit 123 may have a configuration using dedicated hardware (for example, ASIC (Application Specific Integrated Circuit)), or the unit specific function unit 11 may When an arithmetic device is provided, the function may be realized by software processing by the arithmetic device.

図4は、PLCユニット1のエラー表示動作の流れを示すフローチャートである。PLCシステム10の動作中、エラー検出部121はPLCユニット1におけるエラーの発生を監視する(ステップS101)。なお、この時点では、表示制御部123は、第1のLED124は点灯させ、第2のLED125を消灯させている。エラー検出部121がエラーを検出したら(ステップS101/Yes)、エラーレベル判断部122は、PLCユニット1内で発生したエラーがどのレベルであるかをエラー定義122aに基づいて判断し、表示制御部123に通知する(ステップS102)。エラー検出部121がエラーを検出しない場合は(ステップS101/No)、ステップS101へ戻る。   FIG. 4 is a flowchart showing a flow of error display operation of the PLC unit 1. During the operation of the PLC system 10, the error detection unit 121 monitors the occurrence of an error in the PLC unit 1 (step S101). At this time, the display control unit 123 turns on the first LED 124 and turns off the second LED 125. When the error detection unit 121 detects an error (step S101 / Yes), the error level determination unit 122 determines which level the error has occurred in the PLC unit 1 based on the error definition 122a, and the display control unit 123 is notified (step S102). When the error detection unit 121 does not detect an error (step S101 / No), the process returns to step S101.

表示制御部123は、発生したエラーが軽度であることをエラーレベル判断部122から通知された場合には(ステップS102/軽度)、第2のLED125を点灯させる(ステップS103)。また、表示制御部123は、発生したエラーが中度であることをエラーレベル判断部122から通知された場合には(ステップS102/中度)、第2のLED125を点滅させる(ステップS104)。さらに、表示制御部123は、発生したエラーが重度であることをエラーレベル判断部122から通知された場合には(ステップS102/重度)、第1のLED124及び第2のLED125を消灯させる(ステップS105)。   When notified from the error level determination unit 122 that the error that has occurred is minor (step S102 / mild), the display control unit 123 turns on the second LED 125 (step S103). When the error level determination unit 122 notifies that the error that has occurred is moderate (step S102 / medium), the display control unit 123 causes the second LED 125 to blink (step S104). Further, when notified from the error level determination unit 122 that the error that has occurred is severe (step S102 / severe), the display control unit 123 turns off the first LED 124 and the second LED 125 (step S102). S105).

なお、PLCユニット1が正常に動作できなくなるようなエラーが発生した場合には、ユニット固有機能部11に含まれる不図示のマイコンはWDT111へリセット信号を出力しなくなるため、WDT111がタイムアウトする。この場合は、エラー検出部121は、WDT111がタイムアウトしたことを一種のエラーとして検出し、WDT111がタイムアウトしたことをエラーレベル判断部122へ通知する(ステップS101/Yes)。エラーレベル判断部122は、WDT111がタイムアウトしたことをエラー検出部121から通知された場合には、エラー定義122aに定義されているエラーの内容に関わらず、重度のエラーが発生したことを表示制御部123へ通知する(ステップS102/重度)。これにより、エラー定義122aに定義されているエラーをエラー検出部121が検出しなくても、WDT111がタイムアウトした場合には第1のLED124を消灯する機能が実現される。なお、この場合は表示制御部123が第2のLED125の表示状態を制御できないため、ステップS105の処理において第2のLED125の表示状態が点灯、消灯、点滅のいずれになるかは不確定である。しかし、エラー不検出時や軽度又は中度のエラーを検出した場合は第1のLED124が点灯しているため、重度のエラーが発生したことは第1のLED124の表示状態のみで判断可能である。   When an error that prevents the PLC unit 1 from operating normally occurs, the microcomputer (not shown) included in the unit specific function unit 11 does not output a reset signal to the WDT 111, so that the WDT 111 times out. In this case, the error detection unit 121 detects that the WDT 111 has timed out as a kind of error, and notifies the error level determination unit 122 that the WDT 111 has timed out (step S101 / Yes). When the error level determination unit 122 is notified from the error detection unit 121 that the WDT 111 has timed out, the error level determination unit 122 performs display control to indicate that a severe error has occurred regardless of the content of the error defined in the error definition 122a. Notification to the unit 123 (step S102 / severe). Thereby, even if the error detection unit 121 does not detect the error defined in the error definition 122a, the function of turning off the first LED 124 when the WDT 111 times out is realized. In this case, since the display control unit 123 cannot control the display state of the second LED 125, it is uncertain whether the display state of the second LED 125 is turned on, turned off, or blinked in the process of step S105. . However, since the first LED 124 is lit when no error is detected or when a minor or moderate error is detected, the occurrence of a severe error can be determined only by the display state of the first LED 124. .

図5は、本実施の形態にかかるPLCユニットを複数接続したPLCシステムの外観模式図である。各々がエラー診断機能部12を備えたPLCユニット1〜1を接続してPLCシステム10を構成しているため、PLCシステム10内の複数のPLCユニット1で同時にエラーが発生した場合でも、PLCユニット1〜1のどれでエラーが発生しているかを容易に判別できる。また、PLCユニット1〜1の各々は、ユニット固有機能部11の種類によらず第1のLED124及び第2のLED125を共通したレイアウトで配置されている。これにより、ユーザがエラー発生の有無やエラーレベルを確認する際に第1のLED124及び第2のLED125がPLCユニット1のどこに配置されているか探したり、二つのLEDのうちどちらが第1のLED124でどちらが第2のLED125であるかを確認したりする必要がなくなり、エラー発生の有無やエラーレベルの確認が容易となる。なお、図5に示すように、第1のLED124及び第2のLED125の各々の近傍に名称を表示しておくことにより、第1のLED124と第2のLED125とを取り違えることを防止できる。例えば、CPUユニットや電源ユニットの場合は、第1のLED124の近傍には一次診断用LEDであることを示す名称として「READY」と表示し、CPUユニットや電源ユニット以外のユニットの場合は、第1のLED124の近傍には一次診断用LEDであることを示す名称として「RUN」という名称を表示する。また、全てのユニットについて第2のLED125の近傍には、エラー確認用LEDであることを示す名称として「ERROR」(又は略称としての「ERR」)を表示する。このようにすることで、第1のLED124及び第2のLED125の区別が容易となる。 FIG. 5 is a schematic external view of a PLC system in which a plurality of PLC units according to the present embodiment are connected. Since each of the PLC units 1 1 to 1 n having the error diagnosis function unit 12 is connected to form the PLC system 10, even when errors occur simultaneously in a plurality of PLC units 1 in the PLC system 10, It is possible to easily determine which of the PLC units 1 1 to 1 n has an error. In addition, each of the PLC units 1 1 to 1 n is arranged in a layout in which the first LED 124 and the second LED 125 are shared regardless of the type of the unit specific function unit 11. Accordingly, when the user confirms whether or not an error has occurred and the error level, the first LED 124 and the second LED 125 are searched for in the PLC unit 1, and which of the two LEDs is the first LED 124. It is not necessary to confirm which is the second LED 125, and it is easy to confirm whether an error has occurred or the error level. In addition, as shown in FIG. 5, by displaying names in the vicinity of each of the first LED 124 and the second LED 125, it is possible to prevent the first LED 124 and the second LED 125 from being mistaken. For example, in the case of a CPU unit or a power supply unit, “READY” is displayed as a name indicating the primary diagnostic LED in the vicinity of the first LED 124, and in the case of a unit other than the CPU unit or the power supply unit, The name “RUN” is displayed near the first LED 124 as a name indicating that the LED is a primary diagnosis LED. For all units, “ERROR” (or “ERR” as an abbreviation) is displayed near the second LED 125 as an error confirmation LED. In this way, the first LED 124 and the second LED 125 can be easily distinguished.

ここで、PLCユニットは、共通したレイアウトでLEDを当該PLCユニットのフロント面に配置しているが、本実施の形態ではPLCユニットのフロント面に対するLEDの配置の共通化に限るものではなく、PLCユニットの高さ方向のサイズが異なった場合には、PLCユニットの設置面からの高さ方向に対して同じフロント面の位置にLEDを設置しても良く、また、PLCユニットの幅方向のサイズが異なった場合には、PLCユニットのフロント面における一側面からの方向に対して同じ位置にLEDを設置しても良い。このように、PLCユニットのLEDの設置位置におけるユーザ視線に規則性を設けることにより、エラー発生やエラーレベルの確認が容易となる。   Here, in the PLC unit, the LEDs are arranged on the front surface of the PLC unit with a common layout. However, in the present embodiment, the arrangement of the LEDs with respect to the front surface of the PLC unit is not limited to common use. If the unit's height direction size is different, the LED may be installed at the same front surface position with respect to the height direction from the PLC unit installation surface, and the PLC unit's width direction size. If they are different, the LEDs may be installed at the same position with respect to the direction from one side surface of the front surface of the PLC unit. In this manner, by providing regularity to the user's line of sight at the LED unit LED installation position, it is easy to check for error occurrence and error level.

なお、図5では、LEDがPLCユニットのフロント面の上方部に設けられているが、LEDをPLCユニットのフロント面の設置面方向に設けるようにしても良い。これにより、PLCユニットの高さ方向の位置が異なる場合でも容易にPLCユニットの設置面からの高さ方向に対するLEDの設置位置に規則性を設けることができる。   In FIG. 5, the LED is provided above the front surface of the PLC unit, but the LED may be provided in the direction of the installation surface of the PLC unit. Thereby, even when the position of the PLC unit in the height direction is different, regularity can be easily provided in the LED installation position with respect to the height direction from the PLC unit installation surface.

本実施の形態によれば、ユーザは、専用のアプリケーションをインストールしたコンピュータをPLCシステムに接続しなくてもエラー発生の有無とエラーレベルとを確認できる。また、エラーコードの解析などの技術的知識が不要であるため、発生したエラーのレベルを速やかに把握することが可能である。   According to the present embodiment, the user can confirm whether or not an error has occurred and the error level without connecting a computer on which a dedicated application is installed to the PLC system. In addition, since technical knowledge such as error code analysis is not required, it is possible to quickly grasp the level of an error that has occurred.

上記の実施の形態においては、エラーのレベルを軽度・中度・重度の3段階に分類した場合を例としているが、エラーのレベルを4以上の段階に分類することも可能であり、また、少数の段階に分類することも可能である。また、軽度・中度・重度に対する表示状態の割り当ては一例であり、上記の例とは異なる割り当てをしても良い。   In the above embodiment, the case where the error level is classified into three levels of mild, moderate, and severe is taken as an example, but the error level can be classified into four or more levels, It is also possible to classify into a few stages. Moreover, the assignment of the display state to light / medium / severe is an example, and assignment different from the above example may be performed.

また、本実施の形態においては2個のLEDの組合せによってエラーのレベルの内容を表示する方法について説明したが、エラーのレベル毎にLEDをCPUユニットに設け、エラーレベルに応じたLEDを点灯又は点滅することで、ユーザにエラーレベルを通知するようにしても良い。また、エラーのレベル毎にLEDの点滅速度を設定し、点滅速度によってエラーレベルを通知するようにしても良い。   In the present embodiment, the method of displaying the contents of the error level by the combination of two LEDs has been described. However, an LED is provided in the CPU unit for each error level, and the LED corresponding to the error level is turned on or By flashing, the user may be notified of the error level. Alternatively, the blinking speed of the LED may be set for each error level, and the error level may be notified by the blinking speed.

また、本実施の形態ではLEDを用いているが、ユーザにエラーを通知可能な手段であれば良く、液晶パネル等のパネルによる通知であっても良い。   Moreover, although LED is used in this Embodiment, what is necessary is just a means which can notify an error to a user, and notification by panels, such as a liquid crystal panel, may be sufficient.

以上のように、本発明にかかるPLCユニットは、エラーコードを解析するための専用のアプリケーションをインストールしたコンピュータを接続しなくても発生したエラーのレベルを表示できる点で有用であり、特に、大規模なPLCシステムへの適用に適している。   As described above, the PLC unit according to the present invention is useful in that it can display the level of an error that has occurred without connecting a computer in which a dedicated application for analyzing an error code is installed. Suitable for application to large-scale PLC systems.

1 PLCユニット、10 PLCシステム、11 ユニット固有機能部、12 エラー診断機能部、111 ウォッチドックタイマ、121 エラー検出部、122 エラーレベル判断部、122a エラー定義、123 表示制御部、124 第1のLED、125 第2のLED。   1 PLC unit, 10 PLC system, 11 unit specific function unit, 12 error diagnosis function unit, 111 watchdog timer, 121 error detection unit, 122 error level determination unit, 122a error definition, 123 display control unit, 124 first LED 125 Second LED.

Claims (5)

LCユニット内で発生したエラーを検出するエラー検出部と、
前記エラー検出部が検出したエラーのエラーレベルを判断するエラーレベル判断部と、
前記エラーレベル判断部の判断結果を表示するエラーレベル表示部とを備え、
前記エラーレベル判断部は、他のPLCユニットと共通する複数のエラーレベルと、当該エラーレベルに紐付けられたPLCユニットで生じるエラーの内容とを保持し、前記エラー検出部で検出したエラーの内容に対応したエラーレベルを前記エラーレベル表示部に表示することを特徴とするPLCユニットを複数接続したPLCシステムであって、
前記PLCユニットの各々のエラーレベル判断部は、他のPLCユニットとは独立して前記エラーレベルを判断し、前記エラーレベル表示部に前記エラーレベルを表示することを特徴とするPLCシステム
An error detector for detecting errors in the P LC unit,
An error level determination unit for determining an error level of the error detected by the error detection unit;
An error level display unit for displaying a determination result of the error level determination unit,
The error level determination unit holds a plurality of error levels that are common to other PLC units, and details of errors that occur in the PLC unit linked to the error level, and details of errors detected by the error detection unit A PLC system in which a plurality of PLC units are connected , wherein an error level corresponding to the error level is displayed on the error level display unit ,
Each PLC level error determination unit of the PLC unit determines the error level independently of other PLC units, and displays the error level on the error level display unit .
前記エラーレベル表示部のPLCユニットにおける配置位置は、前記他のPLCユニットのエラーレベル表示部の配置位置と共通していることを特徴とする請求項1記載のPLCシステム2. The PLC system according to claim 1, wherein an arrangement position of the error level display section in the PLC unit is common to an arrangement position of the error level display section of the other PLC unit. 前記エラーレベル表示部は、複数の表示手段からなり、当該表示手段の表示方法の組み合わせによって、前記エラーレベルを表示することを特徴とする請求項1乃至2記載のPLCシステム3. The PLC system according to claim 1, wherein the error level display unit includes a plurality of display means, and displays the error level by a combination of display methods of the display means. 前記エラーレベル表示部は、LEDであることを特徴とする請求項1乃至3記載のPLCシステム4. The PLC system according to claim 1, wherein the error level display unit is an LED. 前記エラーレベル判断部は、前記エラー検出部が検出したエラーのエラーレベルを、軽度・中度・重度の3段階のいずれかに判断し、
前記エラーレベル表示部は、各表示手段であるLEDの点灯及び又は点滅の組み合せによって前記エラーレベルを表示することを特徴とする請求項3記載のPLCシステム
The error level determination unit determines the error level of the error detected by the error detection unit in one of three levels of mild, moderate, and severe,
4. The PLC system according to claim 3, wherein the error level display unit displays the error level by a combination of lighting and / or blinking of LEDs serving as display means.
JP2012190120A 2012-08-30 2012-08-30 PLC system Active JP5818758B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012190120A JP5818758B2 (en) 2012-08-30 2012-08-30 PLC system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012190120A JP5818758B2 (en) 2012-08-30 2012-08-30 PLC system

Publications (2)

Publication Number Publication Date
JP2014048809A JP2014048809A (en) 2014-03-17
JP5818758B2 true JP5818758B2 (en) 2015-11-18

Family

ID=50608447

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012190120A Active JP5818758B2 (en) 2012-08-30 2012-08-30 PLC system

Country Status (1)

Country Link
JP (1) JP5818758B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5951127B2 (en) * 2014-04-24 2016-07-13 三菱電機株式会社 Programmable logic controller
CN108885437A (en) * 2016-03-29 2018-11-23 三菱电机株式会社 Programmable logic controller (PLC)
JP7444036B2 (en) 2020-12-01 2024-03-06 株式会社島津製作所 monitoring system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04338803A (en) * 1991-05-16 1992-11-26 Fuji Electric Co Ltd Input/output unit for programmable controller
JP2856617B2 (en) * 1993-01-25 1999-02-10 三菱電機株式会社 Programmable controller
JP3397006B2 (en) * 1995-06-28 2003-04-14 富士電機株式会社 I / O display device
JP4499233B2 (en) * 2000-02-21 2010-07-07 オリンパス株式会社 Distributed control system
JP4494617B2 (en) * 2000-10-02 2010-06-30 株式会社キーエンス Programmable controller system
JP4238705B2 (en) * 2003-11-25 2009-03-18 オムロン株式会社 Safety controller
JP4619231B2 (en) * 2005-07-29 2011-01-26 株式会社ジェイテクト Safety PLC
JP2007213341A (en) * 2006-02-09 2007-08-23 Seiko Instruments Inc Programmable logic controller, information processing apparatus, control program, and table preparation program
JP2008284784A (en) * 2007-05-17 2008-11-27 Kyocera Mita Corp Display device and image formation device equipped with the same

Also Published As

Publication number Publication date
JP2014048809A (en) 2014-03-17

Similar Documents

Publication Publication Date Title
ES2964739T3 (en) Production line monitoring procedure and apparatus, and electronic device and readable storage medium
US9798611B2 (en) Programmable logic controller
US20100241901A1 (en) Method and apparatus for checking a control program in an industrial system
CN102928690B (en) For the method for detecting abnormality of electron device
CN105549463A (en) Unmanned plane and state monitor method, system and device therefor
JP5818758B2 (en) PLC system
US20220011169A1 (en) Thermal management system, method, and device for monitoring health of electronic devices
JP3184828U (en) Monitoring equipment for photovoltaic power generation facilities
CN103176090A (en) Hardware diagnosis system and method for image measuring machine
TWI583258B (en) Fault detection apparatus and fault detection method
JP2013186900A (en) Facility device monitoring system and method
KR20150007913A (en) Failure Prediction Device
US8793538B2 (en) System error response
JP6806475B2 (en) Component mounting machine and component mounting system
JP6015068B2 (en) Control device and control device update time display method
JP2006285321A (en) Safe instrumentation system
KR20080073111A (en) Apparatus and method of displaying trouble of a touch board
JP5844666B2 (en) HART communication compatible equipment
CN112131048A (en) Control method and device for server indicator lamp
JP4747683B2 (en) On-vehicle electronic control system, fault diagnosis method thereof, and on-vehicle electronic control device
JP2012208932A (en) Plc system, state display method, plc, and programmable display
JP6787658B2 (en) Processing equipment, traffic signal equipment and information display equipment
JP5511475B2 (en) Signal processing system and signal source unit and signal processing unit used therefor
JP6523235B2 (en) USB system and USB device
JP2010257121A (en) Switching of status display

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140523

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150330

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150407

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150604

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20150901

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20150929

R150 Certificate of patent or registration of utility model

Ref document number: 5818758

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250