JP3640506B2 - Function module position detector - Google Patents

Function module position detector Download PDF

Info

Publication number
JP3640506B2
JP3640506B2 JP18656097A JP18656097A JP3640506B2 JP 3640506 B2 JP3640506 B2 JP 3640506B2 JP 18656097 A JP18656097 A JP 18656097A JP 18656097 A JP18656097 A JP 18656097A JP 3640506 B2 JP3640506 B2 JP 3640506B2
Authority
JP
Japan
Prior art keywords
frequency
slot
functional module
signal
pulse width
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
JP18656097A
Other languages
Japanese (ja)
Other versions
JPH1131003A (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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Holdings 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 Fuji Electric Holdings Ltd filed Critical Fuji Electric Holdings Ltd
Priority to JP18656097A priority Critical patent/JP3640506B2/en
Publication of JPH1131003A publication Critical patent/JPH1131003A/en
Application granted granted Critical
Publication of JP3640506B2 publication Critical patent/JP3640506B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Description

【0001】
【発明の属する技術分野】
この発明は、所定の処理機能を有する機能モジュールを複数備えて構成される情報処理装置において各機能モジュールが配置された位置を検出する機能モジュールの位置検出装置に関する。
【0002】
【従来の技術】
一般に、所定の処理機能を有しそれぞれ単独で処理を行う複数の機能モジュールがベースユニットに格納されて構成される、例えばプログラマブルコントローラ等の情報処理装置においては、各機能モジュールがベースユニットの複数のスロットのうち、どのスロットに格納されているのかを検出する必要がある。
【0003】
これは、例えば、一つのベースユニットに、同一形式の入出力モジュールが実装される場合には、これら入出力モジュールを制御する上位モジュールでは、各入出力モジュールの実装位置、つまり、どのスロットに実装されたかに応じて、各入出力モジュールの入出力信号毎にアドレスを割り付けて入出力データの取り込み或いは出力を行ったり、各機能モジュールの動作状態の監視、保守保全等のRAS情報の管理などを行う必要があるためである。
【0004】
そのため、例えば、図5に示すようにして実装位置を検出するようにしている。つまり、ベースユニット1の各スロットM1 〜M4 に複数の接点を有する位置検出用コネクタを設け、各スロット毎に異なるパターンで、位置検出用コネクタの接点のうちの何れかを接地している。機能モジュール側にも、これら接点と対応する接点を有し、且つ、ベースユニット側の位置検出用コネクタと嵌合する位置検出用コネクタを設け、各接点に所定の電圧を印加するようにしている。そして、各スロットに機能モジュールが実装されたときに、ベースユニット側と機能モジュール側との位置検出用コネクタが嵌合して各接点が導通し、この各接点の信号レベルが実装位置情報Sとして出力されるようになっている。
【0005】
このとき、各接点の接地パターンは各スロット毎に異なるように設定したから、各接点の信号レベルは各スロット毎に異なる。よって、予め設定した、各接点の信号レベルの組み合わせと、スロットを特定するスロット番号との対応から、実装位置情報Sとしての各接点の信号レベルの組み合わせに応じたスロット番号を求めることによって、各機能モジュールが実装されたスロット位置を検出できるようになっている。
【0006】
【発明が解決しようとする課題】
しかしながら、上述のように、各スロット毎に固定的な信号レベルの組み合わせを設定することによって実装位置を検出するようにした場合には、例えば、図5に示すように、データベース1にスロットが4つしかない場合には位置検出用の信号を3つ設ければよいが、スロット数が増えるにつれて信号の数も増加することになる。そのため、信号が増加することから接点数が増加することになって、ベースユニット1側及び機能モジュール2側でそれぞれ接点数が増加するためこれを配置するための領域を確保する必要があり、装置の小型化を妨げるという問題がある。また、これに伴ってコストが高くなるという問題もある。
【0007】
そこで、この発明は上記従来の未解決の問題に着目してなされたものであり、複数の機能モジュールから構成される情報処理装置において各機能モジュールが配置された位置を容易且つ安価に検出することの可能な、機能モジュールの位置検出方法を提供することを目的としている。
【0008】
【課題を解決するための手段】
上記目的を達成するために、本発明の請求項1に係る機能モジュールの位置検出装置は、所定の処理機能を有する複数の機能モジュールから構成される情報処理装置において前記機能モジュールが配置された位置を検出する機能モジュールの位置検出装置であって、前記機能モジュールが配置されるべき位置毎に異なる周波数の位置検出用パルス信号を供給する検出用信号発生手段と、前記各機能モジュールに設けられ且つ当該機能モジュールが配置された位置に供給される前記位置検出用パルス信号の周波数を検出する周波数検出手段と、当該周波数検出手段の検出周波数から前記機能モジュールが配置された位置を検出する位置検出手段と、を備えることを特徴としている。
【0009】
この発明によれば、例えば複数の機能モジュールがベースユニットに格納されて情報処理装置が構成されている場合等には、各スロットに対し、検出用信号発生手段によって各スロット毎に異なる周波数の位置検出用パルス信号が供給される。そして、各機能モジュールでは周波数検出手段が設けられていて、機能モジュールがスロットに実装されたときには、このスロットに供給される位置検出用パルス信号の周期が周波数検出手段によって検出される。このとき、各スロット毎に異なる周波数の位置検出用パルス信号が供給されていて、この周波数は各スロットに固有の値であるから、例えば位置検出手段において、予め各スロットに供給される位置検出用パルス信号の周波数とスロットとを対応させておけば、各機能モジュールの周波数検出手段で検出した検出周波数から、この機能モジュールがどのスロットに実装されたかを検出することができる。
【0010】
また、本発明の請求項2に係る機能モジュールの位置検出装置は、所定の処理機能を有する複数の機能モジュールから構成される情報処理装置において前記機能モジュールが配置された位置を検出する機能モジュールの位置検出装置であって、前記各機能モジュールに設けられ且つ入力される位置検出用パルス信号の周波数を検出する周波数検出手段と、所定の周波数検出手段に所定周波数の位置検出用パルス信号を出力する検出用信号発生手段と、前記周波数検出手段に入力された位置検出用パルス信号の周波数を異なる周波数に変換して他の周波数検出手段に出力する周波数変換手段と、前記周波数検出手段の検出周波数から前記機能モジュールが配置された位置を検出する位置検出手段と、を備えることを特徴としている。
【0011】
この発明によれば、各機能モジュールには位置検出用パルス信号の周波数を検出する周波数検出手段が設けられ、何れかの機能モジュールの周波数検出手段に対して、検出用信号発生手段によって所定周波数の位置検出用パルス信号が出力される。この周波数検出手段に供給された所定周波数の位置検出用パルス信号は、周波数変換手段によって異なる周波数に変換されて、他の周波数検出手段に出力され、同様にして各周波数変換手段が周波数を変換して他の周波数検出手段に出力することによって、検出用信号発生手段から出力された所定周波数の位置検出用パルス信号は、順次異なる周波数に変換されて各周波数検出手段に供給される。よって、周波数検出手段では、各機能モジュール毎にそれぞれ異なる周波数の位置検出用パルス信号を検出することになる。
【0012】
したがって、例えば、複数の機能モジュールがベースユニットに実装されて情報処理装置が構成される場合等には、例えば第1のスロットに検出用信号発生手段で発生した位置検出用パルス信号を供給し、この位置検出用パルス信号を第1のスロットに実装された機能モジュールがその周波数を検出し、周波数変換手段で例えば1/2の周波数に変換してこれを第2のスロットに供給するようにし、同様にして次のスロットに1/2の周波数に変換した位置検出用パルス信号を出力するようにすれば、位置検出用パルス信号は各周波数変換手段を介して順次1/2の周波数に変換されて各周波数検出手段に供給されるから、各機能モジュールで検出した検出周波数は、各スロットに固有の周波数となる。よって、位置検出手段において、予め、各スロットとこれに対応する周波数との対応情報を設定しておけば、機能モジュールの周波数検出手段で検出した検出周波数からこの機能モジュールが実装されたスロットを特定することができる。
【0013】
さらに、本発明に請求項3に係る機能モジュールの位置検出装置は、所定の処理機能を有する複数の機能モジュールから構成される情報処理装置において前記機能モジュールが配置された位置を検出する機能モジュールの位置検出装置であって、前記各機能モジュールに設けられ且つ入力される制御信号のパルス幅を検出するパルス幅検出手段と、所定のパルス幅検出手段に所定パルス幅の制御信号を供給する検出用信号発生手段と、前記パルス幅検出手段に入力された制御信号のパルス幅を異なるパルス幅に変換して他のパルス幅検出手段に出力するパルス幅変換手段と、前記パルス幅検出手段の検出パルス幅から前記機能モジュールが配置された位置を検出する位置検出手段と、を備えることを特徴としている。
【0014】
この発明によれば、各機能モジュールには、入力される制御信号のパルス幅を検出するパルス幅検出手段が設けられ、何れかの機能モジュールのパルス幅カウント手段には、所定のパルス幅の制御信号が供給される。このパルス幅検出手段に供給された制御信号は、パルス幅変換手段によって、そのパルス幅が変換されて他のパルス幅検出手段に供給される。よって、各機能モジュールのパルス幅検出手段ではそれぞれ異なるパルス幅を検出することになる。
【0015】
したがって、例えば、複数の機能モジュールがベースユニットに実装されて情報処理装置が構成される場合等には、例えば第1のスロットに所定のパルス幅の制御信号を供給するようにし、これをパルス幅変換手段によってパルス幅を例えば2倍に変換して、第2のスロットに供給するようにし、同様にして、各パルス幅変換手段で制御信号を変換するようにすれば、所定のパルス幅の制御信号が、各パルス幅変換手段を経由して異なるパルス幅に変換されてパルス幅検出手段に供給されることになる。よって、各パルス幅検出手段で検出したパルス幅はそれぞれスロット毎に固有のパルス幅となるから、位置検出手段において、スロットとこれに対応するパルス幅との対応情報を設定しておけば、各機能モジュールで検出したパルス幅から、この機能モジュールが実装されたスロットを特定することができる。
【0016】
【発明の実施の形態】
以下に、本発明の実施の形態を説明する。
なお、本明細書でいう機能モジュールとは、いわゆる各処理機能に応じて複数のブロックに分割されてブロック化された部分を意味し、各部分は、独立に所定の作業を処理する機能を持つものである。その呼び名は、ブロック或いはユニット等としてもよく、これらブロック,ユニット等の語は、上述のものを意味する限り、この明細書における機能モジュールの概念に含まれるものである。
【0017】
まず、本発明の第1の実施の形態を説明する。図1は、本発明における機能モジュールの位置検出装置を、プログラマブルコントローラ等の、複数の機能モジュールがベースユニットに格納されて構成された情報処理装置に適用したものである。図中1はベースユニットであって、このベースユニット1は、機能モジュール2を実装可能なスロットMを4つ有している。そして、各スロットMには、固有の識別番号からなるスロット番号が付与されていて、例えば図1の左側から順にM1 ,M2 ,M3 ,M4 として設定されている。各スロットMには、接点Tc及びTpを有するコネクタが設けられている。
【0018】
また、ベースユニット1には、共通回路(検出用信号発生手段)3が設けられ、この共通回路3は、例えば水晶発振器等を含んで構成され且つ所定周波数のクロック信号PCLを発生するクロック発生回路3aと、当該クロック発生回路3aからのクロック信号PCLを分周し、前記ベースユニット1のスロットMの数と同数の分周信号、この場合4種類の例えば1/2周期,1/4周期,1/8周期,1/16周期の分周信号P1 〜P4 を生成する、例えば4段のフリップフロップから構成されるカウンタ3bとを備えている。
【0019】
そして、クロック発生回路3aで発生したクロック信号PCLは、スロットM1 の接点Tc1 に供給され、これがTc1 からTc2 に供給され、順次Tc3 ,Tc4 に供給されるようになっている。
【0020】
また、カウンタ3bで生成した各分周信号P1 〜P4 は、例えばその周期の長い順に各スロットM1 から順に供給され、分周信号P1 はスロットM1 の接点Tp1 に,P2 は接点Tp2 に,P3 は接点Tp3 に,P4 は接点Tp4 にそれぞれ供給されるようになっている。
【0021】
一方、機能モジュール2はそれぞれ、前記ベースユニット1の各スロットに設けられた接点Tc及びTpを有するコネクタと嵌合し、その接点Tc及びTpとそれぞれ導通する接点Ta及びTbを有するコネクタを備えている。また、機能モジュールは、4段のフリップフロップ等で構成されるカウンタ(周波数検出手段)2aと、所定のタイミングでカウンタ2aのカウント値を読み取る読取回路2bと、この機能モジュール2に設定された所定の機能を実現するための処理を実行すると共に、読取回路2bからの実装位置情報Sをもとに機能モジュール2の実装位置を検出する位置検出部(位置検出手段)4aを備えた、モジュール機能実行部4と、を備えている。そして、カウンタ2aのクロック入力端子CLKと接点Taとが接続され、カウンタ2aのイネーブル入力端子ENと接点Tbとが接続されている。そして、このカウンタ2aのカウント結果が、例えばクロック信号PCLの立ち上がりで読取回路2bによって読み込まれ、これが4ビットの実装位置情報Sとして、モジュール機能実行部4の位置検出部4aに出力されるようになっている。
【0022】
したがって、図1に示すように、例えば機能モジュール2nをベースユニット1のスロットM3 に実装した場合には、機能モジュール2nのコネクタとベースユニット1のスロットM3 のコネクタとが嵌合し、それぞれの接点が導通する。スロットM3 の接点Tc3 及びTp3 には、クロック信号PCLと1/8分周信号P3 とが供給されているから、クロック信号PCLが接点Tc3 ,機能モジュール2nの接点Ta,を介してカウンタ2aのクロック入力端子CLKに入力され、1/8分周信号P3 が接点Tp3 ,機能モジュール2nの接点Tb,を介してカウンタ2aのイネーブル入力端子ENに入力されることになる。
【0023】
これによって、カウンタ2aでは、1/8分周信号P3 が“H”である間、クロック信号PCLの立ち上がりでそのパルス数をカウントし、例えば、1/8分周信号P3 の立ち下がりをトリガとして、読取回路2bがカウンタ2aのカウント値を読み取り、例えばこの場合には、“8”を実装位置情報Sとして位置検出部4aに出力する。
【0024】
このとき、各スロットMには、それぞれ固有の分周信号を供給するようにしているから、予め実装位置情報Sつまり、各スロット毎にとり得るカウント値と、各スロットを特定するスロット番号M1 〜M4 とを対応させて対応テーブル等の対応情報を保持しておき、位置検出部4aがこの対応情報を参照して実装位置情報Sに対応するスロット番号Mを特定することにより、各機能モジュールが実装されたスロット番号を特定することができる。例えば、この場合、実装位置情報Sは“8”であって、これは、クロック信号PCLを1/8に分周した分周信号P3 が供給されているスロットM3 に対応する。よって、機能モジュール2では、自己がスロットM3 に実装されたことを認識することができる。
【0025】
同様に、例えば機能モジュール2nをスロットM1 に実装した場合には、スロットM1 には、クロック信号PCLを1/2に分周した分周信号P1 が供給されているから、機能モジュール2nのカウンタ2aで検出されるカウント値は“2”となる。よって、実装位置情報Sを入力した位置検出部4aでは、対応情報からスロットM1 として特定することができるから、自己の機能モジュールがスロットM1 に実装されたことを認識することができる。
【0026】
したがって、各スロット毎に固有の周波数を供給するようにし、スロットに実装された機能モジュール2においてこの周波数を測定するようにしたから、これをもとに位置検出部4aでスロット位置を判断することによって、どのスロットに実装されたかを容易に認識することができる。
【0027】
また、このとき、機能モジュール2の実装位置の検出を行うためには、簡単な回路で実現することができると共に、ベースユニット1側及び機能モジュール2側にそれぞれ、クロック信号PCL用及び分周信号用の接点を設ければよく、情報処理装置を構成する機能モジュール2の数が増減した場合でも、機能モジュール2とベースユニット1との間の信号数が増加することがない。よって、機能モジュール2の増加に伴ってベースユニット1側にその分の接点Tc及びTpを設けてこれにクロック信号PCL及び分周信号を供給する配線をする必要があるが、従来のように機能モジュール数の増加に伴って各スロットと機能モジュールとの間の信号数が増加し、各スロット毎に部品数が増加するわけではないから、従来に比較して、機能モジュール数の増加に伴う部品の増加を抑制することができ、よって、ベースユニット1の小型化を図ることができると共に、コスト削減を図ることができる。
【0028】
なお、上記第1の実施の形態においては、クロック信号PCLを1/2,1/4,…と分周し、スロットM1 から順に供給するようにした場合について説明したがこれに限るものではなく、各スロットM毎に異なる分周信号を供給するようにすれば、どのような順に供給するようにしてもよく、またどのように分周してもよい。
【0029】
また、上記第1の実施の形態においては、クロック信号PCLを分周するようにした場合について説明したが、カウンタ3aに変えててい倍回路を設け、クロック信号PCLをもとに異なるてい倍信号を生成し、各スロットM毎にそれぞれ異なるてい倍信号を供給し、てい倍信号の周期当たりにおける、クロック信号PCLのパルス数をカウントするようにしてもよい。
【0030】
次に、本発明の第2の実施の形態を説明する。
図2は、本発明における機能モジュールの位置検出装置を、プログラマブルコントローラ等の、複数の機能モジュールがベースユニットに格納されて構成される情報処理装置に適用したものであって、上記第1の実施の形態と同一部には同一符号を付与し、その詳細な説明は省略する。
【0031】
上記第1の実施の形態と同様に、ベースユニット1は機能モジュール2を実装可能なスロットMを4つ有し、各スロットMには、固有の識別番号からなるスロット番号M1 ,M2 ,M3 ,M4 が付与されている。また、各スロットMには、接点Tc及びTpを有するコネクタが設けられ、スロットM1 の接点Tp1 とスロットM2 の接点Tc2 とが接続され、同様に、スロットM2 の接点Tp2 とスロットM3 の接点Tc3 とが接続され、スロットM3 の接点Tp3 とスロットM4 の接点Tc4 とが接続されている。
【0032】
また、ベースユニット1には、共通回路(検出用信号発生手段)3が設けられ、この共通回路3は、例えば水晶発振器等を含んで構成され且つ所定周波数のクロック信号PCLを発生するクロック発生回路3aと,クロック発生回路3aからのクロック信号PCLの、所定のスロット例えばM1 の接点Tc1 への出力を制御するゲート回路3cと,当該ゲート回路3cの出力を一定時間tのみ出力するように制御するタイマIC等で構成される出力時間制御回路3dと,を備えている。
【0033】
一方、機能モジュール2はそれぞれ、前記ベースユニット1の各スロットに設けられた接点Tc及びTpを有するコネクタと嵌合し、その接点Tc及びTpとそれぞれ導通する接点Ta及びTbを有するコネクタを備えている。また、機能モジュール2は、4段のフリップフロップ等で構成されるカウンタ2aと,カウンタ2aのカウント値を後述の時間監視回路2cからのトリガ信号を入力したタイミングで読み取る読取回路2bと,単安定マルチバイブレータ回路等で構成され、カウンタ2aの出力を制御する時間監視回路2cと,例えばカウンタ等で構成される分周回路2dと,この機能モジュール2に設定された所定の機能を実現するための処理を実行すると共に、読取回路2bからの実装位置情報Sをもとに機能モジュール2の実装位置を検出する位置検出部(位置検出手段)4aを備えた、モジュール機能実行部4と、を備えている。前記カウンタ2a及び時間監視回路2cが周波数検出手段に対応し、前記分周回路2dが周波数変換手段に対応している。
【0034】
そして、前記カウンタ2aのクロック入力端子CLK,時間監視回路2c,分周回路2dが、それぞれ接点Taと接続され、機能モジュール2がスロットMに実装されたときに各スロットMの接点Tp及び機能モジュール2の接点Taを介してクロック信号PCLがそれぞれに出力されるようになっている。前記カウンタ2aは、クロック入力端子CLKに入力されるクロック信号PCLをカウントし、その出力を読取回路2bに出力するようになっている。また、時間監視回路2cからのトリガ信号をクリア入力端子CLRに入力し、トリガ信号を入力したときカウント値をクリアするようになっている。
【0035】
前記時間監視回路2cはクロック信号PCLを監視し、当該クロック信号PCLが変化しなくなってから各機能モジュールに共通の所定時間が経過したとき、トリガ信号をカウンタ2aに出力すると共に読取回路2bに出力する。前記分周回路2dは入力されるクロック信号PCLを例えば1/2に分周し、これを接点Tbに出力する。前記読取回路2bは、時間監視回路2cからトリガ信号を入力したときカウンタ2aの出力信号を読み込む。そして、例えば位置検出部4aから要求があったときカウンタ2aから読み込んだ値を実装位置情報Sとして位置検出部4aに通知する。
【0036】
したがって、各スロットMに機能モジュール2を実装した場合、各機能モジュール2ではそれぞれ接点Tc及びTaを介して供給されるクロック信号PCLをカウントすることになる。このとき、スロットM1 には、クロック発生回路3aで発生した所定周波数のクロック信号PCLが供給されるから、スロットM1 に実装された機能モジュール2では、この周波数fのクロック信号PCLのパルス数をカウントすることになる。そして、このとき、クロック発生回路3aで発生したクロック信号PCLは出力制御回路3d及びゲート回路3cによって、その出力が制御されるから、スロットM1 の接点Tc1 には、一定時間tのみクロック信号PCLが供給されることになる。スロットM1 に実装された機能モジュール2では、接点Tc1 及び接点Taを介して入力した周波数fのクロック信号PCLを入力し、これをカウンタ2aでカウントすると共に、分周回路2dでクロック信号PCLを1/2に分周し、この1/2の分周信号P1 を接点Tbに出力する。この接点TbはスロットM1 の接点Tp1 と導通し、さらに接点Tp1 とスロットM2 の接点Tc2 とが接続されているから、1/2分周信号P1 は、接点Tb及びスロットM1 の接点Tp1 を介してスロットM2 の接点TC2 に供給されることになる。
【0037】
そして、このスロットM2 でも同様に、接点Tc2 に供給された1/2分周信号P1 がスロットM2 に実装された機能モジュール2に供給され、機能モジュール2の分周回路2dで1/2に分周され、つまり、クロック信号PCLを1/4に分周した1/4分周信号P2 として、接点Tbを介してスロットM2 の接点Tp2 に供給され、これがスロットM3 の接点Tc3 に供給される。同様に、スロットM3 に実装された機能モジュール2の分周回路2dでこの1/4分周信号P2 が1/2に分周されて、クロック信号PCLを1/8に分周した信号である1/8分周信号P3 がスロットM3 の接点Tp3 を介してスロットM4 に供給される。このとき、スロットM1 には一定時間tのみクロック信号PCLが出力されるから、各機能モジュール2に供給される分周信号も一定時間tのみ供給されることになる。
【0038】
よって、各機能モジュール2のカウンタ2aでは一定時間tの間供給されるクロック信号PCL及びクロック信号PCLの分周信号P1 〜P3 をカウントし、一定時間tが経過して、クロック信号PCL或いは分周信号が変化しなくなったとき、つまり、パルス信号が入力されなくなったときに、時間監視回路2cでこれを検出する。そして、クロック信号PCL或いは分周信号が変化しなくなってから所定時間が経過したとき、トリガ信号をカウンタ2a及び読取回路2bに出力する。これによって、読取回路2bでは、カウンタ2aの出力を読み込み、カウンタ2aではカウント値をリセットする。
【0039】
このとき、各機能モジュール2には、それぞれ異なる周波数のクロック信号PCL或いはこれを分周した分周信号が供給されているから、カウンタ2aのカウント値、つまり、一定時間tの間に入力されたクロック信号PCL又は分周信号のパルス数はそれぞれの機能モジュール2で異なることになる。つまり、一定時間tの間にスロットM1 の接点Tc1 に供給されるクロック信号PCLのパルス数をxとすると、スロットM1 に実装された機能モジュール2によって1/2に分周された1/2分周信号P1 の一定時間t当たりのパルス数は、x/2となるから、スロットM2 に実装された機能モジュール2のカウンタ2aのカウント値はx/2となる。同様にして、スロットM3 に実装された機能モジュール2のカウンタ2aのカウント値はx/4,スロットM4 に実装された機能モジュール2のカウンタ2aのカウント値はx/8となる。
【0040】
したがって、各スロットMを特定するスロット番号と、例えば実装位置情報Sとして通知される一定時間t当たりのパルス数との対応情報を設定しておくことによって、位置検出部4aでは、読取回路2bから通知される実装位置情報Sに対応するスロット番号を対応情報から特定することによって、機能モジュール2がどのスロットに実装されたかを容易に検出することができる。
【0041】
つまり、例えば図2に示すように、スロットM3 に実装された機能モジュール2nでは、その接点Taには、一定時間tの間に、スロットM1 に実装された機能モジュールとスロットM2 に実装された機能モジュールとのそれぞれによって、1/2ずつ分周されたクロック信号PCL,つまり、クロック信号PCLを1/4に分周した1/4分周信号P3 が供給されることになるから、カウンタ2aのカウント値は“x/4”となる。したがって、パルス数が“x/4”となるスロットは、クロック信号PCLが2回分周されたスロットM3 であるから、スロットM3 に自己の機能モジュールが実装されたことを検出することができる。
【0042】
したがって、一定時間t当たりのクロック信号PCLのパルス数が各スロットに実装された機能モジュール毎に固有のパルス数となるようにしたから、各スロットに実装された機能モジュール2それぞれにおいてこのパルス数を測定することによって、各機能モジュール2では、とのスロットに実装されたのかを容易に認識することができる。
【0043】
また、この第2の実施の形態においても、上記第1の実施の形態と同様に、機能モジュール2の実装位置の検出を行うためには、簡単な回路で実現することができると共に、ベースユニット1側及び機能モジュール2側にそれぞれ、クロック信号PCL或いは分周信号の入力用及び分周信号の出力用の接点を設ければよく、これら信号は情報処理装置を構成する機能モジュール2の増減に係わらず2種類だけでよいから、上記第1の実施の形態と同等の作用効果を得ることができる。
【0044】
なお、上記第2の実施の形態においては、スロットM1 から順に、より周期の短い分周信号を供給するようにした場合について説明したがこれに限るものではなく、例えばスロットM4 から順にM4 ,M3 ,M2 ,M1 の順に周期が短くなるようにしてもよい。
【0045】
また、上記第2の実施の形態においては、クロック信号PCLを分周するようにした場合について説明したが、分周回路2dに変えててい倍回路を設け、クロック信号PCLをてい倍して、各スロットMにそれぞれ異なるてい倍信号を供給し、一定時間当たりのクロック信号PCLのパルス数をカウントするようにしてもよい。
【0046】
また、上記第2の実施の形態においては、時間監視回路2c及び分周回路2d機能モジュール2に設けた場合について説明したが、これらをベースユニット側に設けるようにしてもよい。
【0047】
また、上記第2の実施の形態においては、本発明による機能モジュールの位置検出装置をベースユニット1に複数の機能モジュール2が実装されて構成される情報処理装置に適用した場合について説明したが、これに限らず、例えば、各機能モジュール2が分散して配置され、これらがケーブル等によって接続されて構成される情報処理装置に適用するようにしてもよい。この場合には、例えば図3に示すように、クロック発生回路3aと何れかの機能モジュール2とを接続して、クロック発生回路3aで発生したクロック信号PCLを何れかの機能モジュール2の接点Taに供給するか、或いは、何れかの機能モジュール2内にクロック発生回路3aを設けてその出力をカウンタ2aのクロック入力端子CLKに供給するようにし、クロック発生回路3aからのクロック信号PCLを分周した分周信号を出力するための機能モジュール2の接点Tbと、この機能モジュール2の下流に接続された機能モジュール2の接点Taとを接続し、以後上流側の機能モジュール2の接点Tbとその下流に配置された機能モジュール2の接点Taとを順次接続する。
【0048】
これによって、所定周期のクロック信号PCLが各機能モジュール2を経由する毎に1/2に分周されて順次各機能モジュール2に供給されるから、上記第2の実施の形態と同等の構成となって、各機能モジュール2のカウンタ2aで検出されるカウント値は、機能モジュール2が接続された位置、つまり、クロック発生回路3aからのクロック信号PCLが入力される機能モジュールの下流に接続されているのか、或いは下流側2つめに接続されているのかといった接続位置に固有の値となるから、これによって、各機能モジュール2の接続された位置を検出することができる。
【0049】
なお、上記第1及び第2の実施の形態においては、カウンタ2aによって、分周信号の周波数を求めるようにした場合について説明したが、これに限らず要は分周信号の周波数を検出することができればよく、例えばF/V変換回路等により検出するようにしてもよい。
【0050】
次に、本発明の第3の実施の形態を説明する。
図4は、本発明における機能モジュールの位置検出装置を、プログラマブルコントローラ等の、複数の機能モジュールがベースユニットに格納されて構成された情報処理装置に適用したものであって、上記第1の実施の形態と同一部には同一符号を付与し、その詳細な説明は省略する。
【0051】
上記第1の実施の形態と同様に、ベースユニット1は機能モジュール2を実装可能なスロットMを4つ有していて、各スロットMには、固有の識別番号からなるスロット番号M1 ,M2 ,M3 ,M4 が付与されている。また、各スロットMには、接点Tc及びTpを有するコネクタが設けられている。そして、スロットM1 の接点Tp1 とスロットM2 の接点Tc2 とが接続され、同様に、スロットM2 の接点Tp2 とスロットM3 の接点Tc3 とが接続され、スロットM3 の接点Tp3 とスロットM4 の接点Tc4 とが接続されている。
【0052】
また、ベースユニット1には、共通回路(検出用信号発生手段)3が設けられ、この共通回路3は、例えば水晶発振器等を含んで構成され且つ所定周波数のクロック信号PCLを発生するクロック発生回路3aと、このクロック発生回路3aからのクロック信号PCLをもとに所定のパルス幅のパルス信号からなる制御信号PCNT を生成するカウンタ3eと、を備えている。
【0053】
一方、機能モジュール2はそれぞれ、前記ベースユニット1の各スロットに設けられた接点Tc及びTpを有するコネクタと嵌合し、その接点Tc及びTpとそれぞれ導通する接点Ta及びTbを有するコネクタを備えている。また、機能モジュール2は、4段のフリップフロップ等で構成されるカウンタ2aと,カウンタ2aのカウント値を所定のタイミングで読み取る読取回路2bと,再トリガ型の単安定マルチバイブレータ回路等で構成されるディレイ回路2eと,前記カウンタ2aのクロック入力端子CLK及びディレイ回路2dの入力端子Aに各機能モジュール共通の所定周期のクロック信号PCL′を出力する水晶発振器等を含んで構成されるクロック発生回路2fと,この機能モジュール2に設定された所定の機能を実現するための処理を実行すると共に、読取回路2bからの実装位置情報Sをもとに機能モジュール2の実装位置を検出する位置検出部(位置検出手段)4aを備えた、モジュール機能実行部と、を備えている。前記カウンタ2a及びクロック発生回路2fがパルス幅検出手段に対応し、前記ディレイ回路2eがパルス幅変換手段に対応している。
【0054】
そして、前記カウンタ2aのイネーブル入力端子EN,クリア入力端子CLK,ディレイ回路2dの入力端子Bが、それぞれ接点Taと接続され、機能モジュール2がスロットMに実装されたときにスロットMの接点Tp及び接点Taを介して制御信号PCNT がそれぞれに出力されるようになっている。なお、カウンタ2aのクリア端子CLRには、制御信号PCNT が反転されて入力されるようになっている。
【0055】
前記カウンタ2aは、イネーブル入力端子ENに入力される制御信号PCNT が“H”レベルである間、クロック入力端子CLKに入力されるクロック発生回路2fからのクロック信号PCL′をその立ち上がりでカウントし、制御信号PCNT が“L”レベルとなったときそのカウント値をリセットする。読取回路2bでは、カウンタ2aのカウント値を例えば制御信号PCNT が“L”レベルとなったとき読み込み、これを実装位置情報Sとして位置検出部4aに通知する。
【0056】
また、ディレイ回路2eは、入力端子Bに入力される制御信号PCNT が“H”レベルである間、クロック信号PCL′の立ち上がりをトリガとしてその出力を一定時間“H”レベルとして出力するようになっている。そして、前記クロック信号PCL′の周波数は制御信号PCNT のパルス幅と機能モジュール2の数に応じて設定され、下流のスロット,この場合、スロットM4 に供給される制御信号PCNT つまり、PCNT(3)のパルス幅が、共通回路3から出力される制御信号PCNT の周期よりも短くなるように設定される。
【0057】
したがって、ディレイ回路2eは、再トリガ型の単安定マルチバイブレータ回路等で構成されるから、スロットM1 に実装された機能モジュール2のディレイ回路2eでは、制御信号PCNT が“H”レベルである間、クロック信号PCL′の立ち上がりをトリガとして、継続して出力信号を“H”レベルとして出力し、制御信号PCNT が“L”となったとき、制御信号PCNT が“H”である間に最後に入力したクロック信号PCL′の立ち上がりから、単安定マルチバイブレータ回路の出力保持時間だけ出力信号を“H”レベルとして出力することになって、その出力信号である制御信号PCNT(1)のパルス幅は、制御信号PCNT のパルス幅よりも長くなる。そして、この制御信号PCNT(1)が、スロットM2 に実装された機能モジュール2のディレイ回路2eにおいて、同様に処理されて、パルス幅が制御信号PCNT(1)のパルス幅よりも長い制御信号PCNT(2)が出力される。以後同様にして、各ディレイ回路2eを経由することによって、パルス幅がより長い制御信号PCNT に変換されて下流の機能モジュール2に供給される。
【0058】
よって、各スロットMに機能モジュール2を実装した場合、各機能モジュール2ではそれぞれ接点Tc及びTaを介してイネーブル端子ENに供給される制御信号PCNT が“H”レベルである間、クロック入力端子CLKに入力されるクロック発生回路2fからのクロック信号PCL′をカウントすることになる。
【0059】
このとき、スロットM1 には、クロック発生回路3aで発生した所定周波数のクロック信号PCLがカウンタ3eで所定のパルス幅を有する制御信号PCNT に変換されて供給されるから、スロットM1 に実装された機能モジュール2では、この所定のパルス幅Lの制御信号PCNT が“H”である間、クロック信号PCL′のパルス数をカウントすることになる。そして、スロットM1 に実装された機能モジュール2では、クロック信号PCL′をカウンタ2aでカウントすると共に、ディレイ回路2eによって、制御信号PCNT のパルス幅Lよりも長いパルス幅L1 を有する制御信号PCNT(1)に変換し、これを接点Tbに出力する。
【0060】
この接点TbはスロットM1 の接点Tp1 と導通し、さらに接点Tp1 とスロットM2 の接点Tc2 とが接続されているから、制御信号PCNT よりもパルス幅の長い制御信号PCNT(1)は、接点Tb及びスロットM1 の接点Tp1 を介してスロットM2 の接点TC2 に供給されることになる。
【0061】
そして、このスロットM2 でも同様に、接点Tc2 に供給された制御信号PCNT(1)がスロットM2 に実装された機能モジュール2に供給され、機能モジュール2のディレイ回路2eでそのパルス幅L1 よりも長いパルス幅L2 を有する制御信号PCNT(2)に変換されて、接点Tbを介してスロットM2 の接点Tp2 に供給され、これがスロットM3 の接点Tc3 に供給される。同様に、スロットM3 に実装された機能モジュール2のディレイ回路2eで制御信号PCNT(2)がより長いパルス幅L3 を有する制御信号PCNT(3)に変換されて、スロットM3 の接点Tp3 を介してスロットM4 に供給される。
【0062】
よって、各機能モジュール2のカウンタ2aではパルス幅の異なる制御信号PCNT が“H”である間、クロック信号PCL′をカウントすることになるから、カウンタ2aのカウント値、つまり、パルス幅の異なる制御信号PCNT が“H”である間に入力されたクロック信号PCL′のパルス数はそれぞれの機能モジュール2で異なることになる。
【0063】
したがって、各スロットMを特定するスロット番号と、例えば実装位置情報Sとして通知される制御信号PCNT のパルス幅当たりのクロック信号PCL′のパルス数との対応情報を設定しておき、位置検出部4aにおいて、機能モジュール2の読取回路2bから通知される実装位置情報Sに対応するスロット番号を対応情報から特定することによって、機能モジュール2がどのスロットに実装されたかを容易に検出することができる。
【0064】
つまり、例えば図4に示すように、スロットM3 に実装された機能モジュール2nでは、その接点Taには、スロットM1 に実装された機能モジュールとスロットM2 に実装された機能モジュールとのそれぞれによって、所定の長さづつパルス幅が長くなるように変換された、制御信号PCNT(2)が供給されることになるから、例えば各機能モジュールでパルス幅を2倍となるように変換した場合には、カウンタ3eで発生した制御信号PCNT のパルス幅をLとすると、スロットM3 に実装された機能モジュール2のパルス幅L2 は4・Lとなり、パルス幅L当たりのクロック信号PCL′のパルス数をxとした場合、この機能モジュール2で検出されるパルス数は4・Xとなる。よって、パルス数が4・Xとなるスロットは、制御信号PCNT のパルス幅Lが二回変換されたスロットM3 であるから、位置検出部4aでは、スロットM3 に実装されたことを検出することができる。
【0065】
したがって、各スロットに実装された機能モジュール毎にこれに供給される制御信号PCNT のパルス幅を固有のパルス幅となるようにしたから、各スロットに実装された機能モジュール2においてこのパルス幅をクロック信号PCL′のパルス数によって測定することによって、どのスロットに実装されたかを容易に認識することができる。
【0066】
また、この第3の実施の形態においても、上記第1の実施の形態と同様に、機能モジュール2の実装位置の検出を行うためには、簡単な回路で実現することができ、ベースユニット1側及び機能モジュール2側にそれぞれ、制御信号PCNT の入力用及び出力用の接点を設ければよいから、上記第1の実施の形態と同等の作用効果を得ることができる。
【0067】
なお、上記第3の実施の形態においては、スロットM1 から順に、制御信号PCNT のパルス幅が長くなるようにした場合について説明したがこれに限るものではなく、例えば入力される制御信号PCNT とこれを遅延させた信号とをもとに、パルス幅の短い信号を形成する等によって、パルス幅を短くするようにしてもよい。
【0068】
また、上記第3の実施の形態においては、ディレイ回路2eを機能モジュール2に設けた場合について説明したが、これらをベースユニット側に設けるようにしてもよい。
【0069】
また、上記第3の実施の形態においては、本発明による機能モジュールの位置検出装置をベースユニット1に複数の機能モジュール2が実装されて構成される情報処理装置に適用した場合について説明したが、これに限らず、上記第2の実施の形態と同様に、各機能モジュール2が分散して配置され、これらがケーブル等によって接続されて構成される情報処理装置に適用するようにしてもよい。
【0070】
また、上記第3の実施の形態においては、カウンタ2aによって、制御信号PCNT のパルス幅をクロック信号PCL′のパルス数によってカウントするようにした場合について説明したが、これに限らず、例えば制御信号PCNT の立ち上がり及び立ち下がりをトリガとして作動するタイマ等を設け、これによって、制御信号PCNT のパルス幅を測定するようにしてもよい。
【0071】
また、上記第3の実施の形態においては、クロック発生回路3a及びカウンタ3eを用いて制御信号PCNT を生成するようにした場合について説明したが、例えば所定のパルス幅の信号を1パルスのみ出力するようにしてもよい。
【0072】
【発明の効果】
以上説明したように、本発明の請求項1に係る機能モジュールの位置検出装置によれば、機能モジュールが配置されるべき位置毎に異なる周波数の位置検出用パルス信号を供給し、各機能モジュールがこの機能モジュールが配置された位置に供給される位置検出用パルス信号の周波数を検出し、この検出周波数から機能モジュールが配置された位置を検出するようにしたから、簡単な回路で機能モジュールが配置された位置を的確に検出することができると共に、従来に比較して機能モジュール数の増減に応じて位置検出に要する部品数の増減を抑えることができ、装置の小型化及びコスト削減を図ることができる。
【0073】
また、本発明の請求項2に係る機能モジュールの位置検出装置によれば、各機能モジュールに供給される位置検出用パルス信号の周波数を、この位置検出用パルス信号が供給される順に各機能モジュールで固有の周波数となるようにしたから、機能モジュールが配置される位置と、位置検出用パルス信号が供給される順とを対応させておくことによって、簡単な回路で機能モジュールが配置された位置を的確に検出することができると共に、従来に比較して機能モジュール数の増減に応じて位置検出に要する部品数の増減を抑えることができ、装置の小型化及びコスト削減を図ることができる。
【0074】
さらに、本発明に請求項3に係る機能モジュールの位置検出装置によれば、各機能モジュールに供給される制御信号のパルス幅を、この制御信号が供給される順に各機能モジュールで固有のパルス幅となるようにしたから、機能モジュールが配置される位置と、制御信号が供給される順とを対応させておくことによって、簡単な回路で機能モジュールが配置された位置を的確に検出することができると共に、従来に比較して機能モジュール数の増減に応じて位置検出に要する部品数の増減を抑えることができ、装置の小型化及びコスト削減を図ることができる。
【図面の簡単な説明】
【図1】本発明の第1の実施の形態における情報処理装置の概略構成図である。
【図2】本発明の第2の実施の形態における情報処理装置の概略構成図である。
【図3】その他の情報処理装置に適用した場合の一例である。
【図4】本発明の第3の実施の形態における情報処理装置の概略構成図である。
【図5】従来の情報処理装置の一例を示す概略構成図である。
【符号の説明】
1 ベースユニット
2 機能モジュール
2a カウンタ
2b 読取回路
2c 時間監視回路
2d 分周回路
2e ディレイ回路
3 共通回路
3a クロック発生回路
3b カウンタ
3c ゲート回路
3d 出力時間制御回路
3e カウンタ
4 モジュール機能実行部
4a 位置検出部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a position detection apparatus for a function module that detects a position where each function module is arranged in an information processing apparatus that includes a plurality of function modules having a predetermined processing function.
[0002]
[Prior art]
In general, in an information processing apparatus such as a programmable controller, in which a plurality of functional modules each having a predetermined processing function and performing processing independently are stored in a base unit, each functional module includes a plurality of base units. It is necessary to detect which slot is stored among the slots.
[0003]
This is because, for example, when input / output modules of the same type are mounted on one base unit, the upper module that controls these input / output modules is mounted at each input / output module mounting position, that is, in which slot Depending on what is done, assign an address to each input / output signal of each input / output module to import or output input / output data, monitor the operational status of each functional module, manage RAS information such as maintenance and maintenance, etc. This is because it needs to be done.
[0004]
Therefore, for example, the mounting position is detected as shown in FIG. That is, each slot M of the base unit 1 1 ~ M Four A position detecting connector having a plurality of contacts is provided, and one of the contacts of the position detecting connector is grounded in a different pattern for each slot. The function module side has contacts corresponding to these contacts, and a position detection connector that fits with the position detection connector on the base unit side is provided so that a predetermined voltage is applied to each contact. . When the functional module is mounted in each slot, the position detection connectors on the base unit side and the functional module side are fitted and each contact is conducted, and the signal level of each contact is used as mounting position information S It is output.
[0005]
At this time, since the ground pattern of each contact is set to be different for each slot, the signal level of each contact is different for each slot. Therefore, by obtaining the slot number corresponding to the combination of the signal level of each contact as the mounting position information S from the correspondence between the preset signal level combination of each contact and the slot number for identifying the slot, The slot position where the functional module is mounted can be detected.
[0006]
[Problems to be solved by the invention]
However, as described above, when the mounting position is detected by setting a fixed signal level combination for each slot, for example, as shown in FIG. If there is only one, it is sufficient to provide three position detection signals. However, the number of signals increases as the number of slots increases. Therefore, since the number of contacts increases because the signal increases, the number of contacts increases on each of the base unit 1 side and the function module 2 side, so it is necessary to secure an area for arranging the contacts. There is a problem that hinders downsizing. In addition, there is a problem that the cost increases accordingly.
[0007]
Accordingly, the present invention has been made paying attention to the above-mentioned conventional unsolved problems, and it is possible to easily and inexpensively detect the position where each functional module is arranged in an information processing apparatus composed of a plurality of functional modules. It is an object of the present invention to provide a function module position detection method that can be used.
[0008]
[Means for Solving the Problems]
In order to achieve the above object, a position detection device for a functional module according to claim 1 of the present invention is a position where the functional module is arranged in an information processing apparatus composed of a plurality of functional modules having a predetermined processing function. And a detection signal generating means for supplying a position detection pulse signal having a different frequency for each position where the functional module is to be arranged, and provided in each functional module; Frequency detecting means for detecting the frequency of the position detection pulse signal supplied to the position where the functional module is arranged, and position detecting means for detecting the position where the functional module is arranged from the detection frequency of the frequency detecting means It is characterized by providing these.
[0009]
According to the present invention, for example, when a plurality of functional modules are stored in the base unit and the information processing apparatus is configured, the position of the frequency that is different for each slot by the detection signal generating means is set for each slot. A detection pulse signal is supplied. Each function module is provided with frequency detection means. When the function module is mounted in the slot, the period of the position detection pulse signal supplied to the slot is detected by the frequency detection means. At this time, a position detection pulse signal having a different frequency is supplied to each slot, and this frequency is a value unique to each slot. If the frequency of the pulse signal is associated with the slot, it is possible to detect in which slot the functional module is mounted from the detection frequency detected by the frequency detection means of each functional module.
[0010]
According to a second aspect of the present invention, there is provided a function module position detecting device for detecting a position where the function module is arranged in an information processing apparatus including a plurality of function modules having a predetermined processing function. A position detection device, which is provided in each functional module and detects the frequency of a position detection pulse signal input thereto, and outputs a position detection pulse signal having a predetermined frequency to the predetermined frequency detection means. From the detection signal generation means, the frequency conversion means for converting the frequency of the position detection pulse signal input to the frequency detection means into a different frequency and output it to another frequency detection means, and the detection frequency of the frequency detection means Position detecting means for detecting a position where the functional module is arranged.
[0011]
According to the present invention, each function module is provided with a frequency detection means for detecting the frequency of the position detection pulse signal. The frequency detection means of any of the function modules has a predetermined frequency by the detection signal generation means. A position detection pulse signal is output. The position detection pulse signal having a predetermined frequency supplied to the frequency detection means is converted to a different frequency by the frequency conversion means and output to the other frequency detection means. Similarly, each frequency conversion means converts the frequency. By outputting to the other frequency detecting means, the position detecting pulse signal of the predetermined frequency outputted from the detecting signal generating means is sequentially converted to a different frequency and supplied to each frequency detecting means. Therefore, the frequency detection means detects position detection pulse signals having different frequencies for each functional module.
[0012]
Therefore, for example, when a plurality of functional modules are mounted on the base unit to form an information processing apparatus, for example, the position detection pulse signal generated by the detection signal generating means is supplied to the first slot, The function module mounted on the position detection pulse signal in the first slot detects the frequency, converts the frequency into, for example, a half frequency by the frequency conversion means, and supplies it to the second slot. Similarly, if a position detection pulse signal converted to a 1/2 frequency is output to the next slot, the position detection pulse signal is sequentially converted to a 1/2 frequency via each frequency conversion means. Therefore, the detected frequency detected by each functional module is a frequency unique to each slot. Therefore, if the correspondence information between each slot and its corresponding frequency is set in advance in the position detection means, the slot in which this functional module is mounted is identified from the detection frequency detected by the frequency detection means of the functional module. can do.
[0013]
Furthermore, a functional module position detecting device according to a third aspect of the present invention is a functional module that detects a position where the functional module is arranged in an information processing device including a plurality of functional modules having a predetermined processing function. A position detection device for detecting the pulse width detection means provided in each functional module and detecting the pulse width of the input control signal, and for supplying a control signal having a predetermined pulse width to the predetermined pulse width detection means A signal generating means; a pulse width converting means for converting the pulse width of the control signal input to the pulse width detecting means to a different pulse width and outputting the same to another pulse width detecting means; and a detection pulse of the pulse width detecting means And a position detecting means for detecting a position where the functional module is arranged from the width.
[0014]
According to this invention, each functional module is provided with pulse width detecting means for detecting the pulse width of the input control signal, and the pulse width counting means of any functional module has a predetermined pulse width control. A signal is supplied. The control signal supplied to the pulse width detector is converted by the pulse width converter and supplied to the other pulse width detectors. Therefore, the pulse width detecting means of each functional module detects a different pulse width.
[0015]
Therefore, for example, when an information processing apparatus is configured by mounting a plurality of functional modules on the base unit, for example, a control signal having a predetermined pulse width is supplied to the first slot, and this is changed to the pulse width. If the conversion means converts the pulse width to, for example, twice and supplies it to the second slot, and similarly, the control signal is converted by each pulse width conversion means, a predetermined pulse width can be controlled. The signal is converted into a different pulse width via each pulse width conversion means and supplied to the pulse width detection means. Therefore, since the pulse width detected by each pulse width detection means becomes a unique pulse width for each slot, if the position detection means sets correspondence information between the slot and the corresponding pulse width, From the pulse width detected by the functional module, the slot in which the functional module is mounted can be specified.
[0016]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, embodiments of the present invention will be described.
In addition, the functional module as used in this specification means the part divided into several blocks according to what is called each processing function, and each part has a function which processes predetermined work independently. Is. The name may be a block or a unit, and the terms such as block and unit are included in the concept of the functional module in this specification as long as the above-mentioned meanings are meant.
[0017]
First, a first embodiment of the present invention will be described. FIG. 1 shows a functional module position detecting device according to the present invention applied to an information processing device such as a programmable controller in which a plurality of functional modules are stored in a base unit. In the figure, reference numeral 1 denotes a base unit. The base unit 1 has four slots M into which the functional modules 2 can be mounted. Each slot M is given a slot number consisting of a unique identification number. 1 , M 2 , M Three , M Four Is set as Each slot M is provided with a connector having contacts Tc and Tp.
[0018]
Further, the base unit 1 is provided with a common circuit (detection signal generating means) 3, and this common circuit 3 includes a crystal oscillator, for example, and has a clock signal P having a predetermined frequency. CL And a clock signal P from the clock generation circuit 3a. CL , And the same number of frequency-divided signals as the number of slots M of the base unit 1, in this case, for example, four types of frequency-divided signals of 1/2 period, 1/4 period, 1/8 period, and 1/16 period P 1 ~ P Four And a counter 3b composed of, for example, four stages of flip-flops.
[0019]
Then, the clock signal P generated by the clock generation circuit 3a CL Is slot M 1 Contact point Tc 1 This is the Tc 1 To Tc 2 To Tc in turn Three , Tc Four To be supplied.
[0020]
Further, each divided signal P generated by the counter 3b. 1 ~ P Four For example, each slot M in the order of the longest period. 1 Are supplied in order, and the divided signal P 1 Is slot M 1 Contact point Tp 1 And P 2 Is contact Tp 2 And P Three Is contact Tp Three And P Four Is contact Tp Four To be supplied to each.
[0021]
On the other hand, each of the functional modules 2 includes a connector having contacts Ta and Tb, which are fitted to connectors having contacts Tc and Tp provided in the slots of the base unit 1 and are electrically connected to the contacts Tc and Tp, respectively. Yes. The functional module includes a counter (frequency detection means) 2a composed of four stages of flip-flops, a reading circuit 2b that reads the count value of the counter 2a at a predetermined timing, and a predetermined set in the functional module 2. Module function including a position detection unit (position detection means) 4a that executes a process for realizing the function of, and detects the mounting position of the functional module 2 based on the mounting position information S from the reading circuit 2b. And an execution unit 4. The clock input terminal CLK of the counter 2a is connected to the contact Ta, and the enable input terminal EN of the counter 2a is connected to the contact Tb. The count result of the counter 2a is, for example, the clock signal P CL Is read by the reading circuit 2b and output as 4-bit mounting position information S to the position detection unit 4a of the module function execution unit 4.
[0022]
Therefore, as shown in FIG. 1, for example, the functional module 2n is inserted into the slot M of the base unit 1. Three When mounted on the connector of the functional module 2n and the slot M of the base unit 1. Three The connector is engaged with each other, and the respective contacts are conducted. Slot M Three Contact point Tc Three And Tp Three Includes a clock signal P CL And 1/8 frequency division signal P Three And the clock signal P CL Is contact Tc Three , Input to the clock input terminal CLK of the counter 2a via the contact Ta of the functional module 2n, and the 1/8 frequency divided signal P Three Is contact Tp Three Are input to the enable input terminal EN of the counter 2a via the contact Tb of the functional module 2n.
[0023]
As a result, the counter 2a generates the 1/8 frequency-divided signal P Three While the signal is “H”, the clock signal P CL The number of pulses is counted at the rising edge of, for example, 1/8 divided signal P Three As a trigger, the reading circuit 2b reads the count value of the counter 2a. For example, in this case, “8” is output as the mounting position information S to the position detection unit 4a.
[0024]
At this time, since each slot M is supplied with a unique frequency-divided signal, the mounting position information S, that is, a count value that can be taken for each slot, and a slot number M that identifies each slot are preliminarily provided. 1 ~ M Four Are stored in correspondence information such as a correspondence table, and the position detection unit 4a refers to the correspondence information to identify the slot number M corresponding to the mounting position information S, whereby each functional module is mounted. The specified slot number can be specified. For example, in this case, the mounting position information S is “8”, and this indicates that the clock signal P CL Divided signal P divided by 1/8 Three Slot M to which is supplied Three Corresponding to Therefore, in the functional module 2, the self is the slot M. Three Can be recognized.
[0025]
Similarly, for example, the functional module 2n is inserted into the slot M. 1 Slot M 1 Includes a clock signal P CL Divided signal P divided by 1/2 1 Is supplied, the count value detected by the counter 2a of the functional module 2n is “2”. Therefore, in the position detection unit 4a that has received the mounting position information S, the slot M is determined from the correspondence information. 1 Since its own function module is slot M 1 Can be recognized.
[0026]
Accordingly, a unique frequency is supplied for each slot, and this frequency is measured by the functional module 2 mounted in the slot. Based on this, the position detection unit 4a determines the slot position. Thus, it is possible to easily recognize which slot is mounted.
[0027]
At this time, in order to detect the mounting position of the functional module 2, it can be realized by a simple circuit, and the clock signal P is respectively transmitted to the base unit 1 side and the functional module 2 side. CL The number of signals between the function module 2 and the base unit 1 does not increase even when the number of function modules 2 constituting the information processing apparatus increases or decreases. . Therefore, as the number of functional modules 2 increases, the corresponding contacts Tc and Tp are provided on the base unit 1 side, and clock signals P CL In addition, it is necessary to perform wiring to supply the frequency-divided signal. However, as the number of functional modules increases as in the past, the number of signals between each slot increases and the number of components increases for each slot. Therefore, compared to the conventional case, it is possible to suppress an increase in the number of parts due to an increase in the number of functional modules, and thus it is possible to reduce the size of the base unit 1 and to reduce the cost. it can.
[0028]
In the first embodiment, the clock signal P CL Is divided into 1/2, 1/4,. 1 However, the present invention is not limited to this, and as long as a different frequency-divided signal is supplied for each slot M, the order may be supplied in any order. The frequency may be divided as follows.
[0029]
In the first embodiment, the clock signal P CL Has been described, but instead of the counter 3a, a multiplier circuit is provided to provide a clock signal P. CL And generating a different double signal, supplying a different double signal for each slot M, and generating a clock signal P per cycle of the double signal. CL The number of pulses may be counted.
[0030]
Next, a second embodiment of the present invention will be described.
FIG. 2 shows an application of the position detection device for a functional module according to the present invention to an information processing device configured by storing a plurality of functional modules in a base unit, such as a programmable controller. The same reference numerals are given to the same parts as those in the embodiment, and the detailed description thereof is omitted.
[0031]
Similar to the first embodiment, the base unit 1 has four slots M in which the functional modules 2 can be mounted. Each slot M has a slot number M consisting of a unique identification number. 1 , M 2 , M Three , M Four Is granted. Each slot M is provided with a connector having contacts Tc and Tp. 1 Contact point Tp 1 And slot M 2 Contact point Tc 2 Are connected in the same way, and the slot M 2 Contact point Tp 2 And slot M Three Contact point Tc Three And slot M Three Contact point Tp Three And slot M Four Contact point Tc Four And are connected.
[0032]
Further, the base unit 1 is provided with a common circuit (detection signal generating means) 3, and this common circuit 3 includes a crystal oscillator, for example, and has a clock signal P having a predetermined frequency. CL And a clock signal P from the clock generation circuit 3a. CL A predetermined slot, eg M 1 Contact point Tc 1 And an output time control circuit 3d configured by a timer IC or the like for controlling the output of the gate circuit 3c to be output only for a predetermined time t.
[0033]
On the other hand, each of the functional modules 2 includes a connector having contacts Ta and Tb, which are fitted to connectors having contacts Tc and Tp provided in the slots of the base unit 1 and are electrically connected to the contacts Tc and Tp, respectively. Yes. The functional module 2 includes a counter 2a composed of four-stage flip-flops, a reading circuit 2b that reads a count value of the counter 2a at a timing when a trigger signal from a time monitoring circuit 2c described later is input, and a monostable A time monitoring circuit 2c configured by a multivibrator circuit or the like and controlling the output of the counter 2a, a frequency dividing circuit 2d configured by a counter or the like, and a predetermined function set in the functional module 2 are realized. A module function execution unit 4 that includes a position detection unit (position detection means) 4a that executes processing and detects the mounting position of the functional module 2 based on the mounting position information S from the reading circuit 2b. ing. The counter 2a and the time monitoring circuit 2c correspond to frequency detection means, and the frequency dividing circuit 2d corresponds to frequency conversion means.
[0034]
When the clock input terminal CLK, the time monitoring circuit 2c, and the frequency dividing circuit 2d of the counter 2a are connected to the contact Ta, respectively, and the functional module 2 is mounted in the slot M, the contact Tp and the functional module of each slot M The clock signal P through the two contacts Ta CL Is output to each. The counter 2a receives the clock signal P input to the clock input terminal CLK. CL And outputs the output to the reading circuit 2b. In addition, the trigger signal from the time monitoring circuit 2c is input to the clear input terminal CLR, and the count value is cleared when the trigger signal is input.
[0035]
The time monitoring circuit 2c is connected to the clock signal P. CL The clock signal P CL When a predetermined time common to each functional module has passed since the change of the output of the trigger signal, the trigger signal is output to the counter 2a and to the reading circuit 2b. The frequency divider 2d receives an input clock signal P. CL Is divided into, for example, 1/2, and this is output to the contact Tb. The reading circuit 2b reads the output signal of the counter 2a when a trigger signal is input from the time monitoring circuit 2c. For example, when there is a request from the position detection unit 4a, the value read from the counter 2a is notified to the position detection unit 4a as mounting position information S.
[0036]
Therefore, when the functional module 2 is mounted in each slot M, the clock signal P supplied through the contacts Tc and Ta in each functional module 2 respectively. CL Will be counted. At this time, slot M 1 Includes a clock signal P having a predetermined frequency generated by the clock generation circuit 3a. CL Slot M 1 In the functional module 2 mounted on the clock signal P, the clock signal P of this frequency f CL The number of pulses is counted. At this time, the clock signal P generated by the clock generation circuit 3a. CL Since the output is controlled by the output control circuit 3d and the gate circuit 3c, the slot M 1 Contact point Tc 1 Includes a clock signal P only for a certain time t. CL Will be supplied. Slot M 1 In the functional module 2 mounted on the contact Tc, 1 And a clock signal P having a frequency f input via the contact Ta. CL Is counted by the counter 2a and the clock signal P is counted by the frequency dividing circuit 2d. CL Is divided by two, and this half-divided signal P 1 Is output to the contact Tb. This contact Tb is a slot M. 1 Contact point Tp 1 And the contact Tp 1 And slot M 2 Contact point Tc 2 And ½ divided signal P 1 Is the contact Tb and the slot M 1 Contact point Tp 1 Through slot M 2 Contact TC 2 Will be supplied.
[0037]
And this slot M 2 But similarly, contact Tc 2 1 / 2-divided signal P supplied to 1 Is slot M 2 Is supplied to the functional module 2 mounted on the frequency division circuit 2 and is divided by half by the frequency dividing circuit 2d of the functional module 2, that is, the clock signal P CL Is divided by a quarter signal 1/4. 2 Slot M through contact Tb 2 Contact point Tp 2 This is the slot M Three Contact point Tc Three To be supplied. Similarly, slot M Three The frequency-divided circuit 2d of the functional module 2 mounted on 2 Is divided by half and the clock signal P CL 1/8 frequency-divided signal P, which is a signal obtained by dividing 1/8 of Three Is slot M Three Contact point Tp Three Through slot M Four To be supplied. At this time, slot M 1 Includes a clock signal P only for a certain time t. CL Therefore, the frequency-divided signal supplied to each functional module 2 is also supplied for a predetermined time t.
[0038]
Therefore, the counter 2a of each functional module 2 supplies the clock signal P supplied for a certain time t. CL And clock signal P CL Frequency division signal P 1 ~ P Three And after a certain time t, the clock signal P CL Alternatively, when the frequency-divided signal no longer changes, that is, when the pulse signal is not input, this is detected by the time monitoring circuit 2c. And the clock signal P CL Alternatively, a trigger signal is output to the counter 2a and the reading circuit 2b when a predetermined time elapses after the frequency-divided signal does not change. As a result, the reading circuit 2b reads the output of the counter 2a, and the counter 2a resets the count value.
[0039]
At this time, each functional module 2 has a clock signal P having a different frequency. CL Alternatively, since a frequency-divided signal obtained by dividing the frequency is supplied, the count value of the counter 2a, that is, the clock signal P input during a certain time t is supplied. CL Alternatively, the number of pulses of the frequency-divided signal is different for each functional module 2. That is, the slot M during a certain time t 1 Contact point Tc 1 Clock signal P supplied to CL Where the number of pulses is x, slot M 1 1/2 frequency-divided signal P divided by 1/2 by the functional module 2 mounted on 1 Since the number of pulses per fixed time t is x / 2, the slot M 2 The count value of the counter 2a of the functional module 2 mounted on is x / 2. Similarly, slot M Three The count value of the counter 2a of the functional module 2 mounted on the module is x / 4, slot M Four The count value of the counter 2a of the functional module 2 mounted on is x / 8.
[0040]
Therefore, by setting correspondence information between the slot number for identifying each slot M and the number of pulses per fixed time t notified as the mounting position information S, the position detection unit 4a allows the reading circuit 2b to By identifying the slot number corresponding to the notified mounting position information S from the corresponding information, it is possible to easily detect in which slot the functional module 2 is mounted.
[0041]
That is, for example, as shown in FIG. Three In the functional module 2n mounted on the slot M, the contact Ta is connected to the slot M for a predetermined time t. 1 Module mounted in slot M and slot M 2 The clock signal P divided by ½ by each of the functional modules mounted on CL , That is, the clock signal P CL Is divided by a quarter signal 1/4. Three Therefore, the count value of the counter 2a is “x / 4”. Therefore, the slot where the number of pulses is “x / 4” is the clock signal P CL Slot M divided by 2 times Three Therefore, slot M Three It is possible to detect that its own functional module has been mounted.
[0042]
Therefore, the clock signal P per fixed time t CL Since the number of pulses of each of the functional modules installed in each slot is set to be unique to each functional module, by measuring the number of pulses in each functional module 2 installed in each slot, each functional module 2 , And can be easily recognized.
[0043]
Also in the second embodiment, similarly to the first embodiment, in order to detect the mounting position of the functional module 2, it can be realized with a simple circuit and the base unit. 1 side and the functional module 2 side, respectively, the clock signal P CL Alternatively, it suffices to provide contacts for inputting the divided signal and outputting the divided signal, and these signals may be only two types regardless of the increase / decrease in the function module 2 constituting the information processing apparatus. The same effects as those in the embodiment can be obtained.
[0044]
In the second embodiment, the slot M 1 However, the present invention is not limited to this. For example, the slot M Four M in order from Four , M Three , M 2 , M 1 You may make it a period become short in order.
[0045]
In the second embodiment, the clock signal P CL Has been described, but a frequency multiplier is provided instead of the frequency divider 2d, and the clock signal P CL And a different double signal is supplied to each slot M, and the clock signal P per fixed time is supplied. CL The number of pulses may be counted.
[0046]
In the second embodiment, the case where the time monitoring circuit 2c and the frequency dividing circuit 2d are provided in the functional module 2 has been described. However, these may be provided on the base unit side.
[0047]
In the second embodiment, the functional module position detection device according to the present invention is applied to an information processing device configured by mounting a plurality of functional modules 2 on the base unit 1. For example, the present invention may be applied to an information processing apparatus in which each functional module 2 is distributed and connected by a cable or the like. In this case, for example, as shown in FIG. 3, a clock signal P generated by the clock generation circuit 3a is obtained by connecting the clock generation circuit 3a to any one of the functional modules 2. CL Is supplied to the contact Ta of any one of the function modules 2 or a clock generation circuit 3a is provided in any one of the function modules 2 so that its output is supplied to the clock input terminal CLK of the counter 2a to generate a clock. Clock signal P from circuit 3a CL The contact Tb of the functional module 2 for outputting a frequency-divided signal and the contact Ta of the functional module 2 connected downstream of the functional module 2 are connected, and thereafter the contact of the upstream functional module 2 Tb and the contact Ta of the functional module 2 arranged downstream thereof are sequentially connected.
[0048]
As a result, a clock signal P having a predetermined period is obtained. CL Is divided by half each time it passes through each function module 2 and is sequentially supplied to each function module 2, so that the same configuration as in the second embodiment is obtained, and the counter of each function module 2 is obtained. The count value detected by 2a is the position where the functional module 2 is connected, that is, the clock signal P from the clock generation circuit 3a. CL Is a value specific to the connection position, such as whether it is connected downstream of the function module to which it is input or whether it is connected to the second downstream side. Can be detected.
[0049]
In the first and second embodiments, the case where the frequency of the divided signal is obtained by the counter 2a has been described. However, the present invention is not limited to this, and the frequency of the divided signal is detected. For example, it may be detected by an F / V conversion circuit or the like.
[0050]
Next, a third embodiment of the present invention will be described.
FIG. 4 shows an application of the position detection device for a functional module according to the present invention to an information processing device such as a programmable controller in which a plurality of functional modules are stored in a base unit. The same reference numerals are given to the same parts as those in the embodiment, and the detailed description thereof is omitted.
[0051]
Similar to the first embodiment, the base unit 1 has four slots M in which the functional modules 2 can be mounted. Each slot M has a slot number M consisting of a unique identification number. 1 , M 2 , M Three , M Four Is granted. Each slot M is provided with a connector having contacts Tc and Tp. And slot M 1 Contact point Tp 1 And slot M 2 Contact point Tc 2 Are connected in the same way, and the slot M 2 Contact point Tp 2 And slot M Three Contact point Tc Three And slot M Three Contact point Tp Three And slot M Four Contact point Tc Four And are connected.
[0052]
Further, the base unit 1 is provided with a common circuit (detection signal generating means) 3, and this common circuit 3 includes a crystal oscillator, for example, and has a clock signal P having a predetermined frequency. CL And a clock signal P from the clock generation circuit 3a. CL A control signal P consisting of a pulse signal of a predetermined pulse width based on CNT And a counter 3e for generating.
[0053]
On the other hand, each of the functional modules 2 includes a connector having contacts Ta and Tb, which are fitted to connectors having contacts Tc and Tp provided in the slots of the base unit 1 and are electrically connected to the contacts Tc and Tp, respectively. Yes. The functional module 2 includes a counter 2a composed of four-stage flip-flops, a reading circuit 2b that reads the count value of the counter 2a at a predetermined timing, a retrigger type monostable multivibrator circuit, and the like. The delay circuit 2e, the clock input terminal CLK of the counter 2a and the input terminal A of the delay circuit 2d have a clock signal P having a predetermined cycle common to each functional module. CL The clock generation circuit 2f configured to include a crystal oscillator or the like that outputs' and processing for realizing a predetermined function set in the function module 2 are executed, and the mounting position information S from the reading circuit 2b is also executed. And a module function execution unit including a position detection unit (position detection unit) 4a for detecting the mounting position of the functional module 2. The counter 2a and the clock generation circuit 2f correspond to pulse width detection means, and the delay circuit 2e corresponds to pulse width conversion means.
[0054]
The enable input terminal EN, the clear input terminal CLK of the counter 2a, and the input terminal B of the delay circuit 2d are respectively connected to the contact Ta, and when the functional module 2 is mounted in the slot M, the contact Tp of the slot M and Control signal P via contact Ta CNT Is output to each. Note that the control signal P is applied to the clear terminal CLR of the counter 2a. CNT Is inverted and input.
[0055]
The counter 2a receives the control signal P input to the enable input terminal EN. CNT Is at the “H” level, the clock signal P from the clock generation circuit 2 f that is input to the clock input terminal CLK. CL 'Is counted at the rising edge, and the control signal P CNT When the signal becomes “L” level, the count value is reset. In the reading circuit 2b, the count value of the counter 2a is set to, for example, the control signal P CNT Is read as “L” level, and this is notified to the position detector 4a as mounting position information S.
[0056]
The delay circuit 2e is connected to the control signal P input to the input terminal B. CNT While the signal is “H” level, the clock signal P CL The output is output as “H” level for a certain period of time with the rising edge of ′ as a trigger. And the clock signal P CL The frequency of ′ is the control signal P CNT Of the downstream slot, in this case slot M Four Control signal P supplied to CNT That is, P CNT (3) Of the control signal P output from the common circuit 3 CNT It is set to be shorter than the period.
[0057]
Therefore, since the delay circuit 2e is composed of a re-trigger type monostable multivibrator circuit or the like, the slot M 1 In the delay circuit 2e of the functional module 2 mounted on the control signal P, CNT While the signal is “H” level, the clock signal P CL The output signal is continuously output as “H” level with the rising edge of ′ as a trigger, and the control signal P CNT When the signal becomes “L”, the control signal P CNT Clock signal P input last while H is "H" CL From the rising edge, the output signal is output as the “H” level for the output holding time of the monostable multivibrator circuit, and the control signal P, which is the output signal, is output. CNT (1) The pulse width of the control signal P CNT Longer than the pulse width. And this control signal P CNT (1) Is slot M 2 In the delay circuit 2e of the functional module 2 mounted on the control signal P, the pulse width is controlled in the same manner. CNT (1) Control signal P longer than the pulse width of CNT (2) Is output. Thereafter, similarly, the control signal P having a longer pulse width is obtained by passing through each delay circuit 2e. CNT And is supplied to the downstream functional module 2.
[0058]
Therefore, when the functional module 2 is mounted in each slot M, the control signal P supplied to the enable terminal EN via the contact points Tc and Ta in each functional module 2 respectively. CNT Is at the “H” level, the clock signal P from the clock generation circuit 2 f that is input to the clock input terminal CLK. CL 'Will be counted.
[0059]
At this time, slot M 1 Includes a clock signal P having a predetermined frequency generated by the clock generation circuit 3a. CL Is a control signal P having a predetermined pulse width at the counter 3e. CNT Slot M 1 In the functional module 2 mounted on the control signal P, the control signal P having the predetermined pulse width L CNT While the signal is “H”, the clock signal P CL The number of pulses of 'will be counted. And slot M 1 In the functional module 2 mounted on the clock signal P, CL 'Is counted by the counter 2a, and the control signal P by the delay circuit 2e. CNT Pulse width L longer than the pulse width L 1 Control signal P having CNT (1) And outputs this to the contact Tb.
[0060]
This contact Tb is a slot M. 1 Contact point Tp 1 And the contact Tp 1 And slot M 2 Contact point Tc 2 And the control signal P CNT Control signal P having a longer pulse width than CNT (1) Is the contact Tb and the slot M 1 Contact point Tp 1 Through slot M 2 Contact TC 2 Will be supplied.
[0061]
And this slot M 2 But similarly, contact Tc 2 Control signal P supplied to CNT (1) Is slot M 2 The pulse width L is supplied to the functional module 2 mounted on the delay circuit 2e by the delay circuit 2e of the functional module 2. 1 Longer pulse width L 2 Control signal P having CNT (2) Into the slot M via the contact Tb. 2 Contact point Tp 2 This is the slot M Three Contact point Tc Three To be supplied. Similarly, slot M Three Control signal P by delay circuit 2e of functional module 2 mounted on CNT (2) Longer pulse width L Three Control signal P having CNT (3) Converted to slot M Three Contact point Tp Three Through slot M Four To be supplied.
[0062]
Therefore, the counter 2a of each functional module 2 has a control signal P having a different pulse width. CNT While the signal is “H”, the clock signal P CL 'Is counted, the count value of the counter 2a, that is, the control signal P having a different pulse width CNT Clock signal P input while is at "H" CL The number of pulses of ′ will be different for each functional module 2.
[0063]
Therefore, the slot number for identifying each slot M and the control signal P notified as, for example, the mounting position information S CNT Clock signal P per pulse width of CL 'Is set in correspondence information with the number of pulses, and the position detector 4a identifies the slot number corresponding to the mounting position information S notified from the reading circuit 2b of the functional module 2 from the correspondence information. It is possible to easily detect in which slot the module 2 is mounted.
[0064]
That is, for example, as shown in FIG. Three In the functional module 2n mounted in the slot M, the contact Ta is connected to the slot M. 1 Module mounted in slot M and slot M 2 The control signal P converted by each of the function modules mounted on the control module P so as to increase the pulse width by a predetermined length. CNT (2) For example, when the function module converts the pulse width to double the control signal P generated by the counter 3e. CNT If the pulse width of L is L, slot M Three Pulse width L of functional module 2 mounted on 2 Becomes 4 · L, and the clock signal P per pulse width L CL When the number of pulses of ′ is x, the number of pulses detected by this functional module 2 is 4 · X. Therefore, the slot where the number of pulses is 4 · X is the control signal P CNT Slot M in which the pulse width L is converted twice Three Therefore, in the position detector 4a, the slot M Three Can be detected.
[0065]
Therefore, the control signal P supplied to each functional module mounted in each slot CNT Since the pulse width of the function module 2 mounted in each slot is set to a unique pulse width, the pulse width is set to the clock signal P. CL By measuring with the number of pulses of ′, it is possible to easily recognize which slot is mounted.
[0066]
Also in the third embodiment, as in the first embodiment, in order to detect the mounting position of the functional module 2, it can be realized with a simple circuit, and the base unit 1 Control signal P on each of the side and function module 2 side CNT Therefore, the same effects as those of the first embodiment can be obtained.
[0067]
In the third embodiment, the slot M 1 In order from the control signal P CNT However, the present invention is not limited to this. For example, the input control signal P CNT The pulse width may be shortened, for example, by forming a signal having a short pulse width based on the delayed signal.
[0068]
In the third embodiment, the case where the delay circuit 2e is provided in the functional module 2 has been described. However, these may be provided on the base unit side.
[0069]
In the third embodiment, the case where the functional module position detection device according to the present invention is applied to an information processing device configured by mounting a plurality of functional modules 2 on the base unit 1 has been described. However, the present invention is not limited to this, and as in the second embodiment, each functional module 2 may be arranged in a distributed manner, and these may be applied to an information processing apparatus configured by being connected by a cable or the like.
[0070]
In the third embodiment, the counter 2a controls the control signal P. CNT The pulse width of the clock signal P CL The case of counting by the number of pulses of ′ has been described, but the present invention is not limited to this. CNT A timer or the like that is triggered by the rise and fall of the control signal P is provided. CNT Alternatively, the pulse width may be measured.
[0071]
In the third embodiment, the control signal P is generated using the clock generation circuit 3a and the counter 3e. CNT However, for example, only one pulse of a signal having a predetermined pulse width may be output.
[0072]
【The invention's effect】
As described above, according to the position detection device for a functional module according to claim 1 of the present invention, the position detection pulse signal having a different frequency is supplied to each position where the function module is to be disposed, Since the frequency of the position detection pulse signal supplied to the position where this functional module is arranged is detected, and the position where the functional module is arranged is detected from this detected frequency, the functional module is arranged with a simple circuit. In addition to being able to accurately detect the position that has been detected, the increase or decrease in the number of parts required for position detection can be suppressed in accordance with the increase or decrease in the number of functional modules compared to the prior art, thereby reducing the size and cost of the device. Can do.
[0073]
According to the function module position detection apparatus of the second aspect of the present invention, the frequency of the position detection pulse signal supplied to each function module is set in the order in which the position detection pulse signal is supplied. Since the frequency becomes unique, the position where the functional module is arranged with a simple circuit by associating the position where the functional module is arranged with the order in which the position detection pulse signals are supplied. Can be accurately detected, and the increase / decrease in the number of components required for position detection can be suppressed in accordance with the increase / decrease in the number of functional modules as compared with the prior art, thereby reducing the size and cost of the apparatus.
[0074]
Furthermore, according to the position detection device for a functional module according to claim 3 of the present invention, the pulse width of the control signal supplied to each functional module is set to the pulse width specific to each functional module in the order in which the control signal is supplied. Therefore, by associating the position where the functional module is arranged with the order in which the control signals are supplied, the position where the functional module is arranged can be accurately detected with a simple circuit. In addition, the increase or decrease in the number of components required for position detection can be suppressed in accordance with the increase or decrease in the number of functional modules as compared with the prior art, and the apparatus can be reduced in size and cost.
[Brief description of the drawings]
FIG. 1 is a schematic configuration diagram of an information processing apparatus according to a first embodiment of the present invention.
FIG. 2 is a schematic configuration diagram of an information processing apparatus according to a second embodiment of the present invention.
FIG. 3 is an example when applied to another information processing apparatus.
FIG. 4 is a schematic configuration diagram of an information processing apparatus according to a third embodiment of the present invention.
FIG. 5 is a schematic configuration diagram illustrating an example of a conventional information processing apparatus.
[Explanation of symbols]
1 Base unit
2 function modules
2a counter
2b Reading circuit
2c Time monitoring circuit
2d divider circuit
2e Delay circuit
3 Common circuit
3a Clock generation circuit
3b counter
3c gate circuit
3d output time control circuit
3e counter
4 Module function execution part
4a Position detector

Claims (3)

所定の処理機能を有する複数の機能モジュールから構成される情報処理装置において前記機能モジュールが配置された位置を検出する機能モジュールの位置検出装置であって、
前記機能モジュールが配置されるべき位置毎に異なる周波数の位置検出用パルス信号を供給する検出用信号発生手段と、前記各機能モジュールに設けられ且つ当該機能モジュールが配置された位置に供給される前記位置検出用パルス信号の周波数を検出する周波数検出手段と、当該周波数検出手段の検出周波数から前記機能モジュールが配置された位置を検出する位置検出手段と、を備えることを特徴とする機能モジュールの位置検出装置。
A function module position detecting device for detecting a position where the function module is arranged in an information processing apparatus including a plurality of function modules having a predetermined processing function,
Detection signal generation means for supplying a position detection pulse signal having a different frequency for each position where the functional module is to be disposed, and the function module provided in each functional module and supplied to the position where the functional module is disposed A position of the functional module, comprising: frequency detecting means for detecting the frequency of the position detection pulse signal; and position detecting means for detecting the position where the functional module is arranged from the detection frequency of the frequency detecting means. Detection device.
所定の処理機能を有する複数の機能モジュールから構成される情報処理装置において前記機能モジュールが配置された位置を検出する機能モジュールの位置検出装置であって、
前記各機能モジュールに設けられ且つ入力される位置検出用パルス信号の周波数を検出する周波数検出手段と、所定の周波数検出手段に所定周波数の位置検出用パルス信号を出力する検出用信号発生手段と、前記周波数検出手段に入力された位置検出用パルス信号の周波数を異なる周波数に変換して他の周波数検出手段に出力する周波数変換手段と、前記周波数検出手段の検出周波数から前記機能モジュールが配置された位置を検出する位置検出手段と、を備えることを特徴とする機能モジュールの位置検出装置。
A function module position detecting device for detecting a position where the function module is arranged in an information processing apparatus including a plurality of function modules having a predetermined processing function,
A frequency detection means for detecting the frequency of the position detection pulse signal provided and input to each functional module; a detection signal generation means for outputting a position detection pulse signal of a predetermined frequency to the predetermined frequency detection means; The frequency conversion means for converting the frequency of the position detection pulse signal input to the frequency detection means to a different frequency and outputting it to other frequency detection means, and the functional module is arranged from the detection frequency of the frequency detection means A position detecting unit for detecting a position; and a position detecting device for a functional module.
所定の処理機能を有する複数の機能モジュールから構成される情報処理装置において前記機能モジュールが配置された位置を検出する機能モジュールの位置検出装置であって、
前記各機能モジュールに設けられ且つ入力される制御信号のパルス幅を検出するパルス幅検出手段と、所定のパルス幅検出手段に所定パルス幅の制御信号を供給する検出用信号発生手段と、前記パルス幅検出手段に入力された制御信号のパルス幅を異なるパルス幅に変換して他のパルス幅検出手段に出力するパルス幅変換手段と、前記パルス幅検出手段の検出パルス幅から前記機能モジュールが配置された位置を検出する位置検出手段と、を備えることを特徴とする機能モジュールの位置検出装置。
A function module position detecting device for detecting a position where the function module is arranged in an information processing apparatus including a plurality of function modules having a predetermined processing function,
Pulse width detection means for detecting the pulse width of the control signal input and input to each functional module, detection signal generation means for supplying a control signal having a predetermined pulse width to the predetermined pulse width detection means, and the pulse The pulse width of the control signal input to the width detection means is converted to a different pulse width and output to other pulse width detection means, and the functional module is arranged from the detected pulse width of the pulse width detection means And a position detecting means for detecting the position of the function module.
JP18656097A 1997-07-11 1997-07-11 Function module position detector Expired - Fee Related JP3640506B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP18656097A JP3640506B2 (en) 1997-07-11 1997-07-11 Function module position detector

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP18656097A JP3640506B2 (en) 1997-07-11 1997-07-11 Function module position detector

Publications (2)

Publication Number Publication Date
JPH1131003A JPH1131003A (en) 1999-02-02
JP3640506B2 true JP3640506B2 (en) 2005-04-20

Family

ID=16190674

Family Applications (1)

Application Number Title Priority Date Filing Date
JP18656097A Expired - Fee Related JP3640506B2 (en) 1997-07-11 1997-07-11 Function module position detector

Country Status (1)

Country Link
JP (1) JP3640506B2 (en)

Also Published As

Publication number Publication date
JPH1131003A (en) 1999-02-02

Similar Documents

Publication Publication Date Title
US8943351B2 (en) USB based synchronization and timing system
US20040117685A1 (en) Deterministically handling asynchronous events in a time triggered system
JP4070725B2 (en) Electronic equipment with noise detection function
US7619405B2 (en) Process for determining a time interval between two impulses by converting a measured analog impulse into a digital impulse
JP3640506B2 (en) Function module position detector
JP2000123570A5 (en)
CN102955629B (en) Near to or in contact with formula sensor
US6092164A (en) Microcomputer having division of timing signals to initialize flash memory
JP2001141767A (en) Jitter measuring circuit and ic tester using it
KR100494114B1 (en) Timer circuit
CN116996071B (en) SARADC sampling clock generation device and method
JP2013063710A (en) Vehicle control system
JP3006076B2 (en) IC test equipment
RU2162592C2 (en) Device measuring physical quantities
JP2697687B2 (en) MODEM CONTROL SIGNAL SAMPLING METHOD AND COMMUNICATION SYSTEM USING THE SAME
JP2977584B2 (en) Specific frequency signal detection device
JP3379076B2 (en) Signal waveform observation device
JP2002090393A (en) Input circuit for measuring instrument
JPH01267470A (en) Width measuring circuit
SU1474709A1 (en) Device for registering equipment downtime
RU2241236C1 (en) Electromagnetic transducers parameter converter
JPH05264659A (en) Control circuit of delay time generation
JPH05108535A (en) Circuit unit type identification system
KR960010912B1 (en) Asic circuit for digital clock loss detection
JP2658126B2 (en) Input frequency generator

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20041215

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20050118

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20080128

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20090128

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20090128

Year of fee payment: 4

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

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

Free format text: PAYMENT UNTIL: 20090128

Year of fee payment: 4

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

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

Free format text: PAYMENT UNTIL: 20090128

Year of fee payment: 4

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

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100128

Year of fee payment: 5

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Year of fee payment: 5

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees