JP3762463B2 - Communication mode setting device - Google Patents
Communication mode setting device Download PDFInfo
- Publication number
- JP3762463B2 JP3762463B2 JP27315295A JP27315295A JP3762463B2 JP 3762463 B2 JP3762463 B2 JP 3762463B2 JP 27315295 A JP27315295 A JP 27315295A JP 27315295 A JP27315295 A JP 27315295A JP 3762463 B2 JP3762463 B2 JP 3762463B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- substrates
- input
- output terminal
- communication mode
- 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
Links
- 238000004891 communication Methods 0.000 title claims description 35
- 239000000758 substrate Substances 0.000 claims description 61
- 238000012423 maintenance Methods 0.000 description 19
- 235000014676 Phragmites communis Nutrition 0.000 description 9
- 238000000034 method Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 8
- 230000003287 optical effect Effects 0.000 description 7
- 238000012360 testing method Methods 0.000 description 4
- 238000012937 correction Methods 0.000 description 3
- 238000009413 insulation Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000010354 integration Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000012530 fluid Substances 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000011347 resin Substances 0.000 description 1
- 229920005989 resin Polymers 0.000 description 1
- 238000007789 sealing Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Measuring Volume Flow (AREA)
- Storage Device Security (AREA)
Description
【0001】
【発明の属する技術分野】
本発明はメモリ内のデータに基づいて演算を行い、外部からデータの読み出し・書き込み可能とする通信モード又は外部からデータの書き込み禁止とする通信モードの設定を可能とする通信モード設定装置に関する。
【0002】
【従来の技術】
例えば流量計の流量演算部のハウジング内には、流量パルスを積算して流量を算出するための流量演算回路が設けられた基板が取り付けられている。この流量演算回路では、流量に応じて検出された流量パルスを積算してメモリに記憶された補正係数や器差に基づいて流量を演算する。
【0003】
この流量演算部の必要とするデータは任意に読み出し・書き込みが可能なメモリに記憶されており、これらのデータのなかには補正係数値や器差データ等のように一般ユーザに書き換えられてはならないものがある。
そのため、従来は、演算回路のCPUに設定される外部端末のアプリケーションソフトウエアを社内用と一般ユーザ用の2種類を用意しており、出荷前のテストがメンテナンス時に実行される社内用のアプリケーションソフトウエアでは外部から全データの書き込みを許可し、一般ユーザ用のアプリケーションソフトウエアでは外部から一部データ(例えば、補正係数値、器差データ等)の書き込みを禁止していた。
【0004】
また、従来においては、前述のデータをハウジング内の基板上に設けられたディップスイッチ等を用いて通信モードを設定することが一般的であったため、ハウジングを封印することによってディップスイッチの操作を禁止してメモリに格納されたデータが変えられないように保護していた。
【0005】
【発明が解決しようとする課題】
しかしながら、従来は2種類の端末用アプリケーションソフトウエアを必要とするので、ソフトウエアの管理が煩雑になるという問題があった。
また、従来はメンテナンス時に作業者がディップスイッチを操作して通信モードを切り換える必要があり、その操作が面倒であるばかりかディップスイッチを操作しないと、誤って書き込み禁止対象データを書き込んでしまうおそれがあり出荷後のメンテナンスに対応できないという問題があった。
【0006】
そこで、本発明は上記問題を解決した通信モード設定装置を提供することを目的とする。
【0007】
【課題を解決するための手段】
上記課題を解決するため、本発明は以下のような特徴を有するものである。
上記請求項1の発明は、回路部品が配設された複数の基板と、
導電性を有し、互いに対向する状態に配設された前記複数の各基板を連結する導通スタッドと、
前記複数の基板間が前記導通スタッドにより接続されている場合には、外部からのデータの書き込みを禁止し、前記複数の基板間が前記導通スタッドにより接続されていない場合には、外部からデータの読み出し・書き込みを許可する通信モード切換手段と、
からなることを特徴とするものである。
【0008】
従って、上記請求項1によれば、複数の基板間が導通スタッドにより接続されている場合には、外部からのデータの書き込みを禁止し、複数の基板間が導通スタッドにより接続されていない場合には、外部からデータの読み出し・書き込みを許可するため、従来のように複数のアプリケーションソフトウエアを用意する必要がなく、面倒なソフトウエアの管理を不要にできる。また、メンテナンス時に基板上に設けられたディップスイッチを操作するといった面倒な作業を行う必要がなく、メンテナンス作業を簡略化して作業時間を短縮することができる。
【0009】
また、請求項2の発明は、回路部品が配設された複数の基板と、該複数の基板が収納されるハウジングの蓋の開又は閉を検出するセンサと、前記蓋が閉じていることを該センサが検出している場合には外部からのデータの書き込みを禁止し、前記蓋が開いていることを前記センサが検出している場合には外部からのデータの読み出し・書き込みを許可する通信モード切換手段と、からなることを特徴とするものである。
【0010】
従って、上記請求項2によれば、蓋が閉じていることをセンサが検出している場合には外部からのデータの書き込みを禁止し、蓋が開いていることをセンサが検出している場合には外部からのデータの読み出し・書き込みを許可するため、従来のように複数のアプリケーションソフトウエアを用意する必要がなく、面倒なソフトウエアの管理を不要にできる。また、メンテナンス時に基板上に設けられたディップスイッチを操作するといった面倒な作業を行う必要がなく、メンテナンス作業を簡略化して作業時間を短縮することができる。
【0011】
【発明の実施の形態】
以下、図面と共に本発明になる通信モード設定装置の一実施例について説明する。尚、図1は通信モード設定装置の第1実施例が適用された流量演算部の斜視図、図2は流量演算部の分解斜視図である。
【0012】
被測流体の流量を計測する流量計1(図1中、一点鎖線で示す)は、上部に流量パルスを積算して流量を演算する流量演算部2(図1中、一点鎖線で示す)を有する。流量演算部2は箱状に形成されたハウジング3の内部に複数(本実施例では、3枚とする)の基板4〜6が配設された構成となっている。各基板4〜6は上方からみると六角形に形成されており、左右の角部近傍には取付ネジ9が挿通される小孔4a〜6a,4b〜6bが設けられている。また、左側の小孔4a〜6aの周囲には、フレームグランド4c〜6cが環状に設けられている。
【0013】
ハウジング3は上部開口が蓋3aにより閉塞された密閉構造とされている。複数の基板4〜6は、夫々対向させた状態で上下方向に積み重ねられており、各基板4〜6間には導電性を有する金属により形成された円柱状の導通スタッド7(7A〜7C)及び絶縁樹脂材により形成された円柱状の絶縁スタッド8(8A〜8C)が取り付けられている。
【0014】
導通スタッド7(7A〜7C)及び絶縁スタッド8(8A〜8C)は内部にネジ9が挿通される挿通孔7a,8aを有する。また、導通スタッド7は、上下端部が各基板4〜6のフレームグランド4a〜6aに当接されて状態に組み合わせられ、各基板4〜6のフレームグランド4a〜6aと同一レベルとなる。そして、各基板4〜6は各基板4〜6間に配設された導通スタッド7(7A〜7C)及び絶縁スタッド8(8A〜8C)に挿通されたネジ9の締め付けによりハウジング3内の所定取付位置に固定される。
【0015】
ここで、各基板4〜6に配設された回路構成について説明する。図3は流量演算部2のブロック図である。
CPU(Central Processing Unit )11は、流量演算部2を制御するためのICであり、上段の基板4に配設されている。また、CPU11は他の基板5,6に配設された他のICと入出力端子12〜16及びバスライン17を介して接続されている。
【0016】
電源18は上段の基板4に配設されており、CPU11及び後述する表示ブロック20,メモリブロック28等の他のICに電源を供給している。
リセット回路19は上段の基板4に配設されており、CPU11及び周辺機器に対してリセット信号を出力し、流量演算部2を初期状態に設定する回路である。
【0017】
表示ブロック20は、表示ドライバ21と表示器22とから構成されている。また、表示ドライバ21は中段の基板5に配設されており、入出力端子12を介してCPU11と接続されている。そして、表示データはCPU11内で表示器22の各セグメントに対応したデータに展開し、1ビット毎に入出力端子12を介してシリアル通信によって転送される。
【0018】
出力ブロック23は下段の基板6に配設されており、アナログ出力回路24,通信回路25,パルス出力回路26から構成されている。また、アナログ出力回路24は積分回路27,入出力端子13から構成されており、CPU11で所望の出力値に対応した矩形波を入出力端子13から積分回路27に出力することによってアナログ信号が出力される。
【0019】
通信回路25はモデム28と入出力端子14から構成されており、通信データを入出力端子14から通信手順に則ってシリアル転送することによってモデム27に送られる。モデム27では通信データに対してFSK(Frequency Shift Keying)変調し、アナログ出力信号に重畳することによって通信データを送信する。
【0020】
パルス出力回路26は入出力端子15を1単位パルス毎に出力レベルをハイレベル又はローレベルに切り替えることによってパルスを入出力端子15から出力する。
メモリブロック29はEEPROM(Eelectically Erasable Programmable Read Only Memory )30,SRAM(Static Random Access Memory )31,カレンダ回路32から構成されている。EEPROM30は不揮発性であるが、連続書き込みに制限があるため通常はSRAM31内のデータを利用し、適宜EEPROM30へバックアップする。
【0021】
そして、SRAM31のデータが何らかの原因で破壊された場合には、EEPROM30のデータをSRAM31にコピーし、そのデータを用いて流量演算部2を動作させる。そのため、EEPROM30とSRAM31は基本的には同一のデータが格納されている。
【0022】
カレンダ回路32は日時を自動的にカウントし、任意に設定、読み出し可能なICである。
流量演算部2の必要とするデータはEEPROM30、SRAM31に夫々記憶されており、通信を用いることにより任意に読み出し・書き込みが可能である。これらのデータのなかには係数値や器差データを始めとして一般ユーザに書き換えられてはならないものがある。
【0023】
そのため、本実施例では、ハウジング3内の所定位置に基板2〜4が正常に取り付けられた状態で使用されている場合には正常状態とし、この正常状態のとき外部からデータの書き換えが要求されてもデータ全部、もしくはデータの一部(書き込み禁止対象データ)に対して書き換えを禁止する。
【0024】
これとは逆に、ハウジング3の蓋3aが開かれて基板4がハウジング3から取り出されていたり、スタッド7,8が外されて基板2〜4が分解された状態で使用されている場合には、社内テストや出荷後のメンテナンスと判断して全データの書き換えを許可する。
【0025】
このように外部との通信モードを切り替える方法として、本実施例では入出力端子16のレベルを検知して切り替える方法を用いており、入出力端子16がローレベルのとき通常状態の通信モードが設定され、入出力端子16がハイレベルのときにはメンテナンス状態の通信モードが設定されるようになっている。
【0026】
図4は上記入出力端子16の回路図である。
上記各基板4〜6間に導通スタッド7(7A〜7C)を取り付けた基板取付構造においては、入出力端子16が導通スタッド7(7A〜7C)を介して各基板4〜6のフレームグランド4a〜6aに接続されている。
【0027】
そして、基板4にCPU11が設けられている場合、入出力端子16は導通スタッド7Aに接続されている。また、導通スタッド7Aがフレームグランド4aに接続されて場合には入出力端子16がフレームグランド4aと同一レベルとなり、導通スタッド7Aがフレームグランド4aに接続されていない場合には入出力端子16がプルアップ抵抗33によって電源18にプルアップする。
【0028】
ここで、通常使用時には、入出力端子16は導通スタッド7(7A〜7C)を介して各基板4〜6のフレームグランド4a〜6aに接続されているのでフレームグランドレベル(ローレベル)である。そして、各基板4〜6間の導通スタッド7の何れか一つを外した場合には、入出力端子16は電源レベル(ハイレベル)になる。
【0029】
そこで、CPU11は、入出力端子16がローレベルである場合にはEEPROM30、SRAM31に記憶されているデータの書き換えを禁止する通信モードを設定し、ハイレベルである場合にはEEPROM30、SRAM31に記憶されているデータの書き換えを許可する通信モードを設定する。また、本実施例では、EEPROM30、SRAM31に記憶されている全データを書き換え可能の状態で使用する社内検査時やメンテナンス時には、導通スタッド7Aを基板4から外すか、あるいは導通スタッド7Aを絶縁スタッド8Aと交換することによってメンテナンスの通信モードを設定することができる。
【0030】
図5はCPU11が実行するデータ書き換えモードの処理のフローチャートである。
CPU11は、ステップS1(以下「ステップ」を省略する)において、今回の通信が読み出し要求であるか、書き込み要求であるのかを判定する。今回の通信が書き込み要求である場合には、S2に進み、要求されたデータを外部端末へ送信する。
【0031】
しかしながら、ステップS1で読み出し要求があった場合には、S3に進み、書き込み要求のあったデータが書き込み禁止対象となっているか否かを判定する。書き込み禁止対象外のデータである場合には、S4に進み、受信されたデータを所定のメモリエリア(EEPROM30又はSRAM31)に格納する。
【0032】
また、上記S3において、書き込み要求のあったデータが書き込み禁止対象となっている場合には、S5に進み、入出力端子16の状態検査を行う。すなわち、S5では入出力端子16がハイレベルか、あるいはローレベルかを判定する。
このS5において、導通スタッド7Aが基板4と基板5との間に介在しているときは入出力端子16がローレベルであり、この場合S6に進み、書き込み禁止であると判断してその旨を外部端末に返信する。しかし、導通スタッド7Aが基板4と基板5との間に介在していないときは入出力端子16がハイレベルであり、この場合S7に進み、書き込み要求のあったデータをメモリエリア(EEPROM30又はSRAM31)に格納する。
【0033】
このように、CPU11は、導通スタッド7の有無により切り換わる入出力端子16のレベルを判定することにより、書き込み禁止対象のデータの書き込み要求があっても入出力端子16がハイレベルであるときのみメモリエリアへの書き込みを可能とするが、入出力端子16がローレベルであるときはメモリエリアへの書き込みを禁止する。すなわち、入出力端子16がハイレベルである場合には社内テストや出荷後のメンテナンスと判断して全データの書き換えを許可し、入出力端子16がローレベルである場合には正常状態であると判断して全データあるいは一部データ(書き込み禁止対象データ)の書き換えを禁止する。
【0034】
このように、導通スタッド7の有無によりデータ書き込みの通信モードを自動的に切り換えることができるので、例えば従来のように2種類の端末用アプリケーションソフトウエアを用意する必要がなく、ソフトウエアの管理が煩雑になるといった問題も解消することができる。また、メンテナンス時に基板上に設けられたディップスイッチを操作するといった面倒な作業を行う必要がなく、メンテナンス作業を簡略化して作業時間を短縮することができ、出荷後のメンテナンス作業が容易に行える。
【0035】
図6は第2実施例のブロック図である。
ハウジング3の内側には、磁石34が設けられている。そして、磁石34に近接するように取り付けられた基板4には、リードスイッチ35が配設されている。リードスイッチ35は一端がCPU11の入出力端子16に接続され、他端が導通スタッド7Aに接続されている。すなわち、本実施例の構成では、リードスイッチ35が磁石34に近接することにより基板4の取付位置を検出することができる。
【0036】
リードスイッチ35は基板4がハウジング3内の所定の取付位置に取り付けられている場合には、磁石34に近接して閉成しており、基板4が所定取付位置から外されると開成する。そのため、基板4が所定取付位置にあるときは、リードスイッチ35が閉成して入出力端子16はローレベルとなる。また、基板4が所定取付位置にないときは、リードスイッチ35が開成して入出力端子16はハイレベルとなる。
【0037】
従って、CPU11は、リードスイッチ35が閉成した場合には入出力端子16がローレベルとなりEEPROM30、SRAM31に記憶されているデータの書き換えを禁止し、リードスイッチ35が開成した場合には入出力端子16がハイレベルとなりEEPROM30、SRAM31に記憶されているデータの書き換えを許可する。
【0038】
図7は第3実施例のブロック図である。
流量演算部2のハウジング3内に光センサ36を設けてなる。この光センサ36は、ハウジング3の蓋3aの開又は閉を検出するためのセンサである。そして、基板4には光センサ36からの信号を入出力端子16にTTL信号として入力するアンプ回路37が設けられている。
【0039】
ハウジング3の蓋3aが開とされたときは、光センサ36が外部からの光を検知して信号を出力するため、入出力端子16はハイレベルとなる。また、ハウジング3の蓋3aが閉とされたときは、光センサ36が外部からの光を検知できないので、入出力端子16はローレベルとなる。
【0040】
従って、CPU11は、光センサ35が光を検知できない場合には入出力端子16がローレベルとなり、ハウジング3の蓋3aが閉ざされているものと判断してEEPROM30、SRAM31に記憶されているデータの書き換えを禁止する。しかしながら、光センサ36が光を検知したときは光センサ36からの検出信号により入出力端子16がハイレベルとなり、ハウジング3の蓋3aが開かれているものと判断してEEPROM30、SRAM31に記憶されているデータの書き換えを許可する。
【0041】
尚、上記実施例では、ハウジング3内に3枚の基板4〜6を収納する構成を一例として挙げて説明したが、これに限らず、2枚以上の基板が設けられた構成であれば良い。
また、上記実施例では、各基板4〜6間に導通スタッド7及び絶縁スタッド8を1本ずつ設けたが、夫々2本以上配設する構成としても良い。
【0042】
また、上記各実施例を複数組み合わせた構成、例えば上記第1実施例と第3実施例の組み合わせ、あるいは上記第2実施例と第3実施例の組み合わせとしても良いのは勿論である。
また、上記各実施例を複数組み合わせた構成とする場合、上記各実施例毎にメモリに書き込み可能とするデータ種類を指定させることもできる。
【0043】
また、上記実施例では、流量計の通信モード設定装置を一例として説明したが、これに限らず、流量計以外の他の機器にも適用することができるのは勿論である。
【0044】
【発明の効果】
上述の如く、上記請求項1によれば、複数の基板間が導通スタッドにより接続されている場合には、外部からのデータの書き込みを禁止し、複数の基板間が導通スタッドにより接続されていない場合には、外部からデータの読み出し・書き込みを許可するため、従来のように複数のアプリケーションソフトウエアを用意する必要がなく、面倒なソフトウエアの管理を不要にできる。また、メンテナンス時に基板上に設けられたディップスイッチを操作するといった面倒な作業を行う必要がなく、メンテナンス作業を簡略化して作業時間を短縮することができる。
【0045】
また、請求項2によれば、蓋が閉じていることをセンサが検出している場合には外部からのデータの書き込みを禁止し、蓋が開いていることをセンサが検出している場合には外部からのデータの読み出し・書き込みを許可するため、従来のように複数のアプリケーションソフトウエアを用意する必要がなく、面倒なソフトウエアの管理を不要にできる。また、メンテナンス時に基板上に設けられたディップスイッチを操作するといった面倒な作業を行う必要がなく、メンテナンス作業を簡略化して作業時間を短縮することができる。
【図面の簡単な説明】
【図1】本発明になる通信モード設定装置の第1実施例が適用された流量演算部の斜視図である。
【図2】流量演算部の分解斜視図である。
【図3】流量演算部のブロック図である。
【図4】CPUの入出力端子の回路図である。
【図5】CPUが実行するデータ書き換えモードの処理のフローチャートである。
【図6】第2実施例のブロック図である。
【図7】第3実施例のブロック図である。
【符号の説明】
1 流量計
2 流量演算部
3 ハウジング
4〜6 基板
4a〜6a フレームグランド
7 導通スタッド
8 絶縁スタッド
11 CPU
12〜16 入出力端子
17 バスライン
23 出力ブロック
24 アナログ出力回路
25 通信回路
26 パルス出力回路
29 メモリブロック
30 EEPROM
31 SRAM
34 磁石
35 リードスイッチ
36 光センサ
37 アンプ回路[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a communication mode setting device that performs a calculation based on data in a memory and enables setting of a communication mode in which data can be read / written from outside or a communication mode in which data writing is prohibited from outside.
[0002]
[Prior art]
For example, in a housing of a flow rate calculation unit of a flow meter, a substrate provided with a flow rate calculation circuit for calculating a flow rate by integrating flow rate pulses is attached. In this flow rate calculation circuit, flow rate pulses detected according to the flow rate are integrated to calculate the flow rate based on the correction coefficient and instrumental difference stored in the memory.
[0003]
The data required by this flow rate calculation unit is stored in a memory that can be read and written arbitrarily, and some of these data, such as correction coefficient values and instrumental error data, must not be rewritten by general users There is.
For this reason, two types of external terminal application software set for the CPU of the arithmetic circuit have been prepared for in-house use and general user use, and in-house application software is used for pre-shipment testing during maintenance. In the software, writing of all data is permitted from the outside, and in the application software for general users, writing of some data (for example, correction coefficient values, instrumental difference data, etc.) is prohibited from the outside.
[0004]
Also, in the past, it was common to set the communication mode using the dip switch etc. provided on the board in the housing for the above data, so the operation of the dip switch is prohibited by sealing the housing Thus, the data stored in the memory was protected from being changed.
[0005]
[Problems to be solved by the invention]
However, conventionally, since two types of application software for terminals are required, there is a problem that software management becomes complicated.
Conventionally, it is necessary for an operator to switch the communication mode by operating a dip switch during maintenance, and not only is the operation cumbersome, but if the dip switch is not operated, there is a risk that the write-protected data will be written by mistake. There was a problem that it was not possible to handle maintenance after shipment.
[0006]
Therefore, an object of the present invention is to provide a communication mode setting device that solves the above-described problems.
[0007]
[Means for Solving the Problems]
In order to solve the above problems, the present invention has the following features.
The invention of
A conductive stud for connecting each of the plurality of substrates having electrical conductivity and arranged to face each other;
When the plurality of substrates are connected by the conductive stud, writing of data from the outside is prohibited, and when the plurality of substrates are not connected by the conductive stud, data from the outside is prohibited . Communication mode switching means for permitting reading and writing;
It is characterized by comprising.
[0008]
Therefore, according to the first aspect, when a plurality of substrates are connected by conductive studs, data writing from the outside is prohibited, and when a plurality of substrates are not connected by conductive studs. Since data reading / writing is permitted from the outside, it is not necessary to prepare a plurality of application software as in the prior art, and troublesome software management can be eliminated. Further, it is not necessary to perform troublesome work such as operating a dip switch provided on the substrate during maintenance, and the maintenance work can be simplified and the working time can be shortened.
[0009]
According to a second aspect of the present invention, there is provided a plurality of substrates on which circuit components are disposed, a sensor for detecting opening or closing of a lid of a housing in which the plurality of substrates are accommodated, and the lid being closed. Communication that prohibits external data writing when the sensor detects, and permits external data reading and writing when the sensor detects that the lid is open Mode switching means.
[0010]
Therefore, according to the second aspect, when the sensor detects that the lid is closed, data writing from the outside is prohibited, and when the sensor detects that the lid is open. Since external data read / write is permitted , it is not necessary to prepare a plurality of application software as in the prior art, and troublesome software management can be eliminated. Further, it is not necessary to perform troublesome work such as operating a dip switch provided on the substrate during maintenance, and the maintenance work can be simplified and the working time can be shortened.
[0011]
DETAILED DESCRIPTION OF THE INVENTION
An embodiment of a communication mode setting device according to the present invention will be described below with reference to the drawings. 1 is a perspective view of a flow rate calculation unit to which the first embodiment of the communication mode setting device is applied, and FIG. 2 is an exploded perspective view of the flow rate calculation unit.
[0012]
A flow meter 1 (indicated by a one-dot chain line in FIG. 1) for measuring a flow rate of a fluid to be measured has a flow rate calculation unit 2 (indicated by a one-dot chain line in FIG. 1) for calculating a flow rate by integrating a flow rate pulse on the upper part. Have. The flow
[0013]
The
[0014]
The conductive stud 7 (7A to 7C) and the insulating stud 8 (8A to 8C) have
[0015]
Here, the circuit configuration disposed on each of the
A CPU (Central Processing Unit) 11 is an IC for controlling the flow
[0016]
The power source 18 is disposed on the
The reset circuit 19 is disposed on the
[0017]
The
[0018]
The output block 23 is disposed on the lower substrate 6 and includes an analog output circuit 24, a
[0019]
The
[0020]
The
The
[0021]
When the data in the
[0022]
The calendar circuit 32 is an IC that automatically counts the date and time, and can arbitrarily set and read it.
Data required by the flow
[0023]
For this reason, in this embodiment, when the
[0024]
On the contrary, when the lid 3a of the
[0025]
As described above, as a method of switching the communication mode with the outside, in this embodiment, a method of detecting and switching the level of the input /
[0026]
FIG. 4 is a circuit diagram of the input /
In the substrate mounting structure in which the conductive studs 7 (7A to 7C) are mounted between the
[0027]
When the
[0028]
Here, during normal use, the input /
[0029]
Therefore, the
[0030]
FIG. 5 is a flowchart of data rewrite mode processing executed by the
In step S1 (hereinafter, “step” is omitted), the
[0031]
However, if there is a read request in step S1, the process proceeds to S3, where it is determined whether or not the data for which the write request has been made is a write prohibition target. If the data is not to be written prohibited, the process proceeds to S4, and the received data is stored in a predetermined memory area (
[0032]
In S3, if the data requested to be written is a write-prohibited target, the process proceeds to S5 and the state of the input /
In S5, when the
[0033]
As described above, the
[0034]
As described above, since the communication mode for data writing can be automatically switched depending on the presence / absence of the conduction stud 7, for example, it is not necessary to prepare two types of terminal application software as in the prior art, and software management is possible. Problems such as complications can be solved. Further, it is not necessary to perform a troublesome operation such as operating a dip switch provided on the substrate during maintenance, the maintenance work can be simplified and the work time can be shortened, and the maintenance work after shipment can be performed easily.
[0035]
FIG. 6 is a block diagram of the second embodiment.
A
[0036]
The reed switch 35 is closed close to the
[0037]
Therefore, when the reed switch 35 is closed, the
[0038]
FIG. 7 is a block diagram of the third embodiment.
An
[0039]
When the lid 3a of the
[0040]
Accordingly, when the optical sensor 35 cannot detect light, the
[0041]
In the above-described embodiment, the configuration in which the three
Moreover, in the said Example, although the one conduction | electrical_connection stud 7 and the insulation stud 8 were provided between each board | substrates 4-6, it is good also as a structure arrange | positioned 2 or more each.
[0042]
Of course, a configuration in which a plurality of the above embodiments are combined, for example, a combination of the first embodiment and the third embodiment, or a combination of the second embodiment and the third embodiment may be used.
Further, when a plurality of the above embodiments are combined, a data type that can be written to the memory can be designated for each of the above embodiments.
[0043]
Moreover, in the said Example, although the communication mode setting apparatus of the flowmeter was demonstrated as an example, it is needless to say that it can apply not only to this but other apparatuses other than a flowmeter.
[0044]
【The invention's effect】
As described above, according to the first aspect, when a plurality of substrates are connected by conductive studs, data writing from the outside is prohibited, and a plurality of substrates are not connected by conductive studs. In this case, since reading / writing of data is permitted from the outside, it is not necessary to prepare a plurality of application software as in the prior art, and troublesome software management can be eliminated. Further, it is not necessary to perform troublesome work such as operating a dip switch provided on the substrate during maintenance, and the maintenance work can be simplified and the working time can be shortened.
[0045]
According to
[Brief description of the drawings]
FIG. 1 is a perspective view of a flow rate calculation unit to which a first embodiment of a communication mode setting device according to the present invention is applied.
FIG. 2 is an exploded perspective view of a flow rate calculation unit.
FIG. 3 is a block diagram of a flow rate calculation unit.
FIG. 4 is a circuit diagram of input / output terminals of a CPU.
FIG. 5 is a flowchart of data rewrite mode processing executed by a CPU.
FIG. 6 is a block diagram of a second embodiment.
FIG. 7 is a block diagram of a third embodiment.
[Explanation of symbols]
DESCRIPTION OF
12 to 16 Input /
31 SRAM
34 Magnet 35
Claims (2)
導電性を有し、互いに対向する状態に配設された前記複数の各基板を連結する導通スタッドと、
前記複数の基板間が前記導通スタッドにより接続されている場合には、外部からのデータの書き込みを禁止し、前記複数の基板間が前記導通スタッドにより接続されていない場合には、外部からデータの読み出し・書き込みを許可する通信モード切換手段と、
からなることを特徴とする通信モード設定装置。A plurality of substrates on which circuit components are disposed; and
Conductive studs that connect the plurality of substrates that are electrically conductive and disposed in opposition to each other;
When the plurality of substrates are connected by the conductive stud, writing of data from the outside is prohibited, and when the plurality of substrates are not connected by the conductive stud, data from the outside is prohibited . Communication mode switching means for permitting reading and writing;
A communication mode setting device comprising:
該複数の基板が収納されるハウジングの蓋の開又は閉を検出するセンサと、
前記蓋が閉じていることを該センサが検出している場合には外部からのデータの書き込みを禁止し、前記蓋が開いていることを前記センサが検出している場合には外部からのデータの読み出し・書き込みを許可する通信モード切換手段と、
からなることを特徴とする通信モード設定装置。A plurality of substrates on which circuit components are disposed; and
A sensor for detecting opening or closing of a lid of a housing in which the plurality of substrates are stored;
When the sensor detects that the lid is closed, writing of data from the outside is prohibited, and when the sensor detects that the lid is open, data from the outside is prohibited. Communication mode switching means for permitting reading and writing of
A communication mode setting device comprising:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP27315295A JP3762463B2 (en) | 1995-10-20 | 1995-10-20 | Communication mode setting device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP27315295A JP3762463B2 (en) | 1995-10-20 | 1995-10-20 | Communication mode setting device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH09114739A JPH09114739A (en) | 1997-05-02 |
| JP3762463B2 true JP3762463B2 (en) | 2006-04-05 |
Family
ID=17523843
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP27315295A Expired - Fee Related JP3762463B2 (en) | 1995-10-20 | 1995-10-20 | Communication mode setting device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3762463B2 (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4660831B2 (en) * | 2000-12-25 | 2011-03-30 | 東京瓦斯株式会社 | Flow meter and electronic sealing method thereof |
| JP2009162674A (en) * | 2008-01-09 | 2009-07-23 | Ricoh Elemex Corp | Flowmeter |
| JP5097663B2 (en) * | 2008-09-22 | 2012-12-12 | 株式会社オーバル | Flow meter converter |
| DE102016104013B3 (en) * | 2016-03-04 | 2017-04-20 | Krohne Messtechnik Gmbh | Flowmeter, especially for custody transfer |
-
1995
- 1995-10-20 JP JP27315295A patent/JP3762463B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH09114739A (en) | 1997-05-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CA1288492C (en) | Method of controlling the operation of security modules | |
| US20020165677A1 (en) | Apparatus and method for seamlessly upgrading the firmware of an intelligent electronic device | |
| US20050071106A1 (en) | Expandable intelligent electronic device | |
| TWI417528B (en) | Method and apparatus for storing vacuum gauge calibration parameters and measurement data on a vacuum gauge structure | |
| BRPI1005607B1 (en) | electronic device and method to control electronic device | |
| JP3762463B2 (en) | Communication mode setting device | |
| TW200423446A (en) | Tamper-resistant packaging and approach | |
| US20040071182A1 (en) | Thermometry probe calibration method | |
| JP4955704B2 (en) | Detachable local operator interface | |
| US5264833A (en) | Automatic leak detector | |
| JPH0654329B2 (en) | Charge device | |
| CN108267656A (en) | A kind of antistatic on-site testing device and system | |
| BR112021010658A2 (en) | logic circuits | |
| KR100225192B1 (en) | Electronic device | |
| JP4660831B2 (en) | Flow meter and electronic sealing method thereof | |
| JP4134530B2 (en) | Equipment for which parameters are set | |
| JP3704973B2 (en) | Electronic control unit | |
| JPH04256145A (en) | Integrated circuit device | |
| KR20070060373A (en) | Electronics | |
| KR0166476B1 (en) | Ipirom communication error identification method | |
| JPH11120435A (en) | Gas supply controller | |
| JPH0334115B2 (en) | ||
| JPS59139190A (en) | Electronic instrument | |
| JPH05233846A (en) | Microprocessor | |
| JP3922731B2 (en) | One-chip microcomputer for game machine control |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20051003 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20051011 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20051202 |
|
| 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: 20060110 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20060113 |
|
| 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: 20090120 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100120 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20110120 Year of fee payment: 5 |
|
| LAPS | Cancellation because of no payment of annual fees |