JP3818912B2 - Gas meter and production setter - Google Patents

Gas meter and production setter Download PDF

Info

Publication number
JP3818912B2
JP3818912B2 JP2001386067A JP2001386067A JP3818912B2 JP 3818912 B2 JP3818912 B2 JP 3818912B2 JP 2001386067 A JP2001386067 A JP 2001386067A JP 2001386067 A JP2001386067 A JP 2001386067A JP 3818912 B2 JP3818912 B2 JP 3818912B2
Authority
JP
Japan
Prior art keywords
data
display
gas meter
communication
success
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 - Lifetime
Application number
JP2001386067A
Other languages
Japanese (ja)
Other versions
JP2003185487A (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
Tokyo Gas Co Ltd
Original Assignee
Tokyo Gas Co Ltd
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 Tokyo Gas Co Ltd, Fuji Electric Holdings Ltd filed Critical Tokyo Gas Co Ltd
Priority to JP2001386067A priority Critical patent/JP3818912B2/en
Publication of JP2003185487A publication Critical patent/JP2003185487A/en
Application granted granted Critical
Publication of JP3818912B2 publication Critical patent/JP3818912B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、通信の成否を表示するガスメータ、および、このガスメータに対して機能設定を行う生産用設定器に関する。
【0002】
【従来の技術】
従来技術のガスメータについて図を参照しつつ説明する。図6は従来技術のガスメータ・設定器を含むシステム図である。
ガスメータ設定システムは、ガスメータ50、設定器60を備えているシステムである。
【0003】
ガスメータ50が製造ライン上を流れて製造途中にあるならば、設定器60は製造ラインに設置された生産用設定器であり、また、ガスメータ50が既に家宅等の建物に設置されているならば、設定器60は、検査員が携帯できるような小型の設定器である。以下、両者ともに念頭において説明する。
【0004】
ガスメータ50は、その内部にガスメータ用制御装置51が組み込まれており、このガスメータ用制御装置51は、発光素子52、磁気検出素子53、マイクロプロセッサ54、流量センサ55、表示器56を備えている。
設定器60は、入力操作部61、マイクロプロセッサ62、電磁石63、受光素子64、表示器65を備えている。
【0005】
ガスメータ50では、流量センサ55がガス通過量を検出して流量データがマイクロプロセッサ54へ出力される。マイクロプロセッサ54は、この流量データに基づいてガス使用量を演算して表示データを生成し、この表示データを表示器56へ出力する。この表示器56は、表示データに基づいてガス使用量、および、ガス使用量に関連する各種情報の表示を行うこととなる。
【0006】
設定器60とガスメータ用制御装置51との間は、配線・結線等を行わずに非接触で通信する。
検査員は、設定器60の入力操作部61を操作して、ガスメータ用制御装置51に対して行う機能設定に係るデータ(以下、機能設定データという。)を入力する。この機能設定データは、マイクロプロセッサ62に入力されて登録・蓄積される。最終的にガスメータ50に送信する全ての機能設定データの入力が終了すると、マイクロプロセッサ62は、機能設定データとこの機能設定データの登録を指令する指令データを含む通信データを生成する。さらに、検査員が入力操作部61を操作すると、電磁石63が駆動を開始する。
【0007】
電磁石63の駆動・非駆動に対応する磁界の有無により、ガスメータ用制御装置51の磁気検出素子53をオン・オフして、磁気検出素子53からオン・オフ信号である通信データを出力させる。ガスメータ用制御装置51のマイクロプロセッサ54は、このオン・オフ信号である通信データを受信する。
【0008】
受信後、ガスメータ用制御装置51のマイクロプロセッサ54は、送信された通信データと同一内容の返答データを発光素子52の明滅により出力する。この明滅による返答データは、設定器60の受光素子64により受光され、マイクロプロセッサ62により返答データが受信される。マイクロプロセッサ62は、送信した通信データと受信した返答データとを比較検証し、一致しているならば表示器65に信号伝達が成功した旨の表示を表示器65に行なわせ、また、相違があるならば、データの欠落等が発生したものとして、その旨の表示を表示器65に行なわせ、さらには、再度、通信データを送信する。
従来技術のガスメータ・設定器によるシステムはこのようなものであった。
【0009】
【発明が解決しようとする課題】
前述した従来技術では、設定器60における電磁石63と受光素子64との間の距離、および、ガスメータ用制御装置51における発光素子52と磁気検出素子53との間の距離、は略同一でないと双方向通信が困難となり(以下このような距離を二点間距離と略記する)、このような二点間距離の制約を順守しつつガスメータ50および設定器60を設計しなければならないという問題があった。
【0010】
また、上記の二点間距離の制約が守られないと、二点間距離がそれぞれ異なるガスメータが多数存在するため、それぞれ異なる二点間距離に対応した複数種類の設定器を用意する必要が生じ、利用者にとって選択が制約されるなど好ましい状況ではなかった。
【0011】
さらにまた、設定器60の電磁石63とガスメータ用制御装置51の磁気検出素子53とを対向させ、かつ、ガスメータ用制御装置51の発光素子52と設定器60の受光素子64とが対向していないと通信できないというものであり、作業時にはこのような対向させた状態を維持することは困難であり、作業性が良好ではなかった。
【0012】
さらにまた、機能設定の成否の確認は設定器60側の表示器65に表示されるが、ガスメータ設置個所におけるメンテナンス時でも視覚的に確実に判別できるようにするため表示器が大型化し、その結果、設定器60の外形形状も大型になるという欠点もあった。
【0013】
さらにまた、設定器60はガスメータ50の生産時でも使用されるが、従来技術でも説明したように、設定器60は送信した通信データと、受信した返答データを検証して、信号伝達の成否を判定する必要があることから、設定器60側で通信データおよび返答データを管理・比較する機能を有する必要があり、設定器60の簡素化は望めなかった。
【0014】
本発明は上記問題点を解決するためになされたものであり、その目的は、設計時・作業時に伴う制約をなくし、自由度が高く使い勝手を向上させたガスメータおよび設定器(特に生産に好適な生産用設定器)を提供することにある。
【0015】
【課題を解決するための手段】
上記課題を解決するため、請求項1に係る発明のガスメータは、
ガス通過量を検出する流量センサと、
流量センサからの流量データを用いて演算したガス使用量の表示データを生成するマイクロプロセッサと、
マイクロプロセッサから出力される表示データに基づいてガス使用量に係る表示を行う表示器と、
磁界の有無によりオン・オフされ、マイクロプロセッサへ通信データを出力するリードスイッチと、
を備えるガスメータであって、
前記マイクロプロセッサは、
リードスイッチから出力された通信データに基づいて通信の成否について検証し、
通信の成功または失敗を示す標識を表示させる表示データを表示器へ出力し、
表示器での標識の表示により通信データの通信の成否を確認できるようにしたことを特徴とする。
【0016】
また、請求項2に係る発明のガスメータは、
請求項1に記載のガスメータにおいて、
前記マイクロプロセッサは、通信の成否を前記表示器に表示させる場合、
表示器におけるガス使用量に係る表示を一時停止させ、
通信の成功または失敗を認識させる所定の標識を表示器に表示させ、
所定期間経過後に表示器におけるガス使用量に係る表示を再開する、
ことを特徴とする。
【0017】
また、請求項3に係る発明のガスメータは、
請求項2に記載のガスメータにおいて、
通信データは、ガスメータに各種設定を行う機能設定データ、および、この機能設定データの登録を指令する指令データを含み、
通信の成功または失敗を認識させる所定の標識を表示器に表示させる場合、登録された機能設定データに係る表示を併せて行うことを特徴とする。
【0018】
また、請求項4に係る発明のガスメータは、
請求項項2または請求項3に記載のガスメータにおいて、
通信データは、ガスメータ自身が登録する内部データを表示させるための指令データを含み、
通信の成功または失敗を認識させる所定の標識を表示器に行なわせる場合に、登録する内部データに係る表示を併せて行うことを特徴とする。
【0019】
また、請求項5に係る発明の生産用設定器は、
請求項1〜請求項4の何れか1項に記載されたガスメータへ通信データを磁界の変調により送信する設定器であって、
ガスメータの表示器における受信の成否を表す標識を検出して検出データを出力する光センサと、
光センサからの検出データに基づいて、受信の成否を検証するFA用プログラマブルコントローラと、
を備えることを特徴とする。
【0020】
【発明の実施の形態】
以下、本発明の請求項1〜請求項4に係る実施形態であるガスメータ、および、このようなガスメータに設定を行う設定器について図面を参照しつつ説明する。図1は本発明の実施形態のガスメータ・設定器を含むシステム図、図2は表示器の表示画面を説明する説明図である。
本システムは、ガスメータ10、設定器20を備える。
【0021】
ガスメータ10は、その内部にガスメータ用制御装置11が組み込まれており、このガスメータ用制御装置11は、表示器12、リードスイッチ13、マイクロプロセッサ14、流量センサ15を備えている。
【0022】
表示器12は、図2に示すように、ガス使用量を8桁の最小桁リットル単位で常時表示する。また、一辺が5mmの正方形であるドット(以下5mm角ドットという)が3個所で点灯するようになされており、図2で示す5mm角ドット12aでは10リットル増加毎に、5mm角ドット12bでは1リットル増加毎に、また、5mm角ドット12cでは0.1リットル増加毎に、例えば100ms間点灯するようになされている。メータ検定時には、これら5mm角ドット12a,12b,12cを光センサ等で検出し、ガスメータ10の通過量とガスメータ10の計量値を比較・検証している。このような表示器12は、例えば、白黒の液晶表示装置などが好適である。
【0023】
リードスイッチ13は、磁界の有無により、オン・オフされて、通信データを出力する。
マイクロプロセッサ14は、表示器12、リードスイッチ13、流量センサ15が接続されており、後に詳述するが、各種データとやりとりをするようになされている。
流量センサ15は、ガス通過量を検出する機能を有しており、流量データをマイクロプロセッサ14へ出力するようになされている。
【0024】
ガスメータ10では、流量センサ15がガス通過量を検出して流量データがマイクロプロセッサ14へ出力される。マイクロプロセッサ14は、この流量データに基づいてガス使用流を演算して表示データを生成し、この表示データを表示器12へ出力する。この表示器12は、表示データに基づいてガス使用量、および、ガス使用量に関連する各種情報の表示を行うこととなる。
【0025】
一方、設定器20は、入力操作部21、マイクロプロセッサ22、電磁石23を備えている。
検査員は、設定器20の入力操作部21を操作して、ガスメータ用制御装置11に対して行う機能設定データを入力する。この機能設定データは、マイクロプロセッサ22に入力されて登録・蓄積される。最終的にガスメータ10に送信する全ての機能設定データの入力が終了すると、マイクロプロセッサ22は、機能設定データとこの機能設定データの登録を指令する指令データを含む通信データを生成する。さらに、検査員が入力操作部21を操作すると、電磁石23が駆動を開始する。
【0026】
続いて、設定器20からガスメータ10への通信について図を参照しつつ説明する。図3は通信データの一具体例を説明する説明図、図4は本実施形態の通信処理のフローチャートである。
まず、通信データについて説明する。通信データは、図3(a)で示すように、コマンド、データ部1、データ部2、BCCという4キャラクタのデータからなる。
【0027】
コマンド、データ部1、データ部2、BCCは、それぞれ10ビットであり、いずれも図3(b)で示すようなJISコードである。
データビットD0〜D6は、後述するが指令や機能設定を行うためのデータである。
パリティ(P)は、データビットD0〜D6の全てのビットの排他的論理和(exclusive−or)である。
スタートビット(ST)とストップビット(SP)とは、データビットD0〜D6とパリティ(P)からなるキャラクタの先頭と最後を判別させるデータであり、スタートビットは論理0、ストップビットは論理1である。
【0028】
コマンドは、例えば、図3(c)で示すように、キャラクタA、キャラクタBなどを表すが、これらには各種の指令が予め割り付けられており(例えば、キャラクタAには、データ部1,2である器差の係数をガスメータ用制御装置に機能設定させるという意味を割り付ける、など)、ガスメータ10のマイクロプロセッサ14は読み取ったキャラクタから指令を認識し、各種指令を実行する。
データ部1,2は、各種コマンドに対応して決定されるデータである。
【0029】
BCC(Block Check Character)は、コマンド、データ部1,2の情報を各ビット毎の排他的論理和(exclusive−or)を取った8ビットのデータである。
このように、本実施形態の機能設定データは、パリティ・BCCという通信の成否を確実に検出できるような情報を付加しているため、伝送不良の通信データを判別し、誤った通信データを用いて指令が実行される事態の発生を防止している。
【0030】
続いて通信処理について図を参照しつつ説明する。図4は、ガスメータ10のマイクロプロセッサ14が処理するフローチャートである。
図4で示すように、マイクロプロセッサ14は、リードスイッチ13を常時監視し、リードスイッチ13から出力される通信信号の受信処理を行っている(ステップS1)。
設定器20の電磁石23の駆動・非駆動に対応する磁界の有無により、ガスメータ用制御装置11のリードスイッチ13をオン・オフすると、リードスイッチ13はオン・オフ信号である通信データを出力する。
【0031】
ガスメータ用制御装置11のマイクロプロセッサ14は、リードスイッチ13の最初のリードスイッチオンのスタートビットを起点として、最初の1キャラクタを受信し、合計4キャラクタ受信する。そして、このオン・オフ信号である通信データを受信を継続する。受信終了後は、次の処理を行う(ステップS2)。
【0032】
ガスメータ用制御装置11のマイクロプロセッサ14は、4キャラクタ受信後、受信キャラクタ毎のD0〜D6からパリティを算出し、また、データ構成のコマンド、データ部1、データ部2、からBCCを算出する(ステップS3)。
そして、算出したパリティと受信したパリティとが等価か否かを判定し、また、算出したBCCと受信したBCCとが等価か否かを判定し、パリティおよびBCCがともに等価であるならばエラーでないと判定してステップS5へ進み、パリティまたはBCCの何れか一方でも等価でないならばエラーであると判定してステップS9へジャンプする。
【0033】
正常であると判定された場合は、続いてコマンドの指令内容を調査する(ステップS5)。本実施形態のフローチャートでは説明の明瞭化のため、先に例示的に挙げたコマンドAであるか、または、コマンドBあるかについて判定するものとして説明する。しかしながら、ここで例示していない各種の指令も可能であることはいうまでもない。
【0034】
ステップS5によりコマンドA(機能設定データの登録の一例であり、データ部1,2に含む機能設定データの一種である器差データを係数としてガスメータ用制御装置11に登録する指令)であると判定されたならば、器差データであるデータ部1,2をマイクロプロセッサ14内の図示しないメモリに格納・保存する(ステップS6)。そして、マイクロプロセッサ14は、器差データを表示させるための表示データを生成して、表示器12に表示出力させる(ステップS7)。表示器12は、通常のガス使用量の表示を一時停止し、例えば、図2で示す表示器12の数値表示部に器差の係数を表す器差データを表示させる。
【0035】
また、ステップS5によりコマンドB(内部データの表示の一例であり、ガスメータ用制御装置11が監視している現在の流量の熱量(マイクロプロセッサ14の内部データ)を表示させる指令)であると判定されたならば、マイクロプロセッサ14内の図示しないメモリに格納・保存されている内部データを読み出し、熱量に関する内部データを表示させる表示データを生成し、表示器12にこの内部データを表示させる(ステップS8)。表示器12は、通常のガス使用量の表示を一時停止し、例えば、図2で示す表示器12の数値表示部に熱量に関する内部データを表示させる。
【0036】
そして、ステップS7、または、ステップS8による数値表示の開始後直ちに、図2の5mm角ドット12a,12b,12cの全てを点灯開始させる(ステップS10)。この場合、5mm角ドット12a,12b,12cが点灯すると図2で示すような状態となる。そして5秒経過したか否かが判定され(ステップS11)、5秒経過後に5mm角ドット12a,12b,12cが点灯する状態は終了し、通常のガス使用量の表示が再開することとなる(ステップS12)。
【0037】
このように一定期間、例えば、5秒間にわたり、図2の5mm角ドット12a,12b,12cが連続して点灯すると、(1)通常のガス使用量の表示に代えて機能設定データについて表示器12が表示していることを操作者が判別できる。(2)通信データが正しく受信されたことを検査員が判別できる。
【0038】
また、パリティ・BCCのチェックが整合せず、通信を失敗したと判断した場合(ステップS4)には、図2の5mm角ドット12a,12b,12cの全てを消灯開始させる(ステップS9)。5秒経過後に5mm角ドット12a,12b,12cが消灯する状態は終了し、通常のガス使用量の表示が再開することとなる(ステップS12)。
このように一定期間、例えば、5秒間にわたり、図2の5mm角ドット12a,12b,12cが連続して消灯する場合は通信データが受信が失敗したことを検査員が判別できるようになる。
【0039】
以上説明した本実施形態によれば、ガスメータ用制御装置11はケーブルなどの有線信号伝送手段を採用していないため、ガスメータ用制御装置11の構成を簡素にし、また、LED等の発光素子を不要としたため機能指定に必要な消費電力を軽減する効果がある。
【0040】
さらに設定器20からガスメータ用制御装置11への通信のみで逆はないことから、従来技術で用いていた発光素子・受光素子を不要とし、ガスメータ用制御装置11の表示器12とリードスイッチ13との二点間距離の制約がなくなり、リードスイッチ13の配置に自由度がある。
【0041】
また、外部から登録された機能設定データの内容、内部で登録・蓄積されている内部データの内容、及び、信号伝達の成否の確認はガスメータ用制御装置11の表示器12に表示されるため、設定器20は特に表示器を設ける必要がなくなり、ガスメータ10設置後の現場でのメンテナンス用の設定器20を小型にできるというメリットもある。
【0042】
続いて、本発明の設定器のうち特に生産設備用に特化された生産用設定器の実施形態について図を参照しつつ説明する。図5は、本実施形態の生産用設定器の構成図である。この設定器は、先に説明した設定器20を組み込んで生産用設定器として構成したものである。
本実施形態の生産用設定器30は、設定器20、FA用プログラマブルコントローラ31、光センサ32を備えている。
【0043】
FA用プログラマブルコントローラ31は、設定器20と接続される。設定器20のマイクロプロセッサ22とFA用プログラマブルコントローラ31とは直接に接続されて各種データが入力されるため、設定器20の操作入力部21は使用されない。
光センサ32は、表示器12の5mm角ドット12a,12b,12cの点灯・消灯を検出する機能を有している。
【0044】
FA用プログラマブルコントローラ31が設定器20に指示すると、設定器20は前述の機能設定データ、およびこの機能設定データの登録を指令する指令データからなる通信データを出力する。ガスメータは前述したように通信データの送信が成功した場合には5mm角ドット12a,12b,12cの点灯を行い、送信が失敗した場合には消灯を行う。光センサ32は、このような信号を検出してFA用プログラマブルコントローラ31へ出力する。FA用プログラマブルコントローラ31は、点灯・消灯を確認して、機能設定の正否の判断および記録する。このような生産用設定器30を用いることで、自動化した生産設備を実現することができる。
【0045】
以上、説明した本実施形態によれば、従来技術で説明したように設定器側で送信データと応答データの双方のデータを検証する必要がなく、FA用の光センサの適用により判定可能となり、ガスメータへの機能指定動作における設備の判定要素を簡素化できる。
また、信号伝達の成否を検出する光センサは、ガスメータの計量を判定しているメータ検定用の光センサと共用でき、コスト的にも有利である。
【0046】
【発明の効果】
以上、本発明によれば、設計時・作業時に伴う種々の制約をなくし、自由度が高く使い勝手を向上させたガスメータおよび設定器(特に生産に好適な生産用設定器)を提供することができる。
【図面の簡単な説明】
【図1】本発明の実施形態のガスメータ・設定器を含むシステム図である。
【図2】表示器の表示画面を説明する説明図である。
【図3】通信データの一具体例を説明する説明図である。
【図4】本発明の実施形態の通信処理のフローチャートである。
【図5】本発明の実施形態の生産用設定器の構成図である。
【図6】従来技術のガスメータ・設定器を含むシステム図である。
【符号の説明】
10 ガスメータ
11 ガスメータ用制御装置
12 表示器
12a,12b,12c 5mm角ドット
13 リードスイッチ
14 マイクロプロセッサ
15 流量センサ
20 設定器
21 入力操作部
22 マイクロプロセッサ
23 電磁石
30 生産用設定器
31 FA用プログラマブルコントローラ
32 光センサ
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a gas meter that displays success or failure of communication, and a production setting device that performs function settings for the gas meter.
[0002]
[Prior art]
A conventional gas meter will be described with reference to the drawings. FIG. 6 is a system diagram including a conventional gas meter / setting device.
The gas meter setting system is a system including a gas meter 50 and a setting device 60.
[0003]
If the gas meter 50 flows on the production line and is in the middle of production, the setting device 60 is a production setting device installed on the production line, and if the gas meter 50 is already installed in a building such as a house. The setting device 60 is a small setting device that can be carried by an inspector. In the following, both will be described in mind.
[0004]
The gas meter 50 has a gas meter control device 51 incorporated therein, and the gas meter control device 51 includes a light emitting element 52, a magnetic detection element 53, a microprocessor 54, a flow sensor 55, and a display 56. .
The setting device 60 includes an input operation unit 61, a microprocessor 62, an electromagnet 63, a light receiving element 64, and a display 65.
[0005]
In the gas meter 50, the flow rate sensor 55 detects the gas passage amount and outputs flow rate data to the microprocessor 54. The microprocessor 54 calculates the gas usage based on the flow rate data, generates display data, and outputs the display data to the display 56. The display unit 56 displays the gas usage amount and various information related to the gas usage amount based on the display data.
[0006]
The setting device 60 and the gas meter control device 51 communicate in a non-contact manner without performing wiring or connection.
The inspector operates the input operation unit 61 of the setting device 60 to input data related to function settings performed on the gas meter control device 51 (hereinafter referred to as function setting data). The function setting data is input to the microprocessor 62 and registered / stored. When the input of all the function setting data to be finally transmitted to the gas meter 50 is completed, the microprocessor 62 generates communication data including the function setting data and command data for instructing registration of the function setting data. Further, when the inspector operates the input operation unit 61, the electromagnet 63 starts to be driven.
[0007]
Depending on the presence / absence of a magnetic field corresponding to driving / non-driving of the electromagnet 63, the magnetic detection element 53 of the gas meter control device 51 is turned on / off, and communication data as an on / off signal is output from the magnetic detection element 53. The microprocessor 54 of the gas meter control device 51 receives the communication data as the on / off signal.
[0008]
After reception, the microprocessor 54 of the gas meter control device 51 outputs response data having the same content as the transmitted communication data by the light emitting element 52 blinking. The response data by the blinking is received by the light receiving element 64 of the setting device 60, and the response data is received by the microprocessor 62. The microprocessor 62 compares and verifies the transmitted communication data and the received response data. If they match, the microprocessor 62 causes the display 65 to display that the signal transmission has been successful. If there is, it is assumed that data has been lost and the like is displayed on the display 65, and further, communication data is transmitted again.
A system using a gas meter / setting device in the prior art is like this.
[0009]
[Problems to be solved by the invention]
In the prior art described above, the distance between the electromagnet 63 and the light receiving element 64 in the setting device 60 and the distance between the light emitting element 52 and the magnetic detection element 53 in the gas meter control device 51 are not substantially the same. Communication is difficult (hereinafter, such a distance is abbreviated as a distance between two points), and there is a problem that the gas meter 50 and the setting device 60 must be designed while complying with the restrictions on the distance between the two points. It was.
[0010]
In addition, if the above-mentioned restrictions on the distance between two points are not observed, there are many gas meters with different distances between the two points, so it is necessary to prepare a plurality of types of setting devices corresponding to the distances between the two points. This is not a favorable situation for users because choices are restricted.
[0011]
Furthermore, the electromagnet 63 of the setting device 60 is opposed to the magnetic detection element 53 of the gas meter control device 51, and the light emitting element 52 of the gas meter control device 51 is not opposed to the light receiving device 64 of the setting device 60. It was difficult to maintain such a facing state during work, and workability was not good.
[0012]
Furthermore, the confirmation of the success / failure of the function setting is displayed on the indicator 65 on the setting device 60 side, but the indicator is enlarged to ensure that it can be visually discriminated even during maintenance at the gas meter installation location. There is also a drawback that the outer shape of the setting device 60 is large.
[0013]
Furthermore, although the setting device 60 is used even when the gas meter 50 is produced, as described in the prior art, the setting device 60 verifies the transmitted communication data and the received response data to determine the success or failure of signal transmission. Since it is necessary to make a determination, it is necessary for the setting device 60 to have a function of managing and comparing communication data and response data, and the setting device 60 cannot be simplified.
[0014]
The present invention has been made to solve the above-mentioned problems, and its purpose is to eliminate restrictions associated with design and work, and to provide a gas meter and a setting device (especially suitable for production) that have a high degree of freedom and improved usability. It is to provide a production setting device.
[0015]
[Means for Solving the Problems]
In order to solve the above-described problem, a gas meter according to a first aspect of the present invention provides:
A flow sensor for detecting the amount of gas passing;
A microprocessor for generating display data of gas usage calculated using flow rate data from the flow rate sensor;
A display for performing a display relating to the amount of gas used based on display data output from the microprocessor;
A reed switch that is turned on and off by the presence or absence of a magnetic field and outputs communication data to the microprocessor;
A gas meter comprising:
The microprocessor is
Verify the success or failure of communication based on the communication data output from the reed switch,
Outputs display data that displays a sign indicating the success or failure of communication to the display,
It is characterized in that the success or failure of communication of communication data can be confirmed by displaying a sign on the display.
[0016]
The gas meter of the invention according to claim 2 is
The gas meter according to claim 1, wherein
When the microprocessor displays the success or failure of communication on the indicator,
Suspend the display of gas usage on the display,
Display a predetermined sign on the display to recognize the success or failure of communication,
Restart the display of gas usage on the display after a predetermined period of time,
It is characterized by that.
[0017]
The gas meter of the invention according to claim 3 is:
The gas meter according to claim 2,
The communication data includes function setting data for performing various settings on the gas meter, and command data for instructing registration of the function setting data,
When a predetermined sign for recognizing the success or failure of communication is displayed on the display, the display relating to the registered function setting data is also performed.
[0018]
The gas meter of the invention according to claim 4 is:
The gas meter according to claim 2 or claim 3,
The communication data includes command data for displaying internal data registered by the gas meter itself,
When the predetermined indicator for recognizing the success or failure of communication is displayed on the display device, the display related to the internal data to be registered is also performed.
[0019]
Further, the production setter of the invention according to claim 5 is:
A setting device for transmitting communication data to a gas meter according to any one of claims 1 to 4 by modulation of a magnetic field,
An optical sensor for detecting a sign indicating success or failure of reception on the gas meter display and outputting detection data;
A programmable controller for FA that verifies the success or failure of reception based on detection data from the optical sensor;
It is characterized by providing.
[0020]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, a gas meter which is an embodiment according to claims 1 to 4 of the present invention and a setting device for setting such a gas meter will be described with reference to the drawings. FIG. 1 is a system diagram including a gas meter / setting device according to an embodiment of the present invention, and FIG. 2 is an explanatory diagram for explaining a display screen of a display device.
The system includes a gas meter 10 and a setting device 20.
[0021]
The gas meter 10 has a gas meter control device 11 incorporated therein, and the gas meter control device 11 includes a display 12, a reed switch 13, a microprocessor 14, and a flow sensor 15.
[0022]
As shown in FIG. 2, the display 12 always displays the gas usage in units of 8 digit minimum digit liters. Further, a dot having a square of 5 mm on one side (hereinafter referred to as a 5 mm square dot) is lit at three locations. For the 5 mm square dot 12a shown in FIG. For example, the 5 mm square dot 12c is turned on every 100 liters, for example, for 100 ms. At the time of meter verification, these 5 mm square dots 12a, 12b, and 12c are detected by an optical sensor or the like, and the passage amount of the gas meter 10 and the measured value of the gas meter 10 are compared and verified. Such a display 12 is preferably a black and white liquid crystal display device, for example.
[0023]
The reed switch 13 is turned on / off depending on the presence or absence of a magnetic field, and outputs communication data.
The microprocessor 14 is connected to a display 12, a reed switch 13, and a flow rate sensor 15. The microprocessor 14 exchanges various data as will be described in detail later.
The flow rate sensor 15 has a function of detecting the gas passage amount and outputs flow rate data to the microprocessor 14.
[0024]
In the gas meter 10, the flow sensor 15 detects the gas passage amount and outputs flow data to the microprocessor 14. The microprocessor 14 calculates a gas use flow based on the flow rate data, generates display data, and outputs the display data to the display unit 12. The display 12 displays the gas usage and various information related to the gas usage based on the display data.
[0025]
On the other hand, the setting device 20 includes an input operation unit 21, a microprocessor 22, and an electromagnet 23.
The inspector operates the input operation unit 21 of the setting device 20 to input function setting data to be performed on the gas meter control device 11. This function setting data is input to the microprocessor 22 and registered and accumulated. When the input of all the function setting data to be finally transmitted to the gas meter 10 is finished, the microprocessor 22 generates communication data including the function setting data and command data for instructing registration of the function setting data. Furthermore, when the inspector operates the input operation unit 21, the electromagnet 23 starts to be driven.
[0026]
Next, communication from the setting device 20 to the gas meter 10 will be described with reference to the drawings. FIG. 3 is an explanatory diagram for explaining a specific example of communication data, and FIG. 4 is a flowchart of communication processing according to the present embodiment.
First, communication data will be described. As shown in FIG. 3A, the communication data is composed of four character data, ie, command, data portion 1, data portion 2, and BCC.
[0027]
The command, data portion 1, data portion 2, and BCC are each 10 bits, and are all JIS codes as shown in FIG.
Data bits D0 to D6 are data for performing commands and function settings, which will be described later.
Parity (P) is an exclusive-or of all bits of data bits D0 to D6.
The start bit (ST) and stop bit (SP) are data for distinguishing the beginning and end of a character consisting of data bits D0 to D6 and parity (P). The start bit is logic 0 and the stop bit is logic 1. is there.
[0028]
For example, as shown in FIG. 3C, the command represents a character A, a character B, and the like, and various commands are assigned in advance to these commands (for example, the character A includes data portions 1, 2). The microprocessor 14 of the gas meter 10 recognizes the command from the read character and executes various commands.
The data parts 1 and 2 are data determined corresponding to various commands.
[0029]
BCC (Block Check Character) is 8-bit data obtained by taking an exclusive-or for each bit of information in the command and data parts 1 and 2.
As described above, the function setting data according to the present embodiment adds information such as parity / BCC that can reliably detect the success or failure of communication, so that communication data with poor transmission is identified and erroneous communication data is used. This prevents the occurrence of command execution.
[0030]
Next, communication processing will be described with reference to the drawings. FIG. 4 is a flowchart processed by the microprocessor 14 of the gas meter 10.
As shown in FIG. 4, the microprocessor 14 constantly monitors the reed switch 13 and performs reception processing of a communication signal output from the reed switch 13 (step S1).
When the reed switch 13 of the gas meter control device 11 is turned on / off depending on the presence / absence of a magnetic field corresponding to driving / non-driving of the electromagnet 23 of the setting device 20, the reed switch 13 outputs communication data as an on / off signal.
[0031]
The microprocessor 14 of the gas meter control device 11 receives the first one character from the start bit of the first reed switch on of the reed switch 13, and receives a total of four characters. The communication data that is the on / off signal is continuously received. After completion of reception, the following processing is performed (step S2).
[0032]
After receiving four characters, the microprocessor 14 of the gas meter control device 11 calculates the parity from D0 to D6 for each received character, and calculates the BCC from the data configuration command, the data unit 1 and the data unit 2 ( Step S3).
Then, it is determined whether or not the calculated parity and the received parity are equivalent, and it is determined whether or not the calculated BCC and the received BCC are equivalent. If both the parity and the BCC are equivalent, no error occurs. The process proceeds to step S5, and if either parity or BCC is not equivalent, it is determined that an error has occurred and the process jumps to step S9.
[0033]
If it is determined to be normal, the command content of the command is subsequently investigated (step S5). In the flowchart of the present embodiment, for the sake of clarity of explanation, it is assumed that it is determined whether the command A is exemplified above or the command B is exemplified. However, it is needless to say that various commands not illustrated here are possible.
[0034]
Step S5 determines that the command A is an example of registering function setting data, which is an instruction for registering the instrumental difference data, which is a type of function setting data included in the data sections 1 and 2 as a coefficient, in the gas meter control device 11. If so, the data parts 1 and 2 as instrumental difference data are stored and saved in a memory (not shown) in the microprocessor 14 (step S6). Then, the microprocessor 14 generates display data for displaying instrument difference data, and causes the display 12 to display and output (step S7). The display device 12 temporarily stops the display of the normal gas usage, and displays, for example, instrumental difference data representing the instrumental error coefficient on the numerical display unit of the displayer 12 shown in FIG.
[0035]
Further, it is determined in step S5 that the command B is an example of display of internal data, which is an instruction to display the current amount of heat (internal data of the microprocessor 14) monitored by the gas meter control device 11. If so, internal data stored / stored in a memory (not shown) in the microprocessor 14 is read, display data for displaying the internal data relating to the amount of heat is generated, and this internal data is displayed on the display 12 (step S8). ). The display device 12 temporarily stops displaying the normal amount of gas used, and displays, for example, internal data relating to the amount of heat on the numerical display unit of the display device 12 shown in FIG.
[0036]
Then, immediately after the start of numerical display in step S7 or step S8, all of the 5 mm square dots 12a, 12b and 12c in FIG. 2 are turned on (step S10). In this case, when the 5 mm square dots 12a, 12b, and 12c are turned on, the state shown in FIG. 2 is obtained. Then, it is determined whether or not 5 seconds have passed (step S11). After 5 seconds have passed, the state where the 5 mm square dots 12a, 12b, and 12c are turned on ends, and the normal gas usage display is resumed ( Step S12).
[0037]
When the 5 mm square dots 12a, 12b, and 12c in FIG. 2 are continuously lit for a certain period of time, for example, 5 seconds, (1) instead of displaying the normal gas usage, the function setting data is displayed on the display 12. The operator can determine that is displayed. (2) The inspector can determine that the communication data has been correctly received.
[0038]
If it is determined that the parity / BCC check does not match and communication has failed (step S4), all of the 5 mm square dots 12a, 12b, and 12c in FIG. 2 are turned off (step S9). The state where the 5 mm square dots 12a, 12b, and 12c are turned off after the elapse of 5 seconds ends, and the display of the normal gas usage is resumed (step S12).
As described above, when the 5 mm square dots 12a, 12b, and 12c in FIG. 2 are continuously turned off for a certain period, for example, 5 seconds, the inspector can determine that the reception of the communication data has failed.
[0039]
According to the present embodiment described above, since the gas meter control device 11 does not employ a wired signal transmission means such as a cable, the configuration of the gas meter control device 11 is simplified, and a light emitting element such as an LED is not required. Therefore, it has the effect of reducing the power consumption required for function specification.
[0040]
Furthermore, since only the communication from the setting device 20 to the gas meter control device 11 is not the reverse, the light emitting element / light receiving device used in the prior art is unnecessary, and the display 12 and the reed switch 13 of the gas meter control device 11 There is no restriction on the distance between the two points, and there is a degree of freedom in the arrangement of the reed switch 13.
[0041]
In addition, since the contents of the function setting data registered from the outside, the contents of the internal data registered / stored internally, and the confirmation of the success / failure of signal transmission are displayed on the display 12 of the gas meter control device 11, The setting device 20 does not need to be provided with a display device in particular, and there is an advantage that the setting device 20 for maintenance at the site after the gas meter 10 is installed can be downsized.
[0042]
Next, an embodiment of a production setting device specialized for production equipment among the setting devices of the present invention will be described with reference to the drawings. FIG. 5 is a configuration diagram of the production setting device of the present embodiment. This setting device is configured as a production setting device by incorporating the setting device 20 described above.
The production setting device 30 of this embodiment includes a setting device 20, an FA programmable controller 31, and an optical sensor 32.
[0043]
The FA programmable controller 31 is connected to the setting device 20. Since the microprocessor 22 of the setting device 20 and the FA programmable controller 31 are directly connected to input various data, the operation input unit 21 of the setting device 20 is not used.
The optical sensor 32 has a function of detecting turning on / off of the 5 mm square dots 12a, 12b, 12c of the display device 12.
[0044]
When the FA programmable controller 31 instructs the setting device 20, the setting device 20 outputs communication data including the above-described function setting data and command data for instructing registration of the function setting data. As described above, the gas meter turns on the 5 mm square dots 12a, 12b, and 12c when transmission of communication data is successful, and turns off the light when transmission fails. The optical sensor 32 detects such a signal and outputs it to the FA programmable controller 31. The FA programmable controller 31 confirms lighting / extinguishing, and determines and records whether the function setting is correct. By using such a production setting device 30, an automated production facility can be realized.
[0045]
As described above, according to the present embodiment described above, it is not necessary to verify both the transmission data and the response data on the setting device side as described in the prior art, and the determination can be made by applying the optical sensor for FA. Equipment judgment elements in the function designation operation to the gas meter can be simplified.
Further, the optical sensor for detecting the success or failure of signal transmission can be shared with the optical sensor for meter verification that determines the metering of the gas meter, which is advantageous in terms of cost.
[0046]
【The invention's effect】
As described above, according to the present invention, it is possible to provide a gas meter and a setting device (particularly a production setting device suitable for production) that eliminates various restrictions associated with design and work, and has high flexibility and improved usability. .
[Brief description of the drawings]
FIG. 1 is a system diagram including a gas meter / setting device according to an embodiment of the present invention.
FIG. 2 is an explanatory diagram illustrating a display screen of a display device.
FIG. 3 is an explanatory diagram illustrating a specific example of communication data.
FIG. 4 is a flowchart of communication processing according to the embodiment of this invention.
FIG. 5 is a configuration diagram of a production setter according to an embodiment of the present invention.
FIG. 6 is a system diagram including a conventional gas meter / setting device.
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 10 Gas meter 11 Gas meter control apparatus 12 Indicator 12a, 12b, 12c 5mm square dot 13 Reed switch 14 Microprocessor 15 Flow rate sensor 20 Setting device 21 Input operation part 22 Microprocessor 23 Electromagnet 30 Production setting device 31 Programmable controller 32 for FA Optical sensor

