JP2016045006A - Gas meter, and control method for the same - Google Patents

Gas meter, and control method for the same Download PDF

Info

Publication number
JP2016045006A
JP2016045006A JP2014167512A JP2014167512A JP2016045006A JP 2016045006 A JP2016045006 A JP 2016045006A JP 2014167512 A JP2014167512 A JP 2014167512A JP 2014167512 A JP2014167512 A JP 2014167512A JP 2016045006 A JP2016045006 A JP 2016045006A
Authority
JP
Japan
Prior art keywords
setting
setting information
stored
gas
valid
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.)
Granted
Application number
JP2014167512A
Other languages
Japanese (ja)
Other versions
JP6353740B2 (en
Inventor
川島 定
Sadamu Kawashima
定 川島
拓也 北澤
Takuya Kitazawa
拓也 北澤
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.)
Yazaki Energy System Corp
Original Assignee
Yazaki Energy System Corp
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 Yazaki Energy System Corp filed Critical Yazaki Energy System Corp
Priority to JP2014167512A priority Critical patent/JP6353740B2/en
Publication of JP2016045006A publication Critical patent/JP2016045006A/en
Application granted granted Critical
Publication of JP6353740B2 publication Critical patent/JP6353740B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measuring Volume Flow (AREA)
  • Emergency Alarm Devices (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a gas meter and its control method which can save the trouble of resetting to be canceled when a gas alarm is found to be not normally connected.SOLUTION: A gas meter 1 is equipped with a setting acceptor unit 22 that, when it is determined that a gas alarm is normally connected, accepts setting information from outside and causes a setting memory unit 30 to store the information; a canceller unit 23 that, when it is determined that the gas alarm is not normally connected, cancels the setting information to be stored in the setting memory unit 30; a duplicate memory unit 40 that duplicates, ahead of cancellation by the canceller unit 23, and stores the setting information to be stored in the setting memory unit 30; and a setting restoration unit 24 that, when it is determined that the gas alarm is normally connected again after the setting information was cancelled by the canceller unit 23, causes the setting memory unit 30 to restore and store the setting information by using the setting information duplicated and stored in the duplicate memory unit 40.SELECTED DRAWING: Figure 1

Description

本発明は、ガスメータ及びその制御方法に関する。   The present invention relates to a gas meter and a control method thereof.

従来、検知対象となるガスの濃度が所定濃度以上に達した場合などに警報を発するガス漏れ警報器が知られている(特許文献1参照)。また、ガス流量を計測するガスメータと、ガス漏れ警報器とを接続させたガスセキュリティシステムについても提案されている(特許文献2参照)。   Conventionally, there has been known a gas leak alarm device that issues an alarm when the concentration of a gas to be detected reaches a predetermined concentration or more (see Patent Document 1). A gas security system in which a gas meter for measuring a gas flow rate and a gas leak alarm are connected has also been proposed (see Patent Document 2).

ガスセキュリティシステムにおいてガスメータは、ガス漏れ警報器と連動した機能を搭載している。例えば、ガスメータは、遮断判定時間以上継続してガスが使用された場合に遮断弁を閉じる使用時間遮断機能を有している。この使用時関遮断機能は、ガスメータとガス警報器とが正常に接続されていることを前提として、機能拡張を行うことができるようになっている。   In the gas security system, the gas meter has a function linked to a gas leak alarm. For example, the gas meter has a usage time cutoff function that closes the cutoff valve when gas is used continuously for a cutoff judgment time or longer. This in-use function cutoff function can be expanded on the assumption that the gas meter and the gas alarm are normally connected.

例えば、ガスメータは、ガス警報器が正常に接続されているとの前提のもと設定器又はガス管理センターから信号を受信することで、「拡張2」や「上限固定」といった遮断判定時間を延長したり無効化したりする機能拡張を行うことができる。   For example, the gas meter extends the interruption judgment time such as “Extended 2” or “Upper limit” by receiving a signal from the setting device or the gas management center on the assumption that the gas alarm device is normally connected. It is possible to extend the function to enable or disable.

特開平10−188175号公報JP-A-10-188175 特開昭62−214499号公報JP 62-214499 A

しかし、上記ガスメータは、ガス警報器が正常に接続されていない状態であると判定されると、「拡張2」や「上限固定」といった設定が解除されてしまう。このため、ガス警報器の検満時における交換の際や停電時には、ガスメータによってガス警報器が正常に接続されていないと判定されて設定が解除されてしまい、再設定の手間を要してしまう。   However, when the gas meter is determined to be in a state where the gas alarm is not normally connected, the settings such as “expansion 2” and “fixed upper limit” are cancelled. For this reason, when the gas alarm is fully replaced or when a power failure occurs, the gas meter determines that the gas alarm is not properly connected and the setting is released, which requires time for resetting. .

なお、この問題は、「拡張2」や「上限固定」といった設定に限るものではなく、ガス警報器が正常に接続されていると判断されたときに設定可能で、ガス警報器が正常に接続されていない状態であると判断されたときに解除される他の設定においても共通する問題である。   This problem is not limited to “Expansion 2” or “Fixed upper limit” settings, but can be set when it is determined that the gas alarm is properly connected. This is a common problem in other settings that are canceled when it is determined that the state is not set.

本発明はこのような従来の課題を解決するためになされたものであり、その目的とするところは、ガス警報器が正常に接続されていない状態であると判断されたときに解除される設定について再設定の手間を省略することが可能なガスメータ及びその制御方法を提供することにある。   The present invention has been made to solve such a conventional problem, and the object of the present invention is to cancel the setting when it is determined that the gas alarm is not properly connected. It is an object to provide a gas meter and a control method thereof that can save the trouble of resetting.

本発明のガスメータは、内部に設けられた流路を通過するガスの流量を積算して表示すると共に、記憶手段に記憶され複数の設定それぞれが有効となっているか解除されているかを個々に示す複数の設定情報に応じて制御内容を変更するガスメータであって、ガス漏れを検出して警報するガス警報器が正常に接続されているかを判断する接続判断手段と、前記接続判断手段によりガス警報器が正常に接続されていると判断された場合に、外部から特定の設定を有効化する有効化情報を受け付けて前記特定の設定が有効である旨の設定情報を前記記憶手段に記憶させる設定受付手段と、前記接続判断手段によりガス警報器が正常に接続されていないと判断された場合に、前記特定の設定が有効である旨の設定情報について、その設定を解除して前記記憶手段に記憶させる解除手段と、前記解除手段による解除に先立って、前記記憶手段により記憶され前記特定の設定が有効である旨の設定情報を複製記憶する複製記憶手段と、前記解除手段による解除の後に、前記接続判断手段により再度ガス警報器が正常に接続されていると判断された場合に、前記複製記憶手段により複製記憶しておいた設定情報を用いて前記記憶手段に設定情報を復帰記憶させる設定復帰手段と、を備えることを特徴とする。   The gas meter of the present invention integrates and displays the flow rate of the gas passing through the flow path provided therein, and individually indicates whether each of the plurality of settings stored in the storage means is valid or cancelled. A gas meter that changes control contents according to a plurality of setting information, wherein a gas judgment device that judges whether or not a gas alarm device that detects and alarms a gas leak is normally connected, and a gas alarm by the connection judgment device A setting for accepting validation information for validating a specific setting from outside and storing the setting information indicating that the specific setting is valid in the storage means when it is determined that the device is normally connected When it is determined that the gas alarm is not normally connected by the reception unit and the connection determination unit, the setting information indicating that the specific setting is valid is canceled. Prior to release by the release means, copy storage means for copying and storing setting information stored by the storage means and indicating that the specific setting is valid, and release means After the release, when the connection determination unit determines that the gas alarm device is normally connected again, the setting information stored in the storage unit is stored in the storage unit using the setting information stored in the copy storage unit. And setting return means for returning and storing.

本発明のガスメータによれば、ガス警報器が正常に接続されていないと判断された場合に、特定の設定が有効である旨の設定情報について、その設定を解除するに先立って設定情報を複製記憶し、解除された後にガス警報器が再度正常に接続されていると判断された場合に、複製記憶しておいた設定情報を用いて記憶手段に設定情報を復帰記憶させる。このため、ガス警報器が未接続状態であると判断されて特定の設定が解除されてしまったとしても、その後、ガス警報器が正常に接続されれば、設定器やガス管理センターからの情報送信なしに特定の設定が有効である旨の設定情報が復帰することとなる。従って、ガス警報器が正常に接続されていない状態であると判断されたときに解除される設定について再設定の手間を省略することができる。   According to the gas meter of the present invention, when it is determined that the gas alarm is not properly connected, the setting information indicating that the specific setting is valid is copied prior to releasing the setting. When it is determined that the gas alarm is normally connected again after being stored and released, the setting information is restored and stored in the storage means using the setting information stored in duplicate. For this reason, even if it is determined that the gas alarm device is not connected and a specific setting is released, if the gas alarm device is connected normally, information from the setting device or the gas management center The setting information indicating that the specific setting is valid is returned without transmission. Therefore, it is possible to save the trouble of resetting the setting that is released when it is determined that the gas alarm is not properly connected.

このガスメータにおいて、前記複製記憶手段は、前記接続判断手段によりガス警報器が正常に接続されていないと判断された後、前記解除手段による解除前に、前記記憶手段により記憶され前記特定の設定が有効である旨の設定情報を複製記憶することが好ましい。   In this gas meter, the duplicate storage means stores the specific setting stored in the storage means before the release by the release means after the connection determination means determines that the gas alarm is not normally connected. It is preferable to copy and store the setting information indicating that it is valid.

このガスメータによれば、ガス警報器が正常に接続されていないと判断された後解除前に、特定の設定が有効である旨の設定情報を複製記憶するため、ガス警報器が正常に接続されている限り特定の設定が有効である旨の設定情報が複製記憶されることはない。このように、設定情報は必要時以外に複製記憶されることがなく不要な処理を省略すると共に、複製記憶された情報に基づく誤動作等の可能性を低減することができる。   According to this gas meter, since it is determined that the gas alarm is not properly connected and before the release, the setting information indicating that the specific setting is valid is duplicated and stored, so that the gas alarm is normally connected. As long as the setting information is valid, the setting information indicating that the specific setting is valid is not duplicated and stored. Thus, the setting information is not duplicated and stored except when necessary, and unnecessary processing can be omitted, and the possibility of malfunctions based on the duplicated and stored information can be reduced.

このガスメータにおいて、前記複製記憶手段は、予め定められた期間の経過後、複製記憶した設定情報を消去することが好ましい。   In this gas meter, it is preferable that the duplicate storage unit deletes the duplicated and stored setting information after a predetermined period.

このガスメータによれば、予め定められた期間の経過後、複製記憶した設定情報を消去するため、停電時や検満時など特定の設定が有効である旨の設定情報についてその設定が解除されるものの比較的短い時間でガス警報器が再接続される場合には、設定情報が記憶保持されており、ガスメータ自体を他の場所に移動させ設置するような場合など比較的長期に亘りガス警報器が再接続されない場合には、設定情報が消去されることとなる。よって、設定情報が復帰して欲しい場合と、ガスメータの移動設置時のように同じ設定を必要とするかは不明であり設定情報が復帰して欲しくない場合との切り分けをでき、一層利便性を向上させることができる。   According to this gas meter, after the elapse of a predetermined period, the setting information stored in duplicate is deleted, so that the setting information indicating that the specific setting is valid, such as at the time of a power failure or at the time of verification, is canceled. However, when the gas alarm is reconnected in a relatively short time, the setting information is stored and retained, and the gas alarm is maintained for a relatively long time, such as when the gas meter itself is moved to another location and installed. If is not reconnected, the setting information is deleted. Therefore, it is possible to distinguish between the case where the setting information is desired to be restored and the case where the same setting is required as in the case of moving and installing the gas meter, and the case where the setting information is not desired to be restored. Can be improved.

このガスメータにおいて、前記複製記憶手段は、前記特定の設定を含む複数の設定のいずれか1つ以上について、設定情報の有効状態又は解除状態が他方の状態に変更された場合、複製記憶した設定情報を消去することが好ましい。   In this gas meter, the duplicate storage means, for any one or more of a plurality of settings including the specific setting, when the valid state or the release state of the setting information is changed to the other state, the duplicated and stored setting information Is preferably erased.

このガスメータによれば、複数の設定のいずれか1つ以上について、設定情報の有効状態又は解除状態が他方の状態に変更された場合、複製記憶した設定情報を消去するため、設定情報を複製記憶して保持している場合においても、手動(例えば設定器やガス管理センターからの設定操作)による設定を優先し、複製記憶した設定情報を消去することで、ガス警報器が再度正常接続されたときに、意図しない設定となってしまうことを防止することができる。   According to this gas meter, if any one or more of a plurality of settings is changed from a valid state or a canceled state of the setting information to the other state, the setting information stored in duplicate is deleted and stored. Even if it is held, the gas alarm device is normally connected again by prioritizing manual settings (for example, setting operations from the setting device or gas management center) and deleting the copied and stored setting information. Sometimes it is possible to prevent unintended settings.

本発明のガスメータの制御方法は、内部に設けられた流路を通過するガスの流量を積算して表示すると共に、記憶手段に記憶され複数の設定それぞれが有効となっているか解除されているかを個々に示す複数の設定情報に応じて制御内容を変更するガスメータの制御方法であって、ガス漏れを検出して警報するガス警報器が正常に接続されているかを判断する接続判断工程と、前記接続判断工程においてガス警報器が正常に接続されていると判断された場合に、外部から特定の設定を有効化する有効化情報を受け付けて前記特定の設定が有効である旨の設定情報を前記記憶手段に記憶させる設定受付工程と、前記接続判断工程においてガス警報器が正常に接続されていないと判断された場合に、前記特定の設定が有効である旨の設定情報について、その設定を解除して前記記憶手段に記憶させる解除工程と、前記解除工程における解除に先立って、前記記憶手段により記憶され前記特定の設定が有効である旨の設定情報を複製記憶する複製記憶工程と、前記解除工程による解除の後に、再度ガス警報器が正常に接続されているかを判断する第2接続判断工程と、前記第2接続判断工程においてガス警報器が正常に接続されていると判断された場合に、前記複製記憶工程において複製記憶しておいた設定情報を用いて前記記憶手段に設定情報を復帰記憶させる設定復帰工程と、を備えることを特徴とする。   The gas meter control method of the present invention integrates and displays the flow rate of the gas passing through the flow path provided in the interior, and stores whether or not each of the plurality of settings stored in the storage means is valid. A gas meter control method for changing control content according to a plurality of setting information shown individually, a connection determination step for determining whether a gas alarm for detecting and alarming gas leakage is normally connected, and When it is determined that the gas alarm device is normally connected in the connection determination step, the setting information indicating that the specific setting is valid is received by receiving activation information for enabling the specific setting from the outside. Setting information indicating that the specific setting is valid when it is determined that the gas alarm is not normally connected in the setting reception step stored in the storage means and the connection determination step; A release step for releasing the setting and storing the setting in the storage unit, and a copy for storing the setting information stored by the storage unit and indicating that the specific setting is valid prior to the release in the release step. After the storage step and the release in the release step, the second connection determination step for determining again whether the gas alarm device is normally connected, and the gas alarm device is normally connected in the second connection determination step. A setting return step of returning the setting information to the storage means using the setting information that has been copied and stored in the copy storage step.

本発明のガスメータの制御方法によれば、ガス警報器が正常に接続されていないと判断された場合に、特定の設定が有効である旨の設定情報について、その設定を解除するに先立って設定情報を複製記憶し、解除された後にガス警報器が再度正常に接続されていると判断された場合に、複製記憶しておいた設定情報を用いて記憶手段に設定情報を復帰記憶させる。このため、ガス警報器が未接続状態であると判断されて特定の設定が解除されてしまったとしても、その後、ガス警報器が正常に接続されれば、設定器やガス管理センターからの情報送信なしに特定の設定が有効である旨の設定情報が復帰することとなる。従って、ガス警報器が正常に接続されていない状態であると判断されたときに解除される設定について再設定の手間を省略することができる。   According to the gas meter control method of the present invention, when it is determined that the gas alarm is not normally connected, the setting information indicating that the specific setting is valid is set prior to canceling the setting. The information is duplicated and stored, and when it is determined that the gas alarm is normally connected again after being released, the setting information is restored and stored in the storage means using the setting information stored in duplicate. For this reason, even if it is determined that the gas alarm device is not connected and a specific setting is released, if the gas alarm device is connected normally, information from the setting device or the gas management center The setting information indicating that the specific setting is valid is returned without transmission. Therefore, it is possible to save the trouble of resetting the setting that is released when it is determined that the gas alarm is not properly connected.

本発明によれば、ガス警報器が正常に接続されていない状態であると判断されたときに解除される設定について再設定の手間を省略することができる。   According to the present invention, it is possible to save the trouble of resetting the setting that is released when it is determined that the gas alarm is not properly connected.

本発明の実施形態に係るガスメータの機能構成図である。It is a functional lineblock diagram of the gas meter concerning the embodiment of the present invention. 本実施形態に係るガスメータの制御方法を示すフローチャートであり、ガス警報器の正常接続の判断に関する処理を示している。It is a flowchart which shows the control method of the gas meter which concerns on this embodiment, and has shown the process regarding determination of the normal connection of a gas alarm device. 本実施形態に係るガスメータの制御方法を示すフローチャートであり、設定情報の記憶等に関する処理を示している。It is a flowchart which shows the control method of the gas meter which concerns on this embodiment, and has shown the process regarding the memory | storage etc. of setting information. 本実施形態に係るガスメータの制御方法を示すフローチャートであり、解除及び複製記憶等の処理を示している。It is a flowchart which shows the control method of the gas meter which concerns on this embodiment, and has shown processes, such as cancellation | release and replication storage. 本実施形態に係るガスメータの制御方法を示すフローチャートであり、設定復帰に関する処理を示している。It is a flowchart which shows the control method of the gas meter which concerns on this embodiment, and has shown the process regarding a setting reset.

以下、本発明の好適な実施形態を図面に基づいて説明するが、本発明は以下に限定されるものではない。図1は、本発明の実施形態に係るガスメータの機能構成図である。図1に示すように、本実施形態に係るガスメータ1は、いわゆるマイコンを搭載したマイコンガスメータであって、内部に設けられた流路を通過するガスの流量を積算して液晶表示部(図示せず)等に表示するものである。   Hereinafter, preferred embodiments of the present invention will be described with reference to the drawings, but the present invention is not limited to the following. FIG. 1 is a functional configuration diagram of a gas meter according to an embodiment of the present invention. As shown in FIG. 1, a gas meter 1 according to this embodiment is a microcomputer gas meter equipped with a so-called microcomputer, and integrates the flow rate of gas passing through a flow path provided therein to display a liquid crystal display (not shown). Z).

