JPH05324054A - Sequence control signal recording system - Google Patents

Sequence control signal recording system

Info

Publication number
JPH05324054A
JPH05324054A JP4173614A JP17361492A JPH05324054A JP H05324054 A JPH05324054 A JP H05324054A JP 4173614 A JP4173614 A JP 4173614A JP 17361492 A JP17361492 A JP 17361492A JP H05324054 A JPH05324054 A JP H05324054A
Authority
JP
Japan
Prior art keywords
change
signal
time
pointer
history
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP4173614A
Other languages
Japanese (ja)
Other versions
JP3268505B2 (en
Inventor
Akitaka Sugimasa
暎貴 杉政
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.)
SEREAN GIKEN KK
Original Assignee
SEREAN GIKEN KK
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 SEREAN GIKEN KK filed Critical SEREAN GIKEN KK
Priority to JP17361492A priority Critical patent/JP3268505B2/en
Publication of JPH05324054A publication Critical patent/JPH05324054A/en
Application granted granted Critical
Publication of JP3268505B2 publication Critical patent/JP3268505B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Testing And Monitoring For Control Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To compactly preserve history by compressing and recording plural input/output signals to a sequence control circuit. CONSTITUTION:The presence/absence of a signal change is detected by a comparator S205, the history concerning change contents is preserved in a first memory S208 and the history concerning the time point of the change is preserved in a second memory $210 separately. In order to facilitate re-linkage at the time of analysis, a selector S211 adjusts the number of data to be preserved in both of the memories.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、シーケンス制御信号を
記録する方法に関する。
FIELD OF THE INVENTION The present invention relates to a method for recording sequence control signals.

【0002】[0002]

【従来の技術】従来のシーケンス制御信号記録は、サン
プリングしたデータを圧縮しないまま蓄積する方法であ
ったため、多数の信号を、長時間、連続的に記録し、解
析するためには大容量の記憶装置と大型コンピュータを
必要とした。このため通常の産業分野では、記録対象
数、記録時間の長さ、記録の連続性のいずれかを犠牲に
した部分的な記録法に頼らざるを得なかった。
2. Description of the Related Art Since conventional sequence control signal recording is a method of storing sampled data without compression, a large capacity storage is required to record and analyze a large number of signals continuously for a long time. Needed equipment and a large computer. For this reason, in the ordinary industrial field, it is unavoidable to rely on a partial recording method at the expense of the number of recording targets, the length of recording time, or the continuity of recording.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、部分的
な記録法では、何時、どの箇所で発生するか予測できな
いシーケンス制御回路の異常を確実に記録することはで
きず、原因究明に役立たない場合が多い、という難点が
あった。
However, with the partial recording method, it is not possible to reliably record the abnormality of the sequence control circuit, which cannot be predicted when and where it will occur, and it may not be useful for investigating the cause. There were many difficulties.

【0004】そこで、本発明は、上述の点に鑑みて、異
常原因究明に必要な記録対象数、記録時間の長さ、記録
の連続性の全てを満足させるデータ圧縮手段を備えたシ
ーケンス制御信号記録法を得ることを目的とする。
Therefore, in view of the above points, the present invention has a sequence control signal provided with a data compression means that satisfies all of the number of recording targets, the length of recording time, and the continuity of recording necessary for investigating the cause of abnormality. The purpose is to obtain a recording method.

【0005】[0005]

【課題を解決するための手段】このような目的を達成す
るために、本発明は、シーケンス制御信号をサンプリン
グする手段と、変化を検出する手段と、継続時間カウン
ト手段と、全信号保存手段と、変化履歴保存手段と、時
間履歴保存手段と、変化履歴と時間履歴の再結合を容易
にする手段とにより、複数の信号の詳細な動作経過をコ
ンパクトに圧縮して記録することを特徴とする。
In order to achieve such an object, the present invention provides a means for sampling a sequence control signal, a means for detecting a change, a duration counting means, and a total signal storage means. The detailed history of operation of a plurality of signals is compactly compressed and recorded by the change history storage means, the time history storage means, and the means for facilitating the recombination of the change history and the time history. ..

【0006】[0006]

【作用】シーケンス制御信号をサンプリングする手段
は、シーケンス制御回路に対する複数の入出力信号を、
あらかじめ定められた時間間隔毎に、同時に取り込む。
The means for sampling the sequence control signal includes a plurality of input / output signals for the sequence control circuit,
At the same time every predetermined time interval.

【0007】変化を検出する手段は、前記サンプリング
手段によって取り込まれた信号のいずれが変化したか、
を逐次検出する。
The means for detecting the change determines which of the signals captured by the sampling means has changed,
Are sequentially detected.

【0008】継続時間カウント手段は、前記検出手段に
よっていずれの入出力信号にも変化が検出されなかった
時、あらかじめ定められた時間値を加算する。
The duration time counting means adds a predetermined time value when no change is detected in any of the input / output signals by the detecting means.

【0009】全信号保存手段は、前記検出手段によって
変化が検出された時、変化した入出力信号の状態データ
を書き換えて保存する。該保存データは、前記検出手段
への比較基準となるとともに、解析時に任意の複数信号
の連携動作経過を編集するための基準を与える役割を有
する。
The all signal storage means rewrites and stores the changed state data of the input / output signal when the change is detected by the detection means. The stored data serves as a reference for comparison with the detecting means and also serves as a reference for editing the cooperation operation progress of arbitrary plural signals during analysis.

【0010】変化履歴保存手段は、前記検出手段によっ
て変化が検出された時、変化した入出力信号の識別記
号、例えば信号に付されている一連の番号を識別記号と
する場合は該当番号を、変化履歴保存領域へ逐次保存
し、あらかじめ定められた保存数に達した後は、古い記
録から順次書き換える。該履歴保存手段は、全信号の変
化内容に関する情報をコンパクトに記録する役割を有す
る。
The change history storage means, when the change is detected by the detection means, identifies the input / output signal that has changed, for example, if a series of numbers attached to the signals is used as the identification code, the corresponding number, The data is sequentially stored in the change history storage area, and after reaching a predetermined number of storages, the old records are sequentially rewritten. The history storage means has a role of compactly recording information regarding the change contents of all signals.

【0011】時間履歴保存手段は、前記検出手段による
逐次検出が終了し、いずれかの入出力信号に変化が検出
されていた時、前記の継続時間カウンター値を時間履歴
保存領域へ転送して順次保存し、あらかじめ定められた
保存数に達した後は、古い記録から順次書き換える。該
履歴保存手段は、変化時点に関する情報ををコンパクト
に記録する役割を有する。
The time history saving means transfers the continuation time counter value to the time history saving area and sequentially when the change of any of the input / output signals is detected after the detection by the detecting means is completed. After the data is stored, and the number of stored data reaches a predetermined number, the oldest records are sequentially rewritten. The history storage means has a role of compactly recording the information about the change point.

【0012】変化履歴と時間履歴の再結合を容易にする
手段は、前記検出手段によって1サンプル中に、複数の
入出力信号の変化が検出された場合、変化履歴と時間履
歴とのデータ数の差異を、あらかじめ定められたダミー
データを用いて調整し、相対関係を維持する。相対関係
の維持により、変化内容に関する履歴と変化時点に関す
る履歴との再結合が容易になる。
The means for facilitating the recombination of the change history and the time history is to detect the number of data of the change history and the time history when a plurality of input / output signal changes are detected in one sample by the detecting means. Differences are adjusted using predetermined dummy data to maintain the relative relationship. Maintaining the relative relationship facilitates the reconnection of the history of changes and the history of changes.

【0013】[0013]

【実施例】実施例について図1を参照して説明する。シ
ーケンス制御回路(100)への入出力信号を、本発明
による記録計(200)が記録する。ラッチ群(20
1)と第1レジスタ(202)は入出力信号を定められ
た時間間隔で、かつ同時にサンプリングする。
EXAMPLE An example will be described with reference to FIG. Input / output signals to the sequence control circuit (100) are recorded by the recorder (200) according to the present invention. Latch group (20
1) and the first register (202) sample the input / output signals at a predetermined time interval and simultaneously.

【0014】信号カウンタ(203)と比較器(20
5)は、入出力信号のいずれが変化したか、を逐次検出
する検出手段である。信号カウンタ(203)は、比較
処理が1信号進む毎に“1”加算され、所定の信号数の
比較処理が終了した後、“0”にリセットされる。
The signal counter (203) and the comparator (20
5) is a detection means for sequentially detecting which of the input and output signals has changed. The signal counter (203) is incremented by "1" every time the comparison process advances by one signal, and is reset to "0" after the comparison process of a predetermined number of signals is completed.

