JPS60224349A - Detection for power failure - Google Patents
Detection for power failureInfo
- Publication number
- JPS60224349A JPS60224349A JP59080245A JP8024584A JPS60224349A JP S60224349 A JPS60224349 A JP S60224349A JP 59080245 A JP59080245 A JP 59080245A JP 8024584 A JP8024584 A JP 8024584A JP S60224349 A JPS60224349 A JP S60224349A
- Authority
- JP
- Japan
- Prior art keywords
- power failure
- data
- power outage
- master station
- station
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Small-Scale Networks (AREA)
- Monitoring And Testing Of Transmission In General (AREA)
- Selective Calling Equipment (AREA)
Abstract
Description
【発明の詳細な説明】
(技術分野)
本発明は、無停電化されていないデータ収集システムに
おける停電検出方式に関する。DETAILED DESCRIPTION OF THE INVENTION (Technical Field) The present invention relates to a power outage detection method in a data collection system that is not uninterrupted.
(背景技術)
従来、無停電化されていないデータ収集システムはデー
タの収集時間と、その次の収集時間との間に停電が発生
した場合、停電する前に収集したデータの信頼性が極め
て低くなってしまう。そのために、データ収集装置の無
停電化を図ったり、装置の外部に停電検出機能をもつ装
置を設ける必要がある。これに伴って、システム全体の
コストが高くなり、大規模な装置となってしまうという
欠点があった。(Background technology) Conventionally, in data collection systems that are not uninterrupted, if a power outage occurs between one data collection time and the next data collection time, the reliability of the data collected before the power outage is extremely low. turn into. For this purpose, it is necessary to make the data collection device uninterrupted or to provide a device with a power failure detection function outside the device. As a result, the cost of the entire system increases, resulting in a large-scale device.
(発明の課題)
本発明は、これらの問題点を解決し、バッテリ等の無停
電装置または外部の装置を用いずに、データ処理システ
ム内で停電検出用の特定パターンのデータをメモリに書
き込み、これを読み出そうとする時、停電検出用の特定
パターンのデータが読み出されるか否かにより停電の有
無を検出する方式により、コンパクトで、低価格な装置
を提供することを目的とする。(Problems to be solved by the invention) The present invention solves these problems and writes a specific pattern of data for power outage detection into a memory within a data processing system without using an uninterruptible device such as a battery or an external device. It is an object of the present invention to provide a compact and low-cost device using a method of detecting the presence or absence of a power outage based on whether or not a specific pattern of data for power outage detection is read out when attempting to read out the data.
(発明の詳細な説明)
第1図は本発明の一実施例におけるシーケンスを示す図
である。同図において、はじめにCPU等のコントロー
ラによる電源がON状態の時、停電検出用の特定パター
ンのデータを停電検出用メモリエリヤにおいて読み出す
(メモリリード)動作と、書き込む(データライト)動
作の2つをタイマー等を用いて一定時間(T)の周期で
繰り返し行なう。そして、停電時では、上記の動作を含
むコントロール動作が停止する。(Detailed Description of the Invention) FIG. 1 is a diagram showing a sequence in an embodiment of the present invention. In the figure, first, when the power is turned on by a controller such as a CPU, two operations are performed: reading (memory read) and writing (data write) a specific pattern of data for power outage detection in the power outage detection memory area. This is repeated at regular intervals (T) using a timer or the like. In the event of a power outage, control operations including the above operations are stopped.
停電復旧後、コントローラは再びON状態になり、メモ
リクリヤを最初に行ない、再びメモリリードとデータラ
イトの周期動作を含むコントロール動作を開始する。そ
こで、停電復旧後、コントローラがメモリクリア後の最
初の周期T後に行なわれるメモリリードを動作する。し
かしながら、すでにメモリクリアが行なわれているので
停電検出用の特定パターンのデータがなくなっており、
メモリリード時では読み込めないこととなる。したがっ
て、この時点で停電が有ったことを検出できる。その後
、コントローラはデータライトを行なうので、再び停電
検出用メモリエリヤに停電検出用の特定パターンのデー
タが書き込まれて、停電検出可能な状態となる。After the power is restored, the controller turns on again, first performs memory clearing, and then starts control operations again including periodic operations of memory read and data write. Therefore, after the power is restored, the controller performs a memory read operation that is performed after the first period T after memory clearing. However, since the memory has already been cleared, the specific pattern data for power outage detection is gone.
This means that it cannot be read when reading memory. Therefore, it is possible to detect that a power outage has occurred at this point. After that, the controller writes data, so that a specific pattern of data for power failure detection is written into the power failure detection memory area again, and a state becomes possible where power failure can be detected.
第2図は本発明の別の一実施例を示すブロック図である
。同図において、lは監視局(以下親局)で、被監視局
(以下子局)2〜nの停電の有無を監視するため各子局
に指示(以下トリガー)を与える。2〜nは被監視局(
以下子局)で、親局lからのポーリング時にトリガーを
受けメモリリード、データライトの動作を行なう。FIG. 2 is a block diagram showing another embodiment of the present invention. In the figure, l is a monitoring station (hereinafter referred to as a master station), which gives an instruction (hereinafter referred to as a trigger) to each slave station in order to monitor the presence or absence of a power outage in the monitored stations (hereinafter referred to as slave stations) 2 to n. 2 to n are monitored stations (
A slave station (hereinafter referred to as a slave station) performs memory read and data write operations upon receiving a trigger when polling from the master station I.
この実施例は、前記の一実施例でのコレトローラの内部
にタイマーを設けてメモリリード、データライトの周期
動作を行なっていたことに代わって、遠隔地から指示し
て停電の有無を監視するものである。In this embodiment, instead of installing a timer inside the core controller and performing periodic operations of memory read and data write in the previous embodiment, instructions are given from a remote location to monitor the presence or absence of a power outage. It is.
詳細に説明すると、第2図に示すように親局1が子局2
〜nのそれぞれと結ばれており、子局のデータを収集す
る監視制御システムとなっている。To explain in detail, as shown in FIG. 2, the master station 1 and the slave station 2
~n, and serves as a monitoring control system that collects data of slave stations.
親局lからのポーリング時にトリガーを受けた各子局2
〜nでは、コントローラがメモリリードを行なう。そし
て、ポーリングとポーリングの間に停電が発生していた
場合には、停電情報を親局lへ送出する。その後、各子
局2〜nでは、再び停電検出用の特定パターンのデータ
を書き込むデータライトを行なう。したがって、子局で
はポーリング時には、メモリリード、データライトを行
ない親局へ送出しているので、停電があれば、停電検出
用のデータが親局へ送出されてこないことになり、親局
では停電があったとわかる。したがって、このように遠
隔地にある親局でも子局の停電の有無が監視できる。Each slave station 2 that received a trigger during polling from the master station 1
~n, the controller reads the memory. If a power outage occurs between polls, power outage information is sent to the master station I. Thereafter, each slave station 2 to n performs data write again to write a specific pattern of data for power failure detection. Therefore, when polling, the slave station performs memory reads and data writes and sends them to the master station, so if there is a power outage, data for power failure detection will not be sent to the master station, and the master station will I understand that there was. Therefore, even a master station located at a remote location can monitor the presence or absence of a power outage in a slave station.
(発明の効果)
以上、説明したように、本発明によれば、無停電化され
ていないデータ収集システム内で停電検出用の特定パタ
ーンのデータの書き込み、読み出しを繰り返すことに゛
より停電検出の精度を下げることなくコンパクトで、低
価格な装置を提供できる。更に、無停電化の必要がなく
、コントローラに標準的な機能があればよいので、遠方
監視制御装置の停電検出に利用することができる。(Effects of the Invention) As described above, according to the present invention, power outage detection is achieved by repeatedly writing and reading a specific pattern of data for power outage detection in a data collection system that is not uninterrupted. A compact, low-cost device can be provided without compromising accuracy. Furthermore, since there is no need for uninterrupted power outage and the controller only needs to have standard functions, it can be used for power outage detection in remote monitoring and control equipment.
第1図は本発明の一実施例におけるシーケンスを示す図
、第2図は本発明の別の実施例を示すブロック図である
。
1−一一一監視局、 2〜n−一一一被監視局。
特許出願人
沖電気工業株式会社
特許出願代理人
弁理士 山本恵−FIG. 1 is a diagram showing a sequence in one embodiment of the invention, and FIG. 2 is a block diagram showing another embodiment of the invention. 1-111 monitoring station, 2~n-111 monitored station. Patent applicant: Oki Electric Industry Co., Ltd. Patent application agent: Megumi Yamamoto
Claims (2)
検出方式において、所定時間の周期で、停電検出用メモ
リエリヤからの読み出し動作と、停電検出用の特定パタ
ーンのデータの書き込み動作とを行ない両データが一致
のときは停電なしと判定し、不一致のときは前記所定時
間の間に停電があったものと判定することを特徴とする
停電検出方式。(1) In a power outage detection method for a data collection device that has not experienced a fi power outage, it is possible to perform both a read operation from a memory area for power outage detection and a writing operation of a specific pattern of data for power outage detection at a predetermined period. A power outage detection method characterized in that when the data match, it is determined that there is no power outage, and when they do not match, it is determined that there has been a power outage during the predetermined time period.
らの指示によって行なわれることを特徴とする特許請求
の範囲第1項に記載の停電検出方式。 −(2) The power failure detection method according to claim 1, wherein the read operation and the write operation are performed by an instruction from an outside. −
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59080245A JPS60224349A (en) | 1984-04-23 | 1984-04-23 | Detection for power failure |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP59080245A JPS60224349A (en) | 1984-04-23 | 1984-04-23 | Detection for power failure |
Publications (2)
Publication Number | Publication Date |
---|---|
JPS60224349A true JPS60224349A (en) | 1985-11-08 |
JPH0542878B2 JPH0542878B2 (en) | 1993-06-29 |
Family
ID=13712934
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP59080245A Granted JPS60224349A (en) | 1984-04-23 | 1984-04-23 | Detection for power failure |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS60224349A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2028571A2 (en) | 2007-08-23 | 2009-02-25 | Fanuc Ltd | Method of detecting disconnection and power discontinuity of I/O unit connected to numerical controller |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57201350A (en) * | 1981-06-03 | 1982-12-09 | Mitsubishi Electric Corp | Information transmission system |
-
1984
- 1984-04-23 JP JP59080245A patent/JPS60224349A/en active Granted
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS57201350A (en) * | 1981-06-03 | 1982-12-09 | Mitsubishi Electric Corp | Information transmission system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2028571A2 (en) | 2007-08-23 | 2009-02-25 | Fanuc Ltd | Method of detecting disconnection and power discontinuity of I/O unit connected to numerical controller |
EP2028571A3 (en) * | 2007-08-23 | 2011-06-22 | Fanuc Corporation | Method of detecting disconnection and power discontinuity of I/O unit connected to numerical controller |
Also Published As
Publication number | Publication date |
---|---|
JPH0542878B2 (en) | 1993-06-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS60224349A (en) | Detection for power failure | |
JPS596735A (en) | Defect notifying system | |
JP2752760B2 (en) | Power control method | |
JPS63305499A (en) | Alarm transmitter | |
JPH0530119A (en) | Communication equipment | |
JP2594848B2 (en) | Data collection device | |
RU2194369C2 (en) | Hardware set for automatic telephone exchange of emergency and fire alarm system | |
JP3318926B2 (en) | Time synchronization method | |
JPS6260019A (en) | Information processor | |
JPH0619747A (en) | Complement system for operation stop log data | |
JPH0721093A (en) | Abnormality monitor system for direct memory access device | |
JP2559771B2 (en) | Line logging automatic stop control method | |
US20200233748A1 (en) | Management method, structure monitoring device, and structure monitoring system | |
JPS63118964A (en) | Information processor | |
JPS61169036A (en) | System supervisory device | |
CN118550782A (en) | Register fault simulation method, device, equipment and medium | |
JP2993731B2 (en) | Control method of hardware trace information | |
JPH01273145A (en) | History control system | |
JPH03253945A (en) | Abnormality recovery processing function confirming system for data processing system | |
JPH0433138A (en) | Cpu runaway monitoring system | |
JPS60176414A (en) | Relay operation monitoring system | |
JPH07230432A (en) | Calculating device | |
JPS605540U (en) | Automatic shutdown method for dual computer system | |
JPS61201378A (en) | Telemeter terminal device | |
JPH041831A (en) | Monitor system for program runaway |