このようなガスメータ1は、通信I/F部10と、制御部20と、設定記憶部(記憶手段)30とを備えている。   Such a gas meter 1 includes a communication I / F unit 10, a control unit 20, and a setting storage unit (storage unit) 30.

通信I/F部10は、ガスメータ1が外部と通信するための接続部位であり、設定器やガス管理センターなどから信号(通信電文)を受信する。   The communication I / F unit 10 is a connection part for the gas meter 1 to communicate with the outside, and receives a signal (communication message) from a setting device, a gas management center, or the like.

制御部20は、ガスメータ1の全体を制御するものであり、特に本実施形態においては
複数の設定それぞれが有効となっているか解除されているかを個々に示す複数の設定情報が設定記憶部30に記憶され、この設定情報に応じて制御内容を変更するようになっている。設定記憶部30は、設定器やガス管理センターなどから通信電文に応じた設定情報を記憶するものである。このような制御部20及び設定記憶部30はマイコンで構成することができる。
The control unit 20 controls the entire gas meter 1, and in particular in the present embodiment, a plurality of setting information individually indicating whether each of a plurality of settings is valid or canceled is stored in the setting storage unit 30. The contents of control are stored and the control contents are changed according to the setting information. The setting storage unit 30 stores setting information corresponding to a communication message from a setting device, a gas management center, or the like. Such a control part 20 and the setting memory | storage part 30 can be comprised with a microcomputer.

また、制御部20は、接続判断部(接続判断手段)21と、設定受付部(設定受付手段)22と、解除部(解除手段)23とを備えている。   The control unit 20 includes a connection determination unit (connection determination unit) 21, a setting reception unit (setting reception unit) 22, and a cancellation unit (release unit) 23.

接続判断部21は、ガス漏れを検出して警報するガス警報器が正常に接続されているかを判断するものである。このような接続判断部21は、ガス警報器がそもそも接続されていない未接続状態であるか否か、及び、ガス警報器のコンセントプラグが抜けているプラグ抜け状態であるか否かを判断するようになっている。なお、これら双方の状態が、ガス警報器が正常に接続されていない状態(以下接続NG状態という)である。   The connection determination unit 21 determines whether or not a gas alarm device that detects and alarms a gas leak is normally connected. Such a connection determination unit 21 determines whether or not the gas alarm is in the unconnected state in the first place, and whether or not the gas alarm outlet plug is disconnected. It is like that. Both of these states are states in which the gas alarm is not normally connected (hereinafter referred to as a connected NG state).

詳細に説明すると、接続判断部21は、ガス警報器に対して所定時間(例えば1分)毎に問い合わせ信号を送信している。ガス警報器が正常に接続されている場合、ガス警報器は問い合わせ信号に応じて返信をする。よって、接続判断部21は、この返信がない場合(より好ましくは複数回(例えば11回)連続してない場合)に、未接続状態であると判断する。すなわち、接続判断部21は、接続NG状態であると判断する。   If it demonstrates in detail, the connection judgment part 21 will transmit the inquiry signal for every predetermined time (for example, 1 minute) with respect to a gas alarm device. When the gas alarm is normally connected, the gas alarm responds in response to the inquiry signal. Therefore, the connection determination unit 21 determines that the connection is not established when there is no reply (more preferably, when there is no continuous multiple times (for example, 11 times)). That is, the connection determination unit 21 determines that the connection is in the NG state.

また、ガス警報器は、コンセントプラグが抜けた場合に、警報器内部のコンデンサに充電されていた電力を利用して、プラグが抜けた旨の信号をガスメータ1に送信する。さらに、ガスメータ1の接続判断部21は、上記所定時間とは異なる第2所定時間(例えば10分)毎に確認信号を送信する。そして、確認信号に応じた返信がない場合(より好ましくは複数回(例えば4回)連続してない場合)、且つ、プラグが抜けた旨の信号を入力していた場合に、接続判断部21は、プラグ抜け状態であると判断する。すなわち、接続判断部21は、接続NG状態であると判断する。   Further, when the outlet plug is disconnected, the gas alarm device transmits a signal indicating that the plug has been disconnected to the gas meter 1 using the power charged in the capacitor inside the alarm device. Furthermore, the connection determination part 21 of the gas meter 1 transmits a confirmation signal every 2nd predetermined time (for example, 10 minutes) different from the said predetermined time. Then, when there is no reply according to the confirmation signal (more preferably, when there is no continuous multiple times (for example, four times)) and when a signal indicating that the plug has been removed is input, the connection determination unit 21 Is determined to be in the unplugged state. That is, the connection determination unit 21 determines that the connection is in the NG state.

一方、上記に該当しない場合、接続判断部21は、ガス警報器が正常に接続されている状態(以下接続OK状態という)であると判断する。   On the other hand, if not corresponding to the above, the connection determination unit 21 determines that the gas alarm is in a normally connected state (hereinafter referred to as a connection OK state).

設定受付部22は、接続判断部21により接続OK状態であると判断された場合に、外部(設定器やガス管理センター)から特定の設定を有効化する有効化情報を受け付けて特定の設定が有効である旨の設定情報を設定記憶部30に記憶させるものである。   When the connection determination unit 21 determines that the connection is in an OK state, the setting reception unit 22 receives activation information for activating a specific setting from the outside (setting device or gas management center), and the specific setting is received. Setting information indicating that the setting is valid is stored in the setting storage unit 30.

ここで、特定の設定とは、例えば「拡張2(特定の設定の一例)」や「上限固定(特定の設定の一例)」である。すなわち、「拡張2」や「上限固定」は、複数の流量区分毎における流量の継続時間が遮断判定時間以上となる場合に遮断弁を作動させて流路を遮断する使用時間遮断機能における設定であり、遮断判定時間を長期化したり無効化したりする遮断判定時間に関する設定である。このような設定を有効化するとガスメータ1は不安全方向に機能してしまうこととなる。よって、このような設定については、接続判断部21により接続OK状態であると判断された場合に限り、すなわちガス警報器とガスメータ1とが正常に接続されて安全性が確保できる場合に限り有効化可能となる。   Here, the specific setting is, for example, “extension 2 (an example of specific setting)” or “fixed upper limit (an example of specific setting)”. In other words, “expansion 2” and “fixed upper limit” are settings in the usage time cutoff function that shuts off the flow path by operating the cutoff valve when the duration of the flow rate for each of the plurality of flow rate segments is equal to or longer than the cutoff judgment time. Yes, it is a setting related to the interruption determination time for prolonging or invalidating the interruption determination time. If such a setting is validated, the gas meter 1 will function in an unsafe direction. Therefore, such a setting is effective only when the connection determining unit 21 determines that the connection is in an OK state, that is, only when the gas alarm device and the gas meter 1 are normally connected to ensure safety. It becomes possible.

従って、不安全方向に機能しない「下限値以下固定」などの設定情報は、接続判断部21による接続OK状態であるか否かの判断結果によらず、設定受付部22により受け付けられて設定記憶部30に記憶させられる。   Accordingly, setting information such as “fixed below the lower limit value” that does not function in the unsafe direction is accepted by the setting accepting unit 22 regardless of the determination result of whether or not the connection determining unit 21 is in the connection OK state. Stored in the unit 30.

より詳細に説明すると、設定器やガス管理センターからは、上記の特定の設定を含む複数の設定に関する電文が一括して送信される。このため、設定受付部22は、送信された電文内に、特定の設定を有効化又は解除する情報があるか否かを判断し、無い場合には接続判断部21により接続OK状態であると判断されたか否かに拘わらず、その電文を受け付ける。一方、設定受付部22は、特定の設定を有効化又は解除する情報があるか否かを判断し、あると判断した場合には接続OK状態でない限り、特定の設定を有効化又は解除する情報のみを受け付けない。このため、この場合には不安全方向に機能しない「下限値以下固定」の設定を有効化する有効化情報と不安全方向に機能する「拡張2」の設定を有効化する有効化情報とが含まれていたとすると、「拡張2」の有効化情報を受け付けず「下限値以下固定」の有効化情報を受け付ける。よって、「下限値以下固定」の設定のみが有効化されることとなる。   If it demonstrates in detail, the message regarding the some setting containing said specific setting will be transmitted collectively from a setting device or a gas management center. Therefore, the setting reception unit 22 determines whether there is information for enabling or canceling the specific setting in the transmitted message. If there is no information, the connection determination unit 21 determines that the connection is OK. Regardless of whether or not it is determined, the electronic message is accepted. On the other hand, the setting accepting unit 22 determines whether there is information for enabling or canceling the specific setting. When it is determined that there is information, the setting receiving unit 22 enables or cancels the specific setting unless the connection is OK. Do not accept only. Therefore, in this case, there is activation information for enabling the setting of “fixed below the lower limit value” that does not function in the unsafe direction and activation information for enabling the setting of “extension 2” that functions in the unsafe direction. If it is included, the validation information “extension 2” is not accepted, and the validation information “fixed below the lower limit value” is accepted. Therefore, only the setting of “fixed below the lower limit value” is validated.

解除部23は、接続判断部21により接続NG状態であると判断された場合に、特定の設定が有効である旨の設定情報について、その設定を解除して設定記憶部30に記憶させるものである。すなわち、解除される設定情報は、ガスメータ1を不安全方向に機能させてしまう「拡張2」及び「上限固定」等の設定情報である。よって、ガスメータ1を不安全方向に機能させない「下限値以下固定」などの設定情報については解除対象とならない。   The canceling unit 23 cancels the setting and stores the setting information indicating that the specific setting is valid in the setting storage unit 30 when the connection determining unit 21 determines that the connection is NG. is there. That is, the setting information to be canceled is setting information such as “expansion 2” and “fixed upper limit” that cause the gas meter 1 to function in an unsafe direction. Therefore, setting information such as “fixed below the lower limit value” that does not cause the gas meter 1 to function in an unsafe direction is not subject to release.

このように、解除部23がガスメータ1を不安全方向に機能させてしまう「拡張2」及び「上限固定」等の特定の設定について設定が有効となっている場合に、その設定を解除することにより、接続NG状態であり、且つガスメータ1が不安全方向で機能しているという事態を防止して、安全性の向上を図っている。   In this way, when the setting is valid for specific settings such as “expansion 2” and “fixed upper limit” that cause the release unit 23 to function the gas meter 1 in an unsafe direction, the setting is released. Therefore, it is possible to improve the safety by preventing the situation where the gas meter 1 is in the connected NG state and the gas meter 1 is functioning in an unsafe direction.

しかし、解除部23を備える関係上、ガス警報器の検満時における交換の際や停電時には、接続NG状態と判定されて特定の設定が有効である旨の設定情報について、その設定が解除されてしまい、再設定の手間を要してしまうことがあった。すなわち、このような場合には、「拡張2」及び「上限固定」等の設定について有効状態を維持したいことが通常であり、解除されてしまうと再設定しなければならず、非常に手間であった。   However, due to the provision of the release unit 23, the setting is released for the setting information indicating that the specific setting is valid because it is determined to be in the connection NG state at the time of replacement of the gas alarm device or at the time of power failure. In some cases, it took time to re-set. That is, in such a case, it is normal to maintain the valid state for the settings such as “expansion 2” and “fixed upper limit”, and if they are released, they must be reset, which is very troublesome. there were.

そこで、本実施形態においてガスメータ1は、複製記憶部(複製記憶手段)40を備える共に、制御部20に設定復帰部(設定復帰手段)24を備えている。   Therefore, in the present embodiment, the gas meter 1 includes a replication storage unit (replication storage unit) 40 and the control unit 20 includes a setting recovery unit (setting recovery unit) 24.

複製記憶部40は、解除部23の解除に先立って、設定記憶部30により記憶されている設定情報を複製記憶するものである。なお、複製記憶部40は、解除対象となっていない「下限値以下固定」等の情報について複製記憶してもよいし、しなくともよい。なお、以下の説明では「下限値以下固定」等の情報について複製記憶しないものとして説明する。   The duplicate storage unit 40 duplicates and stores the setting information stored in the setting storage unit 30 prior to the release by the release unit 23. Note that the duplicate storage unit 40 may or may not duplicate and store information such as “fixed below the lower limit value” that is not a release target. In the following description, it is assumed that information such as “fixed below the lower limit value” is not duplicated and stored.

