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
JPH0648498B2 - Data recording device - Google Patents
[go: Go Back, main page]

JPH0648498B2 - Data recording device - Google Patents

Data recording device

Info

Publication number
JPH0648498B2
JPH0648498B2 JP25904485A JP25904485A JPH0648498B2 JP H0648498 B2 JPH0648498 B2 JP H0648498B2 JP 25904485 A JP25904485 A JP 25904485A JP 25904485 A JP25904485 A JP 25904485A JP H0648498 B2 JPH0648498 B2 JP H0648498B2
Authority
JP
Japan
Prior art keywords
data
counter
storage area
time
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP25904485A
Other languages
Japanese (ja)
Other versions
JPS62118487A (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.)
Shimadzu Corp
Original Assignee
Shimadzu 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 Shimadzu Corp filed Critical Shimadzu Corp
Priority to JP25904485A priority Critical patent/JPH0648498B2/en
Publication of JPS62118487A publication Critical patent/JPS62118487A/en
Publication of JPH0648498B2 publication Critical patent/JPH0648498B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Recording Measured Values (AREA)

Description

【発明の詳細な説明】 (イ)産業上の利用分野 この発明は、データ収録装置、特に無人の観測所等で、
長期間の観測データを一定時間毎に連続して収集記録す
るのに適したデータ収録装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Field of Industrial Application The present invention relates to a data recording device, particularly an unmanned observatory,
The present invention relates to a data recording device suitable for continuously collecting and recording long-term observation data at regular intervals.

(ロ)従来の技術 一般に、長期間に亘り、所定時間毎に連続して測定デー
タを収集記録する場合、データ収録装置にセットされた
1個または1組の記録媒体では全期間をカバーすること
が出来ず、測定期間中に何回か記録媒体を交換する必要
がある。
(B) Conventional technology In general, in the case of continuously collecting and recording measurement data at predetermined time intervals over a long period of time, one or one set of recording media set in the data recording device should cover the entire period. However, the recording medium must be replaced several times during the measurement period.

そこで従来は、係員が交換時期になると、観測現場に出
向き、記録媒体を交換していた。もちろん、交換中とい
えども測定データの時間的な連続性が損なわれては困る
ので、2個1組の記録媒体を備え、先ず第1番目の記憶
媒体の先頭記憶領域から順にデータを記録し、この第1
番目が満杯になると、次に第2番目の記憶媒体の先頭記
憶領域からデータを記録し、この間に第1番目を新しい
ものと交換する。そして、第2番目が満杯になると、再
度第1番目の先頭記憶領域からデータを記録し、この間
に第2番目の記憶媒体を交換するようにしていた。
Therefore, in the past, when a staff member came to replace the recording medium, he went to the observation site and replaced the recording medium. Of course, it is not necessary to lose the temporal continuity of the measurement data even during replacement, so a set of two recording media is provided, and the data is recorded in order from the first storage area of the first storage medium. , This first
When the second storage medium is full, data is recorded from the first storage area of the second storage medium, and the first storage medium is replaced with a new one during this period. Then, when the second storage medium becomes full, data is recorded again from the first first storage area, and the second storage medium is replaced during this period.

(ハ)発明が解決しようとする問題点 上記従来のデータ収録装置のように、2個1組の記録媒
体を使用し、第1番目と第2番目を交互に交換する方法
は、記録媒体の交換頻度が大となる。通常、データ収録
装置が設置される観測所は、遠方地にある場合が多く、
度々交換を要するとなると、大変手間をくうことにな
り、出来るなら交換頻度は小さい方がよい。
(C) Problems to be Solved by the Invention Like the above-mentioned conventional data recording apparatus, a method of using a pair of recording media and alternating the first and second recording media is Frequent replacement. Usually, the observatory where the data recording device is installed is often in a distant place,
Frequent replacement requires a lot of work, and it is better to replace it less frequently if possible.

また、測定期間中に停電があった場合、停電期間中のデ
ータの欠落はやむを得ないが、少なくとも、停電前に記
録されたデータを破壊することなく、電源復旧後、スム
ーズにデータの収集を続行できることが望ましい。
Also, if there is a power outage during the measurement period, it is unavoidable that data will be lost during the power outage, but at least the data recorded before the power outage will not be destroyed, and data collection will continue smoothly after the power is restored. It is desirable to be able to.

この発明は、上記に鑑み、長期間に亘り連続的にデータ
を収集・記録する場合でも、記録媒体の交換頻度が少な
く、かつ測定期間中に停電が生じ、停電復旧後に停電前
のデータを破壊することなくデータの収録を続行し得る
データ収録装置を提供することを目的としている。
In view of the above, the present invention, even when continuously collecting and recording data over a long period of time, the frequency of replacement of the recording medium is low, and a power failure occurs during the measurement period, and the data before the power failure is destroyed after the power failure is restored. It is an object of the present invention to provide a data recording device that can continue recording data without doing so.

(ニ)問題点を解決するための手段 この発明のデータ収録装置は、電源投入後の所定時間T
内にスタート指令が入力されると、第1と第2の初期
化信号を出力する一方、電源投入後の所定時間T経過
後にスタート指令が入力されると、第2の初期化信号の
みを出力し、かつ電源投入後の所定時間T内にスター
ト指令が入力されるか、あるいは電源投入後の所定時間
経過後のいずれか早い時点より所定時間T経過毎
に処理依頼信号を出力する時間経過監視装置(4)と、
第1及び第2のカウンタ(6、7)と、データ記憶領域
(8)を含む第1の記憶手段(5)と、前記データ記憶
領域の記憶データが満杯になると、そのデータの転送を
受けて記憶する第2の記憶手段(9、10)と、前記処
理依頼信号を受ける毎に、第1の初期化信号が存在すれ
ば前記第1のカウンタに前記データ記憶領域の先頭アド
レスをセットし、第2の初期化信号が存在すれば、前記
第2のカウンタに前記第2の記憶手段の先頭アドレスを
セットし、前記処理依頼信号を受ける毎に、前記データ
記憶領域の前記第1のカウンタの内容に対応するアドレ
スに取込み、データを順次記憶させると共に、前記第1
のカウンタを歩進させる第1の制御手段(ST1〜ST
8)と、前記データ記憶領域内のデータが満杯になった
か否かを判断し、満杯の判別出力で前記データ記憶領域
内のデータを前記第2の記憶手段に転送すると共に、前
記第2のカウンタを転送量に相当して歩進させ、かつ前
記第1のカウンタにデータ記憶領域の先頭アドレスを再
セットする第2の制御手段(ST9、ST12)と、前
記第2の記憶手段に記憶されるデータが満杯であるか否
かを判断し、満杯の判別出力で前記第2のカウンタに前
記第2の記憶手段の先頭アドレスを再セットする第3の
制御手段(ST13、ST14)とから構成されてい
る。
(D) Means for Solving Problems The data recording apparatus of the present invention has a predetermined time T after the power is turned on.
When the start command is input within 1, the first and second initialization signals are output, while when the start command is input after the elapse of a predetermined time T 1 after the power is turned on, only the second initialization signal is output. Is output and a start command is input within a predetermined time T 1 after the power is turned on, or a processing request signal is received every time a predetermined time T 2 has passed from the earlier time after the predetermined time T 1 has passed after the power is turned on. A time lapse monitoring device (4) for outputting
When the storage data of the first and second counters (6, 7), the first storage means (5) including the data storage area (8) and the data storage area become full, the data transfer is performed. When the first initialization signal is present, the first address of the data storage area is set in the first counter every time the second storage means (9, 10) for storing the data and the processing request signal are received. If the second initialization signal is present, the start address of the second storage means is set in the second counter, and each time the processing request signal is received, the first counter in the data storage area is set. Data is sequentially stored in the address corresponding to the contents of
Control means (ST1 to ST
8), it is determined whether or not the data in the data storage area has become full, and the data in the data storage area is transferred to the second storage means by a determination output of fullness, and the second Second control means (ST9, ST12) for incrementing the counter by the amount corresponding to the transfer amount and for resetting the first address of the data storage area in the first counter, and stored in the second storage means. And a third control means (ST13, ST14) for resetting the head address of the second storage means to the second counter by the determination output of fullness. Has been done.

(ヘ)作用 このデータ収録装置では、電源が投入されてからT
間内にスタート指令が入力されると、時間監視装置より
第1と第2の初期化信号が出力され、またスタート指令
の入力後、T時間の経過毎に処理依頼信号が出力され
る。この処理依頼信号を受けると、第1の制御手段は第
1の初期化信号と第2の初期化信号の存在で、第1のカ
ウンタにデータ記憶領域の先頭アドレスをセットし、第
2のカウンタに第2の記憶手段の先頭アドレスをセット
する。そして、処理依頼信号が入力される毎に、第1の
カウンタで指定されるデータ記憶領域のアドレスに取込
みデータを順次記憶させるとともに、第1のカウンタを
歩進させる。第2の制御手段は、データ記憶領域内のデ
ータが満杯になったか否か判定し、満杯となると、デー
タ記憶領域内のデータを第2の記憶手段に転送するとと
もに、第2のカウンタを転送量に相当して歩進させ、ま
た第1のカウンタにデータ記憶領域の先頭アドレスを再
セットする。第3の制御手段は、第2の記憶手段が満杯
であるか否かを判断し、満杯となっていると、第2のカ
ウンタに第2の記憶手段の先頭アドレスをセットする。
(F) Action In this data recording device, when the start command is input within T 1 time after the power is turned on, the time monitoring device outputs the first and second initialization signals, and the start command After the input, the processing request signal is output every time T 2 has elapsed. Upon receiving this processing request signal, the first control means sets the first address of the data storage area in the first counter in the presence of the first initialization signal and the second initialization signal, and then the second counter. Is set to the start address of the second storage means. Then, each time the processing request signal is input, the fetched data is sequentially stored in the address of the data storage area designated by the first counter, and the first counter is incremented. The second control means determines whether or not the data in the data storage area is full, and when full, transfers the data in the data storage area to the second storage means and the second counter. The number of steps is incremented by the amount, and the first address of the data storage area is reset in the first counter. The third control means determines whether or not the second storage means is full, and if the second storage means is full, sets the start address of the second storage means in the second counter.