Claims (5)

ガス通過量を検出する流量センサと、
流量センサからの流量データを用いて演算したガス使用量の表示データを生成するマイクロプロセッサと、
マイクロプロセッサから出力される表示データに基づいてガス使用量に係る表示を行う表示器と、
磁界の有無によりオン・オフされ、マイクロプロセッサへ通信データを出力するリードスイッチと、
を備えるガスメータであって、
前記マイクロプロセッサは、
リードスイッチから出力された通信データに基づいて通信の成否について検証し、
通信の成功または失敗を示す標識を表示させる表示データを表示器へ出力し、
表示器での標識の表示により通信データの通信の成否を確認できるようにしたことを特徴とするガスメータ。
A flow sensor for detecting the amount of gas passing;
A microprocessor for generating display data of gas usage calculated using flow rate data from the flow rate sensor;
A display for performing a display relating to the amount of gas used based on display data output from the microprocessor;
A reed switch that is turned on and off by the presence or absence of a magnetic field and outputs communication data to the microprocessor;
A gas meter comprising:
The microprocessor is
Verify the success or failure of communication based on the communication data output from the reed switch,
Outputs display data that displays a sign indicating the success or failure of communication to the display,
A gas meter characterized in that the success or failure of communication of communication data can be confirmed by displaying a sign on a display.
請求項1に記載のガスメータにおいて、
前記マイクロプロセッサは、通信の成否を前記表示器に表示させる場合、
表示器におけるガス使用量に係る表示を一時停止させ、
通信の成功または失敗を認識させる所定の標識を表示器に表示させ、
所定期間経過後に表示器におけるガス使用量に係る表示を再開する、
ことを特徴とするガスメータ。
The gas meter according to claim 1, wherein
When the microprocessor displays the success or failure of communication on the indicator,
Suspend the display of gas usage on the display,
Display a predetermined sign on the display to recognize the success or failure of communication,
Restart the display of gas usage on the display after a predetermined period of time,
A gas meter characterized by that.
請求項2に記載のガスメータにおいて、
通信データは、ガスメータに各種設定を行う機能設定データ、および、この機能設定データの登録を指令する指令データを含み、
通信の成功または失敗を認識させる所定の標識を表示器に表示させる場合、登録された機能設定データに係る表示を併せて行うことを特徴とするガスメータ。
The gas meter according to claim 2,
The communication data includes function setting data for performing various settings on the gas meter, and command data for instructing registration of the function setting data,
A gas meter characterized in that, when a predetermined sign for recognizing success or failure of communication is displayed on a display, display related to registered function setting data is also performed.
請求項項2または請求項3に記載のガスメータにおいて、
通信データは、ガスメータ自身が登録する内部データを表示させるための指令データを含み、
通信の成功または失敗を認識させる所定の標識を表示器に行なわせる場合に、登録する内部データに係る表示を併せて行うことを特徴とするガスメータ。
The gas meter according to claim 2 or claim 3,
The communication data includes command data for displaying internal data registered by the gas meter itself,
A gas meter characterized in that, when a predetermined sign for recognizing the success or failure of communication is displayed on a display device, display related to internal data to be registered is also performed.
請求項1〜請求項4の何れか1項に記載されたガスメータへ通信データを磁界の変調により送信する設定器であって、
ガスメータの表示器における受信の成否を表す標識を検出して検出データを出力する光センサと、
光センサからの検出データに基づいて、受信の成否を検証するFA用プログラマブルコントローラと、
を備えることを特徴とする生産用設定器。
A setting device for transmitting communication data to a gas meter according to any one of claims 1 to 4 by modulation of a magnetic field,
An optical sensor for detecting a sign indicating success or failure of reception on the gas meter display and outputting detection data;
A programmable controller for FA that verifies the success or failure of reception based on detection data from the optical sensor;
A production setting device comprising:
JP2001386067A 2001-12-19 2001-12-19 Gas meter and production setter Expired - Lifetime JP3818912B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001386067A JP3818912B2 (en) 2001-12-19 2001-12-19 Gas meter and production setter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001386067A JP3818912B2 (en) 2001-12-19 2001-12-19 Gas meter and production setter