【0015】第2レジスタ(204)は、全信号保存手
段であり、比較処理後、最新の状態に更新される。
The second register (204) is a means for storing all signals and is updated to the latest state after the comparison process.

【0016】フラグ(206)は、サンプリング時
“0”にセットされ、比較器(205)が不一致が検出
した時、“1”にセットされる。いずれの信号にも不一
致が検出されなかった場合は、“0”に保たれている。
The flag (206) is set to "0" at the time of sampling, and is set to "1" when the comparator (205) detects a mismatch. If no discrepancy is detected in any of the signals, it is kept at "0".

【0017】継続カウンタ(207)は、維続時間カウ
ント手段であり、フラグ(206)が“0”に保たれて
いた時、“1”が加算される。
The continuation counter (207) is a sustaining time counting means and is incremented by "1" when the flag (206) is kept at "0".

【0018】第1メモリ(208)は、変化履歴保存手
段であり、比較器(205)が不一致を検出した時、識
別記号として、信号カウンタ(203)の値を格納す
る。格納位置は第1ポインタ(209)が指示する。第
1ポインタ(209)は記録開始直後に初期化され、格
納位置を指示する毎に“1”が加算される。
The first memory (208) is a change history storage means and stores the value of the signal counter (203) as an identification symbol when the comparator (205) detects a mismatch. The storage position is designated by the first pointer (209). The first pointer (209) is initialized immediately after the start of recording, and "1" is added every time the storage position is designated.

【0019】第2メモリ(210)は、時間履歴保存手
段であり、選択器(211)の指示に従って第2ポイン
タ(212)、または、第3ポインタ(213)の位置
へ継続カウンタ(207)の値、または“0”を格納す
る。継続カウンタ(207)の値が格納された場合、継
続カウンタ(207)は“1”にリセットされる。
The second memory (210) is a time history storage means, and stores the continuation counter (207) to the position of the second pointer (212) or the third pointer (213) according to the instruction of the selector (211). The value or "0" is stored. When the value of the continuation counter (207) is stored, the continuation counter (207) is reset to "1".

【0020】選択器(211)と第2ポインタ(21
2)および第3ポインタ(213)は、再結合を容易に
する手段であり、選択器(211)は、比較器(20
5)が不一致を検出した時、第3ポインタ(213)を
選択し、所定の信号数の比較処理を終了した時、フラグ
(206)を調べ、“1”にセットされている場合の
み、第2ポインタ(212)を選択する。
The selector (211) and the second pointer (21
2) and the third pointer (213) are means for facilitating the recombination and the selector (211) is the comparator (20).
5) when the non-coincidence is detected, the third pointer (213) is selected, and when the comparison processing of the predetermined number of signals is completed, the flag (206) is checked, and only when it is set to “1”, 2 Select the pointer (212).

【0021】選択器(211)が第2ポインタ(21
2)を選択した後、第2ポインタ(212)は第3ポイ
ンタ(213)から“1”を減じた数値に書き換えられ
る。
The selector (211) uses the second pointer (21
After selecting 2), the second pointer (212) is rewritten to a numerical value obtained by subtracting "1" from the third pointer (213).

【0022】第3ポインタ(213)は、記録開始直後
に初期化され、選択器(211)に選択されるごとに
“1”が加算される。第1ポインタ(209)と第3ポ
インタ(213)の加算数は同一であり、所定の数値を
越えた場合は、双方とも同時に、初期値にリセットされ
る。
The third pointer (213) is initialized immediately after the start of recording, and "1" is added every time it is selected by the selector (211). The addition numbers of the first pointer (209) and the third pointer (213) are the same, and when they exceed a predetermined numerical value, both are simultaneously reset to the initial value.

【0023】データ処理の具体例として、図3のサンプ
リングデータが記録計(200)に記録される経過を、
図2のフローチャートに沿って説明する。図3は第1レ
ジスタ(202)に転送されたデータを時系列的に表示
した事例であり、第1列を第1信号、第8列を第8信号
と称する。
As a concrete example of the data processing, the process of recording the sampling data of FIG. 3 in the recorder (200) will be described.
A description will be given along the flowchart of FIG. FIG. 3 shows an example in which the data transferred to the first register (202) is displayed in time series, and the first column is called the first signal and the eighth column is called the eighth signal.

【0024】記録開始後、最初のデータとして、時刻
(t1)のデータを第1レジスタ(202)へ転送す
る。第1回目はS103へ分岐し、次の処理が行われ
る。第1レジスタ(202)の内容を第2レジスタ(2
04)へ転送する。第1ポインタ(209)と第3ポイ
ンタ(213)の指示する第1メモリ(208)と第2
メモリ(210)へ“0”をセットする。第3ポインタ
(213)の値を第2ポインタ(212)へうつす。第
1ポインタ(209)と第3ポインタ(213)に
“1”を加算する。フラグ(206)に“0”を、維続
カウンタ(207)に“1”をセットする。
After the start of recording, the data at time (t1) is transferred to the first register (202) as the first data. The first time, the process branches to S103 and the following process is performed. The contents of the first register (202) are transferred to the second register (2
04). The first memory (208) and the second memory designated by the first pointer (209) and the third pointer (213)
"0" is set in the memory (210). The value of the third pointer (213) is transferred to the second pointer (212). "1" is added to the first pointer (209) and the third pointer (213). The flag (206) is set to "0" and the continuity counter (207) is set to "1".

【0025】続いて、時刻(t2)のデータを第1レジ
スタ(202)へ転送し、信号カウンタ(203)を
“0”にセットする。信号カウンタ(203)が“8”
を越えるまで、信号カウンタ(203)に“1”を加算
しながら第1レジスタ(202)と第2レジスタ(20
4)の第1信号から第8信号を比較する。時刻(t2)
のデータは時刻(t1)のデータと差異は無いので、S
112〜S114を8回通過した後、S121へ分岐
し、フラグ(206)が“0”に保たれているので、S
127へ分岐し、継続カウンタ(207)へ“1”を加
算する。継続カウンタ(207)は“2”となる。
Then, the data at time (t2) is transferred to the first register (202) and the signal counter (203) is set to "0". The signal counter (203) is "8"
Until 1 is exceeded, the first register (202) and the second register (20) are added while adding “1” to the signal counter (203).
The first signal to the eighth signal in 4) are compared. Time (t2)
Data is the same as the data at time (t1), so S
After passing 112 to S114 eight times, the process branches to S121 and the flag (206) is kept at “0”.
The process branches to 127 and "1" is added to the continuation counter (207). The continuation counter (207) becomes "2".

【0026】続いて、時刻(t3)のデータを第1レジ
スタ(202)へ転送し、信号カウンタ(203)を
“0”にセットする。第1信号と第2信号は第2レジス
タ(204)と差異が無いので、それぞれ、S112〜
S114を通り、信号カウンタ(203)に“1”を加
える。
Then, the data at time (t3) is transferred to the first register (202) and the signal counter (203) is set to "0". Since the first signal and the second signal are not different from those of the second register (204), S112 to
After passing through S114, "1" is added to the signal counter (203).

【0027】第3信号を比較する時、信号カウンタ(2
03)は“3”となっている。第3信号は“0”から
“1”へ変化しているのでS115へ分岐し、第2レジ
スタ(204)の第3信号を“1”へ書換え、フラグ
(206)を“1”にセットする。次に第1ポインタ
(209)の指示する位置へ信号カウンタ(203)の
“3”をコピーし、第3ポインタ(213)の指示する
位置へ“0”をセットする。S115へ分岐した場合
は、選択器(211)は第3ポインタ(213)を選択
する構造としておく。第1ポインタ(209)と第3ポ
インタ(213)へそれぞれ“1”を加算し、“初期値
+2”とする。
When comparing the third signal, the signal counter (2
03) is “3”. Since the third signal has changed from "0" to "1", the process branches to S115, the third signal of the second register (204) is rewritten to "1", and the flag (206) is set to "1". .. Next, "3" of the signal counter (203) is copied to the position designated by the first pointer (209), and "0" is set at the position designated by the third pointer (213). When branching to S115, the selector (211) has a structure for selecting the third pointer (213). "1" is added to each of the first pointer (209) and the third pointer (213) to obtain "initial value +2".

【0028】第3信号から第8信号までは第2レジスタ
(204)と差異が無いのでS112〜S114を通
り、S121へ分岐する。フラグ(206)は“1”と
なっているのでS122へ分岐し、第2ポインタ(21
2)の指示する位置へ継続カウンタ(207)の“2”
を転送する。S122へ分岐した場合は、選択器(21
1)は第2ポインタ(212)を選択する構造にしてお
く。継続カウンタ(207)を“1”に、フラグ(20
6)を“0”に、第2ポインタ(212)を第3ポイン
タ(213)から“1”を減じた“初期値+1”に、そ
れぞれセットする。
Since there is no difference from the second register (204) from the third signal to the eighth signal, it goes through S112 to S114 and branches to S121. Since the flag (206) is "1", the process branches to S122 and the second pointer (21
2) of continuation counter (207) to the position indicated by 2)
To transfer. If the process branches to S122, the selector (21
1) has a structure in which the second pointer (212) is selected. The continuation counter (207) is set to "1" and the flag (20
6) is set to "0", and the second pointer (212) is set to "initial value +1" obtained by subtracting "1" from the third pointer (213).

【0029】続いて、時刻(t4)のデータを第1レジ
スタ(202)へ転送し、信号カウンタ(203)を
“0”にセットする。第1信号から第3信号までは第2
レジスタ(204)と差異が無いので、それぞれ、S1
12〜S114を通り、信号カウンタ(203)に
“1”を加える。
Then, the data at time (t4) is transferred to the first register (202) and the signal counter (203) is set to "0". The second from the first signal to the third signal
Since there is no difference with the register (204), S1
After passing through 12 to S114, "1" is added to the signal counter (203).

【0030】第4信号と第5信号を比較する時の信号カ
ウンタ(203)は、それぞれ、“4”と“5”になっ
ている。第4信号と第5信号は、ともに第2レジスタ
(204)と差異が有るので、S115への分岐を繰り
返し、フラグ(206)へ“1”をセットした後、第1
ポインタ(209)の指示する位置へ“4”と“5”を
コピーし、第3ポインタ(213)の指示する位置へ
“0”をセットする。第1ポインタ(209)と第3ポ
インタ(213)の指示する位置は、第1メモリ(20
8)と第2メモリ(210)の、それぞれの“初期値+
2”と“初期値+3”である。第5信号処理後、第1ポ
インタ(209)と第3ポインタ(213)にはそれぞ
れ“1”を加算され“初期値+4”となる。
The signal counters (203) for comparing the fourth signal and the fifth signal are "4" and "5", respectively. Since the fourth signal and the fifth signal are both different from the second register (204), the branch to S115 is repeated and the flag (206) is set to "1" and then the first signal is set.
"4" and "5" are copied to the position designated by the pointer (209), and "0" is set at the position designated by the third pointer (213). The positions designated by the first pointer (209) and the third pointer (213) are stored in the first memory (20
8) and the respective second memory (210) "initial value +
2 "and" initial value +3. "After the fifth signal processing," 1 "is added to the first pointer (209) and the third pointer (213) to become" initial value +4 ".

【0031】第6信号から第8信号までは第2レジスタ
(204)と差異が無いのでS112〜S114を通
り、S121へ分岐する。フラグ(206)は“1”と
なっているのでS122へ分岐し、第2ポインタ(21
2)の指示する位置、即ち第2メモリ(210)の“初
期値+1”へ維続カウンタ(207)の“1”を転送す
る。継続カウンタ(207)を“1”に、フラグ(20
6)を“0”に、第2ポインタ(212)を第3ポイン
タ(213)から“1”を減じた“初期値+3”に、そ
れぞれセットする。
Since there is no difference from the second register (204) from the sixth signal to the eighth signal, it passes through S112 to S114 and branches to S121. Since the flag (206) is "1", the process branches to S122 and the second pointer (21
The continuation counter (207) "1" is transferred to the position indicated by 2), that is, the "initial value +1" of the second memory (210). The continuation counter (207) is set to "1" and the flag (20
6) is set to "0" and the second pointer (212) is set to "initial value +3" which is obtained by subtracting "1" from the third pointer (213).

【0032】同様の処理を繰り返し、時刻(t6)のデ
ータまでを記録した結果を図4と図5に示す。図4は第
2レジスタ(204)と継続カウンタ(207)の内容
であり、第2レジスタ(204)は図3の時刻(t6)
と同一のデータを保存し、継続カウンタ(207)は発
生回数が“1”であることを示している。
The results of recording the data up to the time (t6) by repeating the same processing are shown in FIGS. 4 and 5. FIG. 4 shows the contents of the second register (204) and the continuation counter (207), and the second register (204) stores the time (t6) in FIG.
The same data is stored, and the continuation counter (207) indicates that the number of occurrences is “1”.

【0033】図5は第1メモリ(208)と第2メモリ
(210)の内容であり、第1メモリ(208)は変化
した信号の識別記号、すなわち信号番号を時系列的に、
第2メモリ(210)は各信号が変化した後の持続時間
を保存している。第2メモリ(210)のアドレス“初
期値+2”が“0”となっているのが本記録法の特徴
で、複数の信号が同時に変化したことを示している。
FIG. 5 shows the contents of the first memory (208) and the second memory (210). The first memory (208) shows the identification symbols of the changed signals, that is, the signal numbers in time series.
The second memory (210) stores the duration after each signal change. The fact that the address "initial value +2" of the second memory (210) is "0" is a characteristic of this recording method, and indicates that a plurality of signals have changed simultaneously.

【0034】第3ポインタ(213)がダミー“0”の
記入位置を指示し、第2ポインタ(212)が継続カウ
ンタ(207)の記入位置を指示する方法により、第1
メモリ(208)と第2メモリ(210)の履歴は安定
した相対関係を維持し、同時に複数の信号が変化した場
合も、履歴保存領域を上書きしながら記録を続ける場合
も、正確にデータを保存する。
The third pointer (213) indicates the entry position of the dummy "0", and the second pointer (212) indicates the entry position of the continuation counter (207).
The history of the memory (208) and the second memory (210) maintains a stable relative relationship, and the data is accurately saved even when a plurality of signals change at the same time and when recording is continued while overwriting the history saving area. To do.

【0035】[0035]

【発明の効果】本発明は、以上説明したように構成され
ているので、以下に記載されるような効果を奏する。
Since the present invention is constructed as described above, it has the following effects.

【0036】変化履歴保存手段により、変化した信号の
みの履歴が保存されるので、多数の信号の履歴をコンパ
クトに保存できる。
Since the history of only changed signals is saved by the change history saving means, the history of many signals can be saved compactly.

【0037】時間履歴保存手段により、全信号が変化し
ない無変化時間帯の履歴は、数値列として保存されるの
で、長い無変化時間帯を含む回路では、長時間の履歴を
コンパクトに保存できる。
Since the history of the unchanged time zone in which all signals do not change is saved as a numerical sequence by the time history saving means, a long time history can be saved compactly in a circuit including a long unchanged time zone.

【0038】変化履歴と時間履歴の再結合が容易なよう
に保存されるので、解析時の編集を短時間に行うことが
できる。
Since the change history and the time history are stored so that they can be easily recombined, the editing can be performed in a short time.

【0039】したがって、シーケンス制御回路(10
0)への入出力信号の全てを記録対象とし、全ての異常
経過を把握することも可能となる。
Therefore, the sequence control circuit (10
It is also possible to record all the input / output signals to and from 0) and to grasp all abnormal processes.

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

【図1】記録計の回路構成を示すブロック図である。FIG. 1 is a block diagram showing a circuit configuration of a recorder.

【図2】処理手順を示すフローチャートである。FIG. 2 is a flowchart showing a processing procedure.

【図3】サンプリングデータの変化順序を示す説明図で
ある。
FIG. 3 is an explanatory diagram showing a change order of sampling data.

【図4】第2レジスタと継続カウンタの記録内容を示す
説明図である。
FIG. 4 is an explanatory diagram showing recorded contents of a second register and a continuation counter.

【図5】第1メモリと第2メモリの記録内容を示す説明
図である。
FIG. 5 is an explanatory diagram showing recorded contents of a first memory and a second memory.

【符号の説明】[Explanation of symbols]

100 シーケンス制御回路 200 記録計 201 ラッチ群 202 第1レジスタ 203 信号カウンタ 204 第2レジスタ 205 比較器 206 フラグ 207 継続カウンタ 208 第1メモリ 209 第1ポインタ 210 第2メモリ 211 選択器 212 第2ポインタ 213 第3ポインタ 214、215、216、217 +1回路 100 Sequence control circuit 200 Recorder 201 Latch group 202 First register 203 Signal counter 204 Second register 205 Comparator 206 Flag 207 Continuation counter 208 First memory 209 First pointer 210 Second memory 211 Selector 212 Second pointer 213th 3 pointers 214, 215, 216, 217 +1 circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】シーケンス制御回路に対する複数の入出力
信号を、あらかじめ定められた時間間隔毎に、同時に取
り込むサンプリング手段と、 前記シーケンス制御回路に対する複数の入出力信号のい
ずれが変化したか、を逐次検出する検出手段と、 該検出手段によっていずれの入出力信号にも変化が検出
されなかった時、あらかじめ定められた時間値を進める
継続時間カウント手段と、 該検出手段によって変化が検出された時、変化した入出
力信号の状態データを書き換えて保存する全信号保存手
段と、 該検出手段によって変化が検出された時、変化した入出
力信号の識別記号を逐次保存し、あらかじめ定められた
数量に達した後は、古い記録から順次書き換える変化履
歴保存手段と、 該検出手段による逐次検出が終了し、いずれかの入出力
信号に変化が検出されていた時、前記の継続時間カウン
ターの値を転送して順次保存し、あらかじめ定められた
数量に達した後は、古い記録から順次書き換える時間履
歴保存手段と、 該検出手段によって1サンプル中に複数の入出力信号が
変化したことが検出された場合、変化履歴と時間履歴と
のデータ数の差異を、あらかじめ定められたダミーデー
タを用いて調整することにより再結合を容易にする手段
と、 を具えたことを特徴とするシーケンス制御信号記録方
式。
1. A sampling means for simultaneously capturing a plurality of input / output signals to / from a sequence control circuit at predetermined time intervals, and which of the plurality of input / output signals to / from the sequence control circuit has changed successively. Detecting means for detecting, no change in any of the input / output signals detected by the detecting means, a continuation time counting means for advancing a predetermined time value, and a change detected by the detecting means, All signal storage means for rewriting and storing the changed state data of the input / output signals, and when the change is detected by the detection means, the identification symbols of the changed input / output signals are sequentially stored to reach a predetermined quantity. After that, the change history storage means for sequentially rewriting old records and the sequential detection by the detection means are completed, and either When a change in the signal is detected, the value of the duration counter is transferred and sequentially stored, and after reaching a predetermined quantity, a time history storage means for sequentially rewriting old records, and the detection means. When multiple I / O signals change in one sample is detected by, the recombination is easy by adjusting the difference in the number of data between the change history and the time history by using the predetermined dummy data. The sequence control signal recording method is characterized by comprising:
JP17361492A 1992-05-22 1992-05-22 Sequence control signal recording method Expired - Fee Related JP3268505B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17361492A JP3268505B2 (en) 1992-05-22 1992-05-22 Sequence control signal recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17361492A JP3268505B2 (en) 1992-05-22 1992-05-22 Sequence control signal recording method

Publications (2)

Publication Number Publication Date
JPH05324054A true JPH05324054A (en) 1993-12-07
JP3268505B2 JP3268505B2 (en) 2002-03-25

Family

ID=15963881

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17361492A Expired - Fee Related JP3268505B2 (en) 1992-05-22 1992-05-22 Sequence control signal recording method

Country Status (1)

Country Link
JP (1) JP3268505B2 (en)

Also Published As

Publication number Publication date
JP3268505B2 (en) 2002-03-25

Similar Documents

Publication Publication Date Title
EP0257911A2 (en) Memory pointer with clustering
US4446516A (en) Data compaction system with contiguous storage of non-redundant information and run length counts
JPH05324054A (en) Sequence control signal recording system
WO2002003580A2 (en) Rf transmitter fault and data monitoring, recording and accessing system
JP2679487B2 (en) Frame synchronization circuit
JPS59502036A (en) Method and apparatus for testing internal interconnection structures between n terminals of an electrical network
JPH0777487B2 (en) Power system failure diagnosis device
RU2101755C1 (en) On-board system for logging flight data
JPS63260337A (en) Bus supervisory equipment for token passing system bus
JPS6142186Y2 (en)
JPH08247799A (en) Abnormality recording apparatus
US4205382A (en) Binary integrator for fixed cell radar alarm data
JP3235402B2 (en) Digital protection relay
JPH046965B2 (en)
JPH03137737A (en) Fault data recording device
JPH07103791A (en) Recording method for waveform data in waveform recorder
JPH07320176A (en) Common time marking device
JPH08161196A (en) Instruction tracing device
JPH04284511A (en) Abnormality detector for programmable controller
JPH05189027A (en) Signal abnormality diagnostic device and its use method
SU959129A1 (en) Device for reducing message redundancy
JPS6113978Y2 (en)
JPS62285067A (en) Logic analyzer
JPS6112295B2 (en)
JPH09152911A (en) Fault analyzer

Legal Events

Date Code Title Description
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

LAPS Cancellation because of no payment of annual fees