電源が投入されてからT時間経過後にスタート指令が
入力されると、時間監視装置より第2の初期化信号のみ
が出力され、また上記T時間経過後のT時間の経過
毎に処理依頼信号が出力される。この処理依頼信号を受
けると、第1の制御手段は第2の初期化信号のみを確認
することになり、これにより、第2のカウンタに第2の
記憶手段の先頭アドレスをセットする。従って、この場
合には、第1のカウンタにデータ記憶領域の先頭アドレ
スがセットされることはない。そして、その後処理依頼
信号が入力される毎に、第1のカウンタに指定されるデ
ータ記憶領域のアドレスに取込みデータを順次記憶させ
ると共に、第1のカウンタを歩進させる。以後の第2の
制御手段及び第3の制御手段の動作は、上記した電源投
入後、T時間内にスタート指令が入力された場合と同
様である。
When a start command is input after a lapse of T 1 hours after the power is turned on, only the second initialization signal is output from the time monitoring device, and processing is performed every time a T 2 time elapses after the T 1 hour has elapsed. A request signal is output. Upon receiving this processing request signal, the first control means confirms only the second initialization signal, and thereby sets the head address of the second storage means in the second counter. Therefore, in this case, the first address of the data storage area is not set in the first counter. Then, each time a processing request signal is input thereafter, the fetched data is sequentially stored in the address of the data storage area designated by the first counter, and the first counter is incremented. Subsequent operations of the second control means and the third control means are the same as when the start command is input within T 1 time after the power is turned on.

(ヘ)実施例 以下、実施例により、この発明をさらに詳細に説明す
る。
(F) Examples Hereinafter, the present invention will be described in more detail with reference to Examples.

第1図は、この発明の一実施例を示す重量測定装置のブ
ロック図である。
FIG. 1 is a block diagram of a weight measuring device showing an embodiment of the present invention.

同図において、測定装置1は重力計であり、観測場所に
おける重力をアナログで検出し、データ入力装置2でデ
ジタル値に変換して、制御装置3に取込まれるようにな
っている。
In the figure, the measuring device 1 is a gravimeter, which detects the gravity at the observation location in an analog manner, converts it into a digital value by the data input device 2, and takes it in by the control device 3.

制御装置3は、マイクロプロセッサ等で構成され、第2
図に示すフローチャートの処理を実行するように構成さ
れている。
The control device 3 includes a microprocessor and the like, and
It is configured to execute the processing of the flowchart shown in the figure.

時間監視装置4は、電源スイッチ11がオンされてから
時間以内にスタートスイッチ12がオンされると、
初期化信号1及び初期化信号2をオンするとともに、ま
た電源スイッチ11が投入されてからT時間経過後に
スタートスイッチ12が押された場合には、初期化信号
2のみをオンするようになっており、これら初期化信号
1及び初期化信号2は、制御装置3に入力される。ま
た、時間監視装置4は、電源スイッチ11がオンされて
からT時間が経過するか、あるいはスタートスイッチ
12がオンされた時点からT時間毎に、処理依頼信号
を制御装置3に加えるようになっている。さらに、時間
監視装置4は、制御装置3から処理終了信号を受ける
と、初期化信号1及び初期化信号3をオフする。
In the time monitoring device 4, when the start switch 12 is turned on within T 1 hours after the power switch 11 is turned on,
When the initialization signal 1 and the initialization signal 2 are turned on, and when the start switch 12 is pressed after a lapse of T 1 time after the power switch 11 is turned on, only the initialization signal 2 is turned on. The initialization signal 1 and the initialization signal 2 are input to the control device 3. Further, the time monitoring device 4 applies the processing request signal to the control device 3 every T 2 hours after the time T 1 has passed after the power switch 11 is turned on or when the start switch 12 is turned on. It has become. Further, when the time monitoring device 4 receives the processing end signal from the control device 3, the time monitoring device 4 turns off the initialization signal 1 and the initialization signal 3.

一方、制御装置3は、時間監視装置4からの処理依頼信
号を受けると、第2図に示すフローチャートの処理を順
次実行する。
On the other hand, when the control device 3 receives the processing request signal from the time monitoring device 4, the control device 3 sequentially executes the processing of the flowchart shown in FIG.

記憶装置5は、不揮発性のメモリにより構成され、その
内部にはカウンタ16、カウンタII7及びデータ記憶領
域8を備えている。
The storage device 5 is composed of a non-volatile memory, and has a counter 16, a counter II 7, and a data storage area 8 inside.

カウンタ16は、データ記憶領域8にデータを書込む際
のデータ記憶領域のアドレスを記憶しており、またカウ
ンタII7は、後述のメモリカセット10にデータを書込
むアドレスを記憶するためのカウンタであり、データ記
録装置9は、制御装置3の指令により記憶装置5のデー
タ記憶領域にストアされたデータを、メモリカセット1
0のカウンタII7に示されるアドレスに転送するように
なっている。
The counter 16 stores the address of the data storage area when writing data to the data storage area 8, and the counter II7 is a counter for storing the address of writing data to the memory cassette 10 described later. The data recording device 9 stores the data stored in the data storage area of the storage device 5 according to a command from the control device 3 in the memory cassette 1.
The data is transferred to the address indicated by the counter II7 of 0.

