JP4366860B2 - General-purpose functional circuit and general-purpose unit of a unit constituting a programmable controller - Google Patents

General-purpose functional circuit and general-purpose unit of a unit constituting a programmable controller Download PDF

Info

Publication number
JP4366860B2
JP4366860B2 JP2000366388A JP2000366388A JP4366860B2 JP 4366860 B2 JP4366860 B2 JP 4366860B2 JP 2000366388 A JP2000366388 A JP 2000366388A JP 2000366388 A JP2000366388 A JP 2000366388A JP 4366860 B2 JP4366860 B2 JP 4366860B2
Authority
JP
Japan
Prior art keywords
unit
programmable logic
logic device
general
arithmetic processing
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.)
Expired - Fee Related
Application number
JP2000366388A
Other languages
Japanese (ja)
Other versions
JP2002169602A (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.)
Panasonic Corp
Panasonic Electric Works Co Ltd
Original Assignee
Panasonic Corp
Matsushita Electric Works Ltd
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 Panasonic Corp, Matsushita Electric Works Ltd filed Critical Panasonic Corp
Priority to JP2000366388A priority Critical patent/JP4366860B2/en
Priority to TW090129297A priority patent/TW539931B/en
Priority to CN018196721A priority patent/CN1636171B/en
Priority to KR10-2003-7006810A priority patent/KR100531095B1/en
Priority to PCT/JP2001/010350 priority patent/WO2002044821A2/en
Priority to US10/415,652 priority patent/US7051057B2/en
Priority to EP01998867A priority patent/EP1356353A2/en
Publication of JP2002169602A publication Critical patent/JP2002169602A/en
Application granted granted Critical
Publication of JP4366860B2 publication Critical patent/JP4366860B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Description