設定復帰部24は、解除部23により設定情報が解除された後に、接続判断部21により再度接続OK状態であると判断された場合に、複製記憶部40により複製記憶しておいた設定情報を用いて設定記憶部30に設定情報を復帰記憶させるものである。このように構成することで、解除された設定情報は設定記憶部30に再度呼び戻される形となり、設定器やガス管理センターからの通信電文なしに特定の設定が有効である旨の設定情報を復帰させることができる。   After the setting information is canceled by the canceling unit 23 and the connection determining unit 21 determines that the connection is in the OK state again, the setting returning unit 24 replicates the setting information that has been copied and stored by the copy storage unit 40. The setting information is restored and stored in the setting storage unit 30. With this configuration, the released setting information is recalled to the setting storage unit 30, and the setting information indicating that the specific setting is valid is restored without a communication message from the setting device or the gas management center. Can be made.

なお、複製記憶部40における設定情報の複製記憶のタイミングは、解除部23の解除よりも前であればよく、例えば特定の設定について有効化されて設定記憶部30に記憶された直後であってもよい。しかし、複製記憶のタイミングは、接続判断部21により接続NG状態であると判断された後、解除部23の解除前であることが好ましい。これにより、必要時以外には複製記憶部40に設定情報が複製記憶されることなく、不要な処理を省略する等できるからである。   Note that the timing for replicating the setting information in the replica storage unit 40 may be before the cancellation of the canceling unit 23, for example, immediately after the specific setting is validated and stored in the setting storage unit 30. Also good. However, it is preferable that the replication storage timing is before the release of the release unit 23 after the connection determination unit 21 determines that the connection is NG. This is because the setting information is not duplicated and stored in the duplicate storage unit 40 except when necessary, and unnecessary processing can be omitted.

さらに、複製記憶部40は、接続NG状態であると判断された後、解除部23の解除前に、複製記憶した設定情報を、予め定められた期間の経過後、消去することが好ましい。これにより、停電時や検満時など設定情報が解除されるものの、比較的短い時間でガス警報器が再接続される場合には設定情報が記憶保持されており、ガスメータ1自体を他の場所に移動させ設置するような場合など比較的長期に亘りガス警報器が再接続されない場合には設定情報が解除されることとなる。よって、設定情報が復帰して欲しい場合と、ガスメータ1の移動設置時のように同じ設定を必要とするかは不明であり設定情報が復帰して欲しくない場合との切り分けをでき、一層利便性を向上させることができる。   Furthermore, it is preferable that the copy storage unit 40 deletes the setting information that has been stored in a duplicate after a predetermined period of time has elapsed before the release unit 23 releases it after determining that it is in the connected NG state. As a result, although the setting information is canceled at the time of a power failure or inspection, when the gas alarm is reconnected in a relatively short time, the setting information is stored and held, and the gas meter 1 itself is moved to another location. If the gas alarm is not reconnected for a relatively long period of time, such as when it is moved and installed, the setting information is cancelled. Therefore, it is possible to distinguish between the case where the setting information is desired to be restored and the case where it is unclear whether the same setting is required as in the case of moving the gas meter 1 and the setting information is not desired to be restored. Can be improved.

加えて、複製記憶部40は、特定の設定を含む複数の設定のいずれか1つ以上について、設定の有効状態又は解除状態が他方の状態に変更された場合、複製記憶した設定情報を消去することが好ましい。これにより、設定情報を複製記憶して保持している場合においても、手動(例えば設定器やガス管理センターからの設定操作)による設定を優先し、設定情報を消去することで、ガス警報器が再度正常接続されたときに、意図しない設定となってしまうことを防止することができるからである。   In addition, for any one or more of a plurality of settings including a specific setting, the duplicate storage unit 40 erases the duplicated and stored setting information when the valid state or the released state of the setting is changed to the other state. It is preferable. As a result, even when the setting information is duplicated and stored, the setting by manual (for example, setting operation from the setting device or the gas management center) is given priority, and the gas alarm is This is because an unintended setting can be prevented when the connection is normally made again.

図2〜図5は、本実施形態に係るガスメータ1の制御方法を示すフローチャートであり、図2はガス警報器の正常接続の判断に関する処理を示している。まず、図2に示すように、制御部20の接続判断部21は、接続判断処理を実行する(S1)。この処理においては、上記したようにして未接続状態であるか否か、及びプラグ抜け状態であるか否かを判断するための信号送信等が行われる。   2-5 is a flowchart which shows the control method of the gas meter 1 which concerns on this embodiment, and FIG. 2 has shown the process regarding determination of the normal connection of a gas alarm device. First, as shown in FIG. 2, the connection determination unit 21 of the control unit 20 executes a connection determination process (S1). In this process, signal transmission or the like is performed as described above to determine whether or not it is in an unconnected state and whether or not it is in a plug-out state.

そして、接続判断部21は、接続OK状態であるかを判断する(S2)。接続OK状態であると判断した場合(S2:YES)、制御部20は、接続フラグをオンし(S3)、図2に示す処理は終了する。一方、接続OK状態でなく接続NG状態であると判断した場合(S2:NO)、制御部20は、接続フラグをオフし(S4)、図2に示す処理は終了する。   Then, the connection determination unit 21 determines whether the connection is in an OK state (S2). If it is determined that the connection is OK (S2: YES), the control unit 20 turns on the connection flag (S3), and the process shown in FIG. On the other hand, if it is determined that the connection NG state is established instead of the connection OK state (S2: NO), the control unit 20 turns off the connection flag (S4), and the process shown in FIG.

なお、図2に示す処理はガスメータ1の電源がオフされるまで繰り返し実行される。   The process shown in FIG. 2 is repeatedly executed until the power of the gas meter 1 is turned off.

図3は、設定情報の記憶等に関する処理を示している。図3に示すように、ガスメータ1の制御部20は、通信電文が入力されたかを判断する(S11)。通信電文が入力されていないと判断した場合(S11:NO)、入力されたと判断されるまで、この処理が繰り返される。   FIG. 3 shows processing related to storage of setting information and the like. As shown in FIG. 3, the control unit 20 of the gas meter 1 determines whether a communication telegram has been input (S11). If it is determined that a communication message has not been input (S11: NO), this process is repeated until it is determined that the communication message has been input.

通信電文が入力されたと判断した場合(S11:YES)、制御部20は、通信電文に特定の設定を変更する旨の情報が含まれているかを判断する(S12)。すなわち、制御部20は、ガスメータ1を不安全方向に機能させてしまう「拡張2」及び「上限固定」等の設定に関する情報が含まれているかを判断する。   When it is determined that a communication message has been input (S11: YES), the control unit 20 determines whether the communication message includes information for changing a specific setting (S12). That is, the control unit 20 determines whether information related to settings such as “expansion 2” and “fixed upper limit” that cause the gas meter 1 to function in an unsafe direction is included.

特定の設定を変更する旨の情報が含まれていると判断した場合(S12:YES)、制御部20は、接続フラグがオン状態であるかを判断する(S13)。オン状態であると判断した場合(S13:YES)、設定受付部22は、入力した通信電文による設定の変更を受け付けて設定記憶部30に記憶させる(S14)。すなわち、特定の設定を有効化する有効化情報が含まれていた場合には、特定の設定が有効である旨の設定情報が記憶させられることとなる。そして、図3に示す処理は終了する。   When it is determined that the information to change the specific setting is included (S12: YES), the control unit 20 determines whether the connection flag is in the on state (S13). If it is determined that it is in the on state (S13: YES), the setting accepting unit 22 accepts the setting change by the input communication message and stores it in the setting storage unit 30 (S14). In other words, when the validation information for validating the specific setting is included, the setting information indicating that the specific setting is valid is stored. Then, the process shown in FIG. 3 ends.

一方、オン状態でないと判断した場合(S13:NO)、制御部20は、特定の設定以外の設定を変更する情報が含まれているかを判断する(S15)。すなわち、制御部20は、「下限値以下固定」等の設定に関する情報が含まれているかを判断する。特定の設定以外の設定を変更する情報が含まれていると判断した場合(S15:YES)、制御部20は、「下限値以下固定」等の設定の変更を受け付けて設定記憶部30に記憶させる(S14)。そして、図3に示す処理は終了する。   On the other hand, when determining that it is not in the ON state (S13: NO), the control unit 20 determines whether information for changing a setting other than the specific setting is included (S15). In other words, the control unit 20 determines whether information related to the setting such as “fixed below the lower limit value” is included. When it is determined that the information for changing the setting other than the specific setting is included (S15: YES), the control unit 20 receives the change of the setting such as “fixed below the lower limit value” and stores it in the setting storage unit 30. (S14). Then, the process shown in FIG. 3 ends.

一方、特定の設定以外の設定を変更する情報が含まれていないと判断した場合(S15:NO)、入力した通信電文は特定の設定のみを変更するものであることから、設定受付部22は、通信電文自体を受け付けない。よって、ステップS14における記憶処理は実行されることなく、図3に示す処理は終了する。   On the other hand, if it is determined that the information for changing the setting other than the specific setting is not included (S15: NO), the input communication message changes only the specific setting. The communication message itself is not accepted. Therefore, the storage process in step S14 is not executed, and the process shown in FIG. 3 ends.

ところで、通信電文に特定の設定を変更する旨の情報が含まれていないと判断した場合(S12:NO)、制御部20は、「下限値以下固定」などの設定に関する通信電文であると判断し、ステップS14における記憶処理を経て、図3に示す処理は終了する。   By the way, when it is determined that the information to change the specific setting is not included in the communication message (S12: NO), the control unit 20 determines that the communication message is related to the setting such as “fixed below the lower limit value”. Then, after the storage process in step S14, the process shown in FIG.

図4は、解除及び複製記憶等の処理を示している。図4に示すように、まず制御部20は接続フラグがオフ状態であるかを判断する(S21)。接続フラグがオフ状態でないと判断した場合(S21:NO)、図4に示す処理は終了する。   FIG. 4 shows processing such as cancellation and copy storage. As shown in FIG. 4, the control unit 20 first determines whether or not the connection flag is in an off state (S21). If it is determined that the connection flag is not in the off state (S21: NO), the process shown in FIG. 4 ends.

接続フラグがオフ状態であると判断した場合(S21:YES)、制御部20は、設定記憶部30に解除対象の設定情報が記憶されているかを判断する(S22)。すなわち、制御部20は、「拡張2」及び「上限固定」等の特定の設定が有効である旨の設定情報が記憶されているかを判断することとなる。   When it is determined that the connection flag is in the off state (S21: YES), the control unit 20 determines whether the setting information to be canceled is stored in the setting storage unit 30 (S22). That is, the control unit 20 determines whether setting information indicating that specific settings such as “extension 2” and “fixed upper limit” are valid is stored.

特定の設定が有効である旨の設定情報が記憶されていると判断した場合(S22:YES)、制御部20は、設定記憶部30に記憶されている設定情報を、複製記憶部40に複製記憶させる(S23)。その後、解除部23は、その設定情報について設定を解除し(S24)、図4に示す処理は終了する。   When it is determined that the setting information indicating that the specific setting is valid is stored (S22: YES), the control unit 20 copies the setting information stored in the setting storage unit 30 to the copy storage unit 40. Store (S23). Thereafter, the canceling unit 23 cancels the setting for the setting information (S24), and the process illustrated in FIG. 4 ends.

一方、特定の設定が有効である旨の設定情報が記憶されていないと判断した場合(S22:NO)、制御部20は、複製記憶部40に設定情報が複製記憶されているかを判断する(S25)。すなわち、ステップS23の処理を経て、特定の設定が有効である旨の設定情報が複製記憶されていたかを判断する。   On the other hand, when it is determined that the setting information indicating that the specific setting is valid is not stored (S22: NO), the control unit 20 determines whether the setting information is duplicated and stored in the duplicate storage unit 40 ( S25). That is, it is determined whether the setting information indicating that the specific setting is valid has been copied and stored through the process of step S23.

特定の設定が有効である旨の設定情報が複製記憶されていないと判断した場合(S25:NO)、図4に示す処理は終了する。特定の設定が有効である旨の設定情報が複製記憶されていると判断した場合(S25:YES)、制御部20は、設定情報が複製記憶されてから(すなわちステップS23の処理から)所定期間(予め定められた期間)経過したかを判断する(S26)。   When it is determined that the setting information indicating that the specific setting is valid is not stored in duplicate (S25: NO), the process illustrated in FIG. 4 ends. When it is determined that the setting information indicating that the specific setting is valid is stored in duplicate (S25: YES), the control unit 20 replicates and stores the setting information (that is, from the process of step S23) for a predetermined period. It is determined whether (predetermined period) has elapsed (S26).

所定期間経過したと判断した場合(S26:YES)、制御部20は、複製記憶部40に複製記憶されている設定情報を消去する(S27)。その後、図4に示す処理は終了する。   When it is determined that the predetermined period has elapsed (S26: YES), the control unit 20 deletes the setting information copied and stored in the copy storage unit 40 (S27). Thereafter, the process shown in FIG. 4 ends.

一方、所定期間経過していないと判断した場合(S26:NO)、制御部20は、設定情報を変更する旨の通信電文があったかを判断する(S28)。設定情報を変更する旨の通信電文があったと判断した場合(S28:YES)、制御部20は、複製記憶部40に記憶されている設定情報を消去し(S27)、図4に示す処理は終了する。設定情報を変更する旨の通信電文がなかったと判断した場合(S28:NO)、複製記憶部40に記憶されている設定情報は消去されることなく、図4に示す処理は終了する。   On the other hand, when it is determined that the predetermined period has not elapsed (S26: NO), the control unit 20 determines whether there is a communication message to change the setting information (S28). When it is determined that there is a communication message for changing the setting information (S28: YES), the control unit 20 deletes the setting information stored in the duplicate storage unit 40 (S27), and the process shown in FIG. finish. When it is determined that there is no communication message for changing the setting information (S28: NO), the setting information stored in the copy storage unit 40 is not deleted, and the process illustrated in FIG. 4 ends.

図5は、設定復帰に関する処理を示している。図5に示すように、まず制御部20は、接続フラグがオン状態であるかを判断する(S31)。オン状態でないと判断した場合(S31:NO)、図5に示す処理は終了する。   FIG. 5 shows processing related to setting return. As shown in FIG. 5, the control unit 20 first determines whether or not the connection flag is on (S31). When it is determined that it is not in the on state (S31: NO), the processing shown in FIG.

一方、オン状態であると判断した場合(S31:YES)、制御部20は、複製記憶部40に設定情報が複製記憶されているかを判断する(S32)。設定情報が複製記憶されていないと判断した場合(S32:NO)、図5に示す処理は終了する。   On the other hand, when determining that it is in the on state (S31: YES), the control unit 20 determines whether or not the setting information is duplicated and stored in the duplicate storage unit 40 (S32). If it is determined that the setting information is not stored in duplicate (S32: NO), the process shown in FIG. 5 ends.

設定情報が複製記憶されていると判断した場合(S32:YES)、制御部20は、複製記憶部40に複製記憶されている設定情報を、設定記憶部30に復帰記憶させる(S33)。すなわち、制御部20は、解除部23により解除された設定情報を復帰させる。   When determining that the setting information is duplicated and stored (S32: YES), the control unit 20 restores and stores the setting information duplicated and stored in the replica storage unit 40 in the setting storage unit 30 (S33). That is, the control unit 20 restores the setting information released by the release unit 23.

その後、制御部20は、複製記憶部40に複製記憶されている設定情報を消去し(S34)、図5に示す処理は終了する。   Thereafter, the control unit 20 deletes the setting information copied and stored in the copy storage unit 40 (S34), and the process shown in FIG. 5 ends.

このようにして、本実施形態に係るガスメータ1及び制御方法によれば、ガス警報器が正常に接続されていないと判断された場合に、特定の設定が有効である旨の設定情報について、その設定を解除するに先立って設定情報を複製記憶し、解除された後にガス警報器が再度正常に接続されていると判断された場合に、複製記憶しておいた設定情報を用いて設定記憶部30に設定情報を復帰記憶させる。このため、ガス警報器が未接続状態であると判断されて特定の設定が解除されてしまったとしても、その後、ガス警報器が正常に接続されれば、設定器やガス管理センターからの情報送信なしに特定の設定が有効である旨の設定情報が復帰することとなる。従って、ガス警報器が正常に接続されていない状態であると判断されたときに解除される設定について再設定の手間を省略することができる。   Thus, according to the gas meter 1 and the control method according to the present embodiment, when it is determined that the gas alarm is not normally connected, the setting information indicating that the specific setting is valid, Prior to canceling the setting, the setting information is duplicated and stored, and when it is determined that the gas alarm is normally connected again after the cancellation, the setting storage unit uses the setting information stored in duplicate. The setting information is returned to 30 and stored. For this reason, even if it is determined that the gas alarm device is not connected and a specific setting is released, if the gas alarm device is connected normally, information from the setting device or the gas management center The setting information indicating that the specific setting is valid is returned without transmission. Therefore, it is possible to save the trouble of resetting the setting that is released when it is determined that the gas alarm is not properly connected.

また、ガス警報器が正常に接続されていないと判断された後解除前に、特定の設定が有効である旨の設定情報を複製記憶するため、ガス警報器が正常に接続されている限り特定の設定が有効である旨の設定情報が複製記憶されることはない。このように、設定情報は必要時以外に複製記憶されることがなく不要な処理を省略すると共に、複製記憶された情報に基づく誤動作等の可能性を低減することができる。   Also, since it is determined that the gas alarm is not properly connected and before the release, the setting information indicating that the specific setting is valid is duplicated and stored. The setting information indicating that the setting is valid is not duplicated and stored. Thus, the setting information is not duplicated and stored except when necessary, and unnecessary processing can be omitted, and the possibility of malfunctions based on the duplicated and stored information can be reduced.

また、予め定められた期間の経過後、複製記憶した設定情報を消去するため、停電時や検満時など特定の設定が有効である旨の設定情報についてその設定が解除されるものの比較的短い時間でガス警報器が再接続される場合には、設定情報が記憶保持されており、ガスメータ自体を他の場所に移動させ設置するような場合など比較的長期に亘りガス警報器が再接続されない場合には、設定情報が消去されることとなる。よって、設定情報が復帰して欲しい場合と、ガスメータの移動設置時のように同じ設定を必要とするかは不明であり設定情報が復帰して欲しくない場合との切り分けをでき、一層利便性を向上させることができる。   In addition, after the elapse of a predetermined period, the setting information stored in a duplicated manner is erased, so that the setting information indicating that a specific setting is valid, such as at the time of a power failure or at the time of verification, is canceled but relatively short. When the gas alarm is reconnected over time, the setting information is stored and retained, and the gas alarm is not reconnected for a relatively long time, such as when the gas meter itself is moved to another location and installed. In this case, the setting information is deleted. Therefore, it is possible to distinguish between the case where the setting information is desired to be restored and the case where the same setting is required as in the case of moving and installing the gas meter, and the case where the setting information is not desired to be restored. Can be improved.

また、複数の設定のいずれか1つ以上について、設定情報の有効状態又は解除状態が他方の状態に変更された場合、複製記憶した設定情報を消去するため、設定情報を複製記憶して保持している場合においても、手動(例えば設定器やガス管理センターからの設定操作)による設定を優先し、複製記憶した設定情報を消去することで、ガス警報器が再度正常接続されたときに、意図しない設定となってしまうことを防止することができる。   In addition, for any one or more of a plurality of settings, when the valid or canceled state of the setting information is changed to the other state, the setting information is duplicated and stored in order to delete the setting information that has been duplicated and stored. Even if the gas alarm device is normally connected again by giving priority to manual settings (for example, setting operations from the setting device or gas management center) and deleting the copied and stored setting information, It is possible to prevent the setting from not being performed.

以上、実施形態に基づき本発明を説明したが、本発明は上記実施形態に限られるものではなく、本発明の趣旨を逸脱しない範囲で、変更を加えてもよい。   As described above, the present invention has been described based on the embodiment, but the present invention is not limited to the above embodiment, and may be modified without departing from the gist of the present invention.

例えば、図5のステップS34に示すように、複製記憶部40に複製記憶されている設定情報を、設定記憶部30に復帰させた場合、複製記憶部40に複製記憶されている設定情報は消去されているが、消去されず記憶保持されてもよい。この場合、設定記憶部30に復帰されてから所定期間経過後に消去されるようにしてもよい。   For example, as shown in step S34 in FIG. 5, when the setting information duplicated and stored in the duplicate storage unit 40 is returned to the setting storage unit 30, the setting information duplicated and stored in the duplicate storage unit 40 is deleted. However, it may be stored and held without being erased. In this case, it may be erased after a predetermined period of time has elapsed after returning to the setting storage unit 30.

1 :ガスメータ
10 :通信I/F部
20 :制御部
21 :接続判断部(接続判断手段)
22 :設定受付部(設定受付手段)
23 :解除部(解除手段)
24 :設定復帰部(設定復帰手段)
30 :設定記憶部(記憶手段)
40 :複製記憶部(複製記憶手段)
1: Gas meter 10: Communication I / F unit 20: Control unit 21: Connection determination unit (connection determination means)
22: Setting reception unit (setting reception means)
23: Release part (release means)
24: Setting return unit (setting return means)
30: Setting storage section (storage means)
40: Replication storage unit (replication storage means)

Claims (5)

内部に設けられた流路を通過するガスの流量を積算して表示すると共に、記憶手段に記憶され複数の設定それぞれが有効となっているか解除されているかを個々に示す複数の設定情報に応じて制御内容を変更するガスメータであって、
ガス漏れを検出して警報するガス警報器が正常に接続されているかを判断する接続判断手段と、
前記接続判断手段によりガス警報器が正常に接続されていると判断された場合に、外部から特定の設定を有効化する有効化情報を受け付けて前記特定の設定が有効である旨の設定情報を前記記憶手段に記憶させる設定受付手段と、
前記接続判断手段によりガス警報器が正常に接続されていないと判断された場合に、前記特定の設定が有効である旨の設定情報について、その設定を解除して前記記憶手段に記憶させる解除手段と、
前記解除手段による解除に先立って、前記記憶手段により記憶され前記特定の設定が有効である旨の設定情報を複製記憶する複製記憶手段と、
前記解除手段による解除の後に、前記接続判断手段により再度ガス警報器が正常に接続されていると判断された場合に、前記複製記憶手段により複製記憶しておいた設定情報を用いて前記記憶手段に設定情報を復帰記憶させる設定復帰手段と、
を備えることを特徴とするガスメータ。
According to a plurality of setting information individually indicating whether each of a plurality of settings stored in the storage means is valid or cancelled, while accumulating and displaying the flow rate of the gas passing through the flow path provided inside. Gas meter to change the control content,
A connection judgment means for judging whether or not a gas alarm for detecting and leaking a gas is normally connected;
When it is determined by the connection determining means that the gas alarm is normally connected, the setting information indicating that the specific setting is valid by accepting the activation information for enabling the specific setting from the outside. Setting accepting means to be stored in the storage means;
Release means for releasing the setting and storing the setting information indicating that the specific setting is valid when the connection determination means determines that the gas alarm is not normally connected. When,
Prior to release by the release means, copy storage means for copying and storing setting information that is stored by the storage means and that the specific setting is valid;
After the release by the release means, when the connection determination means determines that the gas alarm is normally connected again, the storage means using the setting information copied and stored by the copy storage means A setting return means for resetting and storing the setting information;
A gas meter comprising:
前記複製記憶手段は、前記接続判断手段によりガス警報器が正常に接続されていないと判断された後、前記解除手段による解除前に、前記記憶手段により記憶され前記特定の設定が有効である旨の設定情報を複製記憶する
ことを特徴とする請求項1に記載のガスメータ。
The duplicate storage means is stored by the storage means after the judgment by the connection judgment means that the gas alarm is not normally connected and is released by the release means, and the specific setting is valid. The gas meter according to claim 1, wherein the setting information is copied and stored.
前記複製記憶手段は、予め定められた期間の経過後、複製記憶した設定情報を消去する
ことを特徴とする請求項2に記載のガスメータ。
The gas meter according to claim 2, wherein the duplicate storage unit deletes the duplicated and stored setting information after elapse of a predetermined period.
前記複製記憶手段は、前記特定の設定を含む複数の設定のいずれか1つ以上について、設定情報の有効状態又は解除状態が他方の状態に変更された場合、複製記憶した設定情報を消去する
ことを特徴とする請求項1又は請求項2のいずれかに記載のガスメータ。
The duplicate storage means deletes the duplicated and stored setting information when the valid state or release state of the setting information is changed to the other state for any one or more of the plurality of settings including the specific setting. The gas meter according to any one of claims 1 and 2.
内部に設けられた流路を通過するガスの流量を積算して表示すると共に、記憶手段に記憶され複数の設定それぞれが有効となっているか解除されているかを個々に示す複数の設定情報に応じて制御内容を変更するガスメータの制御方法であって、
ガス漏れを検出して警報するガス警報器が正常に接続されているかを判断する接続判断工程と、
前記接続判断工程においてガス警報器が正常に接続されていると判断された場合に、外部から特定の設定を有効化する有効化情報を受け付けて前記特定の設定が有効である旨の設定情報を前記記憶手段に記憶させる設定受付工程と、
前記接続判断工程においてガス警報器が正常に接続されていないと判断された場合に、前記特定の設定が有効である旨の設定情報について、その設定を解除して前記記憶手段に記憶させる解除工程と、
前記解除工程における解除に先立って、前記記憶手段により記憶され前記特定の設定が有効である旨の設定情報を複製記憶する複製記憶工程と、
前記解除工程による解除の後に、再度ガス警報器が正常に接続されているかを判断する第2接続判断工程と、
前記第2接続判断工程においてガス警報器が正常に接続されていると判断された場合に、前記複製記憶工程において複製記憶しておいた設定情報を用いて前記記憶手段に設定情報を復帰記憶させる設定復帰工程と、
を備えることを特徴とするガスメータの制御方法。
According to a plurality of setting information individually indicating whether each of a plurality of settings stored in the storage means is valid or cancelled, while accumulating and displaying the flow rate of the gas passing through the flow path provided inside. Gas meter control method for changing the control content,
A connection determination step for determining whether or not a gas alarm for detecting and leaking a gas is normally connected;
When it is determined that the gas alarm device is normally connected in the connection determination step, setting information indicating that the specific setting is valid by accepting activation information for enabling the specific setting from the outside. A setting accepting step to be stored in the storage means;
When it is determined that the gas alarm device is not normally connected in the connection determination step, the setting information indicating that the specific setting is valid is canceled and stored in the storage unit. When,
Prior to release in the release step, a copy storage step for copying and storing setting information that is stored by the storage means and that the specific setting is valid;
A second connection determination step of determining whether the gas alarm is normally connected again after release by the release step;
When it is determined that the gas alarm device is normally connected in the second connection determination step, the setting information is restored and stored in the storage unit using the setting information stored in the copy storage step. Setting return process,
A control method for a gas meter, comprising:
JP2014167512A 2014-08-20 2014-08-20 Gas meter and control method thereof Active JP6353740B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014167512A JP6353740B2 (en) 2014-08-20 2014-08-20 Gas meter and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014167512A JP6353740B2 (en) 2014-08-20 2014-08-20 Gas meter and control method thereof

Publications (2)

Publication Number Publication Date
JP2016045006A true JP2016045006A (en) 2016-04-04
JP6353740B2 JP6353740B2 (en) 2018-07-04

Family

ID=55635712

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014167512A Active JP6353740B2 (en) 2014-08-20 2014-08-20 Gas meter and control method thereof

Country Status (1)

Country Link
JP (1) JP6353740B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006276002A (en) * 2005-03-01 2006-10-12 Yazaki Corp Gas shutoff/reset method and gas meter
JP2009008530A (en) * 2007-06-28 2009-01-15 Yazaki Corp Gas shutoff control apparatus
US20100229653A1 (en) * 2006-05-25 2010-09-16 Alfa Centauri S.P.A. Method And An Apparatus For Operating An Electromagnetic Valve Associated To A Gas Meter
JP2014137261A (en) * 2013-01-16 2014-07-28 Yazaki Corp Gas meter and method for controlling the same

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006276002A (en) * 2005-03-01 2006-10-12 Yazaki Corp Gas shutoff/reset method and gas meter
US20100229653A1 (en) * 2006-05-25 2010-09-16 Alfa Centauri S.P.A. Method And An Apparatus For Operating An Electromagnetic Valve Associated To A Gas Meter
JP2009008530A (en) * 2007-06-28 2009-01-15 Yazaki Corp Gas shutoff control apparatus
JP2014137261A (en) * 2013-01-16 2014-07-28 Yazaki Corp Gas meter and method for controlling the same

Also Published As

Publication number Publication date
JP6353740B2 (en) 2018-07-04

Similar Documents

Publication Publication Date Title
US10042630B1 (en) Software updates from a security control unit
CN108376226B (en) Unauthorized determination system and unauthorized determination method
KR101657928B1 (en) Programmable logic controller
CN104133709A (en) Upgrading method and device for embedded system
JP5762016B2 (en) Information processing apparatus, control method, and program
JP6353740B2 (en) Gas meter and control method thereof
JP4789958B2 (en) Component information restoration method, component information management method, and electronic apparatus
JP2009205545A (en) Machine tool, illegal transfer notification device and mechanical operation restriction method
US10862739B2 (en) Systems and methods for dynamic output control hierarchy for wireless fire systems and for fire protection before and during the installation thereof
JP2008176608A (en) Data backup device and data backup method
JP2013186623A (en) Transmission system and log data collection device
CN102735450A (en) System and method for use in evaluating an operation of a combustion machine
CN104683153B (en) A kind of active and standby MPU control method of cluster routers and its system
JP6967356B2 (en) Alternative system
JP2012018502A (en) Gas shutoff apparatus
JP6211842B2 (en) COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND FILM OPERATION ABNORMALITY CONTROL METHOD
JP6133061B2 (en) Gas meter and control method thereof
JP2008250891A (en) Alarm and fire alarm
JP4757300B2 (en) Volume management apparatus and volume management method
JP2020154540A (en) Memory system and control system
JP2019160107A (en) Transmission controller
US9369626B2 (en) Electronic device and imaging apparatus that prevent processing related to an invalid function
JP5884368B2 (en) Electronics
JP2018097442A (en) Electronic controller
JP2012194786A (en) Program execution state monitoring device, and execution state monitoring program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20170719

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20180516

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20180611

R150 Certificate of patent or registration of utility model

Ref document number: 6353740

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250