Publications (2)

Publication Number Publication Date
JP2003185487A JP2003185487A (en) 2003-07-03
JP3818912B2 true JP3818912B2 (en) 2006-09-06

Family

ID=27595317

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001386067A Expired - Lifetime JP3818912B2 (en) 2001-12-19 2001-12-19 Gas meter and production setter

Country Status (1)

Country Link
JP (1) JP3818912B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102535621B1 (en) * 2022-09-26 2023-05-26 대윤계기산업 주식회사 Water quality measuring device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012127652A (en) * 2010-12-13 2012-07-05 Panasonic Corp Gas measuring device
JP6118059B2 (en) * 2012-10-05 2017-04-19 矢崎エナジーシステム株式会社 Electronic gas meter
JP2018006597A (en) * 2016-07-04 2018-01-11 株式会社東海理化電機製作所 Rotary connector

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102535621B1 (en) * 2022-09-26 2023-05-26 대윤계기산업 주식회사 Water quality measuring device

Also Published As

Publication number Publication date
JP2003185487A (en) 2003-07-03

Similar Documents

Publication Publication Date Title
JPH11169338A (en) Electronic endoscope apparatus capable of making non-scope connection display
JPH04358497A (en) Remote fault diagnostic device
JP3818912B2 (en) Gas meter and production setter
JP2006302229A (en) Safety unit configuration verification system
JP5197536B2 (en) Signal security system testing equipment
JP3785871B2 (en) Air conditioner
JP2004106986A (en) Maintenance system and method for elevator
KR200432487Y1 (en) Wireless Transmitter-Receiver for Measuring Instrument
JP4775687B2 (en) Control system
JPH0895633A (en) Operation support system
KR101035887B1 (en) Card tester for programming ligic control and the control method thereof
KR19980059663U (en) Exchange rate indicator using wireless call network
JPH11296766A (en) Gas leakage alarm and gas leakage alarming system
JPH0771802A (en) Air conditioner
JP2002098568A (en) Gas meter and optical radio communication system
JP2666993B2 (en) Inspection method for serial line of air conditioner
KR100378129B1 (en) Touchscreen examination system including analytical function for protocol and method thereof
JP2953905B2 (en) Remote control water heater
KR20020096422A (en) Method and apparatus for testing in airconditioner
JP5445785B2 (en) Course display device and control method thereof
JP3463711B2 (en) Air conditioner remote controller
KR20070062783A (en) Water leakage and cut-off apparatus
KR100633436B1 (en) Method and apparatus for inspecting an abnormal state of a boiler
JP2003056891A (en) Indoor unit communication equipment
KR20160094351A (en) Display operation state monitoring system of smartboard

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040427

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060419

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060613

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

Year of fee payment: 3

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

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090623

Year of fee payment: 3

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

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

Free format text: PAYMENT UNTIL: 20090623

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20090623

Year of fee payment: 3

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

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20100623

Year of fee payment: 4

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

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

Free format text: PAYMENT UNTIL: 20100623

Year of fee payment: 4

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350