【0001】
【発明の属する技術分野】
本発明は、プログラムに基づいて外部機器のシーケンス制御を行うプログラマブルコントローラを構成するユニットの汎用機能回路及び汎用ユニットに関するものである。
【0002】
【従来の技術】
従来、プログラマブルコントローラのユニットを開発する場合、同種の機能を有するユニットであっても各ユニット毎に回路設計を行って個別に作製していた。また、作製されるユニットは、CPUユニットを含む他のユニットとの通信を行う必要があるため、CPUやゲートアレイが搭載されることが多い。
【0003】
【発明が解決しようとする課題】
しかしながら、上述のように個別に回路を開発していては、開発及び商品化までの期間が長くなり、且つ、部品の共通化が困難になる。特に、回路構成や搭載部品が違う場合は個別に品質評価を行うための時間を要する。
【0004】
また、回路にCPUを用いたユニットでは、作製後においてもプログラムを書き換えることで機能の変更が可能であるものの処理速度が遅くなってしまい、特に複数の機能を並列処理することは難しい。また、回路にゲートアレイを用いたユニットでは処理速度が高速であるものの、作製後に機能の変更ができない。さらにゲートアレイを用いる場合、現状においては安価な回路を提供できるが、回路設計後のゲートアレイ化に時間を要する。また、複数の機能を搭載させることを考えた場合、作製後の機能の変更が不可能なため、ゲートアレイ作製段階で全ての機能及びその仕様を決定しておかなければならない。
【0005】
本発明は上記事情に鑑みて為されたものであり、その目的とするところは、複数の機能が簡単に実現できるとともに回路部品の共通化によるコストダウンが図れるプログラマブルコントローラを構成するユニットの汎用機能回路及び汎用ユニットを提供することにある。
【0006】
【課題を解決するための手段】
請求項1の発明は、上記目的を達成するために、外部機器を接続する外部コネクタと、プログラマブルコントローラを構成するユニットと接続する接続コネクタと、外部コネクタを介して接続される外部機器との間で信号の送受信を行い、外部機器から受信した信号に基づく論理演算を行うとともに演算結果に応じた信号を接続コネクタを介して当該ユニットに送信する機能を少なくとも有した演算処理部とを備え、プログラムを書き換えることで複数種類の機能が選択可能なプログラマブル・ロジック・デバイスにより演算処理部を構成したプログラマブルコントローラを構成するユニットの汎用機能回路において、不揮発性のプログラマブル・ロジック・デバイスと揮発性のプログラマブル・ロジック・デバイスとで演算処理部を構成し、揮発性のプログラマブル・ロジック・デバイスがデータを正常にダウンロードしたか否かを検知する検知手段を備え、不揮発性のプログラマブル・ロジック・デバイスは検知手段によりダウンロードの異常が検知された場合に接続コネクタを介してプログラマブルコントローラのユニットに異常を報知するものであって、当該検知手段が不揮発性のプログラマブル・ロジック・デバイスからなることを特徴とし、回路の作製後においてもプログラマブル・ロジック・デバイスからなる演算処理部のプログラムを書き換えることで所望の機能に変更することができる。このため、複数の機能が簡単に実現できるとともに回路部品の共通化によるコストダウンが図れるプログラマブルコントローラを構成するユニットの汎用機能回路が実現できる。また、CPUを搭載すること無く、予め定められている通信方式に基づいて揮発性のプログラマブル・ロジック・デバイスにおけるダウンロードの異常を他のプログラマブルコントローラのユニットに報知することができ、しかも、揮発性のプログラマブル・ロジック・デバイスとして大規模ゲートのものが使用できる。
【0008】
請求項の発明は、請求項の発明において、不揮発性のプログラマブル・ロジック・デバイスは、演算処理に要する電圧と、接続コネクタを介したユニットとの送受信に要する電圧との少なくとも2種類の電圧を利用可能としたことを特徴とし、演算処理に要する回路内部の電圧とユニットとの送受信に要する電圧が相違する場合でもユニットとの送受信が可能となる。このため、送受信を行うために2電源間双方向インタフェースICなどの部品を用いる必要がなく、回路の小型化並びにコストダウンが図れる。しかも、回路内部の電圧を低電圧とすれば、低電圧タイプに多くある大規模な揮発性のプログラマブル・ロジック・デバイスが利用でき、消費電力の低減並びに放射ノイズの軽減が図れる。
【0010】
請求項の発明は、上記目的を達成するために、外部機器を接続する外部コネクタと、プログラマブルコントローラを構成するユニットと接続する接続コネクタと、外部コネクタを介して接続される外部機器との間で信号の送受信を行い、外部機器から受信した信号に基づく論理演算を行うとともに演算結果に応じた信号を接続コネクタを介して当該ユニットに送信する機能を少なくとも有した演算処理部と、演算処理部を収納するとともに外部コネクタ並びに接続コネクタが外表面に露設されたハウジングとを備え、プログラムを書き換えることで複数種類の機能が選択可能なプログラマブル・ロジック・デバイスにより演算処理部を構成したブログラマぶるコントローラの汎用ユニットにおいて、不揮発性のプログラマブル・ロジック・デバイスと揮発性のプログラマブル・ロジック・デバイスとで演算処理部を構成し、揮発性のプログラマブル・ロジック・デバイスがプログラムを正常にダウンロードしたか否かを検知する検知手段を備え、不揮発性のプログラマブル・ロジック・デバイスは検知手段によりダウンロードの異常が検知された場合に接続コネクタを介してプログラマブルコントローラのユニットに異常を報知するものであって、当該検知手段が不揮発性のプログラマブル・ロジック・デバイスからなることを特徴とし、ユニットの作製後においてもプログラマブル・ロジック・デバイスからなる演算処理部のプログラムを書き換えることで所望の機能に変更することができる。このため、複数の機能が簡単に実現できるとともに回路部品の共通化によるコストダウンが図れるプログラマブルコントローラの汎用ユニットが実現できる。また、CPUを搭載すること無く、予め定められている通信方式に基づいて揮発性のプログラマブル・ロジック・デバイスにおけるダウンロードの異常を他のプログラマブルコントローラのユニットに報知することができ、しかも、揮発性のプログラマブル・ロジック・デバイスとして大規模ゲートのものが使用できる。
【0011】
請求項の発明は、請求項の発明において、不揮発性のプログラマブル・ロジック・デバイスは、演算処理に要する電圧と、接続コネクタを介したユニットとの送受信に要する電圧との少なくとも2種類の電圧を利用可能としたことを特徴とし、演算処理に要する回路内部の電圧とユニットとの送受信に要する電圧が相違する場合でもユニットとの送受信が可能となる。このため、送受信を行うために2電源間双方向インタフェースICなどの部品を用いる必要がなく、回路の小型化並びにコストダウンが図れる。しかも、回路内部の電圧を低電圧とすれば、低電圧タイプに多くある大規模な揮発性のプログラマブル・ロジック・デバイスが利用でき、消費電力の低減並びに放射ノイズの軽減が図れる。
【0012】
【発明の実施の形態】
本発明の実施形態を説明する前に、本発明の実施形態と基本的な構成が共通である参考例について説明する。
図1に本参考例における汎用機能回路の回路ブロック図を示し、図2に本参考例における汎用ユニットAを含むプログラマブルコントローラの正面図を示す。本参考例の汎用機能回路は、図1に示すように外部コネクタ1と、接続コネクタ2と、演算処理部3と、表示部4と、絶縁部5と、電源部6と、設定スイッチ7とを備える。
【0013】
外部コネクタ1は外部機器を接続するものであって、例えば、MIL規格に準拠したコネクタ(所謂MILコネクタ)が用いられる。絶縁部5は、外部コネクタ1と演算処理部3に接続されており、例えば、複数のフォトカプラやトランジスタなどで構成され、外部機器と演算処理部3との間で外部コネクタ1を介して送受信される入出力信号の絶縁をとるものである。なお、電源を必要とする高速のフォトカプラを使用する場合は、外部から供給される電源からフォトカプラへ供給する電源回路を別途設ければよい。
【0014】
接続コネクタ2は演算処理部3に接続されており、後述するようにプログラマブルコントローラのマザーボード20が具備するコネクタ21と接続される。そして、この接続コネクタ3を介して演算処理部3が他のユニット、例えばCPUユニット30等との通信を行う。
【0015】
表示部4は、複数のLEDで構成されており、演算処理部3から与えられる制御信号と表示データに基づいて本参考例の汎用機能回路(汎用ユニットA)の動作状態、例えば、外部コネクタ1に接続される外部機器からの入出力信号のON,OFF状態や内部で生成した機能信号の状態を表示する。設定スイッチ7は演算処理部3の動作状態を設定するスイッチであって、例えば、2ビットのディップスイッチで構成される。而して、演算処理部3では設定スイッチ7の設定状態を読み取り、その設定状態に基づいて動作する。電源部6は、各部に必要な電源を供給するものであって、例えば、接続コネクタ2を介してマザーボード20から供給される電源(DC5V)を内部で必要な電源(DC3.3V)に変換して各部に供給する。
【0016】
演算処理部3は、例えば外部コネクタ1を介して接続される外部機器との間で信号の送受信を行い、外部機器から受信した信号に基づく論理演算を行うとともに演算結果に応じた信号を接続コネクタ2を介してプログラマブルコントローラのCPUユニット30等に送信したり、あるいはCPUユニット30から接続コネクタ2を介して受信した信号に基づく論理演算を行って演算結果に応じた信号を外部コネクタ1を介して外部機器に送信するといった機能を有する。本参考例では、所望の機能をプログラムすることでロジック動作(論理演算等)を実現できるFPGA(フィールド・プログラマブル・ゲートアレイ)やCPLD(コンプレックス・プログラマブル・ロジック・デバイス)などのPLD(プログラマブル・ロジック・デバイス)で演算処理部3を構成している。なお、一般にPLDは所謂JTAGポートを具備しており、プリント基板に実装した後においてもJTAGポートを用いてプログラムの書き換えが可能となっている。
【0017】
上述のように構成される本参考例の汎用機能回路を合成樹脂により箱形に形成されたハウジング15に収納することにより、図2に示すような汎用ユニットAが構成できる。ハウジング15の前面略中央には外部コネクタ1を露設するとともに、表示部4の表示面4aが配設してある。また、図示は省略してあるが、ハウジング15の背面には設定スイッチ7と接続コネクタ2が露設してあり、接続コネクタ2をコネクタ21に接続することで汎用ユニットAをマザーボード20に装着する。而して、CPUユニット30とともに他のユニットに電源を供給する電源ユニット31や、外部との信号の入出力に関する機能(IO機能)を有した機能ユニット(例えば、外部機器からの信号を取り込んだり外部機器へ信号を出力する入出力ユニット)32等をマザーボード20には装着することでプログラマブルコントローラを構成する。
【0018】
ところで、機能ユニットの機能としては、上記IO機能以外にも入力時定数機能,割込機能,カウンタ機能,比較出力機能,パルス出力機能,PWM出力機能,位置決め機能等の種々の機能があり、これらの機能を有するユニット、すなわち入力時定数ユニット,割込ユニット,カウンタユニット,比較出力ユニット,パルス出力ユニット,PWM出力ユニット,位置決めユニット等が既に提供されている。なお、上記各機能及びそのユニットの構成並びに動作については周知であるから説明を省略する。
【0019】
而して、本参考例の汎用機能回路では、上述のような種々の機能を実現する演算処理部3をプログラムの書き換えが容易であり且つCPUに比べて処理速度の速いPLDで構成しているため、プログラムを書き換えることで1つの汎用機能回路にて上記IO機能,入力時定数機能,割込機能,カウンタ機能,比較出力機能,パルス出力機能,PWM出力機能,位置決め機能等の種々の機能を実現することができる。このため、複数種類の機能回路について回路構成を共通化することができ、回路部品の共通化が実現できて製造管理が容易となってコストダウン及び在庫の削減が図れる。また、絶縁部5に高速のフォトカプラを使用して外部機器と演算処理部3との間で高速且つ多点の入出力を可能とすることにより、入出力の点数及び絶縁部5の応答速度の許す限り、同一の回路構成においてPLDのプログラム変更のみで、入出力ユニット,割込ユニット,カウンタユニット,パルス出力ユニット,PWM出力ユニット,位置決めユニットなどの種々の機能ユニットを作製することができる。このように複数の機能ユニットに共通に利用可能な汎用ユニットAを提供することにより、機能ユニットの品番集約につながり製造管理が容易になるという利点がある。さらに、回路構成の共通化及びプログラム変更だけで種々の機能ユニットが作製できるという特徴から、機能変更要求や新商品開発の要望があった場合でも、開発時間、開発費用を抑えて対応できる。しかも、将来的に他のユニットと接続するための通信方式が変更又は新規になった場合においても、接続コネクタ2との配線による規制内であれば回路構成を変更せずにPLDのプログラム変更だけで対応できる。
【0020】
一方、エンドユーザにおいても、設備故障時などのメンテナンス用に予備として置いておく機能ユニットが本参考例の汎用ユニットAに統合されるために管理が容易になる。つまり、これまでは設備に導入している機能ユニットの種類分の機能ユニットを予備として持ち、管理する必要があったが、本参考例の汎用ユニットAであれば、それまで重複していた機能ユニットの数が1種類で良いために管理が容易になる。また、これまでは割込ユニット,カウンタユニット,パルス出力ユニットなどを個別にマザーボード20に装着していたために各ユニット分だけ装着用のスペース(所謂マザーボード20のスロット)が必要であったが、本参考例の汎用ユニットAであれば1つのスロットを占有するだけで種々の機能が実現できて省スペース化が図れる。
【0021】
(実施形態
ところで、演算処理部3を構成するPLDを大規模で安価なものとする場合、現状では揮発性のPLDが有力となる。しかしながら、揮発性のPLDは電源投入毎にプログラムをダウンロードする必要があり、このダウンロード作業が正常に終了しないと意図する動作を得ることができない。
【0022】
而して、本実施形態は上記課題を解決するために以下に示すような構成を採用したものである。但し、本実施形態の基本構成は参考例と共通であるから、共通する構成要素には同一の符号を付して説明を省略する。
【0023】
図3に示すように本実施形態における演算処理部3は揮発性のPLD3aと、不揮発性のPLD3bと、電源投入時に揮発性PLD3aへダウンロードされるプログラムを格納するROM3cとを備える。揮発性PLD3aは、例えばSRAMベースのFPGAからなり、ROM3cからダウンロードしたプログラムに基づいて動作し、ROM3cに格納するプログラムを変更することでIO機能,入力時定数機能,割込機能,カウンタ機能,比較出力機能,パルス出力機能,PWM出力機能,位置決め機能等の種々の機能を実現することができる。また、不揮発性PLD3bは、例えば、FROMベースのCPLDやEEPROMベースのCPLDからなり、電源投入時における揮発性PLD3aのダウンロード時の異常を検知して、接続コネクタ2を介してCPUユニット30等の他のユニットに上記異常を報知する。
【0024】
次に、電源投入時に不揮発性PLD3bが揮発性PLD3aのダウンロードの異常発生を検知する動作について説明する。
【0025】
不揮発性PLD3bは、ROM3cから揮発性PLD3aにダウンロードするプログラムデータに付加されているチェックビットと揮発性PLD3aから受信したプログラムデータのチェックサム結果とを比較し、両者が一致する場合は異常なし、両者が一致しない場合は異常発生と判断する。さらに、不揮発性PLD3bは、接続コネクタ2と接続された所定の出力ポートを、異常なしと判断した場合にHレベル、異常発生と判断した場合にLレベルとし、異常発生と判断した場合にだけ、他のユニットが接続コネクタ2を介して最初にアクセスに来たタイミングで上記出力ポートの出力をラッチする。その結果、ダウンロードに異常が発生し、且つ、他のユニットから本回路(汎用ユニットA)の状態を問われたときにのみ、上記異常発生を報知する。なお、ダウンロードが正常に終了した場合には、揮発性PLD3aが他のユニットとの通信を行う。
【0026】
上述のように本実施形態では、CPUを搭載すること無く、演算処理部3を構成する揮発性PLD3aの電源投入時におけるダウンロードの異常を不揮発性PLD3bにより検知し、ダウンロードの異常発生を他のユニットに報知することができる。このため、揮発性PLD3aとして大規模ゲートのものが使用できるという利点がある。
【0027】
ところで、接続コネクタ2を介してマザーボード20から入力される供給電圧及び信号電圧は5Vであり、演算処理部3を構成する揮発性PLD3aに動作電圧が3.3Vのものを使用し、不揮発性PLD3bに動作電圧が5Vのものを使用した場合、内部処理に要する電圧(3.3V)と他のユニットとの通信に要する電圧(5V)が相違することになる。このような場合、一般には2電源間双方向インタフェースICなどを用いる必要があり、部品点数の増加を招いてしまう。
【0028】
しかしながら、本実施形態では不揮発性PLD3bとして、演算処理に要する電圧(3.3V)と、接続コネクタ2を介したユニットとの送受信に要する電圧(5V)との少なくとも2種類の電圧を利用可能なデバイスを採用している。
【0029】
次に、演算処理部3による他のユニットとの通信方法について説明する。
【0030】
接続コネクタ2を介して演算処理部3に入力される信号は、不揮発性PLD3bと揮発性PLD3aに入力される。例えば、この信号にはイネーブル信号、アドレス、RD信号、WR信号、データ(入力)などがある。また、揮発性PLD3aで生成された信号で、接続コネクタ2を介して他のユニットに出力する信号(例えば、データ(出力)など)は、不揮発性PLD3bを介して出力する。なお、本データ出力の制御は、揮発性PLD3aからのコントロール信号に基づき、データ入力時はハイインピーダンス状態となる。このように動作電圧が3.3Vの揮発性PLD3aの出力を不揮発性PLD3bにて5Vの信号に変換してから他のユニットに出力するため、ユニット内部の処理電圧(3.3V)と他のユニットと通信する為の電圧(5V)に相違がある場合でも通信が可能となる。このため、2電源間双方向インタフェースICなどの部品が不要となり、回路の小型化を実現でき、且つ、安価な汎用機能回路並びに汎用ユニットAが提供できる。なお、ユニット内部の回路に低電圧(例えば、3.3V)のデバイスを使用できるので、低電圧タイプに多くある大規模の揮発性PLD3aを搭載でき、消費電力の低減や放射ノイズの軽減にもつながる。
【0031】
(実施形態
図4に本実施形態の回路ブロック図を示す。但し、本実施形態の基本構成は実施形態と共通であるから、共通する構成要素には同一の符号を付して説明を省略し、本実施形態の特徴となる構成及び動作についてのみ説明する。
【0032】
本実施形態は、電源投入時に他のユニット(例えば、CPUユニット30)から接続コネクタ2を介して演算処理部3の揮発性PLD3aにプログラムデータをダウンロードする点に特徴がある。このため、演算処理部3にはダウンロード用のデータを格納するROM3cを設けていない。
【0033】
而して、本実施形態においては、揮発性PLD3aにダウンロードするデータをCPUユニット30のメモリに格納しており、電源投入時に接続コネクタ2を介してCPUユニット30から揮発性PLD3aにダウンロードする。なお、実施形態と同様に不揮発性PLD3bによってダウンロードの異常発生を監視しており、詳細については実施形態と共通であるから説明は省略する。
【0034】
而して、CPUユニット30のメモリに格納されるプログラムを変更することにより、IO機能,入力時定数機能,割込機能,カウンタ機能,比較出力機能,パルス出力機能,PWM出力機能,位置決め機能など、種々の機能を有する汎用機能回路、並びに汎用ユニットAが実現できる。なお、CPUユニット30のメモリにプログラムを格納する方法としては、例えば、専用のアプリケーションソフトを用いて上位ホスト上でダウンロードするプログラムを選択し、ユーザプログラムとともにCPUユニット30に送信する方法がある。あるいは、上記各機能を実現するための複数種類のプログラムをインターネットに接続されたWWWサーバやFTPサーバに格納しておき、これらのサーバからインターネットを介して所望のプログラムを一旦上記ホストにダウンロードしてから、ユーザプログラムとともにCPUユニット30に送信する方法などがある。
【0035】
【発明の効果】
請求項1の発明は、外部機器を接続する外部コネクタと、プログラマブルコントローラを構成するユニットと接続する接続コネクタと、外部コネクタを介して接続される外部機器との間で信号の送受信を行い、外部機器から受信した信号に基づく論理演算を行うとともに演算結果に応じた信号を接続コネクタを介して当該ユニットに送信する機能を少なくとも有した演算処理部とを備え、プログラムを書き換えることで複数種類の機能が選択可能なプログラマブル・ロジック・デバイスにより演算処理部を構成したプログラマブルコントローラを構成するユニットの汎用機能回路において、不揮発性のプログラマブル・ロジック・デバイスと揮発性のプログラマブル・ロジック・デバイスとで演算処理部を構成し、揮発性のプログラマブル・ロジック・デバイスがデータを正常にダウンロードしたか否かを検知する検知手段を備え、不揮発性のプログラマブル・ロジック・デバイスは検知手段によりダウンロードの異常が検知された場合に接続コネクタを介してプログラマブルコントローラのユニットに異常を報知するものであって、当該検知手段が不揮発性のプログラマブル・ロジック・デバイスからなるので、回路の作製後においてもプログラマブル・ロジック・デバイスからなる演算処理部のプログラムを書き換えることで所望の機能に変更することができる。このため、複数の機能が簡単に実現できるとともに回路部品の共通化によるコストダウンが図れるプログラマブルコントローラを構成するユニットの汎用機能回路が実現でき、また、CPUを搭載すること無く、予め定められている通信方式に基づいて揮発性のプログラマブル・ロジック・デバイスにおけるダウンロードの異常を他のプログラマブルコントローラのユニットに報知することができ、しかも、揮発性のプログラマブル・ロジック・デバイスとして大規模ゲートのものが使用できるという効果がある。
【0037】
請求項の発明は、請求項の発明において、不揮発性のプログラマブル・ロジック・デバイスは、演算処理に要する電圧と、接続コネクタを介したユニットとの送受信に要する電圧との少なくとも2種類の電圧を利用可能としたので、演算処理に要する回路内部の電圧とユニットとの送受信に要する電圧が相違する場合でもユニットとの送受信が可能となるため、送受信を行うために2電源間双方向インタフェースICなどの部品を用いる必要がなく、回路の小型化並びにコストダウンが図れ、しかも、回路内部の電圧を低電圧とすれば、低電圧タイプに多くある大規模な揮発性のプログラマブル・ロジック・デバイスが利用でき、消費電力の低減並びに放射ノイズの軽減が図れるという効果がある。
【0038】
請求項の発明は、外部機器を接続する外部コネクタと、プログラマブルコントローラを構成するユニットと接続する接続コネクタと、外部コネクタを介して接続される外部機器との間で信号の送受信を行い、外部機器から受信した信号に基づく論理演算を行うとともに演算結果に応じた信号を接続コネクタを介して当該ユニットに送信する機能を少なくとも有した演算処理部と、演算処理部を収納するとともに外部コネクタ並びに接続コネクタが外表面に露設されたハウジングとを備え、プログラムを書き換えることで複数種類の機能が選択可能なプログラマブル・ロジック・デバイスにより演算処理部を構成したブログラマぶるコントローラの汎用ユニットにおいて、不揮発性のプログラマブル・ロジック・デバイスと揮発性のプログラマブル・ロジック・デバイスとで演算処理部を構成し、揮発性のプログラマブル・ロジック・デバイスがプログラムを正常にダウンロードしたか否かを検知する検知手段を備え、不揮発性のプログラマブル・ロジック・デバイスは検知手段によりダウンロードの異常が検知された場合に接続コネクタを介してプログラマブルコントローラのユニットに異常を報知するものであって、当該検知手段が不揮発性のプログラマブル・ロジック・デバイスからなるので、ユニットの作製後においてもプログラマブル・ロジック・デバイスからなる演算処理部のプログラムを書き換えることで所望の機能に変更することができるため、複数の機能が簡単に実現できるとともに回路部品の共通化によるコストダウンが図れるプログラマブルコントローラの汎用ユニットが実現でき、また、CPUを搭載すること無く、予め定められている通信方式に基づいて揮発性のプログラマブル・ロジック・デバイスにおけるダウンロードの異常を他のプログラマブルコントローラのユニットに報知することができ、しかも、揮発性のプログラマブル・ロジック・デバイスとして大規模ゲートのものが使用できるという効果がある。
【0040】
請求項の発明は、請求項の発明において、不揮発性のプログラマブル・ロジック・デバイスは、演算処理に要する電圧と、接続コネクタを介したユニットとの送受信に要する電圧との少なくとも2種類の電圧を利用可能としたので、演算処理に要する回路内部の電圧とユニットとの送受信に要する電圧が相違する場合でもユニットとの送受信が可能となるため、送受信を行うために2電源間双方向インタフェースICなどの部品を用いる必要がなく、回路の小型化並びにコストダウンが図れ、しかも、回路内部の電圧を低電圧とすれば、低電圧タイプに多くある大規模な揮発性のプログラマブル・ロジック・デバイスが利用でき、消費電力の低減並びに放射ノイズの軽減が図れるという効果がある。
【図面の簡単な説明】
【図1】本発明の汎用機能回路の参考例を示す回路ブロック図である。
【図2】本発明の汎用ユニットの参考例を含むプログラマブルコントローラの正面図である。
【図3】本発明の汎用機能回路の実施形態を示す回路ブロック図である。
【図4】本発明の汎用機能回路の実施形態を示す回路ブロック図である。
【符号の説明】
1 外部コネクタ
2 接続コネクタ
3 演算処理部
5 絶縁部
[0001]
BACKGROUND OF THE INVENTION
  The present invention relates to a programmable controller that performs sequence control of an external device based on a program.Units that make upThe general-purpose functional circuit and the general-purpose unit are described.
[0002]
[Prior art]
Conventionally, when developing a unit of a programmable controller, even a unit having the same type of function is individually manufactured by designing a circuit for each unit. In addition, since the unit to be manufactured needs to communicate with other units including the CPU unit, a CPU and a gate array are often mounted.
[0003]
[Problems to be solved by the invention]
However, if circuits are individually developed as described above, the period until development and commercialization becomes long, and it becomes difficult to share parts. In particular, when the circuit configuration and mounted parts are different, it takes time to individually evaluate the quality.
[0004]
In addition, in a unit using a CPU as a circuit, the function can be changed by rewriting a program even after production, but the processing speed is slowed down. In particular, it is difficult to process a plurality of functions in parallel. In addition, although a unit using a gate array in a circuit has a high processing speed, the function cannot be changed after fabrication. Further, when a gate array is used, an inexpensive circuit can be provided at present, but it takes time to make a gate array after circuit design. In addition, when considering mounting a plurality of functions, it is impossible to change the functions after fabrication. Therefore, all functions and specifications thereof must be determined at the gate array fabrication stage.
[0005]
  The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a programmable controller that can easily realize a plurality of functions and reduce costs by sharing circuit components.Units that make upIt is to provide a general-purpose functional circuit and a general-purpose unit.
[0006]
[Means for Solving the Problems]
  In order to achieve the above object, the invention of claim 1 is provided between an external connector for connecting an external device, a connection connector for connecting to a unit constituting a programmable controller, and an external device connected via the external connector. An arithmetic processing unit having at least a function of transmitting / receiving a signal and performing a logical operation based on a signal received from an external device and transmitting a signal corresponding to the operation result to the unit via a connection connector. The arithmetic processing unit is composed of programmable logic devices that can select multiple types of functions by rewritingIn the general-purpose function circuit of the units that make up the programmable controller, the non-volatile programmable logic device and the volatile programmable logic device constitute an arithmetic processing unit, and the volatile programmable logic device normalizes the data. The non-volatile programmable logic device is provided with a detecting means for detecting whether or not it has been downloaded to the programmable controller unit via the connection connector when a detecting abnormality is detected by the detecting means. And the detection means comprises a nonvolatile programmable logic device.The circuit can be changed to a desired function by rewriting a program of an arithmetic processing unit composed of a programmable logic device even after the circuit is manufactured. For this reason, it is possible to realize a general-purpose functional circuit of a unit that constitutes a programmable controller that can easily realize a plurality of functions and can reduce the cost by sharing circuit components.In addition, it is possible to notify a download abnormality in a volatile programmable logic device to other programmable controller units based on a predetermined communication method without mounting a CPU, A large-scale gate can be used as a programmable logic device.
[0008]
  Claim2The invention of claim1In the invention, the nonvolatile programmable logic device is characterized in that at least two kinds of voltages, that is, a voltage required for arithmetic processing and a voltage required for transmission / reception with the unit via the connection connector can be used. Transmission / reception with the unit is possible even when the voltage in the circuit required for the arithmetic processing is different from the voltage required for transmission / reception with the unit. For this reason, it is not necessary to use a component such as a bidirectional interface IC between two power sources in order to perform transmission / reception, and the circuit can be reduced in size and cost. In addition, if the internal voltage of the circuit is set to a low voltage, a large-scale volatile programmable logic device that is common in the low voltage type can be used, and power consumption and radiation noise can be reduced.
[0010]
  Claim3The invention ofIn order to achieve the above object, signals are transmitted and received between an external connector for connecting an external device, a connection connector for connecting a unit constituting the programmable controller, and an external device connected via the external connector, An arithmetic processing unit having at least a function of performing a logical operation based on a signal received from an external device and transmitting a signal according to the operation result to the unit via the connection connector, and storing the arithmetic processing unit and an external connector, In a general-purpose unit of a blogger controller that includes a housing with a connection connector exposed on the outer surface and configured an arithmetic processing unit with a programmable logic device that can select multiple types of functions by rewriting the program,A non-volatile programmable logic device and a volatile programmable logic device constitute an arithmetic processing unit, and detection means for detecting whether or not the volatile programmable logic device has successfully downloaded a program. The nonvolatile programmable logic device notifies the unit of the programmable controller via the connector when a download abnormality is detected by the detection means.The detection means comprises a nonvolatile programmable logic deviceIt is characterized byEven after the unit is manufactured, the program can be changed to a desired function by rewriting the program of the arithmetic processing unit composed of the programmable logic device. For this reason, it is possible to realize a general-purpose unit of a programmable controller that can easily realize a plurality of functions and can reduce the cost by sharing circuit components. Also,Without loading a CPU, download errors in volatile programmable logic devices can be reported to other programmable controller units based on a predetermined communication method, and volatile programmable A large-scale gate can be used as a logic device.
[0011]
  Claim4The invention of claim3In the invention, the nonvolatile programmable logic device is characterized in that at least two kinds of voltages, that is, a voltage required for arithmetic processing and a voltage required for transmission / reception with the unit via the connection connector can be used. Transmission / reception with the unit is possible even when the voltage in the circuit required for the arithmetic processing is different from the voltage required for transmission / reception with the unit. For this reason, it is not necessary to use a component such as a bidirectional interface IC between two power sources in order to perform transmission / reception, and the circuit can be reduced in size and cost. In addition, if the internal voltage of the circuit is set to a low voltage, a large-scale volatile programmable logic device that is common in the low voltage type can be used, and power consumption and radiation noise can be reduced.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
  Before describing an embodiment of the present invention, a reference example having a basic configuration in common with the embodiment of the present invention will be described.
  Figure 1Reference exampleShows a circuit block diagram of the general-purpose functional circuit in Fig.Reference exampleThe front view of the programmable controller containing the general purpose unit A in FIG. BookReference exampleAs shown in FIG. 1, the general-purpose functional circuit includes an external connector 1, a connection connector 2, an arithmetic processing unit 3, a display unit 4, an insulating unit 5, a power supply unit 6, and a setting switch 7.
[0013]
The external connector 1 is for connecting an external device. For example, a connector (so-called MIL connector) conforming to the MIL standard is used. The insulating unit 5 is connected to the external connector 1 and the arithmetic processing unit 3. For example, the insulating unit 5 includes a plurality of photocouplers and transistors, and transmits and receives between the external device and the arithmetic processing unit 3 via the external connector 1. Insulation of input / output signals to be performed. Note that when a high-speed photocoupler that requires a power supply is used, a power supply circuit that supplies power to the photocoupler from an externally supplied power supply may be separately provided.
[0014]
The connection connector 2 is connected to the arithmetic processing unit 3 and is connected to a connector 21 provided on the motherboard 20 of the programmable controller as will be described later. Then, the arithmetic processing unit 3 communicates with other units such as the CPU unit 30 through the connection connector 3.
[0015]
  The display unit 4 is composed of a plurality of LEDs, and based on the control signal and display data given from the arithmetic processing unit 3Reference exampleThe operation state of the general-purpose function circuit (general-purpose unit A), for example, ON / OFF states of input / output signals from an external device connected to the external connector 1 and the state of function signals generated internally are displayed. The setting switch 7 is a switch for setting the operation state of the arithmetic processing unit 3, and is constituted by, for example, a 2-bit dip switch. Thus, the arithmetic processing unit 3 reads the setting state of the setting switch 7 and operates based on the setting state. The power supply unit 6 supplies necessary power to each unit. For example, the power supply unit 6 converts a power supply (DC5V) supplied from the motherboard 20 via the connection connector 2 into a necessary power supply (DC3.3V). Supply to each part.
[0016]
  The arithmetic processing unit 3 transmits / receives a signal to / from an external device connected through the external connector 1, for example, performs a logical operation based on a signal received from the external device, and sends a signal according to the calculation result to the connector. 2 to the CPU unit 30 or the like of the programmable controller, or performs a logical operation based on a signal received from the CPU unit 30 via the connection connector 2 and sends a signal according to the calculation result via the external connector 1. It has a function of transmitting to an external device. BookReference exampleThen, PLD (Programmable Logic Device) such as FPGA (Field Programmable Gate Array) and CPLD (Complex Programmable Logic Device) which can realize logic operation (logic operation etc.) by programming desired functions The arithmetic processing unit 3 is configured as described above. In general, a PLD has a so-called JTAG port, and a program can be rewritten using the JTAG port even after being mounted on a printed circuit board.
[0017]
  Book configured as aboveReference example2 is housed in a housing 15 formed in a box shape with a synthetic resin, a general-purpose unit A as shown in FIG. 2 can be configured. The external connector 1 is exposed at the center of the front surface of the housing 15, and the display surface 4 a of the display unit 4 is disposed. Although not shown, the setting switch 7 and the connection connector 2 are exposed on the back surface of the housing 15, and the general-purpose unit A is attached to the motherboard 20 by connecting the connection connector 2 to the connector 21. . Thus, the power supply unit 31 that supplies power to the other units together with the CPU unit 30, and a functional unit having a function (IO function) related to input / output of signals from / to the outside (for example, taking in a signal from an external device) A programmable controller is configured by mounting an input / output unit (32) that outputs a signal to an external device on the motherboard 20.
[0018]
By the way, there are various functions such as an input time constant function, an interrupt function, a counter function, a comparison output function, a pulse output function, a PWM output function, and a positioning function in addition to the above-mentioned IO functions. Units having the above functions, that is, an input time constant unit, an interrupt unit, a counter unit, a comparison output unit, a pulse output unit, a PWM output unit, a positioning unit and the like have already been provided. In addition, since each said function and the structure and operation | movement of its unit are known, description is abbreviate | omitted.
[0019]
  Thus, the bookReference exampleIn the general-purpose function circuit, the arithmetic processing unit 3 that realizes various functions as described above is composed of a PLD that is easy to rewrite a program and has a higher processing speed than a CPU. Various functions such as the IO function, the input time constant function, the interrupt function, the counter function, the comparison output function, the pulse output function, the PWM output function, and the positioning function can be realized with one general-purpose function circuit. For this reason, the circuit configuration can be made common to a plurality of types of functional circuits, circuit parts can be made common, manufacturing management becomes easy, and cost reduction and inventory reduction can be achieved. Further, by using a high-speed photocoupler for the insulating unit 5 and enabling high-speed and multi-point input / output between the external device and the arithmetic processing unit 3, the number of input / output points and the response speed of the insulating unit 5 are achieved. As long as it permits, various functional units such as an input / output unit, an interrupt unit, a counter unit, a pulse output unit, a PWM output unit, and a positioning unit can be produced by only changing the PLD program in the same circuit configuration. Thus, by providing the general-purpose unit A that can be used in common for a plurality of functional units, there is an advantage that the product numbers of the functional units are aggregated and manufacturing management becomes easy. Furthermore, since various functional units can be produced simply by sharing the circuit configuration and changing the program, even when there is a request for a function change or a new product development, it is possible to cope with a reduction in development time and development cost. Moreover, even if the communication method for connecting to other units is changed or new in the future, only the PLD program can be changed without changing the circuit configuration if it is within the regulations of wiring with the connection connector 2. It can respond.
[0020]
  On the other hand, the end user also has a functional unit that is reserved as a spare for maintenance in the event of equipment failure.Reference exampleSince it is integrated into the general-purpose unit A, management becomes easy. In other words, until now it was necessary to have and manage as many functional units as the types of functional units installed in the equipment.Reference exampleThe general-purpose unit A can be easily managed because only one type of functional unit may be used. In the past, since an interrupt unit, a counter unit, a pulse output unit, and the like were individually mounted on the motherboard 20, a space for mounting each unit (so-called motherboard 20 slot) was required.Reference exampleThe general-purpose unit A can realize various functions by occupying one slot and can save space.
[0021]
  (Embodiment1)
  By the way, when making PLD which comprises the arithmetic processing part 3 into a large-scale and cheap, volatile PLD becomes influential now. However, the volatile PLD needs to download a program every time the power is turned on, and an intended operation cannot be obtained unless the download operation is normally completed.
[0022]
  Thus, the present embodiment employs the following configuration in order to solve the above problems. However, the basic configuration of this embodiment isReference exampleTherefore, the same reference numerals are given to the common components and the description thereof is omitted.
[0023]
As shown in FIG. 3, the arithmetic processing unit 3 in this embodiment includes a volatile PLD 3a, a nonvolatile PLD 3b, and a ROM 3c that stores a program downloaded to the volatile PLD 3a when the power is turned on. The volatile PLD 3a is composed of, for example, an SRAM-based FPGA and operates based on a program downloaded from the ROM 3c. By changing the program stored in the ROM 3c, an IO function, an input time constant function, an interrupt function, a counter function, a comparison Various functions such as an output function, a pulse output function, a PWM output function, and a positioning function can be realized. The non-volatile PLD 3b is, for example, a FROM-based CPLD or an EEPROM-based CPLD, detects an abnormality when the volatile PLD 3a is downloaded when the power is turned on, and other components such as the CPU unit 30 via the connection connector 2. The unit is notified of the abnormality.
[0024]
Next, an operation in which the non-volatile PLD 3b detects an abnormal download of the volatile PLD 3a when the power is turned on will be described.
[0025]
The non-volatile PLD 3b compares the check bit added to the program data downloaded from the ROM 3c to the volatile PLD 3a and the checksum result of the program data received from the volatile PLD 3a. If they do not match, it is determined that an abnormality has occurred. Furthermore, the non-volatile PLD 3b sets the predetermined output port connected to the connection connector 2 to H level when it is determined that there is no abnormality, L level when it is determined that abnormality has occurred, and only when it is determined that abnormality has occurred. The output of the output port is latched when the other unit first accesses via the connection connector 2. As a result, the occurrence of the abnormality is notified only when an abnormality occurs in the download and the state of the circuit (general-purpose unit A) is inquired from another unit. Note that if the download is completed normally, the volatile PLD 3a communicates with other units.
[0026]
As described above, in the present embodiment, a download abnormality at the time of power-on of the volatile PLD 3a constituting the arithmetic processing unit 3 is detected by the non-volatile PLD 3b without installing a CPU, and the occurrence of the download abnormality is detected by another unit. Can be notified. For this reason, there exists an advantage that the thing of a large-scale gate can be used as volatile PLD3a.
[0027]
By the way, the supply voltage and the signal voltage input from the motherboard 20 through the connection connector 2 are 5V, and the volatile PLD 3a constituting the arithmetic processing unit 3 is used with the operating voltage of 3.3V, and the non-volatile PLD 3b. When an operation voltage of 5V is used, the voltage required for internal processing (3.3V) is different from the voltage required for communication with other units (5V). In such a case, it is generally necessary to use a two-power supply bidirectional interface IC or the like, resulting in an increase in the number of components.
[0028]
However, in the present embodiment, as the non-volatile PLD 3b, at least two kinds of voltages, that is, a voltage required for arithmetic processing (3.3V) and a voltage required for transmission / reception with the unit via the connection connector 2 (5V) can be used. The device is adopted.
[0029]
Next, a communication method with other units by the arithmetic processing unit 3 will be described.
[0030]
A signal input to the arithmetic processing unit 3 through the connection connector 2 is input to the nonvolatile PLD 3b and the volatile PLD 3a. For example, this signal includes an enable signal, an address, an RD signal, a WR signal, and data (input). Further, a signal generated by the volatile PLD 3a and output to other units via the connection connector 2 (for example, data (output)) is output via the nonvolatile PLD 3b. Note that this data output control is based on a control signal from the volatile PLD 3a and is in a high impedance state when data is input. In this way, since the output of the volatile PLD 3a having an operating voltage of 3.3V is converted to a 5V signal by the non-volatile PLD 3b and then output to another unit, the internal processing voltage (3.3V) and other Communication is possible even when there is a difference in voltage (5 V) for communication with the unit. For this reason, components such as a bi-directional interface IC between two power supplies are not required, the circuit can be reduced in size, and an inexpensive general-purpose function circuit and general-purpose unit A can be provided. In addition, since a low-voltage (for example, 3.3V) device can be used in the circuit inside the unit, a large-scale volatile PLD3a, which is often found in low-voltage types, can be mounted, reducing power consumption and radiation noise. Connected.
[0031]
  (Embodiment2)
  FIG. 4 shows a circuit block diagram of the present embodiment. However, the basic configuration of this embodiment is the embodiment.1Therefore, the same components are denoted by the same reference numerals and description thereof is omitted, and only the configuration and operation that characterize the present embodiment will be described.
[0032]
The present embodiment is characterized in that the program data is downloaded from another unit (for example, the CPU unit 30) to the volatile PLD 3a of the arithmetic processing unit 3 through the connection connector 2 when the power is turned on. For this reason, the arithmetic processing unit 3 is not provided with a ROM 3c for storing download data.
[0033]
  Thus, in this embodiment, data to be downloaded to the volatile PLD 3a is stored in the memory of the CPU unit 30, and is downloaded from the CPU unit 30 to the volatile PLD 3a via the connection connector 2 when the power is turned on. Embodiment1In the same manner as in the above, the occurrence of download abnormality is monitored by the non-volatile PLD 3b.1Since it is common, description is abbreviate | omitted.
[0034]
Thus, by changing the program stored in the memory of the CPU unit 30, the IO function, input time constant function, interrupt function, counter function, comparison output function, pulse output function, PWM output function, positioning function, etc. A general-purpose function circuit having various functions and a general-purpose unit A can be realized. As a method of storing the program in the memory of the CPU unit 30, for example, there is a method of selecting a program to be downloaded on the upper host using dedicated application software and transmitting it to the CPU unit 30 together with the user program. Alternatively, a plurality of types of programs for realizing the above functions are stored in a WWW server or FTP server connected to the Internet, and a desired program is temporarily downloaded from the servers to the host via the Internet. To the CPU unit 30 together with the user program.
[0035]
【The invention's effect】
  The invention of claim 1 transmits and receives signals between an external connector for connecting an external device, a connection connector for connecting to a unit constituting the programmable controller, and an external device connected via the external connector, It is equipped with an arithmetic processing unit having at least a function of performing a logical operation based on a signal received from a device and transmitting a signal according to the operation result to the unit via a connection connector, and by rewriting a program, a plurality of types of functions An arithmetic processing unit is configured with programmable logic devices that can be selectedIn the general-purpose function circuit of the units that make up the programmable controller, the non-volatile programmable logic device and the volatile programmable logic device constitute an arithmetic processing unit, and the volatile programmable logic device normalizes the data. The non-volatile programmable logic device is provided with a detecting means for detecting whether or not it has been downloaded to the programmable controller unit via the connection connector when a detecting abnormality is detected by the detecting means. And the detection means comprises a nonvolatile programmable logic device.Therefore, even after the circuit is manufactured, it can be changed to a desired function by rewriting the program of the arithmetic processing unit composed of the programmable logic device. For this reason, it is possible to realize a general-purpose functional circuit of a unit that constitutes a programmable controller that can easily realize a plurality of functions and reduce the cost by sharing circuit components.Also, it is possible to notify other programmable controller units of download abnormalities in a volatile programmable logic device based on a predetermined communication method without mounting a CPU, and in addition, it is volatile. Large-scale gates can be used as programmable logic devicesThere is an effect.
[0037]
  Claim2The invention of claim1In the present invention, the nonvolatile programmable logic device can use at least two kinds of voltages, that is, a voltage required for arithmetic processing and a voltage required for transmission / reception with the unit via the connection connector. Even when the required internal voltage of the circuit is different from the voltage required for transmission / reception with the unit, transmission / reception with the unit is possible. Therefore, there is no need to use components such as a bi-directional interface IC between two power supplies for transmission / reception. If the internal voltage of the circuit is low, the large-scale volatile programmable logic devices that are common in low-voltage types can be used, reducing power consumption and radiating noise. There is an effect that can be reduced.
[0038]
  Claim3The invention transmits / receives a signal between an external connector for connecting an external device, a connection connector for connecting a unit constituting a programmable controller, and an external device connected via the external connector, and receiving the signal from the external device. The arithmetic processing unit having at least a function of performing a logical operation on the basis of the processed signal and transmitting a signal according to the operation result to the unit via the connection connector, and storing the arithmetic processing unit, and the external connector and the connection connector are externally connected. Computation processing unit is composed of a programmable logic device that has a housing exposed on the surface and can select multiple types of functions by rewriting the programIn the general-purpose unit of the Blogramaburu controller, a non-volatile programmable logic device and a volatile programmable logic device constitute an arithmetic processing unit, and the volatile programmable logic device successfully downloaded the program. A non-volatile programmable logic device that detects whether or not a download abnormality is detected by the detection means, and notifies the abnormality of the programmable controller unit via the connection connector. , The detection means comprises a nonvolatile programmable logic deviceTherefore, even after the unit is manufactured, it can be changed to the desired function by rewriting the program of the arithmetic processing unit consisting of the programmable logic device, so that a plurality of functions can be easily realized and the circuit parts can be shared. A programmable controller general-purpose unit that can reduce costs can be realized.Also, it is possible to notify other programmable controller units of download abnormalities in a volatile programmable logic device based on a predetermined communication method without mounting a CPU, and in addition, it is volatile. Large-scale gates can be used as programmable logic devicesThere is an effect.
[0040]
  Claim4The invention of claim3In the present invention, the nonvolatile programmable logic device can use at least two kinds of voltages, that is, a voltage required for arithmetic processing and a voltage required for transmission / reception with the unit via the connection connector. Even when the required internal voltage of the circuit is different from the voltage required for transmission / reception with the unit, transmission / reception with the unit is possible. Therefore, there is no need to use components such as a bi-directional interface IC between two power supplies for transmission / reception. If the internal voltage of the circuit is low, the large-scale volatile programmable logic devices that are common in low-voltage types can be used, reducing power consumption and radiating noise. There is an effect that can be reduced.
[Brief description of the drawings]
FIG. 1 shows a general-purpose functional circuit according to the present invention.Reference exampleFIG.
FIG. 2 shows the general-purpose unit of the present invention.Reference exampleFIG.
FIG. 3 shows an embodiment of a general-purpose functional circuit according to the present invention.1FIG.
FIG. 4 is an embodiment of a general-purpose functional circuit according to the present invention.2FIG.
[Explanation of symbols]
1 External connector
2 Connector
3 Operation processing section
5 Insulation part

Claims (4)

外部機器を接続する外部コネクタと、プログラマブルコントローラを構成するユニットと接続する接続コネクタと、外部コネクタを介して接続される外部機器との間で信号の送受信を行い、外部機器から受信した信号に基づく論理演算を行うとともに演算結果に応じた信号を接続コネクタを介して当該ユニットに送信する機能を少なくとも有した演算処理部とを備え、プログラムを書き換えることで複数種類の機能が選択可能なプログラマブル・ロジック・デバイスにより演算処理部を構成したプログラマブルコントローラを構成するユニットの汎用機能回路において、不揮発性のプログラマブル・ロジック・デバイスと揮発性のプログラマブル・ロジック・デバイスとで演算処理部を構成し、揮発性のプログラマブル・ロジック・デバイスがデータを正常にダウンロードしたか否かを検知する検知手段を備え、不揮発性のプログラマブル・ロジック・デバイスは検知手段によりダウンロードの異常が検知された場合に接続コネクタを介してプログラマブルコントローラのユニットに異常を報知するものであって、当該検知手段が不揮発性のプログラマブル・ロジック・デバイスからなることを特徴とするプログラマブルコントローラを構成するユニットの汎用機能回路。Based on the signal received from the external device, the signal is sent and received between the external connector that connects the external device, the connection connector that connects to the units that make up the programmable controller, and the external device that is connected via the external connector Programmable logic that has an arithmetic processing unit that at least has a function of performing a logical operation and transmitting a signal according to the operation result to the unit via the connection connector, and by selecting a plurality of functions by rewriting the program -In the general-purpose functional circuit of the unit that constitutes the programmable controller in which the arithmetic processing unit is configured by the device, the arithmetic processing unit is configured by the nonvolatile programmable logic device and the volatile programmable logic device, and the volatile Programmable logic device It is equipped with detection means to detect whether data has been downloaded normally, and the non-volatile programmable logic device detects an abnormality in the programmable controller unit via the connection connector when a detection abnormality is detected by the detection means. A general-purpose functional circuit for a unit constituting a programmable controller , wherein the detection means comprises a nonvolatile programmable logic device . 不揮発性のプログラマブル・ロジック・デバイスは、演算処理に要する電圧と、接続コネクタを介したユニットとの送受信に要する電圧との少なくとも2種類の電圧を利用可能としたことを特徴とする請求項1記載のプログラマブルコントローラを構成するユニットの汎用機能回路。2. The nonvolatile programmable logic device according to claim 1 , wherein at least two kinds of voltages, that is, a voltage required for arithmetic processing and a voltage required for transmission / reception with a unit via a connection connector can be used. General-purpose functional circuit of the units that make up the programmable controller. 外部機器を接続する外部コネクタと、プログラマブルコントローラを構成するユニットと接続する接続コネクタと、外部コネクタを介して接続される外部機器との間で信号の送受信を行い、外部機器から受信した信号に基づく論理演算を行うとともに演算結果に応じた信号を接続コネクタを介して当該ユニットに送信する機能を少なくとも有した演算処理部と、演算処理部を収納するとともに外部コネクタ並びに接続コネクタが外表面に露設されたハウジングとを備え、プログラムを書き換えることで複数種類の機能が選択可能なプログラマブル・ロジック・デバイスにより演算処理部を構成したブログラマぶるコントローラの汎用ユニットにおいて、不揮発性のプログラマブル・ロジック・デバイスと揮発性のプログラマブル・ロジック・デバイスとで演算処理部を構成し、揮発性のプログラマブル・ロジック・デバイスがプログラムを正常にダウンロードしたか否かを検知する検知手段を備え、不揮発性のプログラマブル・ロジック・デバイスは検知手段によりダウンロードの異常が検知された場合に接続コネクタを介してプログラマブルコントローラのユニットに異常を報知するものであって、当該検知手段が不揮発性のプログラマブル・ロジック・デバイスからなることを特徴とするプログラマブルコントローラの汎用ユニット Based on the signal received from the external device, the signal is sent and received between the external connector that connects the external device, the connection connector that connects to the units that make up the programmable controller, and the external device that is connected via the external connector An arithmetic processing unit having at least a function of performing a logical operation and transmitting a signal corresponding to the operation result to the unit via the connection connector, and storing the arithmetic processing unit, and an external connector and a connection connector are exposed on the outer surface In a general-purpose unit of a blogger controller that configures an arithmetic processing unit by a programmable logic device that can select multiple types of functions by rewriting a program, a nonvolatile programmable logic device Volatile programmable logic The processing unit is configured with a device and includes a detecting means for detecting whether or not the volatile programmable logic device has successfully downloaded the program. The nonvolatile programmable logic device is downloaded by the detecting means. A general-purpose unit for a programmable controller, which detects an abnormality to a unit of a programmable controller via a connector when an abnormality is detected, and the detection means comprises a nonvolatile programmable logic device . 不揮発性のプログラマブル・ロジック・デバイスは、演算処理に要する電圧と、接続コネクタを介したユニットとの送受信に要する電圧との少なくとも2種類の電圧を利用可能としたことを特徴とする請求項3記載のプログラマブルコントローラの汎用ユニット Volatile programmable logic device, a voltage required for the operation process, according to claim 3, characterized in that the available at least two kinds of voltages of the voltage required for transmission and reception of the unit through a connector General-purpose unit for programmable controllers .
JP2000366388A 2000-11-30 2000-11-30 General-purpose functional circuit and general-purpose unit of a unit constituting a programmable controller Expired - Fee Related JP4366860B2 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
JP2000366388A JP4366860B2 (en) 2000-11-30 2000-11-30 General-purpose functional circuit and general-purpose unit of a unit constituting a programmable controller
TW090129297A TW539931B (en) 2000-11-30 2001-11-27 General-purpose functional circuit and general-purpose unit for programmable controller
KR10-2003-7006810A KR100531095B1 (en) 2000-11-30 2001-11-28 General-purpose functional circuit and general-purpose unit for programmable controller
PCT/JP2001/010350 WO2002044821A2 (en) 2000-11-30 2001-11-28 General-purpose functional circuit and general-purpose unit for programmable controller
CN018196721A CN1636171B (en) 2000-11-30 2001-11-28 General-purpose functional circuit and general-purpose unit for programmable controller
US10/415,652 US7051057B2 (en) 2000-11-30 2001-11-28 General-purpose functional circuit and general-purpose unit for programmable controller
EP01998867A EP1356353A2 (en) 2000-11-30 2001-11-28 General-purpose functional circuit and general-purpose unit for programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000366388A JP4366860B2 (en) 2000-11-30 2000-11-30 General-purpose functional circuit and general-purpose unit of a unit constituting a programmable controller

Publications (2)

Publication Number Publication Date
JP2002169602A JP2002169602A (en) 2002-06-14
JP4366860B2 true JP4366860B2 (en) 2009-11-18

Family

ID=18837027

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000366388A Expired - Fee Related JP4366860B2 (en) 2000-11-30 2000-11-30 General-purpose functional circuit and general-purpose unit of a unit constituting a programmable controller

Country Status (1)

Country Link
JP (1) JP4366860B2 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040023343A (en) * 2002-09-11 2004-03-18 현대모비스 주식회사 Input equipment of vehicle speed sensor
US7610119B2 (en) 2003-07-08 2009-10-27 Omron Corporation Safety controller and system using same
JP2008052389A (en) * 2006-08-23 2008-03-06 Alaxala Networks Corp Programmable logic circuit update device, update method, data processor and network equipment
JP4507125B2 (en) 2007-09-10 2010-07-21 三菱電機株式会社 Programmable controller
JP2017062530A (en) * 2015-09-24 2017-03-30 株式会社エフ・アイ・ティ Programmable logic controller and program sharing system

Also Published As

Publication number Publication date
JP2002169602A (en) 2002-06-14

Similar Documents

Publication Publication Date Title
US5546563A (en) Single chip replacement upgradeable computer motherboard with enablement of inserted upgrade CPU chip
KR940006821B1 (en) Diagnostic system
US5848250A (en) Processor upgrade system for a personal computer
US20120137159A1 (en) Monitoring system and method of power sequence signal
US7561875B1 (en) Method and apparatus for wirelessly testing field-replaceable units (FRUs)
JPH05158511A (en) Programmable controller processor having attaching and removing type function card
US11022962B2 (en) High availability industrial automation system having primary and secondary industrial automation controllers and method of communicating information over the same
CN103793356A (en) Technique and circuitry for configuring and calibrating integrated circuit
US20040225415A1 (en) Universal computer architecture
JP4366860B2 (en) General-purpose functional circuit and general-purpose unit of a unit constituting a programmable controller
US20110119410A1 (en) Server system
JPH1069453A (en) Programmable controller provided with extension unit
KR100531095B1 (en) General-purpose functional circuit and general-purpose unit for programmable controller
JP3686380B2 (en) Device controller
CN113157474A (en) Server power supply black box data analysis system
KR100305312B1 (en) Interface device
US7266680B1 (en) Method and apparatus for loading configuration data
US6615344B1 (en) System and method for tracking selectively enabling modules used in an integrated processor using a tracking register providing configuration information to an external pin
CN102073570A (en) Server system
US20090119420A1 (en) Apparatus and method for scaleable expanders in systems management
JPH10297395A (en) Electronic control device
KR102497801B1 (en) System-on-chip automatic desgin device and operation method thereof
CN114355815A (en) Controller, control system and communication method of controller
JP2002222003A (en) General unit for programmable controller
CN102253879A (en) Server system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20051102

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080527

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20080728

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090106

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090309

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: 20090804

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: 20090817

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120904

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120904

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120904

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120904

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: 20120904

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees