Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP5030396B2 - Setting device - Google Patents
[go: Go Back, main page]

JP5030396B2 - Setting device - Google Patents

Setting device Download PDF

Info

Publication number
JP5030396B2
JP5030396B2 JP2005177223A JP2005177223A JP5030396B2 JP 5030396 B2 JP5030396 B2 JP 5030396B2 JP 2005177223 A JP2005177223 A JP 2005177223A JP 2005177223 A JP2005177223 A JP 2005177223A JP 5030396 B2 JP5030396 B2 JP 5030396B2
Authority
JP
Japan
Prior art keywords
terminal
terminal device
side network
unit
message
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
JP2005177223A
Other languages
Japanese (ja)
Other versions
JP2006352598A (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.)
Tokyo Gas Co Ltd
Original Assignee
Tokyo Gas Co 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 filed Critical Tokyo Gas Co Ltd
Priority to JP2005177223A priority Critical patent/JP5030396B2/en
Publication of JP2006352598A publication Critical patent/JP2006352598A/en
Application granted granted Critical
Publication of JP5030396B2 publication Critical patent/JP5030396B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)
  • Selective Calling Equipment (AREA)

Description

本発明は、ガス・水道・下水・電力といったユーティリティ使用量を計測する各種メータ(ユーティリティメータ)の設定器に関する。   The present invention relates to a setting device for various meters (utility meters) for measuring utility usage such as gas, water, sewage, and electric power.

一般に、家庭や事業所などに設置されたガスメータと、監視センターとを電話回線で結び、ガスメータを24時間監視する監視通報サービスが需要家の要望に応じ行われる技術がすでに確立している。この監視通報サービスは、例えば、ガスメータの通信機能を活用して、需要家の要望に応じて監視センターからガスメータを遠隔操作してガスの供給を停止するサービス(遠隔しゃ断サービス)、ガスメータが何らか異常を検知したときにガスメータから監視センターへ通知された内容に応じて、ガスメータが自動的にガスの供給を遮断する前に監視センターの職員が需要家に対して問い合わせを行うサービス(自動通報機能サービス)、およびガス使用量を自動検針するサービス(自動検針サービス)をいう。   In general, a technology has already been established in which a monitoring notification service for connecting a gas meter installed in a home or business establishment to a monitoring center via a telephone line and monitoring the gas meter for 24 hours according to the demand of a customer. This monitoring and reporting service uses, for example, a gas meter communication function to remotely operate a gas meter from a monitoring center in response to a customer's request to stop the supply of gas (remote shut-off service). A service (automatic notification function) where the monitoring center staff makes inquiries to the customer before the gas meter automatically shuts off the gas supply according to the content notified from the gas meter to the monitoring center when an abnormality is detected Service) and a service (automatic meter reading service) for automatically metering the amount of gas used.

このように、監視通報サービスを利用している需要家宅に設置されているガスメータは、監視センターと電話回線を介して逐一通信を行っているため、電話回線やガスメータの通信機能に何らかの異常が生じた場合は、需要家に対し上記サービスを提供することが困難となる。そのため、このような異常が生じた場合には、作業員が現場に赴き、設定器と呼ばれる、通信診断や、ガスメータの設定確認・変更を行うための機器を用いて異常の原因を解析することとなる。   As described above, the gas meter installed in the customer's home using the monitoring and reporting service communicates with the monitoring center via the telephone line, so that some abnormality occurs in the communication function of the telephone line and the gas meter. In such a case, it is difficult to provide the service to consumers. Therefore, when such an abnormality occurs, an operator must go to the site and analyze the cause of the abnormality using a device called a setting device for communication diagnosis and confirmation / change of gas meter settings. It becomes.

図6は、上記した監視通報サービスを実現するための通信システムのうち需要家宅に設置されているガスメータ側の構成の一例を機能ブロックごとに表したものである。ガスメータである端末装置200と監視センター(図示せず)との間には、端末側網制御装置100と呼ばれる、端末装置200と監視センターとが通信を行うための装置が設けられており、監視センターと端末側網制御装置100とは外部回線140Aを介して、端末側網制御装置100と端末装置200とは専用回線140Bを介して、それぞれ接続されている。そして、上記した設定器300は、端末側網制御装置100と端末装置200とが接続されている接続部Jに、専用回線140Bを介して接続されている。これにより、設定器300は、端末装置200と直接通信を行って端末装置200や専用回線140Bに異常が無いか解析すると共に、端末側網制御装置100を介して監視センターと通信を行って端末側網制御装置100や外部回線140Aに異常が無いか解析することができる。   FIG. 6 shows an example of the configuration on the gas meter side installed in the customer's house in the communication system for realizing the monitoring and reporting service described above for each functional block. Between the terminal device 200 that is a gas meter and a monitoring center (not shown), a device called a terminal-side network control device 100 for communication between the terminal device 200 and the monitoring center is provided. The center and the terminal-side network control device 100 are connected to each other via an external line 140A, and the terminal-side network control device 100 and the terminal device 200 are connected to each other via a dedicated line 140B. The setting device 300 described above is connected to a connection portion J to which the terminal-side network control device 100 and the terminal device 200 are connected via a dedicated line 140B. Thereby, the setting device 300 directly communicates with the terminal device 200 to analyze whether there is an abnormality in the terminal device 200 or the dedicated line 140B, and also communicates with the monitoring center via the terminal-side network control device 100. It is possible to analyze whether there is an abnormality in the side network control device 100 or the external line 140A.

なお、上記通信システムで行われる通信は、特許文献1に記載されているように、通信機能付きガスメータ独自の通信仕様(以下、「Aライン」という)で行われるようになっている。   In addition, as described in Patent Document 1, the communication performed in the communication system is performed with a communication specification unique to a gas meter with a communication function (hereinafter referred to as “A line”).

特開平5−176071Japanese Patent Laid-Open No. 5-176071

このように、端末側網制御装置100、端末装置200および設定器300は、独自の通信仕様を採用していた関係で、汎用性の無い、専用のハードウェアをそれぞれ実装していた。そのため、需要家の新たなニーズに対応した新しい端末側網制御装置100または端末装置200が市場に投入されたり、既存の端末側網制御装置100または端末装置200の仕様変更がなされる度に、設定器300の修正に膨大な時間や手間、費用がかかるという問題がある。   As described above, the terminal-side network control device 100, the terminal device 200, and the setting device 300 are each mounted with dedicated hardware having no versatility because they employ unique communication specifications. Therefore, whenever a new terminal-side network control device 100 or terminal device 200 corresponding to the new needs of the customer is introduced to the market, or the specifications of the existing terminal-side network control device 100 or terminal device 200 are changed, There is a problem that it takes a lot of time, labor, and expense to correct the setting device 300.

具体的には、各地に配置されている設定器300を回収し、個々の設定器300から古いソフトウェアが焼き付けられているROM(Read Only Memory)を取り外し、新しい端末装置200と通信を行うためのコマンドや、通信手順を追加した最新のソフトウェアを作成し、その最新のソフトウェアをROMに焼き付けたのち、そのROMを個々の設定器300に取り付け、修正された設定器300を各地に戻す、という膨大な作業が必要となる。また、上記したような修正に係る作業は、設定器300の性能保障の観点から専門の技術者によって行われる必要がある。このように、設定器300の修正には、膨大な時間や手間、費用がかかるという問題がある。   Specifically, the setting devices 300 arranged in various places are collected, ROM (Read Only Memory) on which old software is burned is removed from each setting device 300, and communication with the new terminal device 200 is performed. The latest software with added commands and communication procedures is created, the latest software is burned into the ROM, the ROM is attached to each setting device 300, and the corrected setting device 300 is returned to various locations. Work is required. Further, the work related to the correction as described above needs to be performed by a professional engineer from the viewpoint of ensuring the performance of the setting device 300. As described above, there is a problem that the setting device 300 is corrected in a huge amount of time, labor, and cost.

本発明はかかる問題点に鑑みてなされたもので、その目的は、修正に要する時間、手間、費用を低減させることのできる設定器を提供することにある。   The present invention has been made in view of such problems, and an object thereof is to provide a setting device that can reduce the time, labor, and cost required for correction.

本発明の設定器は、外部回線および専用回線に接続される端末側網制御装置と、専用回線に接続される端末装置と、外部回線に接続されるとともに端末側網制御装置を介して端末装置の監視を行う監視センターとを含んで構成された通信システムにおける専用回線に接続されるものである。この設定器は、互いに別体のハードウェアで構成されるとともに、汎用回線を介して互いに接続される操作部および変換補助部を備えたものである。操作部は通信プログラムを含み、変換補助部は変換プログラムを含んでいる。通信プログラムは、端末装置または端末側網制御装置と通信を行うためのデータを生成すると共に、そのデータを汎用インタフェースにより送信し、その送信したデータに対する応答データを汎用インタフェースにより受信する手順を操作部に実行させるためのものである。一方、変換プログラムは、操作部からデータを受信した場合は、そのデータを汎用インタフェースから、専用インタフェースに規定された電文に変換すると共に、専用インタフェースにより端末装置または端末側網制御装置に送信し、その送信した電文に対する応答電文を専用インタフェースにより端末装置または端末側網制御装置から受信した場合は、その受信した応答電文を専用インタフェースから汎用インタフェースに変換すると共に、汎用インタフェースにより操作部に送信する手順を変換補助部に実行させるためのものである。このように、本発明の設定器は、ハードウェアを変換補助部と操作部とに分割し、ソフトウェアを変換プログラムと通信プログラムとに分割した構成を有している。 The setting device of the present invention includes a terminal-side network control device connected to an external line and a dedicated line, a terminal device connected to a dedicated line, and a terminal device connected to the external line and via the terminal-side network control device It is connected to a dedicated line in a communication system configured to include a monitoring center that performs monitoring. This setter is composed of separate hardware and includes an operation unit and a conversion auxiliary unit that are connected to each other via a general-purpose line . The operation unit includes a communication program, and the conversion auxiliary unit includes a conversion program. Communication program generates the data for communication with the end terminal apparatus or the terminal-side network controller, and transmits the data by generic interface, it receives the response data to the transmission data by generic interface procedures Is for causing the operation unit to execute. On the other hand, conversion program, when receiving the data from the operation unit, the data generic interface or et al., And converts the message defined in the interface dedicated, by the interface dedicated Litan terminal device or terminal transmitted to the network control unit, the transmitted when receiving the response message from Litan terminal device or the terminal-side network controller by the dedicated interface to the message, dedicated interface or RaHiroshi interface the received response message converts into is for executing the steps of transmitting to the Rimisao operation unit by the generic interface conversion auxiliary section. Thus, the setting device of the present invention has a configuration in which the hardware is divided into the conversion auxiliary unit and the operation unit, and the software is divided into the conversion program and the communication program.

本発明の設定器では、電文を用いて端末装置または端末側網制御装置と通信を行う際に、操作部と、端末装置または端末側網制御装置との間に設けられた変換補助部によって、電文が専用インタフェースから汎用インタフェースに、または汎用インタフェースから専用インタフェースに逐一変換される。   In the setting device of the present invention, when communicating with the terminal device or the terminal-side network control device using a message, the conversion auxiliary unit provided between the operation unit and the terminal device or the terminal-side network control device, The message is converted from the dedicated interface to the general-purpose interface or from the general-purpose interface to the dedicated interface.

ここで、インタフェース(JIS 規格の用語であり、俗に言うインターフェースのこと)とは、ハードウェアやソフトウェアを相互に接続するための信号伝送の各種の手順,技術,仕様,規格のことであり、その種類は、各種協会や業界団体によって規定された汎用的なもの(汎用インタフェース)と、それ以外の独自的なもの(専用インタフェース)とに大きく分けられる。汎用インタフェースとしては、例えば、IEEE(Institute of Electrical and Electric Engineers)1394や、USB(Universal Serial Bus)、SCSI(Small Computer System Interface) などが挙げられる。   Here, an interface (a JIS standard term, an interface commonly used) refers to various procedures, technologies, specifications, and standards for signal transmission to connect hardware and software to each other. The types are broadly classified into general-purpose ones (general-purpose interfaces) defined by various associations and industry groups and other unique ones (dedicated interfaces). Examples of the general-purpose interface include IEEE (Institute of Electrical and Electric Engineers) 1394, USB (Universal Serial Bus), SCSI (Small Computer System Interface), and the like.

端末側網制御装置は、アナログ回線網やデジタル回線網などの回線網を介して、端末装置を監視する監視センターと通信すると共に、専用インタフェースにより端末装置または設定器と通信するためのものである。端末装置は、専用インタフェースにより端末側網制御装置または設定器と通信を行うことが可能なものである。操作部は、汎用インタフェースにより変換補助部と通信を行うことができればよく、例えば、汎用的なパーソナルコンピュータにより構成することも可能である。   The terminal-side network control device is for communicating with a monitoring center for monitoring the terminal device via a line network such as an analog line network or a digital line network, and for communicating with the terminal device or the setting device through a dedicated interface. . The terminal device can communicate with the terminal-side network control device or the setting device through a dedicated interface. The operation unit only needs to be able to communicate with the conversion assisting unit through a general-purpose interface. For example, the operation unit can be configured by a general-purpose personal computer.

変換プログラムは、上記したように、電文を専用インタフェースから汎用インタフェースに、または汎用インタフェースから専用インタフェースに逐一変換するためのアルゴリズムを含んで構成されたものであり、それゆえ、規格の変更の無い限り、修正されることのほとんどないものである。一方、通信プログラムは、電文を生成するためのアルゴリズムを含んで構成されたものであり、それゆえ、例えば、新しい端末側網制御装置または端末装置が市場に投入されたり、既存の端末側網制御装置または端末装置の仕様変更がなされた場合には、その都度修正されるものである。   As described above, the conversion program is configured to include an algorithm for converting a message from the dedicated interface to the general-purpose interface or from the general-purpose interface to the dedicated interface, and therefore, unless the standard is changed. , Which is rarely modified. On the other hand, the communication program is configured to include an algorithm for generating a telegram. Therefore, for example, a new terminal-side network control device or terminal device is put on the market, or an existing terminal-side network control is performed. When the specification of the device or the terminal device is changed, it is corrected each time.

本発明の設定器によれば、設定器を変換補助部と操作部とに分割し、ほとんど修正の生じることのない変換プログラムを変換補助部に設けると共に、随時修正の生じる通信プログラムを操作部に設けるようにしたので、操作部を例えば、汎用的なパーソナルコンピュータとすることも可能となる。   According to the setting device of the present invention, the setting device is divided into a conversion auxiliary unit and an operation unit, a conversion program that hardly causes correction is provided in the conversion auxiliary unit, and a communication program that requires correction as needed is provided in the operation unit. Since it is provided, the operation unit can be a general-purpose personal computer, for example.

これにより、例えば、新しい端末側網制御装置または端末装置が市場に投入されたり、既存の端末側網制御装置または端末装置の仕様変更がされた場合であっても、専門の技術者が仕様変更などに対応して通信プログラムを修正し、その修正された通信プログラムを設定器の各ユーザに送付し、その送付された通信プログラムを各ユーザが操作部にインストールする、などの簡単な作業により、設定器を新しい端末側網制御装置または端末装置や、仕様変更後の端末側網制御装置または端末装置に容易に対応させることができる。また、各ユーザは専門の技術者でなくても、設定器の修正を行うことができる。このように、設定器を容易に修正できるようにハードウェアおよびソフトウェアを分割することにより、設定器の修正に要する時間、手間、費用を低減させることができる。   As a result, for example, even if a new terminal-side network control device or terminal device is put on the market or the specification of an existing terminal-side network control device or terminal device is changed, a specialist engineer changes the specification. By modifying the communication program in response to, etc., sending the modified communication program to each user of the setting device, and installing the sent communication program on the operation unit by each user, The setting device can be easily adapted to a new terminal-side network control device or terminal device, or a terminal-side network control device or terminal device after specification change. In addition, each user can correct the setting device without being a specialized engineer. As described above, by dividing the hardware and software so that the setting device can be easily corrected, the time, labor, and cost required for the setting device can be reduced.

以下、本発明の実施の形態について、図面を参照して詳細に説明する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

(通信システムと設定器3)
図1は、端末側網制御装置1、端末装置2および監視センター(図示せず)を含んで構成された通信システムと、本実施の形態に係る設定器3との概略構成を表したものである。
(Communication system and setting device 3)
FIG. 1 shows a schematic configuration of a communication system including a terminal-side network control device 1, a terminal device 2, and a monitoring center (not shown) and a setting device 3 according to the present embodiment. is there.

この通信システムでは、端末装置2と監視センターとの間に、端末側網制御装置1が設けられており、監視センターおよび端末側網制御装置1は外部回線4Aを介して、端末側網制御装置1および端末装置2は専用回線4Bを介して、それぞれ接続されている。そして、設定器3は、端末側網制御装置1と端末装置2とが接続されている接続部Jに、専用回線4Bを介して接続されている。   In this communication system, a terminal-side network control device 1 is provided between a terminal device 2 and a monitoring center, and the monitoring center and the terminal-side network control device 1 are connected to the terminal-side network control device via an external line 4A. 1 and the terminal device 2 are connected to each other via a dedicated line 4B. The setting device 3 is connected to a connection portion J to which the terminal side network control device 1 and the terminal device 2 are connected via a dedicated line 4B.

また、上記設定器3は、変換補助部3Aと操作部3Bとを備え、変換補助部3Aと操作部3Bとは汎用回線3Cを介して、変換補助部3Aと端末装置2と端末側網制御装置1とは接続部Jに専用回線4Bを介してそれぞれ接続されている。   The setting device 3 includes a conversion auxiliary unit 3A and an operation unit 3B. The conversion auxiliary unit 3A and the operation unit 3B are connected to the conversion auxiliary unit 3A, the terminal device 2, and the terminal-side network via a general-purpose line 3C. The apparatus 1 is connected to the connection portion J via a dedicated line 4B.

上記外部回線4Aは、具体的には、アナログ回線網やデジタル回線網などの回線網である。専用回線4Bは、具体的には、外部回線4Aと接続された端末側網制御装置1と、端末装置2および設定器3とを接続する専用インタフェース用のケーブルであり、汎用回線3Cは、具体的には、変換補助部3Aと操作部3Bとを接続する汎用インタフェース用のケーブルである。   Specifically, the external line 4A is a line network such as an analog line network or a digital line network. Specifically, the dedicated line 4B is a dedicated interface cable for connecting the terminal-side network control device 1 connected to the external line 4A, the terminal device 2 and the setting device 3, and the general-purpose line 3C is Specifically, it is a cable for a general-purpose interface that connects the conversion auxiliary unit 3A and the operation unit 3B.

ここで、インタフェースとは、ハードウェアやソフトウェアを相互に接続するための信号伝送の各種の手順,技術,仕様,規格のことであり、その種類は、各種協会や業界団体によって規定された汎用的なもの(汎用インタフェース)と、それ以外の独自的なもの (専用インタフェース)とに大きく分けられる。汎用インタフェースとしては、例えば、IEEE1394や、USB、SCSIなどが挙げられる。専用インタフェースとしては、例えば、通信機能を有し、ガス・水道・下水・電力といったユーティリティ使用量を計測するための各種メータ(ユーティリティメータ)において用いられるAラインなどが挙げられる。   Here, the interface refers to various procedures, technologies, specifications, and standards for signal transmission for connecting hardware and software to each other. The types are general-purpose defined by various associations and industry groups. Can be broadly divided into other types (general-purpose interfaces) and other unique types (dedicated interfaces). Examples of the general-purpose interface include IEEE 1394, USB, and SCSI. Examples of the dedicated interface include an A line that has a communication function and is used in various meters (utility meters) for measuring utility usage such as gas, water, sewage, and power.

監視センターは、管轄の端末装置2全てを一元的に監視するための情報処理装置(後述のセンター側装置7)であり、外部回線4Aを介して、端末装置2が接続された端末側網制御装置1と通信するようになっている。具体的には、端末装置2または設定器3宛ての電文5を外部回線4Aを介して端末側網制御装置1へ送信したり、端末装置2または設定器3からの電文5を端末側網制御装置1から受信するようになっている。   The monitoring center is an information processing device (a center side device 7 described later) for centrally monitoring all the terminal devices 2 under its jurisdiction, and controls the terminal side network to which the terminal device 2 is connected via an external line 4A. It communicates with the device 1. Specifically, the message 5 addressed to the terminal device 2 or the setting device 3 is transmitted to the terminal-side network control device 1 via the external line 4A, or the message 5 from the terminal device 2 or the setting device 3 is controlled by the terminal-side network. It receives from the apparatus 1.

ここで、電文5は、所定のフォーマットにより構成される。この電文5は、各種端末装置2に応じて差別化される配列であり、その配列の内容は、送信する目的などに応じて変化し、例えば、図2に示したようになっている。   Here, the message 5 is configured in a predetermined format. The telegram 5 is an array that is differentiated according to the various terminal devices 2, and the contents of the array vary depending on the purpose of transmission, for example, as shown in FIG.

図2は、設定器3が専用回線4Bを介して端末装置2に送信する電文5の一例である。配列の先頭に配置されたSTX(5A)と、配列の最後尾に配置されたETX(5F)とは、電文5の先頭と末尾とを意味する制御コードである。STX(5A)の次に配置されたADD(5B)は、送信先を意味する各種端末装置2に固有のアドレスであり、ADD(5B)の次に配置されたINF(5C)は後述のDAT1(5D)の種別(例えば、センサ部22の設定項目の種類)を表したものであり、INF(5C)の次に配置されたDAT1(5D)は、INF(5C)で指定された設定項目のデータである。そして、DAT1(5D)の次に配置されると共にETX(5F)の前に配置されたDAT2(5E)は、誤り制御を司る部分であり、例えば、DAT1(5D)のビットを反転(”0”を”1”に反転、または、”1”を”0”に反転)させたものである。なお、後述の応答電文6についても類似の配列から構成される。   FIG. 2 is an example of a telegram 5 that the setting device 3 transmits to the terminal device 2 via the dedicated line 4B. STX (5A) arranged at the beginning of the array and ETX (5F) arranged at the end of the array are control codes that mean the beginning and the end of the telegram 5. The ADD (5B) arranged next to the STX (5A) is an address unique to the various terminal devices 2 meaning the transmission destination, and the INF (5C) arranged next to the ADD (5B) is DAT1 described later. This represents the type of (5D) (for example, the type of setting item of the sensor unit 22), and DAT1 (5D) arranged after INF (5C) is a setting item specified by INF (5C) It is data of. DAT2 (5E) arranged next to DAT1 (5D) and arranged in front of ETX (5F) is a part that controls error control. For example, the bit of DAT1 (5D) is inverted ("0"). "Is inverted to" 1 "or" 1 "is inverted to" 0 "). Note that the response message 6 described later is also composed of a similar arrangement.

端末側網制御装置1は、インタフェース部10,12と、制御部11とを備える。制御部11内のROM(図示せず)には、監視センター,端末装置2および設定器3と通信を行うと共に、外部回線4Aと専用回線4Bとのインタフェースを相互に変換するための変換プログラム11Aが焼き付けられている。これにより、外部回線4Aを介して監視センターと通信すると共に、専用インタフェースにより端末装置2と通信することができるようになっている。具体的には、端末装置2または設定器3から送信されてきた、監視センター宛の電文5を受信すると共に監視センターへ転送したり、端末装置2宛ての電文5を監視センターから受信すると共に端末装置2へ転送するようになっている。   The terminal-side network control device 1 includes interface units 10 and 12 and a control unit 11. A ROM (not shown) in the control unit 11 communicates with the monitoring center, the terminal device 2 and the setting device 3 and converts the interface between the external line 4A and the dedicated line 4B to each other. Is baked. Thereby, it is possible to communicate with the monitoring center via the external line 4A and communicate with the terminal device 2 through the dedicated interface. Specifically, the telegram 5 addressed to the monitoring center transmitted from the terminal device 2 or the setting device 3 is received and transferred to the monitoring center, or the telegram 5 addressed to the terminal device 2 is received from the monitoring center and the terminal. The data is transferred to the device 2.

端末装置2は、例えば、専用インタフェースにより互いに通信を行うことが可能な通信機能を有するユーティリティメータにより構成される。この端末装置2は、インタフェース部20と、制御部21と、センサ部22とを備え、あらかじめ設定された設定内容に基づいてセンサ部22で何らかの物理量を検知すると共に、その検知した物理量に応じて部品(図示せず)を駆動したり、その検知結果を端末側網制御装置1を介して監視センターに通知するようになっている。具体的には、自身宛の電文5を端末側網制御装置1または設定器3から受信したり、定期的にまたは端末側網制御装置1または設定器3から送信されてきた電文5の内容に応じて、検知結果や設定結果を監視センター宛の電文5として端末側網制御装置1へ送信するようになっている。   The terminal device 2 is configured by a utility meter having a communication function capable of communicating with each other through a dedicated interface, for example. The terminal device 2 includes an interface unit 20, a control unit 21, and a sensor unit 22. The sensor unit 22 detects some physical quantity based on preset settings, and according to the detected physical quantity. A component (not shown) is driven, and the detection result is notified to the monitoring center via the terminal-side network control device 1. Specifically, the message 5 addressed to itself is received from the terminal-side network control device 1 or the setting device 3, or the contents of the message 5 transmitted from the terminal-side network control device 1 or the setting device 3 regularly. In response, the detection result and the setting result are transmitted to the terminal-side network control device 1 as a message 5 addressed to the monitoring center.

設定器3において、変換補助部3Aは、専用インタフェース用のインタフェース部30と、制御部31と、汎用インタフェース用のインタフェース部32とを備える。制御部31内のROM(図示せず)には、変換プログラム31Aが焼き付けられている。この変換プログラム31Aは、操作部3Bから電文5を受信した場合は、その電文5を汎用インタフェースから専用インタフェースに変換すると共に、専用インタフェースにより端末装置2または端末側網制御装置1に送信し、その送信した電文5に対する応答電文を専用インタフェースにより端末装置2または端末側網制御装置1から受信した場合は、その受信した応答電文を専用インタフェースから汎用インタフェースに変換すると共に、汎用インタフェースにより操作部3Bに送信する手順を変換補助部3Aに実行させるためのものである。   In the setting device 3, the conversion assisting unit 3A includes an interface unit 30 for a dedicated interface, a control unit 31, and an interface unit 32 for a general-purpose interface. A conversion program 31A is burned into a ROM (not shown) in the control unit 31. When the conversion program 31A receives the message 5 from the operation unit 3B, the conversion program 31A converts the message 5 from the general-purpose interface to the dedicated interface, and transmits it to the terminal device 2 or the terminal-side network control device 1 through the dedicated interface. When the response message for the transmitted message 5 is received from the terminal device 2 or the terminal-side network control device 1 via the dedicated interface, the received response message is converted from the dedicated interface to the general-purpose interface, and the operation unit 3B is converted to the general-purpose interface. This is for causing the conversion auxiliary unit 3A to execute the transmission procedure.

一方、操作部3Bは、汎用的なパーソナルコンピュータであり、汎用インタフェース用のインタフェース部33と、制御部34と、記憶部35と、表示操作部36とを備える。記憶部35内の補助記憶部(図示せず)には、通信プログラム35Aと、監視プログラム35Bとが保存されている。ここで、通信プログラム35Aは、専用インタフェースにより互いに通信を行うことが可能な端末装置2または端末側網制御装置1と通信を行うための電文5を生成すると共に、その電文5を汎用インタフェースにより送信し、その送信した電文に対する応答電文を汎用インタフェースにより受信する手順を操作部3Bに実行させるためのものである。監視プログラム35Bは、専用回線4Bを伝送される電文5を監視する(モニターする)ためのものである。   On the other hand, the operation unit 3B is a general-purpose personal computer, and includes an interface unit 33 for a general-purpose interface, a control unit 34, a storage unit 35, and a display operation unit 36. In an auxiliary storage unit (not shown) in the storage unit 35, a communication program 35A and a monitoring program 35B are stored. Here, the communication program 35A generates a telegram 5 for communicating with the terminal device 2 or the terminal-side network control device 1 that can communicate with each other through the dedicated interface, and transmits the telegram 5 through the general-purpose interface. Then, the operation unit 3B is caused to execute a procedure for receiving a response message to the transmitted message by the general-purpose interface. The monitoring program 35B is for monitoring (monitoring) the telegram 5 transmitted through the dedicated line 4B.

なお、操作部3Bは、ユーザが表示操作部36を操作して通信プログラム35Aを記憶部35内の補助記憶部から主記憶部(図示せず)にロードすることにより、変換補助部3Aを介して、汎用インタフェースにより端末装置2または端末側網制御装置1と通信することができるようになっている。具体的には、変換補助部3Aから監視センター宛の電文5を端末側網制御装置1へ、または端末装置2宛の電文5を端末装置2へ送信すると共に、操作部3B宛の電文5を端末側網制御装置1または端末装置2から受信するようになっている。また、ユーザが表示操作部36を操作して監視プログラム35Bを記憶部35内の補助記憶部から主記憶部にロードすることにより、変換補助部3Aを介して、汎用インタフェースにより専用回線4Bを伝送される電文5を監視することができるようになっている。具体的には、監視センターから端末装置2宛の電文5、または端末装置2から監視センター宛の電文5を監視してユーザに表示するようになっている。   The operation unit 3B is operated via the conversion auxiliary unit 3A by the user operating the display operation unit 36 to load the communication program 35A from the auxiliary storage unit in the storage unit 35 to the main storage unit (not shown). Thus, it is possible to communicate with the terminal device 2 or the terminal-side network control device 1 through the general-purpose interface. Specifically, the message 5 addressed to the monitoring center is transmitted from the conversion auxiliary unit 3A to the terminal-side network control device 1, or the message 5 addressed to the terminal device 2 is transmitted to the terminal device 2, and the message 5 addressed to the operation unit 3B is transmitted. It is received from the terminal-side network control device 1 or the terminal device 2. In addition, when the user operates the display operation unit 36 to load the monitoring program 35B from the auxiliary storage unit in the storage unit 35 to the main storage unit, the dedicated line 4B is transmitted by the general-purpose interface via the conversion auxiliary unit 3A. The telegram 5 to be sent can be monitored. Specifically, the message 5 addressed to the terminal device 2 from the monitoring center or the message 5 addressed to the monitoring center from the terminal device 2 is monitored and displayed to the user.

ここで、変換プログラム31Aは、上記したように、電文5を専用インタフェースから汎用インタフェースに、または汎用インタフェースから専用インタフェースに逐一変換するためのアルゴリズムを含んで構成されたものであり、それゆえ、このアルゴリズムの変更の無い限り、修正されることのほとんどないものである。監視プログラム35Bは、変換プログラム31Aと同様、アルゴリズムの変更の無い限り、修正されることのほとんどないものであるが、高速の演算処理能力を必要とするものである。一方、通信プログラム35Aは、電文5を生成するためのアルゴリズムを含んで構成されたものであり、それゆえ、例えば、新しい端末側網制御装置1または端末装置2が市場に投入されたり、既存の端末側網制御装置1または端末装置2の仕様変更がなされた場合には、その都度修正されるものである。   Here, as described above, the conversion program 31A includes an algorithm for converting the telegram 5 from the dedicated interface to the general-purpose interface or from the general-purpose interface to the dedicated interface. As long as there is no algorithm change, it will rarely be modified. Similar to the conversion program 31A, the monitoring program 35B is hardly modified unless the algorithm is changed, but requires high-speed arithmetic processing capability. On the other hand, the communication program 35A is configured to include an algorithm for generating the telegram 5, and therefore, for example, a new terminal-side network control device 1 or a terminal device 2 is put on the market, or an existing When the specification of the terminal side network control device 1 or the terminal device 2 is changed, it is corrected each time.

このように、設定器3において、ハードウェアは、変換補助部3Aと操作部3Bとに分割され、ソフトウェアは、修正のほとんど生じることのない変換プログラム31Aと、修正はほとんど生じないが高速の演算処理能力を必要とする監視プログラム35Bと、随時修正の生じる通信プログラム35Aとに分割されると共に、変換プログラム31Aは変換補助部3Aに設けられ、通信プログラム35Aおよび監視プログラム35Bは操作部3Bに設けられている。   As described above, in the setting device 3, the hardware is divided into the conversion auxiliary unit 3A and the operation unit 3B, and the software is a conversion program 31A that hardly causes correction, and a high-speed calculation that hardly causes correction. The program is divided into a monitoring program 35B that requires processing capability and a communication program 35A that requires correction as needed. The conversion program 31A is provided in the conversion auxiliary unit 3A, and the communication program 35A and the monitoring program 35B are provided in the operation unit 3B. It has been.

これにより、例えば、新しい端末側網制御装置1または端末装置2が市場に投入されたり、既存の端末側網制御装置1または端末装置2の仕様変更がされた場合であっても、専門の技術者が仕様変更などに対応して通信プログラム35Aを修正し、その修正された通信プログラム35Aを設定器3の各ユーザに送付し、その送付された通信プログラム35Aを各ユーザが操作部3Bにインストールする、などの簡単な作業により、設定器3を新しい端末側網制御装置1または端末装置2や、仕様変更後の端末側網制御装置1または端末装置2に容易に対応させることができる。また、各ユーザは専門の技術者でなくても、設定器3の修正を行うことができる。このように、設定器3を容易に修正できるようにハードウェアおよびソフトウェアを分割することにより、設定器3の修正に要する時間、手間、費用を低減させることができる。   As a result, for example, even when a new terminal-side network control device 1 or terminal device 2 is put on the market or when the specifications of the existing terminal-side network control device 1 or terminal device 2 are changed, specialized technology The user modifies the communication program 35A in response to the specification change, sends the modified communication program 35A to each user of the setting device 3, and each user installs the sent communication program 35A in the operation unit 3B. The setting device 3 can be easily made to correspond to the new terminal-side network control device 1 or the terminal device 2 or the terminal-side network control device 1 or the terminal device 2 after the specification change. Moreover, each user can correct the setting device 3 even if it is not a professional engineer. Thus, by dividing the hardware and software so that the setting device 3 can be easily corrected, the time, labor, and cost required for correcting the setting device 3 can be reduced.

次に、上記のように構成された設定器3の動作について説明する。具体的には、( A) 設定器3と端末装置2との通信、( B) 端末装置2と監視センターとの通信、について順次説明する。   Next, the operation of the setting device 3 configured as described above will be described. Specifically, (A) communication between the setting device 3 and the terminal device 2 and (B) communication between the terminal device 2 and the monitoring center will be sequentially described.

(A 設定器3と端末装置2との通信)
設定器3と端末装置2とが通信を行うケースとしては、例えば、端末装置の設定内容を確認もしくは変更するケース、または通信システムのうち端末装置2側に何らかの異常が生じた場合に、端末装置2や専用回線4Bに異常が無いか解析するケースが考えられる。図3は、前者のケースにおける流れ図を、図4は、後者のケースにおける流れ図をそれぞれ表したものである。
(A Communication between the setting device 3 and the terminal device 2)
Examples of cases where the setting device 3 and the terminal device 2 communicate with each other include, for example, a case where the setting content of the terminal device is confirmed or changed, or when any abnormality occurs on the terminal device 2 side in the communication system. 2 or the dedicated line 4B may be analyzed for an abnormality. FIG. 3 shows a flowchart in the former case, and FIG. 4 shows a flowchart in the latter case.

まず、図3を参照しながら、前者のケースについて説明する。ユーザは操作部3Bの通信プログラム35Aおよび変換補助部3Aの変換プログラム31Aを起動したのち、表示操作部36を操作して、端末装置2に対して通信を行うことを要求する。すると、制御部34は、端末装置2宛の電文Aおよび電文Bを生成し、インタフェース部33に送信する。   First, the former case will be described with reference to FIG. After starting the communication program 35A of the operation unit 3B and the conversion program 31A of the conversion auxiliary unit 3A, the user operates the display operation unit 36 to request the terminal device 2 to perform communication. Then, the control unit 34 generates a message A and a message B addressed to the terminal device 2 and transmits them to the interface unit 33.

インタフェース部33は、汎用インタフェースにより、受信した端末装置2宛の電文A,Bを一括して(連続して)変換補助部3Aに送信する(ステップS1)。その後、制御部34は、変換補助部3Aから応答電文a,bの全てが返信されてくるまで待機する。なお、上記電文A,Bには、例えば、端末装置2にあらかじめ設定されている設定内容を返信することを要求するコマンドがそれぞれ含まれている。   The interface unit 33 transmits the received messages A and B addressed to the terminal device 2 to the conversion assisting unit 3A in a lump (continuously) using the general-purpose interface (step S1). Thereafter, the control unit 34 stands by until all of the response messages a and b are returned from the conversion assisting unit 3A. Note that the messages A and B include, for example, commands for requesting the setting contents set in advance in the terminal device 2 to be returned.

変換補助部3Aは、操作部3Bから送信されたこれらの電文A,Bを一括して汎用インタフェースにより受信したのち(ステップS2)、制御部31内の通信バッファに一時保存する。その後、変換補助部3Aは、一括して受信した電文A,Bを個々の電文5に分解して、第1番目の電文Aを専用インタフェースにより端末装置2に送信すると共に、汎用インタフェースにより操作部3Bに送信する(ステップS3)。操作部3Bは、変換補助部3Aから第1番目の電文Aを汎用インタフェースにより受信し(ステップS4)、変換補助部3Aは、端末装置2からそれに対する応答電文aが返信されてくるまで待機する。   The conversion assisting unit 3A receives these messages A and B transmitted from the operation unit 3B in a batch by the general-purpose interface (step S2), and then temporarily stores them in the communication buffer in the control unit 31. Thereafter, the conversion assisting unit 3A disassembles the telegrams A and B received in a batch into individual telegrams 5, and transmits the first telegram A to the terminal device 2 through the dedicated interface, and the operation unit through the general-purpose interface. It transmits to 3B (step S3). The operation unit 3B receives the first message A from the conversion auxiliary unit 3A through the general-purpose interface (step S4), and the conversion auxiliary unit 3A waits until the terminal device 2 returns a response message a for the first message A. .

端末装置2は、変換補助部3Aから電文Aを専用インタフェースにより受信し、電文Aに含まれるコマンドを処理したのち、その処理結果が含まれる応答電文aを生成し、その応答電文aを専用インタフェースにより変換補助部3Aに返信する(ステップS5)。変換補助部3Aは、電文Aに対する応答電文aを専用インタフェースにより端末装置2から受信する(ステップS6)と、電文Bを専用インタフェースにより端末装置2に送信する(ステップS7)と共に、応答電文aと電文Bとを一括して汎用インタフェースにより操作部3Bに送信する(ステップS8)。操作部3Bは、変換補助部3Aから応答電文aと電文Bを汎用インタフェースにより受信し(ステップS9)、変換補助部3Aは、端末装置2から電文Bに対する応答電文bが返信されてくるまで待機する。なお、電文Bに関するこれ以降の手順は、ステップS5〜S9と同様である(ステップS10〜ステップS13)。   The terminal device 2 receives the message A from the conversion auxiliary unit 3A through the dedicated interface, processes the command included in the message A, generates a response message a including the processing result, and uses the response message a as the dedicated interface. Is sent back to the conversion auxiliary unit 3A (step S5). The conversion auxiliary unit 3A receives a response message a for the message A from the terminal device 2 via the dedicated interface (step S6), and transmits a message B to the terminal device 2 via the dedicated interface (step S7). The electronic message B is transmitted to the operation unit 3B through the general-purpose interface (step S8). The operation unit 3B receives the response message a and the message B from the conversion auxiliary unit 3A through the general-purpose interface (step S9), and the conversion auxiliary unit 3A waits until the response message b for the message B is returned from the terminal device 2 To do. In addition, the subsequent procedure regarding the message B is the same as steps S5 to S9 (steps S10 to S13).

このように、操作部3Bが端末装置2宛ての電文A,Bを一括して(連続して)変換補助部3Aに送信し、電文A,Bに対する応答電文a,bを随時受信するようにしたので、操作部3Bの通信プログラム35Aは、通信の進捗状況に応じて応答電文a,bに含まれるデータの編集処理を行うことができる。   In this way, the operation unit 3B transmits the messages A and B addressed to the terminal device 2 to the conversion auxiliary unit 3A in a lump (continuously), and receives response messages a and b for the messages A and B as needed. Therefore, the communication program 35A of the operation unit 3B can perform editing processing of data included in the response messages a and b in accordance with the progress of communication.

また、変換補助部3Aが電文A,Bを端末装置2に送信する際にこれら電文A,Bを操作部3Bにも随時送信するようにしたり、応答電文a,bを受信した際にこれら応答電文a,bを操作部3Bに随時送信するようにしたので、ユーザは設定器3と端末装置2との通信の進捗状況をリアルタイムに把握することが可能となる。   In addition, when the conversion auxiliary unit 3A transmits the messages A and B to the terminal device 2, these messages A and B are transmitted to the operation unit 3B as needed, and when the response messages a and b are received, these responses are received. Since the messages a and b are transmitted to the operation unit 3B as needed, the user can grasp the progress of communication between the setting device 3 and the terminal device 2 in real time.

また、変換補助部3Aは、端末装置2との通信の進捗状況を速やかに操作部3Bへ送信するようにしたので、受信した全ての電文A,Bと、応答電文a,bとを制御部31内の通信バッファに一時保存する必要がない。これにより、大容量の通信バッファを制御部31に備える必要がなく、仮に小容量の通信バッファを制御部31に備えるようにした場合であっても、将来、端末装置2の仕様変更などが生じたときに、通信バッファ容量が通信の制約となる虞はない。   In addition, since the conversion auxiliary unit 3A promptly transmits the progress of communication with the terminal device 2 to the operation unit 3B, the conversion unit 3A transmits all received messages A and B and response messages a and b to the control unit. There is no need to temporarily store the data in the communication buffer 31. Thereby, it is not necessary to provide the control unit 31 with a large-capacity communication buffer, and even if the control unit 31 is provided with a small-capacity communication buffer, the specification of the terminal device 2 will be changed in the future. The communication buffer capacity is not likely to become a communication restriction.

ところで、上記したように、端末装置2との間で行われた全ての通信の進捗状況が変換補助部3Aから操作部3Bに送信されるようにしたことから、端末装置2からの応答時間が器差や通信環境などにより変化した場合の対応を用意しておくことが好ましい。例えば、端末装置2の通信機能に何らかの不具合があり、応答電文aを送信することができず、その結果、変換補助部3Aが端末装置2からの応答電文aを受信できないなどの通信エラーが生じた場合の対応を用意しておくことが好ましい。そこで、以下、図4を参照しながら、変換補助部3Aが端末装置2からの応答電文aを受信する際に、通信環境に何らかの不具合があり、パリティエラーが発生した場合の対応について説明する。なお、ステップS1〜ステップS5までの手順は上記と同一であるので、それらの説明を省略する。   By the way, as described above, since the progress of all the communication performed with the terminal device 2 is transmitted from the conversion auxiliary unit 3A to the operation unit 3B, the response time from the terminal device 2 is increased. It is preferable to prepare for a change in case of instrumental error or communication environment. For example, there is some trouble in the communication function of the terminal device 2 and the response message a cannot be transmitted. As a result, a communication error such as the conversion auxiliary unit 3A cannot receive the response message a from the terminal device 2 occurs. It is preferable to prepare a response in the event of a failure. Accordingly, hereinafter, a description will be given of how to deal with a case where there is a problem in the communication environment and a parity error occurs when the conversion assistant 3A receives the response message a from the terminal device 2 with reference to FIG. In addition, since the procedure from step S1 to step S5 is the same as the above, description thereof is omitted.

変換補助部3Aは、専用インタフェースにより受信した応答電文aにパリティエラーが発生していることを検知する(ステップS14)。このようにパリティエラーを検知した場合は、例えば、変換補助部3A本体に設けられている表示ランプを点灯して、パリティエラーを検知したことを表示する(ステップS15)と共に、専用インタフェースの規定に従って端末装置2に再送要求電文を専用インタフェースにより送信する(ステップS16)。この際、応答電文aと併せて再送要求電文を汎用インタフェースにより操作部3Bに送信する(ステップS17)。これにより、ユーザは設定器3と端末装置2との通信の進捗状況(ここでは、応答電文aにパリティエラーがあったこと)をリアルタイムに把握することができる。   The conversion assistant 3A detects that a parity error has occurred in the response message a received through the dedicated interface (step S14). When a parity error is detected in this way, for example, a display lamp provided in the conversion auxiliary unit 3A body is turned on to display that a parity error has been detected (step S15), and in accordance with the provisions of the dedicated interface. A retransmission request message is transmitted to the terminal device 2 through the dedicated interface (step S16). At this time, a retransmission request message is transmitted to the operation unit 3B through the general-purpose interface together with the response message a (step S17). Thereby, the user can grasp in real time the progress of communication between the setting device 3 and the terminal device 2 (here, there was a parity error in the response message a).

操作部3Bは、応答電文aと再送要求電文を汎用インタフェースにより受信する(ステップS18)。このように、応答電文aが再送要求電文と共に送信されてきたときは、応答電文aに含まれるデータの編集処理を行わずに、正常な応答電文aが送信されてくるまで待機する。このとき、通信環境の不具合が継続しているために規定回数の再送要求を行ってもパリティエラーが継続している場合は、変換補助部3Aは通信を中断し(ステップS19)、通信を中断したことを示す電文を汎用インタフェースにより操作部3Bに送信する(ステップS20)。操作部3Bは、通信を中断したことを示す電文を汎用インタフェースにより受信すると共に、表示操作部36にパリティエラーで通信が中断されたことを表示する(ステップS21)。これにより、ユーザはその表示内容に基づいて、パリティエラーが生じた原因を解析することが可能となる。   The operation unit 3B receives the response message a and the retransmission request message through the general-purpose interface (step S18). As described above, when the response message a is transmitted together with the retransmission request message, the process waits until the normal response message a is transmitted without performing the editing process of the data included in the response message a. At this time, if the parity error continues even if the retransmission request is made a specified number of times because of a failure in the communication environment, the conversion auxiliary unit 3A interrupts the communication (step S19) and interrupts the communication. A message indicating that this has been done is transmitted to the operation unit 3B through the general-purpose interface (step S20). The operation unit 3B receives a message indicating that communication has been interrupted via the general-purpose interface, and displays on the display operation unit 36 that communication has been interrupted due to a parity error (step S21). Thereby, the user can analyze the cause of the parity error based on the display content.

このように、変換補助部3Aで端末装置2との通信制御を行うようにしたので、端末装置2からの応答時間が器差や通信環境などにより変化した場合の複雑な対応を操作部3Bで行う必要がない。これにより、変換補助部3Aでこのような複雑な通信制御を行っている間でも、操作部3Bの操作性が損なわれる虞はない。   In this way, since the conversion assisting unit 3A performs communication control with the terminal device 2, the operation unit 3B can handle complicated responses when the response time from the terminal device 2 changes due to instrumental error or communication environment. There is no need to do it. Thereby, there is no possibility that the operability of the operation unit 3B is impaired even while such complicated communication control is performed by the conversion assisting unit 3A.

一方、端末装置2がパリティエラーを生じさせることなく、変換補助部3Aに応答電文aを専用インタフェースにより送信してきたときは、正常なケースと同様の手順を行った(ステップS6〜ステップS9)のち、操作部3Bは応答電文aに含まれるデータの編集処理を行う。   On the other hand, when the terminal device 2 transmits the response message a to the conversion auxiliary unit 3A through the dedicated interface without causing a parity error, the same procedure as in the normal case is performed (steps S6 to S9). The operation unit 3B performs editing processing of data included in the response message a.

(B 端末装置2と監視センターとの通信)
端末装置2と監視センターとが端末側網制御装置1を介して通信を行うケースとしては、例えば、監視センターからの要求に応じてまたは定期的に端末装置2のセンサ部22で検出した検出結果を監視センターへ送信するケースや、通信システムのうち端末装置2側の構成に何らかの異常が生じた場合に、端末側網制御装置1を介して監視センターと通信を行って端末側網制御装置1に異常が無いか解析するケースが考えられる。そこで、以下では、後者のケースにおける設定器3と監視センターとの通信について説明する。図5は、後者のケースにおける流れ図を表したものである。なお、図5では、設定器3における操作部3Bと変換補助部3Aとの間の通信の流れは、図3と同様であることから、省略されている。
(B Communication between terminal device 2 and monitoring center)
As a case where the terminal device 2 and the monitoring center communicate with each other via the terminal-side network control device 1, for example, a detection result detected by the sensor unit 22 of the terminal device 2 in response to a request from the monitoring center or periodically Is transmitted to the monitoring center, or when any abnormality occurs in the configuration on the terminal device 2 side of the communication system, the terminal-side network control device 1 communicates with the monitoring center via the terminal-side network control device 1. There is a case where it is analyzed whether there is any abnormality. Therefore, hereinafter, communication between the setting device 3 and the monitoring center in the latter case will be described. FIG. 5 shows a flowchart in the latter case. In FIG. 5, the communication flow between the operation unit 3B and the conversion auxiliary unit 3A in the setting device 3 is the same as that in FIG.

まず、図5を参照しながら、後者のケースについて説明する。ユーザは操作部3Bの通信プログラム35Aおよび監視プログラム35B、ならびに変換補助部3Aの変換プログラム31Aを起動したのち、表示操作部36を操作して、端末装置2と監視センターとが通信を行うことを要求する。すると、制御部34は、端末装置2宛の電文Dを生成し、インタフェース部33に送信する。   First, the latter case will be described with reference to FIG. After starting the communication program 35A and the monitoring program 35B of the operation unit 3B and the conversion program 31A of the conversion auxiliary unit 3A, the user operates the display operation unit 36 to communicate between the terminal device 2 and the monitoring center. Request. Then, the control unit 34 generates a message D addressed to the terminal device 2 and transmits it to the interface unit 33.

インタフェース部33は、受信した端末装置2宛の電文Dを汎用インタフェースにより変換補助部3Aに送信する。なお、上記電文Dには、例えば、端末装置2が監視センター宛に電文Eを送信することを要求するコマンドが含まれている。   The interface unit 33 transmits the received message D addressed to the terminal device 2 to the conversion assisting unit 3A through the general-purpose interface. Note that the message D includes, for example, a command for requesting the terminal device 2 to transmit the message E to the monitoring center.

変換補助部3Aは、操作部3Bから送信された電文Dを汎用インタフェースにより受信したのち、受信した電文Dを専用インタフェースにより端末装置2に送信する(ステップS31)。端末装置2は、設定器3から送信されてきた電文Dを専用インタフェースにより受信し(ステップS32)、受信した電文Dに含まれるコマンドを処理したのち、設定器3との通信を終了する。このとき、操作部3Bは、変換補助部3Aを介して端末装置2と端末側網制御装置1との間で送信される電文5または応答電文6の監視を開始する(ステップS33)。端末装置2は、設定器3との通信を終了したのち、その処理結果が含まれる電文Eを生成し、端末側網制御装置1宛ての電文Eを端末側網制御装置1に送信する(ステップS34)。   The conversion assisting unit 3A receives the message D transmitted from the operation unit 3B through the general-purpose interface, and then transmits the received message D to the terminal device 2 through the dedicated interface (step S31). The terminal device 2 receives the message D transmitted from the setting device 3 through the dedicated interface (step S32), processes the command included in the received message D, and ends the communication with the setting device 3. At this time, the operation unit 3B starts monitoring the message 5 or the response message 6 transmitted between the terminal device 2 and the terminal-side network control device 1 via the conversion auxiliary unit 3A (step S33). After terminating the communication with the setting device 3, the terminal device 2 generates a telegram E including the processing result, and transmits the telegram E addressed to the terminal-side network control device 1 to the terminal-side network control device 1 (step). S34).

このとき、操作部3Bは、専用回線4B上を伝送されてきた電文Eを検知する(ステップS35)と共に、端末装置2に異常がないことを表示する(ステップS36)。これにより、少なくとも端末装置2側に異常がないことを確認することができ、端末側網制御装置1側に何らかの異常があると推測することができる。続いて、応答電文eが専用回線4B上を伝送されてくるのを監視する(ステップS37)。   At this time, the operation unit 3B detects the message E transmitted on the dedicated line 4B (step S35) and displays that there is no abnormality in the terminal device 2 (step S36). Thereby, it can be confirmed that there is no abnormality at least on the terminal device 2 side, and it can be estimated that there is some abnormality on the terminal side network control device 1 side. Subsequently, it is monitored that the response message e is transmitted on the dedicated line 4B (step S37).

一方、端末側網制御装置1は、専用インタフェースにより、端末装置2から電文Dを受信すると共に、外部回線4Aを介して監視センターに電文Eを転送しようとする(ステップS38)が、端末側網制御装置1の通信機能に何らかの不具合があり、電文Eを外部回線4Aに送信することができないとする。   On the other hand, the terminal-side network control device 1 receives the message D from the terminal device 2 through the dedicated interface and attempts to transfer the message E to the monitoring center via the external line 4A (step S38). It is assumed that there is some malfunction in the communication function of the control device 1, and the message E cannot be transmitted to the external line 4A.

設定器3は、専用インタフェースにより、変換補助部3Aを介して所定の時間を経過しても、電文Eに対する応答電文eを受信することができず、通信エラーを検知する(ステップS39)。このように通信エラーを検知した場合は、端末側網制御装置1に異常があることを操作表示部36に表示する(ステップS40)。   The setting device 3 cannot receive the response message e for the message E even after a predetermined time has passed through the conversion auxiliary unit 3A by the dedicated interface, and detects a communication error (step S39). When a communication error is detected in this way, the fact that there is an abnormality in the terminal-side network control device 1 is displayed on the operation display unit 36 (step S40).

このように、専用回線4B上を伝送されてくる電文5または応答電文6を監視するようにしたので、端末装置2または端末側網制御装置1に異常が無いか解析することができる。   Thus, since the telegram 5 or the response telegram 6 transmitted on the dedicated line 4B is monitored, it is possible to analyze whether the terminal device 2 or the terminal-side network control device 1 is abnormal.

以上、1つの実施の形態を挙げて本発明を説明したが、本発明は、これらに限定されず、種々の変形が可能である。   Although the present invention has been described with reference to one embodiment, the present invention is not limited thereto and various modifications can be made.

本発明の一実施の形態に係る設定器の概略構成図である。It is a schematic block diagram of the setting device which concerns on one embodiment of this invention. 電文の一形態を表した図である。It is a figure showing one form of a message | telegram. 設定器の動作を説明するための流れ図である。It is a flowchart for demonstrating operation | movement of a setting device. 設定器の他の動作を説明するための流れ図である。It is a flowchart for demonstrating other operation | movement of a setting device. 設定器の他の動作を説明するための流れ図である。It is a flowchart for demonstrating other operation | movement of a setting device. 従来の設定器の概略構成図である。It is a schematic block diagram of the conventional setting device.

符号の説明Explanation of symbols

1…端末側網制御装置、2…端末装置、3…設定器、3A…変換補助部、3B…操作部、3C…汎用回線、4A…外部回線、4B…専用回線、5…電文、5A…STX、5B…ADD、5C…DAT1、5D…DAT2、5E…DAT3、5F…EXT、6…応答電文、10,12,20,30,32,33,36…インタフェース部、11,21,31,34…制御部、11A,31A…変換プログラム、35…記憶部、35A…通信プログラム、35B…監視プログラム、36…表示操作部
DESCRIPTION OF SYMBOLS 1 ... Terminal side network control apparatus, 2 ... Terminal device, 3 ... Setting device, 3A ... Conversion assistance part, 3B ... Operation part, 3C ... General-purpose line, 4A ... External line, 4B ... Dedicated line, 5 ... Telegram, 5A ... STX, 5B ... ADD, 5C ... DAT1, 5D ... DAT2, 5E ... DAT3, 5F ... EXT, 6 ... Response message 10, 12, 20, 30, 32, 33, 36 ... Interface unit 11, 21, 31, 34 ... Control unit, 11A, 31A ... Conversion program, 35 ... Storage unit, 35A ... Communication program, 35B ... Monitoring program, 36 ... Display operation unit

Claims (4)

外部回線および専用回線に接続される端末側網制御装置と、前記専用回線に接続される端末装置と、前記外部回線に接続されるとともに前記端末側網制御装置を介して前記端末装置の監視を行う監視センターとを含んで構成された通信システムにおける前記専用回線に接続される設定器であって、
互いに別体のハードウェアで構成されるとともに、汎用回線を介して互いに接続される操作部および変換補助部を備え、
前記操作部は、前記端末装置または前記端末側網制御装置と通信を行うためのデータを生成すると共に、そのデータを、前記汎用回線を介して前記変換補助部に送信し、その送信したデータに対する応答データを、前記汎用回線を介して前記変換補助部から受信するための通信プログラムを含み、
前記変換補助部は、前記操作部からデータを受信した場合は、そのデータを汎用インタフェースから、専用インタフェースに規定された電文に変換すると共に、前記専用回線を介して前記端末装置または端末側網制御装置に送信し、その送信した電文に対する応答電文を、前記専用回線を介して前記端末装置または端末側網制御装置から受信した場合は、その受信した応答電文を前記専用インタフェースから前記汎用インタフェースに変換すると共に、前記汎用回線を介して前記操作部に送信するための変換プログラムを含む
ことを特徴とする設定器。
A terminal-side network control device connected to an external line and a dedicated line, a terminal device connected to the dedicated line, and connected to the external line and monitoring the terminal device via the terminal-side network control device A setter connected to the dedicated line in a communication system configured to include a monitoring center to perform,
Consists of separate hardware, and includes an operation unit and a conversion auxiliary unit that are connected to each other via a general-purpose line,
The operation unit generates data for performing communication with the terminal device or the terminal-side network control device, and transmits the data to the conversion auxiliary unit via the general-purpose line, and performs processing on the transmitted data. Including a communication program for receiving response data from the conversion auxiliary unit via the general-purpose line;
When the conversion auxiliary unit receives data from the operation unit, the conversion auxiliary unit converts the data from a general-purpose interface into a message specified in the dedicated interface, and controls the terminal device or the terminal-side network via the dedicated line. When the response message for the transmitted message is received from the terminal device or the terminal-side network control device via the dedicated line, the received response message is converted from the dedicated interface to the general-purpose interface. And a conversion program for transmitting to the operation unit via the general-purpose line.
前記データは、前記端末装置に固有の識別情報と、前記端末装置または前記端末側網制御装置に送信するための複数の電文のデータとを含んで構成される
ことを特徴とする請求項1に記載の設定器。
The said data is comprised including the identification information intrinsic | native to the said terminal device, and the data of the several message | telegram for transmitting to the said terminal device or the said terminal side network control apparatus. The setter described.
前記操作部は、前記変換補助部に送信すべき電文が複数存在する場合は、全ての電文のデータを一括して前記変換補助部に送信し、
前記変換補助部は、前記操作部から複数の電文のデータを一括して受信した場合は、受信した複数の電文のデータを個々の電文に一つずつ分解して前記端末装置または前記端末側網制御装置に送信し、その送信した個々の電文に対する応答電文を前記端末装置または前記端末側網制御装置から受信したときは、その受信データをその都度前記操作部に送信する
ことを特徴とする請求項1に記載の設定器。
When there are a plurality of messages to be transmitted to the conversion auxiliary unit, the operation unit transmits the data of all messages to the conversion auxiliary unit in a batch,
When the conversion assistant unit receives a plurality of telegram data collectively from the operation unit, the conversion assistant unit decomposes the received plurality of telegram data into individual telegrams one by one, and the terminal device or the terminal-side network When the response message for each transmitted message is received from the terminal device or the terminal-side network control device, the received data is transmitted to the operation unit each time. Item 1. The setting device according to item 1.
前記変換補助部は、前記端末装置との通信において、専用インタフェースに規定された通信エラーを検出した場合には、専用インタフェースの規定に従い再送要求電文を前記端末装置に送信するとともに、通信の進捗状況を前記操作部に送信する
ことを特徴とする請求項1に記載の設定器。
In the communication with the terminal device, the conversion auxiliary unit transmits a retransmission request message to the terminal device in accordance with the specification of the dedicated interface when detecting a communication error specified in the dedicated interface, and the progress of communication The setting device according to claim 1, wherein the setting unit is transmitted to the operation unit.
JP2005177223A 2005-06-17 2005-06-17 Setting device Expired - Lifetime JP5030396B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005177223A JP5030396B2 (en) 2005-06-17 2005-06-17 Setting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005177223A JP5030396B2 (en) 2005-06-17 2005-06-17 Setting device

Publications (2)

Publication Number Publication Date
JP2006352598A JP2006352598A (en) 2006-12-28
JP5030396B2 true JP5030396B2 (en) 2012-09-19

Family

ID=37647942

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005177223A Expired - Lifetime JP5030396B2 (en) 2005-06-17 2005-06-17 Setting device

Country Status (1)

Country Link
JP (1) JP5030396B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5810460B2 (en) * 2011-03-03 2015-11-11 株式会社東芝 Communication control device and communication control method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4133033B2 (en) * 2002-06-26 2008-08-13 株式会社ヨコオ Power supply device for film antenna

Also Published As

Publication number Publication date
JP2006352598A (en) 2006-12-28

Similar Documents

Publication Publication Date Title
US10156960B2 (en) Vehicle diagnostic systems and methods
US10469308B2 (en) Communication adapter for collecting information about a system being monitored
EP3062178B1 (en) Wireless device, wireless communication system, wireless module, interface module, and communication method
CN102455668A (en) Industrial controller interface for plug-in i/o modules
WO2018101419A1 (en) Electric power meter and meter reading method, and method for changing passkey
JP2012088260A (en) Measurement monitoring device
TWI665553B (en) Adapter with instrument control function, instrument control system and instrument control method applied thereto
JP2023065118A (en) Telemeter, supervisory control system and supervisory control method
JP5030396B2 (en) Setting device
JP2007167619A (en) Self-diagnosis information processing system for electric rice cookers
JP2013198047A (en) Central monitoring system
JP4753951B2 (en) Centralized management equipment and management system for equipment
JP4812720B2 (en) Weighing device address setting method
JP6174768B1 (en) Digital pressure gauge and control system
JP2003329531A (en) Pressure gauge and pressure measurement system
JP6320128B2 (en) Sensor wiring confirmation system and method
JPH1188967A (en) Measurement station data collection device
KR102512489B1 (en) System and method for updating firmware of remote meter terminal
JP4129749B2 (en) Network monitoring and control system
JP2008051648A (en) Gas meter
EP3202066B1 (en) Field device with self-recovery
JP2006277733A (en) Programmable controller system
JP2010268341A (en) Wireless data communication system
JP2004254331A (en) Notification device and automatic notification system
JP6735385B2 (en) Communication adapter, communication method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080204

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20100615

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20101026

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20101227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110914

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20111031

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

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20120626

R150 Certificate of patent or registration of utility model

Ref document number: 5030396

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20150706

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term