JP4981865B2 - Programmable controller - Google Patents
Programmable controller Download PDFInfo
- Publication number
- JP4981865B2 JP4981865B2 JP2009221502A JP2009221502A JP4981865B2 JP 4981865 B2 JP4981865 B2 JP 4981865B2 JP 2009221502 A JP2009221502 A JP 2009221502A JP 2009221502 A JP2009221502 A JP 2009221502A JP 4981865 B2 JP4981865 B2 JP 4981865B2
- Authority
- JP
- Japan
- Prior art keywords
- unit
- power supply
- signal
- circuit
- voltage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000001514 detection method Methods 0.000 claims description 34
- 230000004913 activation Effects 0.000 description 23
- 230000015572 biosynthetic process Effects 0.000 description 22
- 238000003786 synthesis reaction Methods 0.000 description 22
- 239000003990 capacitor Substances 0.000 description 12
- 238000010586 diagram Methods 0.000 description 8
- 238000000034 method Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 230000002194 synthesizing effect Effects 0.000 description 2
- 239000000470 constituent Substances 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
Images
Description
本発明は、プログラマブルコントローラに関するものである。 The present invention relates to a programmable controller.
従来より、I/Oユニットが増設可能なプログラマブルコントローラが種々提供されている(例えば特許文献1参照)。 Conventionally, various programmable controllers to which I / O units can be added have been provided (see, for example, Patent Document 1).
図7(a)はビルディングブロックタイプのプログラマブルコントローラの一例であり、各1台の電源ユニット1およびCPUユニット2と、複数(図7(a)では6台)のI/Oユニット3とがバックプレーン5に実装されている。このプログラマブルコントローラでは、電源ユニット1で生成されたシステム電源がバックプレーン5に設けられた内部バスを介してCPUユニット2および各I/Oユニット3にそれぞれ供給される。
FIG. 7A shows an example of a building block type programmable controller, in which one power supply unit 1 and one
また、図7(b)はスタッキング(積み重ね)タイプのプログラマブルコントローラの一例であり、各1台の電源ユニット1およびCPUユニット2と、複数(図7(b)では6台)のI/Oユニット3とで構成される。このプログラマブルコントローラでは、上述のビルディングブロックタイプのようにバックプレーン5を備えていないため、隣接するユニットに連結することで固定されるようになっており、また電源ユニット1で生成されたシステム電源もスタックコネクタ6を介してCPUユニットおよび各I/Oユニットにそれぞれ供給される。
FIG. 7B is an example of a stacking type (stacked) type programmable controller. Each of the power supply unit 1 and the
上述の従来例では、突然の停電などによって電源が遮断されたときでも終了処理(例えばデータバックアップなど)が実行できるように、バックアップ電源(例えばキャパシタなど)を備えているが、バックアップ時間はキャパシタ容量によって決まっており、例えばシステムが複雑化して大きなデータを扱っている場合には、終了処理が完了する前に電源がOFFになる可能性があった。 In the above-described conventional example, a backup power source (for example, a capacitor) is provided so that a termination process (for example, data backup) can be executed even when the power is cut off due to a sudden power failure or the like. For example, when the system is complicated and handles a large amount of data, the power may be turned off before the end processing is completed.
本発明は上記問題点に鑑みて為されたものであり、その目的とするところは、電源がOFFになったときの電力消費を抑えることによって終了処理に時間的余裕を持たせたプログラマブルコントローラを提供することにある。 The present invention has been made in view of the above-mentioned problems, and its object is to provide a programmable controller with a time margin for termination processing by suppressing power consumption when the power is turned off. It is to provide.
請求項1の発明は、1乃至複数の増設ユニットと、増設ユニットを制御するCPUユニットとを備え、1乃至複数の増設ユニットをCPUユニットに順次連結したプログラマブルコントローラであって、1乃至複数の増設ユニットおよびCPUユニットに外部からの電源を供給する電源ラインと、外部からの電源がOFFになると電源ラインを介して1乃至複数の増設ユニットおよびCPUユニットに電源を供給する充電要素とを備え、CPUユニットは、充電要素の出力電圧を検出し当該出力電圧が所定の基準値以下になると電圧低下信号を出力する第1の電圧検出回路と、第1の電圧検出回路からの電圧低下信号が入力された後、電源停止信号を出力する信号出力回路とを有し、増設ユニットは、電源ラインを介して給電されて内部電源を生成する電源回路と、電源回路の出力電圧を検出し当該出力電圧が所定の基準値以下になると電源停止信号を出力する第2の電圧検出回路と、信号出力回路または第2の電圧検出回路からの電源停止信号が入力されると電源回路を停止させる電源停止回路とを有することを特徴とする。 The invention of claim 1 is provided with a one or a plurality of expansion units, and a CPU unit for controlling the expansion unit, one or more extension units a programmable controller sequentially connected to the CPU unit, one or a plurality of additional and the power supply line for supplying power from the outside unit and the CPU unit, and a charging element for supplying power from the outside power to one or a plurality of expansion units and the CPU unit via a power line becomes to OFF, The CPU unit detects the output voltage of the charging element, and outputs a voltage drop signal when the output voltage falls below a predetermined reference value, and the voltage drop signal from the first voltage detection circuit is input. A signal output circuit that outputs a power stop signal, and the extension unit is powered via the power supply line A power supply circuit that generates a power supply circuit, a second voltage detection circuit that detects an output voltage of the power supply circuit and outputs a power supply stop signal when the output voltage falls below a predetermined reference value, and a signal output circuit or a second voltage detection circuit And a power supply stop circuit for stopping the power supply circuit when a power supply stop signal is input.
請求項2の発明は、増設ユニットは、CPUユニットからの信号ラインを形成する信号ライン形成部を有し、信号出力回路は、第1の電圧検出回路からの電圧低下信号が入力されると電源停止信号を出力する前に、電源が停止されることを通知する電源停止予告信号を信号ラインを介して増設ユニットに出力することを特徴とする。 According to a second aspect of the present invention, the extension unit has a signal line forming section for forming a signal line from the CPU unit, and the signal output circuit is supplied with a voltage drop signal from the first voltage detection circuit. Before outputting the stop signal, a power stop notice signal for notifying that the power is to be stopped is output to the extension unit via the signal line.
請求項1の発明によれば、外部からの供給電源がOFFになって充電要素から電源が供給される場合、充電要素の出力電圧が所定の基準値以下になったところで増設ユニットの電源回路を停止させており、その結果電力消費が抑えられることから、従来例に比べてCPUユニットの動作時間を長くすることができ、CPUユニットにおけるデータバックアップなどの終了処理に時間的余裕を持たせることができるという効果がある。 According to the first aspect of the present invention, when the power supply from the outside is turned off and the power is supplied from the charging element, the power supply circuit of the extension unit is provided when the output voltage of the charging element falls below a predetermined reference value. Since the power consumption is reduced as a result of this, the operation time of the CPU unit can be increased compared to the conventional example, and a time margin can be given to the end processing such as data backup in the CPU unit. There is an effect that can be done.
請求項2の発明によれば、電源停止に先立って電源が停止されることを増設ユニットに知らせることができるので、電源が停止されるまでの間にデータバックアップなどの終了処理を行うことができるという効果がある。
According to the invention of
以下に、本発明に係るプログラマブルコントローラの実施形態を図面に基づいて説明する。本発明に係るプログラマブルコントローラは、例えば産業機械などの制御機器として用いられる。なお、以下の説明では、スタッキング(積み重ね)タイプのプログラマブルコントローラを例に説明を行い、また外観については図7(b)と同様であるから、図7(b)も参照しながら説明を行う。 Embodiments of a programmable controller according to the present invention will be described below with reference to the drawings. The programmable controller according to the present invention is used as a control device such as an industrial machine. In the following description, a stacking (stacked) type programmable controller will be described as an example, and since the appearance is the same as that in FIG. 7B, the description will be made with reference to FIG. 7B.
図1は本実施形態のプログラマブルコントローラの概略システム図であり、本プログラマブルコントローラは、システム全体に電力を供給する電源ユニット1と、制御対象の機器に合わせたインターフェースを持つ複数(図1では4台)のI/Oユニット(増設ユニット)3と、各I/Oユニット3を個別に制御するCPUユニット2と、終端のI/Oユニット3に連結される終端ユニット4とを備えている。そして、これらの各ユニットは、図7(b)に示すように、左から電源ユニット1、CPUユニット2、I/Oユニット3、終端ユニット4(図7(b)では図示を省略)の順番で順次連結される。なお、以下の説明において各I/Oユニット3を区別する必要がある場合には、CPUユニット2側から順番にI/Oユニット3A,3B,3C,3Dと称す。すなわち、本実施形態では、I/Oユニット3Dが終端の増設ユニットとなる。また、各ユニット同士は、図1に示すようにスタックコネクタ6を介して電気的に接続されている。
FIG. 1 is a schematic system diagram of a programmable controller according to the present embodiment. The programmable controller includes a power supply unit 1 that supplies power to the entire system and a plurality of (four in FIG. 1) interfaces that are matched to devices to be controlled. ) I / O unit (extension unit) 3, a
電源ユニット1は、図示しない外部電源から電力供給を受けてシステムが必要とする電圧に変換し、電源ライン10を介してCPUユニット2および各I/Oユニット3にそれぞれシステム電源V+を供給する。なお、本実施形態の電源ユニット1は、例えば停電などによって外部電源がOFFされた場合のバックアップ電源としてのキャパシタ(充電要素)C1を備えており(図3参照)、停電になった場合にはキャパシタC1が放電することで、CPUユニット2および各I/Oユニット3に電力供給できるようになっている。詳細については後述する。
The power supply unit 1 receives power supply from an external power supply (not shown), converts it to a voltage required by the system, and supplies the system power supply V + to the
CPUユニット2は、図1および図3に示すように、電源ライン10を介して供給されるシステム電源V+から駆動電源(内部電源)VCCを生成する電源回路23と、システム電源V+の電源電圧を検出して所定の検出信号を出力する電圧検出回路24,25と、電源回路23からの駆動電源VCCが供給されると起動完了信号PSOを出力するリセット合成回路(信号出力回路)22と、プログラマブルコントローラとしてのプログラムを実行する制御回路21とを備えている。なお、リセット合成回路22はシステムを起動させる際に最初に起動させる必要があり、本実施形態では、起動時間を無視できるCMOSロジックICやPLD(プログラマブルロジックデバイス)などを用いている。
As shown in FIGS. 1 and 3, the
電圧検出回路(第1の電圧検出回路)24は、システム電源V+の電源電圧を検出するとともに、この検出電圧が所定の基準電圧V1(図6参照)に達するとHレベルの起動信号PF1をリセット合成回路22に出力する。そして、リセット合成回路22では、この起動信号PF1が入力されるとリセット信号CPU_RESETを制御回路21に出力し、制御回路21を起動させる。また、電圧検出回路24は、例えば停電時にはキャパシタC1から供給されるシステム電源V+の電源電圧を検出し、この検出電圧が上記の基準電圧V1以下になるとLレベルの起動信号PF1(電圧低下信号)をリセット合成回路22に出力する。そして、リセット合成回路22では、この起動信号PF1が入力されるとリセット信号CPU_RESETを制御回路21に出力し、制御回路21を停止させる。ここに、制御回路21を起動させる場合にはリセット信号CPU_RESETをHレベルに設定し、逆に制御回路21をリセットする場合にはリセット信号CPU_RESETをLレベルに設定することになる。
The voltage detection circuit (first voltage detection circuit) 24 detects the power supply voltage of the system power supply V +, and resets the start signal PF1 at the H level when this detection voltage reaches a predetermined reference voltage V1 (see FIG. 6). Output to the
電圧検出回路25は、システム電源V+の電源電圧を検出するとともに、この検出電圧が所定の基準電圧V2(V2<V1、図6参照)以下になると停止信号PF2をリセット合成回路22に出力する。そして、リセット合成回路22では、停止信号PF2が入力されるとLレベルのリセット信号CPU_RESETを制御回路21に出力し、制御回路21を停止させる。
The
リセット合成回路22は、上記のように制御回路21を起動・停止させるとともに、駆動電源VCCが供給されると隣接するI/Oユニット3Aに対して起動完了信号PSOを出力する。また、終端ユニット4を介して入力されるI/Oユニット3Dからの起動完了信号PSO(全ユニット起動完了信号PSR)が信号ライン7を介してリセット合成回路22に入力されると、リセット合成回路22では、すべてのI/Oユニット3に電源が行き渡ったことを認識して、信号ライン8を介してリセット信号ERESETを各I/Oユニット3に出力し、各I/Oユニット3のリセット状態を解除する。ここに、各I/Oユニット3を起動させる場合にはリセット信号ERESETをHレベルに設定し、逆に各I/Oユニット3をリセットする場合にはリセット信号ERESETをLレベルに設定することになる。また、後述の電源回路33を起動させる場合には起動完了信号PSOをHレベルに設定し、逆に電源回路33を停止させる場合には起動完了信号PSOをLレベルに設定することになる。ここに、本実施形態では、Lレベルの起動完了信号PSOが電源停止信号となる。
The
I/Oユニット3は、図1および図2(a)に示すように、電源ライン10を介して供給されるシステム電源V+から駆動電源(内部電源)VCCを生成する電源回路33と、電源回路33の出力電圧を検出し、この出力電圧が所定の基準電圧V3(図6参照)に達すると起動完了信号PSOを出力する電圧検出回路(第2の電圧検出回路)34と、上記のリセット合成回路22または電圧検出回路34からの起動完了信号PSOが入力されると電源回路33を起動する起動トリガ回路32と、I/Oユニットとしてのプログラムを実行する制御回路31と、制御回路31の初期化が完了したことを通知する初期化完了信号を出力する信号出力回路35とを備えている。
As shown in FIGS. 1 and 2A, the I /
図2(b)は上記の起動トリガ回路32の回路図であり、2つのトランジスタTr1,Tr2を主な構成要素としている。トランジスタTr1のベースは、抵抗R1を介してCPUユニット2のリセット合成回路22または隣接するI/Oユニット3の電圧検出回路34に接続され、Hレベルの起動完了信号PSOが入力されるとトランジスタTr1がONになってコレクタ−エミッタ間が導通する。また、トランジスタTr1のコレクタはトランジスタTr2のベースに接続されるとともに、抵抗R6を介してシステム電源V+に接続され、トランジスタTr1がON、つまりトランジスタTr1のコレクタ−エミッタ間が導通するとトランジスタTr2がOFFになるように構成されている。そして、トランジスタTr2がOFFになることによって電源回路(電源IC)33が起動し、各回路に駆動電源VCCが供給されるのである。
FIG. 2B is a circuit diagram of the
図2(c)は上記の電圧検出回路34の回路図であり、コンパレータCP1を主な構成要素としている。コンパレータCP1の入力端Vinには抵抗R2を介して駆動電源VCCが接続されており、この駆動電源VCCの電源電圧を所定の基準電圧と比較し、基準電圧よりも高くなると出力端から起動完了信号PSOを出力するのである。
FIG. 2C is a circuit diagram of the
図2(d)は上記の信号出力回路35の回路図であり、トランジスタTr3,Tr4を主な構成要素としている。トランジスタTr3のベースは、抵抗R3を介して制御回路31に接続され、制御回路31から出力されるHレベルのBOOT信号(初期化が完了したことを通知する信号)が入力されるとトランジスタTr3がONになってコレクタ−エミッタ間が導通する。また、トランジスタTr3のコレクタはトランジスタTr4のベースに接続されるとともに、抵抗R4を介して上記の電源ライン10(実際には後述の信号ライン形成部10a)に接続されている。さらに、トランジスタTr4のコレクタは、すべてのI/Oユニット3の初期化が完了したことを通知する全ユニット初期化完了信号DONEを伝送するための信号ライン9(実際には後述の信号ライン形成部9a)に接続されている。この信号出力回路35では、システム電源V+が供給されるとトランジスタTr4がONになるが、その後制御回路31からHレベルのBOOT信号が出力されるとトランジスタTr3がONになって、その結果トランジスタTr4がOFFになる。
FIG. 2D is a circuit diagram of the
ここにおいて、図4はCPUユニット2およびI/Oユニット3A〜3Dを接続した状態での信号ライン9の一例であり、各信号出力回路35のトランジスタTr4が信号ライン9に対してそれぞれ並列に接続され、また信号ライン9は抵抗R5を介して駆動電源VCCにプルアップされている。したがって、何れかのトランジスタTr4がONになっている状態では全ユニット初期化完了信号DONEはLレベルに設定されることから、CPUユニット2はまだ初期化が完了していないI/Oユニット3があることを認識し、すべてのトランジスタTr4がOFFになっている状態では全ユニット初期化信号DONEはHレベルに設定されることから、CPUユニット2はすべてのI/Oユニット3の初期化が完了したことを認識するのである。
4 is an example of the
また、I/Oユニット3は、図2(a)に示すように、隣接するCPUユニット2や他のI/Oユニット3とともに1本の電源ライン10を形成する電源ライン形成部10aと、同様に隣接するCPUユニット2や他のI/Oユニット3とともに各1本の信号ライン7〜9を形成する信号ライン形成部7a〜9aとを備えている。そして、I/Oユニット3では、電源ライン形成部10aを介してシステム電源V+が供給され、また信号ライン形成部8aを介してリセット信号ERESETがCPUユニット2から伝送される。さらに、信号ライン形成部9aを介して初期化完了信号DONEをCPUユニット2に伝送するとともに、信号ライン形成部7aを介して全ユニット起動完了信号PSRをCPUユニット2に伝送するのである。
Further, as shown in FIG. 2A, the I /
図5はI/Oユニット3の初期化時のタイムチャートであり、時刻t1のときに電源スイッチ(図示せず)がONにされると、まだシステム電源V+が供給されていないことから、全ユニット初期化完了信号DONEはLレベルになっており、またリセット信号ERESETおよびBOOT信号はHレベルになっている。そして、時刻t2のときにシステム電源V+が10Vに達すると、リセット信号ERESETおよびBOOT信号がLレベルになり、制御回路31がリセットされる。このとき、出力信号回路35のトランジスタTr3がOFF、トランジスタTr4がONであることから、全ユニット初期化完了信号DONEはLレベルのままである。
FIG. 5 is a time chart when the I /
その後、時刻t3のときにシステム電源V+が24Vになると、リセット信号ERESETおよびBOOT信号がHレベルになり、I/Oユニット3が1台である場合には全ユニット初期化完了信号DONEがHレベルになるので、CPUユニット2では、すべて(1台)のI/Oユニット3の初期化が完了したことを認識する。一方、I/Oユニット3が複数台である場合には全ユニット初期化完了信号DONEはLレベルのままであり、時刻t4のときにすべてのI/Oユニット3からHレベルの初期化完了信号が出力されると、全ユニット初期化完了信号DONEがHレベルになるので、CPUユニット2では、同様にすべてのI/Oユニット3の初期化が完了したことを認識する。
After that, when the system power supply V + becomes 24 V at time t3, the reset signal ERESET and the BOOT signal become H level. When there is one I /
終端ユニット4は、図1に示すように、終端のI/Oユニット3Dの電圧検出回路34の信号出力端と、信号ライン形成部7aとの間を短絡するためのユニットであり、その結果終端のI/Oユニット3Dから出力される起動完了信号PSO(全ユニット起動完了信号PSR)は、信号ライン7を介してCPUユニット2に入力されるのである。そして、この起動完了信号PSOがCPUユニット2に入力されることで、CPUユニット2では、すべてのI/Oユニット3に電源が行き渡ったことを認識するのである。
As shown in FIG. 1, the termination unit 4 is a unit for short-circuiting between the signal output terminal of the
ここで、本実施形態のプログラマブルコントローラは、上述したようにキャパシタC1を備えているため、停電などによって電力供給がストップされた場合でも、このキャパシタC1から供給される電力によってCPUユニット2の終了処理(例えばデータバックアップなど)が実行できるようになっている。ところが、このキャパシタC1は容量が限られていることから、連結されるI/Oユニット3が多い場合には上記の終了処理が完了する前に電源がOFFになる可能性がある。そこで、本実施形態では、CPUユニット2の終了処理に時間的余裕を持たせるために、キャパシタC1からの出力電圧が所定の基準電圧V1(図6参照)以下になると起動完了信号PSOをLレベルに設定し、各I/Oユニット3の電源回路33を停止させるように構成している。
Here, since the programmable controller of the present embodiment includes the capacitor C1 as described above, even when the power supply is stopped due to a power failure or the like, the
次に、プログラマブルコントローラの動作を、図6のタイムチャートを参照しながら説明する。電源ユニット1から供給されるシステム電源V+が時刻t1のときに基準電圧V1に達すると、CPUユニット2では、電圧検出回路24からリセット合成回路22に起動信号PF1が出力され、リセット合成回路22はHレベルのリセット信号CPU_RESETを制御回路21に出力する。また、リセット合成回路22は、内蔵の遅延タイマにより時刻t2のときに隣接するI/Oユニット3AにHレベルの起動完了信号PSOを出力し、I/Oユニット3Aでは、起動トリガ回路32に起動完了信号PSOが入力されると電源回路33が起動される。そして、時刻t3のときに電源回路33の出力電圧が基準電圧V3に達すると、電圧検出回路34から隣接するI/Oユニット3BにHレベルの起動完了信号PSOが出力される。
Next, the operation of the programmable controller will be described with reference to the time chart of FIG. When the system power supply V + supplied from the power supply unit 1 reaches the reference voltage V1 at time t1, in the
以下同様にして、Hレベルの起動完了信号PSOがI/Oユニット3C,3Dの順に順次伝送され、時刻t6のときに終端のI/Oユニット3Dの電源回路33の出力電圧が基準電圧V3に達すると、電圧検出回路34からHレベルの起動完了信号PSOが出力される。そして、この起動完了信号PSOは、終端ユニット4を介して信号ライン7に伝送され、CPUユニット2のリセット合成回路22に入力される。すなわち、CPUユニット2は、この時点ですべてのI/Oユニット3に電源が行き渡ったことを認識するのである。その後、CPUユニット2のリセット合成回路22は、上記の遅延タイマにより時刻t7のときにHレベルのリセット信号ERESETを信号ライン8に出力し、各I/Oユニット3では、このリセット信号ERESETが入力されると制御回路31のリセット状態を解除するのである。その結果、リセット状態が解除された各I/Oユニット3では制御回路31の初期化がそれぞれ実行され、時刻t8のときにすべてのI/Oユニット3の制御回路31の初期化が完了すると、Hレベルの全ユニット初期化完了信号DONEがCPUユニット2に入力される。そして、CPUユニット2では、すべてのI/Oユニット3が初期化されたことを認識するのである。
Similarly, the H-level start completion signal PSO is sequentially transmitted in the order of the I /
次に、停電などで外部電源からの電力供給がストップした場合の動作を、同様に図6のタイムチャートを参照しながら説明する。上述したように、停電の場合には電源ユニット1が備えるキャパシタC1が放電することで、CPUユニット2および各I/Oユニット3にシステム電源V+を供給するのであるが、時刻t9のときにシステム電源V+の出力電圧が基準電圧V1以下になると、CPUユニット2では、電圧検出回路24からリセット合成回路22にLレベルの起動信号PF1(電圧低下信号)が出力される。そして、リセット合成回路22は、Lレベルのリセット信号ERESETを各I/Oユニット3に出力し、その結果各I/Oユニット3の制御回路31がリセットされる。ここにおいて、各I/Oユニット3では、このLレベルのリセット信号ERESETが入力されることで、電源がOFFされることを事前に知ることができ、したがって電源がOFFされるまでの間に必要な終了処理(例えばデータバックアップなど)を実行することができる。すなわち、本実施形態では、このLレベルのリセット信号ERESETが電源停止予告信号となる。また、リセット合成回路22は、遅延タイマにより時刻t10のときにLレベルの起動完了信号PSO(電源停止信号)を隣接するI/Oユニット3Aに出力し、I/Oユニット3Aでは、起動完了信号PSOがLレベルにされたことで電源回路33を停止させる。そして、時刻t11のときに電源回路33の出力電圧が0Vになると、電圧検出回路34から出力される起動完了信号PSOがLレベルになり、この起動完了信号PSO(電源停止信号)が隣接するI/Oユニット3Bに出力される。
Next, the operation when power supply from the external power supply is stopped due to a power failure or the like will be described with reference to the time chart of FIG. As described above, in the event of a power failure, the capacitor C1 included in the power supply unit 1 is discharged, so that the system power supply V + is supplied to the
以下同様にして、Lレベルの起動完了信号PSOがI/Oユニット3C,3Dの順に順次伝送されることで、I/Oユニット3が備える電源回路33が順次停止され、時刻t14のときにI/Oユニット3Dの電源回路33の出力電圧が0Vになり、電圧検出回路34から出力される起動完了信号PSOがLレベルになると、CPUユニット2では、信号ライン7を介して入力されるLレベルの全ユニット起動完了信号PSRにより、すべてのI/Oユニット3の電源がOFFされたことを認識するのである。そして最後に、時刻t15のときにキャパシタC1の出力電圧が基準電圧V2以下になると、電圧検出回路25は停止信号PF2をリセット合成回路22に出力し、リセット合成回路22はLレベルのリセット信号CPU_RESETを制御回路21に出力する。その結果、制御回路21はこのリセット信号CPU_RESETによりリセットされ、その後システム電源V+および駆動電源VCCが0Vになる。なお、図6中の破線aは、I/Oユニット3を電源OFFにしなかった場合のシステム電源V+の電圧変化を示しており、本実施形態によれば、(t15−t14)だけCPUユニット2の終了時間を遅延させることができる。その結果、CPUユニット2において、データバックアップなどの終了処理に時間的余裕を持たせることができる。
Similarly, the L level activation completion signal PSO is sequentially transmitted in the order of the I /
而して、本実施形態によれば、外部からの供給電源がOFFになってキャパシタ(充電要素)C1から電源が供給される場合、キャパシタC1の出力電圧が所定の基準電圧V1以下になったところでI/Oユニット3の電源回路33を停止させており、その結果電力消費が抑えられることから、従来例に比べてCPUユニット2の動作時間を長くすることができ、CPUユニット2におけるデータバックアップなどの終了処理に時間的余裕を持たせることができる。また、Lレベルのリセット信号(電源停止予告信号)ERESETによって、電源停止に先立って電源が停止されることを各I/Oユニット3に知らせることができるので、電源が停止されるまでの間にデータバックアップなどの必要な終了処理を行うこともできる。
Thus, according to the present embodiment, when the external power supply is turned off and the power is supplied from the capacitor (charging element) C1, the output voltage of the capacitor C1 becomes equal to or lower than the predetermined reference voltage V1. By the way, the
なお、本実施形態では、スタッキングタイプのプログラマブルコントローラを例に説明したが、図7(a)に示すようなビルディングブロックタイプのプログラマブルコントローラであってもよい。また、本実施形態では、増設ユニットがI/Oユニット3である場合を例に説明したが、増設ユニットは本実施形態に限定されるものではなく、例えば通信用のネットワークユニットやシリアルデータ用の制御ユニットなどであってもよい。さらに、本実施形態では、I/Oユニット3が4台の場合を例に説明したが、I/Oユニット3の台数は本実施形態に限定されるものではなく、1台であってもいいし、2台、3台、または5台以上であってもよい。また、本実施形態では、電源ユニット1が設けられているが、例えばCPUユニット2内に電源機能を設けてもよい。
In the present embodiment, a stacking type programmable controller has been described as an example. However, a building block type programmable controller as shown in FIG. 7A may be used. In this embodiment, the case where the extension unit is the I /
さらに、本実施形態では、電源回路33の出力電圧が0Vになって、電圧検出回路34からの起動完了信号PSOがLレベルになったところで次のI/Oユニット3の電源をOFFするように構成しているが、電源回路33の出力電圧が所定の基準値以下になっていればよく、0Vに限定されるものではない。
Further, in the present embodiment, when the output voltage of the
2 CPUユニット
3A〜3D I/Oユニット(増設ユニット)
22 リセット合成回路(信号出力回路)
24 電圧検出回路(第1の電圧検出回路)
33 電源回路
34 電圧検出回路(第2の電圧検出回路)
2
22 Reset synthesis circuit (signal output circuit)
24 voltage detection circuit (first voltage detection circuit)
33
Claims (2)
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009221502A JP4981865B2 (en) | 2009-09-25 | 2009-09-25 | Programmable controller |
CN201010294258.9A CN102033502B (en) | 2009-09-25 | 2010-09-21 | Programmable controller |
DE102010046429.5A DE102010046429B4 (en) | 2009-09-25 | 2010-09-23 | Programmable controller |
US12/923,496 US8566631B2 (en) | 2009-09-25 | 2010-09-24 | Serially shutting down extension units to time extend power to CPU from charging backup supply |
KR1020100092867A KR101233550B1 (en) | 2009-09-25 | 2010-09-24 | Programmable controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2009221502A JP4981865B2 (en) | 2009-09-25 | 2009-09-25 | Programmable controller |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011070445A JP2011070445A (en) | 2011-04-07 |
JP4981865B2 true JP4981865B2 (en) | 2012-07-25 |
Family
ID=44015671
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2009221502A Active JP4981865B2 (en) | 2009-09-25 | 2009-09-25 | Programmable controller |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4981865B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7143600B2 (en) * | 2018-03-12 | 2022-09-29 | オムロン株式会社 | Control device |
JP7459479B2 (en) | 2019-10-31 | 2024-04-02 | ブラザー工業株式会社 | Information processing device, control method for information processing device, and program |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0612153A (en) * | 1992-06-25 | 1994-01-21 | Matsushita Electric Works Ltd | Programmable controller |
JP3474665B2 (en) * | 1995-03-02 | 2003-12-08 | 富士通株式会社 | Power supply control apparatus and method for computer system |
JP2000060022A (en) * | 1998-08-06 | 2000-02-25 | Fuji Electric Co Ltd | Power supply system |
JP2001184142A (en) * | 1999-12-27 | 2001-07-06 | Hitachi Ltd | Power supply device and power supply system |
JP4149712B2 (en) * | 2002-02-21 | 2008-09-17 | 富士通株式会社 | Information processing apparatus, information processing system, and program |
JP4893931B2 (en) * | 2006-05-19 | 2012-03-07 | オムロン株式会社 | Safety controller |
JP5023731B2 (en) * | 2007-02-16 | 2012-09-12 | 富士通セミコンダクター株式会社 | Power supply circuit, power supply control circuit, and power supply control method |
-
2009
- 2009-09-25 JP JP2009221502A patent/JP4981865B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2011070445A (en) | 2011-04-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101233550B1 (en) | Programmable controller | |
US7668995B2 (en) | IIC bus communication system capable of suppressing freeze of IIC bus communication and method for controlling IIC bus communication | |
KR102044898B1 (en) | Method for sensing connection of USB device and image forming apparatus performing the same | |
US10936524B2 (en) | Bus system with slave devices | |
CN109240165B (en) | I/O interface-based signal output method and device | |
JP2016004388A (en) | Communication system and electronic circuit | |
JP5609810B2 (en) | Electronic equipment, image forming device | |
JP4981865B2 (en) | Programmable controller | |
KR100695791B1 (en) | Communication apparatus and control method for the communication apparatus | |
JP4981864B2 (en) | Programmable controller | |
KR101399257B1 (en) | Processing device and processing system | |
JP6003171B2 (en) | Electronics | |
CN112269461A (en) | Multi-power system and power-on time sequence control method thereof | |
JP5136036B2 (en) | Programmable logic controller | |
JPH1069453A (en) | Programmable controller provided with extension unit | |
JP2011070452A (en) | Programmable controller | |
US20210375335A1 (en) | Data writing method and apparatus | |
US20110113266A1 (en) | Electronic Device and Power Control Module Thereof | |
WO2021159526A1 (en) | Integrated circuit, and control method and system | |
JP3901143B2 (en) | Inverter device | |
JP2008072573A (en) | Output controller | |
JP4160968B2 (en) | Interface circuit and information processing apparatus using the same | |
JP2010087959A (en) | Semiconductor device | |
JP4165472B2 (en) | device | |
JP6180269B2 (en) | Inverter device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20110701 |
|
RD02 | Notification of acceptance of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7422 Effective date: 20110701 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110713 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20110627 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20110816 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20111017 |
|
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: 20120327 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120420 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150427 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4981865 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150427 Year of fee payment: 3 |
|
S533 | Written request for registration of change of name |
Free format text: JAPANESE INTERMEDIATE CODE: R313533 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150427 Year of fee payment: 3 |
|
R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
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 |
|
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 |