メモリカセット10は、やはり不揮発性のメモリであ
り、データ記憶領域8よりも大容量のメモリで、データ
記録装置9に装着されるように構成されている。
The memory cassette 10 is also a non-volatile memory, has a larger capacity than the data storage area 8, and is configured to be attached to the data recording device 9.

次に、第2図に示すフローチャート及び第3図の波形図
を参照して、上記実施例重量測定装置の動作について説
明する。
Next, the operation of the above-described weight measuring device will be described with reference to the flowchart shown in FIG. 2 and the waveform diagram shown in FIG.

電源スイッチ11がオンされると、時間監視装置4はT
時間の監視を開始する。重力の観測を開始する場合、
測定者は電源スイッチ11をオンして、T時間が経過
する以内にすぐスタートスイッチ12をオンする。これ
により、時間監視装置4は初期化信号1及び初期化信号
2をオンするとともに、続いてT時間の監視を始め
る。
When the power switch 11 is turned on, the time monitoring device 4 becomes T
Start monitoring for 1 hour. When you start observing gravity,
The measurer turns on the power switch 11 and immediately turns on the start switch 12 within a lapse of T 1 time. As a result, the time monitoring device 4 turns on the initialization signal 1 and the initialization signal 2, and then starts monitoring the T 2 time.

第3図によると、図面の左方端の△のマーク点で電源ス
イッチ11がオンされたことを示し、これよりT時間
が経過する以内に、▲マークで示すようにスタートスイ
ッチ12がオンされ、応じて初期化信号1、初期化信号
2がオンされるようになっており、その後、▲のスター
トスイッチ12をオンした時点からT時間が経過する
と、時間監視装置4より制御装置3に処理依頼信号が出
力され、制御装置3が作動開始するとともに、処理依頼
信号の処理終了で、初期化信号1及び初期化信号2がオ
フされる。
According to FIG. 3, the power switch 11 is turned on at a mark point Δ on the left end of the drawing, and the start switch 12 is turned on as indicated by a triangle mark within T 1 time from this point. Accordingly, the initialization signal 1 and the initialization signal 2 are turned on, and thereafter, when T 2 time elapses from the time when the start switch 12 of ▲ is turned on, the time monitoring device 4 causes the control device 3 to operate. The processing request signal is output to the controller 3, the control device 3 starts to operate, and the initialization signal 1 and the initialization signal 2 are turned off when the processing of the processing request signal is completed.

制御装置3は、時間監視装置4からの処理依頼信号を受
けるまでは、第2図に示すステップST1に留まり、処
理依頼信号が送られてくるのを待機している。制御装置
3は、時間監視装置4から処理依頼信号を受けると、続
いて初期化信号2を取込み(ST2)、先ず初期化信号
1が1か否か判定する(ST3)。
The control device 3 stays at step ST1 shown in FIG. 2 and waits for the processing request signal to be sent until it receives the processing request signal from the time monitoring device 4. Upon receiving the processing request signal from the time monitoring device 4, the control device 3 subsequently takes in the initialization signal 2 (ST2) and first determines whether or not the initialization signal 1 is 1 (ST3).

上記のように、電源スイッチ11をオンした後、スター
トスイッチ12をT時間経過以内にオンしている場合
に、初期化信号1及び初期化信号2はいずれもオンされ
ているため、ステップST3における“初期化信号1=
1か”の判定はYESとなり、次にカウンタ16にデー
タ記憶領域の先頭アドレスをセットする(ST4)。ま
た続いて、ステップST5で初期化信号2は1か否か判
定されるが、この判定もやはりYESであり、続いてス
テップST6でカウンタII7にメモリカセット10の先
頭アドレスをセットすることになる。
As described above, after the power switch 11 is turned on, when the start switch 12 is turned on within the lapse of T 1 time, both the initialization signal 1 and the initialization signal 2 are turned on. "Initialization signal 1 =
The result is YES, and the start address of the data storage area is set in the counter 16 (ST4). Subsequently, in step ST5, it is determined whether the initialization signal 2 is 1 or not. Is also YES, and subsequently, in step ST6, the leading address of the memory cassette 10 is set in the counter II7.

これにより、カウンタ16及びカウンタII7には、それ
ぞれデータ記憶領域8の先頭アドレスとメモリカセット
10の先頭アドレスがセットされたことになる。そし
て、制御装置3はデータ入力装置2を経て取込まれる観
測データを、先ずカウンタ16でアドレスされるデータ
記憶領域8に格納する。この場合、データ記憶領域8の
先頭アドレスがカウンタ16にセットされているため、
測定データは、データ記憶領域8の先頭に測定データの
長さ分だけ格納されることになる(ST7)。
As a result, the start address of the data storage area 8 and the start address of the memory cassette 10 are set in the counter 16 and the counter II 7, respectively. Then, the control device 3 first stores the observation data taken in via the data input device 2 in the data storage area 8 addressed by the counter 16. In this case, since the start address of the data storage area 8 is set in the counter 16,
The measurement data is stored at the beginning of the data storage area 8 by the length of the measurement data (ST7).

次に、カウンタ16の内容が、先にデータ記憶0域8に
記憶したデータ分に相当する値だけカウントアップされ
る(ST8)。そして、次にデータ記憶領域8の記憶内
容が満杯か否か判定する(ST9)。この判定は、カウ
ンタ16の内容が、データ記憶領域8の大きさから1回
の測定データの長さ分を引いた値を越えているか否か判
定し、越えている場合に満杯と判断される。最初の第1
回目のデータ記憶の場合は、当然データ記憶領域は満杯
でないと考えてよいから、この判定はNOであり、ステ
ップST15の“処理終了信号を出力する”を経て、ス
テップST1にリターンする。
Next, the content of the counter 16 is counted up by a value corresponding to the data previously stored in the data storage 0 area 8 (ST8). Then, it is next determined whether or not the storage contents of the data storage area 8 are full (ST9). In this determination, it is determined whether or not the content of the counter 16 exceeds a value obtained by subtracting the length of one measurement data from the size of the data storage area 8. If it exceeds, it is determined that the counter 16 is full. . First first
In the case of the data storage for the second time, it can be considered that the data storage area is not full, so this determination is NO, and the process returns to step ST1 through "output a processing end signal" in step ST15.

制御装置3から終了処理信号を得た時間監視装置4は、
初期化信号1及び初期化信号2をオフする。さらにその
後、測定が継続され、時間Tが経過すると、時間監視
装置4は再度処理依頼信号を制御装置3に送る。これに
応じて、前回と同様、制御装置3は初期化信号1及び初
期化信号を取込み、初期化信号1及び初期化信号2が1
であるか否か、それぞれステップST3とステップST
5で判定されるが、すでに前回の処理終了信号で初期化
信号1及び初期化信号2がいずれもオフされているの
で、これらステップST3とステップST5の判定はN
Oとなり、それぞれステップST4、ステップST6の
処理をスキップして、ステップST7に移る。すなわ
ち、カウンタ16及びカウンタII7の内容をリセットし
て、先頭アドレスをそれぞれリセットすることなく、そ
のままの内容で進行することになる。そして、データ入
力装置2を通して制御装置3に取込まれた測定データ
は、カウンタ16に記憶されるアドレスに対応して、デ
ータ記憶領域8に格納される。また、カウンタ16は、
その測定データを記憶した領域に相当する分のカウント
アップがなされる(ST8)。
The time monitoring device 4 which has received the termination processing signal from the control device 3
The initialization signal 1 and the initialization signal 2 are turned off. After that, the measurement is continued, and when the time T 1 elapses, the time monitoring device 4 sends the processing request signal to the control device 3 again. In response to this, similarly to the previous time, the control device 3 takes in the initialization signal 1 and the initialization signal, and the initialization signal 1 and the initialization signal 2 become 1
Whether or not it is step ST3 and step ST, respectively.
However, since both the initialization signal 1 and the initialization signal 2 have already been turned off by the previous processing end signal, the determination in these steps ST3 and ST5 is N.
It becomes O, skips the processing of step ST4 and step ST6, respectively, and moves to step ST7. In other words, the contents of the counter 16 and the counter II7 are reset, and the start address is not reset respectively, and the process proceeds as it is. Then, the measurement data taken into the control device 3 through the data input device 2 is stored in the data storage area 8 in correspondence with the address stored in the counter 16. Also, the counter 16
A count-up corresponding to the area storing the measurement data is performed (ST8).

以上のようにして、データ記憶領域8には記憶データが
満杯になるまで、時間T毎に順次測定データが格納さ
れる。やがてデータ記憶領域8の記憶データが満杯とな
ると、ステップST9の判定がYESとなり、続いてス
テップST10で、それまでデータ記憶領域8に記憶し
ていた測定データを、データ記録装置9を介してメモリ
カセット10に転送する。この場合、カウンタII7には
メモリカセット10の先頭アドレスが記憶されているた
め、転送されてきた測定データは、先ずメモリカセット
10の先頭アドレスから順次記憶されることになる。そ
して、その転送されたデータ量に相当するアドレス分
が、カウンタII7でカウントアップされる(ST1
1)。また、データ記憶領域8の全てのデータがメモリ
カセット10に転送されるので、次に新たに測定データ
がデータ記憶領域8に記憶されるのは、先頭アドレスと
なるから、カウンタ16にデータ記憶領域8の先頭アド
レスを再セットする(ST12)。次に、メモリカセッ
ト10が満杯か否か判定される(ST13)。データ記
憶領域8のデータがメモリカセット10に転送された回
数が1回の場合は、当然メモリカセット10は満杯でな
く、この判定はNOとなり、ステップST15で処理終
了信号を出力して、制御装置3の動作はまたステップS
T1に戻ることになる。
As described above, the measurement data is sequentially stored at each time T 2 until the storage data is full in the data storage area 8. When the storage data in the data storage area 8 becomes full soon, the determination in step ST9 becomes YES, and subsequently, in step ST10, the measurement data stored in the data storage area 8 until then is stored in the memory via the data recording device 9. Transfer to cassette 10. In this case, since the start address of the memory cassette 10 is stored in the counter II7, the transferred measurement data is sequentially stored starting from the start address of the memory cassette 10. Then, the address corresponding to the transferred data amount is counted up by the counter II7 (ST1
1). Further, since all the data in the data storage area 8 is transferred to the memory cassette 10, the measurement data is newly stored in the data storage area 8 at the head address. The leading address of 8 is reset (ST12). Next, it is determined whether the memory cassette 10 is full (ST13). When the number of times the data in the data storage area 8 has been transferred to the memory cassette 10 is one, the memory cassette 10 is naturally not full, and this determination is NO, and in step ST15 a processing end signal is output and the control device The operation of 3 is also step S
It will return to T1.

以上の処理を何回か繰返し、つまりデータ記憶領域8の
データが満杯になると、データ記録装置9を通してメモ
リカセット10に順次データを転送し、やがてメモリカ
セット10のデータが満杯になると、ステップST13
の判定がYESとなり、ステップST14でカウンタII
7の内容をメモリカセット10の先頭アドレスにセット
する。そして、再度ステップST15を経てステップS
T1に戻る。
The above process is repeated several times, that is, when the data in the data storage area 8 becomes full, the data is sequentially transferred to the memory cassette 10 through the data recording device 9, and when the data in the memory cassette 10 becomes full, step ST13.
Is YES, the counter II is returned in step ST14.
The contents of 7 are set in the head address of the memory cassette 10. Then, through step ST15 again, step S
Return to T1.

この時点で、メモリカセット10を交換すれば、何ら支
障なく交換することが可能である。つまり、メモリカセ
ット10の先頭アドレスがカウンタII7にセットされて
おり、メモリカセット10が満杯になっている状態で、
次にデータ記憶領域8にデータを順次記憶している間
に、メモリカセット10を交換すればよい。
At this point, if the memory cassette 10 is replaced, it can be replaced without any trouble. That is, when the top address of the memory cassette 10 is set in the counter II7 and the memory cassette 10 is full,
Next, the memory cassette 10 may be replaced while sequentially storing the data in the data storage area 8.

例えば、データ記憶領域8に格納されるデータが、デー
タ記憶を開始して満杯となり、転送を要するまでの時間
を8時間とすると、メモリカセット10が満杯となって
から少なくとも8時間内にメモリカセット10を交換す
ればよいことになる。
For example, assuming that the data stored in the data storage area 8 starts to store data and becomes full, and the time required for transfer is 8 hours, the memory cassette 10 is filled at least within 8 hours. It is enough to replace 10.

次に、データ測定中に停電があった場合の動作について
説明する。
Next, the operation when a power failure occurs during data measurement will be described.

第3図の中央部分に示すように、停電が発生し、その後
復旧して電源がオンすると、時間監視装置4はT時間
の監視を開始するが、観測点に係員がいない場合は、当
然スタートスイッチ12がT時間内にオンされないの
で、T時間が経過すると、その時点より時間監視装置
4はさらにT時間を計時する。そして、T時間の経
過で、時間監視装置4は処理要求信号を制御装置3に出
力することになる。制御装置3は、第2図のフローチャ
ートに示すように、ステップST3とステップST5
で、初期化信号1、初期化信号2がいずれも1てあるか
否か判定するが、停電後の復帰の場合には、初期化信号
1及び初期化信号2がオンされていないため、ステップ
ST4及びステップST6の処理はスキップされ、すな
わちカウンタ16及びカウンタII7のいずれもが更新さ
れることなく、そのままステップST7の測定データの
取込み処理に移る。従って、以後は処理要求信号が入る
毎に、データ入力装置2より取込まれたデータがデータ
記憶領域8に停電時にカウンタ16が記憶しているアド
レスに記憶し、以後、そのアドレスから順次データを記
憶していくことになり、メモリカセット10についても
同様であり、カウンタII7が示していた領域より記憶し
ていくことになる。つまり、停電時中のデータは欠落す
ることになるが、その後のデータはそのままデータ記憶
領域8及びメモリカセット10に記憶されることにな
る。
As shown in the center part of FIG. 3, when a power failure occurs, the power is turned on again after the power is restored, the time monitoring device 4 starts monitoring for T 1 hours. since the start switch 12 is not turned on in 1 hour in a T, the time T 1 has elapsed, the time monitoring device 4 that point further measures a T 2 hours. Then, after the elapse of T 2 time, the time monitoring device 4 outputs a processing request signal to the control device 3. The control device 3, as shown in the flowchart of FIG. 2, has steps ST3 and ST5.
Then, it is determined whether or not both the initialization signal 1 and the initialization signal 2 are 1, but in the case of recovery after a power failure, the initialization signal 1 and the initialization signal 2 are not turned on, The processes of ST4 and ST6 are skipped, that is, the counter 16 and the counter II7 are not updated, and the process directly proceeds to the measurement data acquisition process of step ST7. Therefore, thereafter, each time a processing request signal is input, the data taken in from the data input device 2 is stored in the data storage area 8 at the address stored in the counter 16 at the time of power failure, and thereafter, the data is sequentially stored from that address. The memory cassette 10 is stored in the same manner. The memory cassette 10 is also stored in the area indicated by the counter II7. That is, the data during the power failure will be lost, but the subsequent data will be stored in the data storage area 8 and the memory cassette 10 as they are.

また、この実施例装置では、メモリカセット10が満杯
となる前に交換しても、スタートスイッチ12を押すこ
とにより、その続きのデータを新しいメモリカセット1
0の先頭アドレスから書込めるようになっている。
Further, in the apparatus of this embodiment, even if the memory cassette 10 is replaced before it is full, by pressing the start switch 12, the following data is transferred to the new memory cassette 1.
Writing is possible from the leading address of 0.

第3図の右方部に波形を示すように、電源スイッチ11
がオンされて、時間T以上のかなりの時間が経過した
後、スタートスイッチ12をオンすると(第3図の右方
の▲印)、これにより、初期化信号2のみが時間監視装
置4より発生される。従って、時間監視装置4より制御
装置3に処理要求信号が入力され、制御装置3が作動を
開始すると、第2図のステップST2で初期化信号1及
び初期化信号2が取込まれ、ステップST3の初期化信
号1は1かの判定とNOであるため、ステップST4は
スキップするが、ステップST5における初期化信号2
は1かの判定はYESとなり、カウンタII7にメモリカ
セット10の先頭アドレスをセットする。そのため、ス
テップST7で測定データをデータ記憶領域8に格納
し、順次データ記憶領域8にデータが格納され、データ
記憶領域8のデータが満杯になると、そのデータ記憶領
域8のデータがメモリカセット10に転送されることに
なる(ST10)。このデータは、カウンタII7にメモ
リカセット10の先頭アドレスがセットされているた
め、新しいメモリカセット10の先頭領域からデータが
記憶されることになる。
As shown in the waveform on the right side of FIG. 3, the power switch 11
When the start switch 12 is turned on after a considerable period of time T 1 or more has elapsed after the switch has been turned on (marked by ▲ on the right side of FIG. 3), this causes only the initialization signal 2 to be output from the time monitoring device 4. Is generated. Therefore, when the processing request signal is input to the control device 3 from the time monitoring device 4 and the control device 3 starts to operate, the initialization signal 1 and the initialization signal 2 are taken in at step ST2 of FIG. Since the initialization signal 1 of 1 is NO and it is NO, step ST4 is skipped, but the initialization signal 2 of step ST5 is
If YES, the determination is YES, and the leading address of the memory cassette 10 is set in the counter II7. Therefore, in step ST7, the measurement data is stored in the data storage area 8, the data is sequentially stored in the data storage area 8, and when the data in the data storage area 8 becomes full, the data in the data storage area 8 is stored in the memory cassette 10. It will be transferred (ST10). Since the start address of the memory cassette 10 is set in the counter II7, this data is stored from the start area of the new memory cassette 10.

このように、電源が投入された後、時間Tを経過した
後、スタートスイッチ12をオンすることにより、メモ
リカセット10には先頭アドレスから記憶されることに
なるので、測定者は、観測場所に着いた時点で、即メモ
リカセット10を交換することができる。
As described above, after the time T 1 has elapsed after the power was turned on, the start switch 12 is turned on, so that the memory cassette 10 is stored from the beginning address. The memory cassette 10 can be exchanged immediately when it arrives at.

(ヘ)発明の効果 この発明によれば、二個の記憶媒体を交互に使用する従
来のものに比し、記憶媒体の交換頻度が約半分になるた
め、装置の設置場所が遠く離れている場合でも、係員の
労力・手間が省ける。また、停電が発生し復旧した場
合、記憶装置には停電時までデータが記憶されていた次
の領域から、自動的に記憶がなされるので、停電前のデ
ータをリセット等により破壊することなく、停電後のデ
ータ収録を行うことができる。
(F) Effect of the Invention According to the present invention, the frequency of replacement of the storage media is about half that of the conventional one in which two storage media are used alternately, so the device is installed far away. Even in this case, the labor and labor of the staff can be saved. In addition, when a power failure occurs and the system is restored, the storage area is automatically stored from the next area where data was stored until the time of power failure, so data before power failure is not destroyed by resetting, etc. Data can be recorded after a power failure.

【図面の簡単な説明】[Brief description of drawings]

第1図は、この発明の一実施例を示す重力測定装置のブ
ロック図、第2図は、同装置の制御装置の動作を説明す
るためのフローチャート、第3図は、同装置の動作を説
明するための信号タイムチャートである。 3:制御装置、4:時間監視装置、 5:記憶装置、6:カウンタI、 7:カウンタII、8:データ記憶領域、 9:データ記録装置、10:メモリカセット、 11:電源スイッチ、12:スタートスイッチ。
FIG. 1 is a block diagram of a gravity measuring device showing an embodiment of the present invention, FIG. 2 is a flow chart for explaining the operation of a control device of the device, and FIG. 3 is a flowchart for explaining the operation of the device. It is a signal time chart for doing. 3: Control device, 4: Time monitoring device, 5: Storage device, 6: Counter I, 7: Counter II, 8: Data storage area, 9: Data recording device, 10: Memory cassette, 11: Power switch, 12: Start switch.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】電源投入後の所定時間T内にスタート指
令が入力されると、第1と第2の初期化信号を出力する
一方、電源投入後の所定時間T経過後にスタート指令
が入力されると、第2の初期化信号のみを出力し、かつ
電源投入後の所定時間T内にスタート指令が入力され
るか、あるいは電源投入後の所定時間T経過後のいず
れか早い時点より所定時間T経過毎に処理依頼信号を
出力する時間監視装置と、 第1及び第2のカウンタと、データ記憶領域を含む第1
の記憶手段と、 前記データ記憶領域の記憶データが満杯になると、その
データの転送を受けて記憶する第2の記憶手段と、 前記処理依頼信号を受ける毎に、第1の初期化信号が存
在すれば前記第1のカウンタに前記データ記憶領域の先
頭アドレスをセットし、第2の初期化信号が存在すれ
ば、前記第2のカウンタに前記第2の記憶手段の先頭ア
ドレスをセットし、前記処理依頼信号を受ける毎に、前
記データ記憶領域の前記第1のカウンタの内容に対応す
るアドレスに取込みデータを順次記憶させると共に、前
記第1のカウンタを歩進させる第1の制御手段と、 前記データ記憶領域内のデータが満杯になったか否かを
判断し、満杯の判別出力で前記データ記憶領域内のデー
タを前記第2の記憶手段に転送すると共に、前記第2の
カウンタを転送量に相当して歩進させ、かつ前記第1の
カウンタにデータ記憶領域の先頭アドレスを再セットす
る第2の制御手段と、 前記第2の記憶手段に記憶されるデータが満杯であるか
否かを判断し、満杯の判別出力で前記第2のカウンタに
前記第2の記憶手段の先頭アドレスを再セットする第3
の制御手段、 とからなるデータ収録装置。
1. When a start command is input within a predetermined time T 1 after the power is turned on, the first and second initialization signals are output, while the start command is issued after a predetermined time T 1 after the power is turned on. is input, and outputs only the second initialization signal, and whether a start command to the predetermined time T 1 after power is input, or any earlier after a predetermined time T 1 elapses after power A time monitoring device that outputs a processing request signal each time a predetermined time T 2 has elapsed from the time point, first and second counters, and a first storage device including a data storage area.
Storage means, second storage means for storing and storing the data when the storage data in the data storage area is full, and a first initialization signal is present each time the processing request signal is received. If so, the first address of the data storage area is set in the first counter, and if the second initialization signal is present, the first address of the second storage means is set in the second counter. First control means for sequentially storing the fetched data at an address corresponding to the content of the first counter in the data storage area each time the processing request signal is received, and for incrementing the first counter, It is judged whether or not the data in the data storage area is full, and the data in the data storage area is transferred to the second storage means by a determination output of fullness, and the second counter is Second control means for incrementing by an amount corresponding to the sending amount and resetting the first address of the data storage area in the first counter, and whether the data stored in the second storage means is full Third, resetting the start address of the second storage means in the second counter with a full determination output
A data recording device consisting of the control means of and.
JP25904485A 1985-11-18 1985-11-18 Data recording device Expired - Fee Related JPH0648498B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP25904485A JPH0648498B2 (en) 1985-11-18 1985-11-18 Data recording device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP25904485A JPH0648498B2 (en) 1985-11-18 1985-11-18 Data recording device

Publications (2)

Publication Number Publication Date
JPS62118487A JPS62118487A (en) 1987-05-29
JPH0648498B2 true JPH0648498B2 (en) 1994-06-22

Family

ID=17328549

Family Applications (1)

Application Number Title Priority Date Filing Date
JP25904485A Expired - Fee Related JPH0648498B2 (en) 1985-11-18 1985-11-18 Data recording device

Country Status (1)

Country Link
JP (1) JPH0648498B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2530874B1 (en) * 2011-06-03 2020-04-29 AirMagnet, Inc. Method and apparatus for detecting network attacks using a flow based technique

Also Published As

Publication number Publication date
JPS62118487A (en) 1987-05-29

Similar Documents

Publication Publication Date Title
WO2001035668A1 (en) Digital surveillance system with pre-event recording
US4525800A (en) Enhanced reliability data storage system with second memory for preserving time-dependent progressively updated data from destructive transient conditions
JPH0648498B2 (en) Data recording device
KR102136183B1 (en) Method and apparatus for recording time series data
JPH10320040A (en) Periodic data collection and storage system
JPS5860346A (en) Controlling system for terminal connection status
JP2722744B2 (en) Digital data recording / reproducing device
JPS63244143A (en) Information processing system
JPS5828271Y2 (en) data collector device
JPS60222720A (en) Analog recording system
CN118671511A (en) Fault collaborative wave recording method of electric remote terminal
JPH04833A (en) Method of monitoring status of device to be monitored
TW487926B (en) CD-ROM decoder
JP3612951B2 (en) vending machine
JP2721261B2 (en) Uncollected data collection device
JPS593573A (en) Magnetic disk controller
WO2009107368A1 (en) Image recording device and image recording method
JPH02101523A (en) Parallel transfer type disk controller
JPS6125193B2 (en)
UA13886U (en) Device for determining the cause of failure of a computer system
RU34244U1 (en) DIGITAL INFORMATION RECORDER
JP2636684B2 (en) Bus monitoring equipment
JPH0734200B2 (en) Data collection method
JPH10177764A (en) Optical disk recording device
JP2993731B2 (en) Control method of hardware trace information

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees