JPS6367604A - Process signal converter - Google Patents

Process signal converter

Info

Publication number
JPS6367604A
JPS6367604A JP21157986A JP21157986A JPS6367604A JP S6367604 A JPS6367604 A JP S6367604A JP 21157986 A JP21157986 A JP 21157986A JP 21157986 A JP21157986 A JP 21157986A JP S6367604 A JPS6367604 A JP S6367604A
Authority
JP
Japan
Prior art keywords
input
signal
associative memory
memory
logic
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.)
Pending
Application number
JP21157986A
Other languages
Japanese (ja)
Inventor
Tomohiro Murata
智洋 村田
Makoto Saito
誠 斉藤
Norihisa Komoda
薦田 憲久
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP21157986A priority Critical patent/JPS6367604A/en
Publication of JPS6367604A publication Critical patent/JPS6367604A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the control processing response by storing the logic signals or the logical data corresponding to a process input signal in an associative memory and having output of the corresponding logic signals or logical data based on the input process signal pattern and by means of a retrieving function of the associative memory. CONSTITUTION:The process signals supplied to a process signal converter 100 are given to an associative memory as the data for retrieval. The associative memory stores an input pattern of the process signal and combinations of logic signals to be produced in response to said input pattern. Then the associative memory can read out the value of the retrieved contents after designating said contents (retrieving key) instead of an address. Thus the associative memory retrieves and delivers the corresponding logic signal at a high speed with the input process signal used as a retrieving key. As a result, the process input signal and its corresponding logic signal (or logical data) are converted at a high speed. Then the load of a control computer 500 is reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はプロセス信号の入力装置に係り、特に高速にプ
ロセス信号の解析を行う必要のある制御システムに好適
なプロセス信号の変換装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a process signal input device, and particularly to a process signal conversion device suitable for a control system that requires high-speed process signal analysis.

〔従来の技術〕[Conventional technology]

従来のプロセス制御におけるプロセス入力信号の入力解
析は、周期的あるいは割込により取込んだ入力信号のビ
ット検査を行う入力解析プログラムによりプロセスで生
起したイベントに対応する論理信号又は論理データを生
成し、それに応じて該肖する処理を実行していた。しか
し、入力信号数の増加及び検査すべき信号バタンの増加
によるプログラム実行のオーバヘッド増大による処理応
答性の低下については配慮されていなかった。なお、こ
の種の装置として関連するものに例えば。
Input analysis of process input signals in conventional process control involves generating logic signals or logic data corresponding to events that occur in the process using an input analysis program that performs bit checks on input signals that are captured periodically or by interrupts. The corresponding processing was executed accordingly. However, no consideration was given to a decrease in processing responsiveness due to an increase in the overhead of program execution due to an increase in the number of input signals and an increase in the number of signal bumps to be inspected. In addition, examples of related devices of this type are as follows.

特開昭56−17422が挙げられる。For example, JP-A-56-17422 is cited.

〔発明が解決しようとする開運点〕[The good luck point that the invention attempts to solve]

上記従来技術はプロセスで生起する入力信号を第2図に
示すようにディジタル入力制御装置<DIコントローラ
と記す)116より制御計算機500にビットバタンと
して入力し、入力解析プログラムで入力検査く行ってい
るため入力信号増加時のプログラム実行のオーバヘッド
が無視できず、処理すべき信号量が増えると制御用計算
機の処理応答性が低下するという間迎があった。
In the above conventional technology, input signals generated in the process are input as bit bangs to the control computer 500 from the digital input control device (hereinafter referred to as DI controller) 116 as shown in FIG. 2, and the input is inspected by an input analysis program. Therefore, the overhead of program execution when input signals increase cannot be ignored, and as the amount of signals to be processed increases, the processing responsiveness of the control computer deteriorates.

本発明の目的は上記の問題点をハード的に解決する事に
ある。
An object of the present invention is to solve the above-mentioned problems in terms of hardware.

〔問題点を解決するための手段〕[Means for solving problems]

上記目的は、プロセスで生起する入力信号と。 The above purposes are the input signals that occur in the process.

その組合せバタンに応じて作られるべき論理信号又は論
理データの対応を連想メモリに記憶させ、連想メモリの
検索機能を用いて必要に応じて両者の変換を行うプロセ
ス信号変換装置100を第3図に示すようにDIコント
ローラ116と制御計算機500の間に設ける事により
達成される。
FIG. 3 shows a process signal conversion device 100 that stores the correspondence between logical signals or logical data to be created in response to the combination button in an associative memory, and converts the two as needed using the search function of the associative memory. This is achieved by providing it between the DI controller 116 and the control computer 500 as shown.

〔作用〕[Effect]

プロセス信号変換装置100に入力されたプロセス信号
は検索のためのデータとして連想メモリに入力される。
The process signal input to the process signal conversion device 100 is input to the associative memory as data for retrieval.

連想メモリにはプロセス信号の入力バタンと、それに対
応して作られるべき論理信号の組合せが記憶されている
。連想メモリは従来のメモリがメモリ内のアドレスを指
定してその内容を読出すのに対して、アドレスのかわり
に検索内容(検索キー)を指定してその値を読出す事の
できるメモリである。上記連想メモリは入力されたプロ
セス信号を検索キーとしてそれに対応する論理信号を高
速に検索して出力するので、プロセス入力信号とそれに
対応する論理信号(又は論理データ)の変換が高速に実
現され制御用計算機500の負荷が減少する。またプロ
セス信号と論理信号の対応付けは連想メモリの内容の書
換えだけで良い。
The associative memory stores input buttons of process signals and combinations of logic signals to be generated in response to the input buttons. Associative memory is a type of memory that allows you to specify a search content (search key) instead of an address and read its value, whereas conventional memory specifies an address in memory and reads its contents. . The above-mentioned content addressable memory uses the input process signal as a search key to quickly search and output the corresponding logic signal, so the conversion of the process input signal and the corresponding logic signal (or logic data) is realized and controlled at high speed. The load on the computer 500 is reduced. Furthermore, the correspondence between process signals and logic signals can be established by simply rewriting the contents of the associative memory.

〔実施例〕〔Example〕

以下、プロセス信号変換装置100 (以下装置100
と呼ぶ)の構成と動作を説明する6本装置100は、基
本的に第1図に示すように、連想メモリ111(以下C
A Mと表す)とマスクバタンメモリ112及びイベン
トNoメモリ109及びそれらの動作を制御する制御回
路107から構成される。制御回路107は、IC等の
論理素子とクロック回路で構成される。CAMIIIに
は、あらかじめ制御計算機500からデータバス11.
0を介して第4図中に示すように検出現況バタン(+1
10)をインデックスデータとし、それに対応する論理
イベント&1111を読み出しデータとして書き込んで
おく、またマスクバタンメモリ112には、DIコント
ローラ116から送られて来る現況データとアンド(A
ND)をとるべきマスクバタンを第5図に示すように記
憶させておく。
Hereinafter, process signal conversion device 100 (hereinafter device 100
The device 100 basically consists of an associative memory 111 (hereinafter referred to as C), as shown in FIG.
A mask button memory 112, an event number memory 109, and a control circuit 107 that controls their operations. The control circuit 107 is composed of a logic element such as an IC and a clock circuit. CAMIII is connected in advance to the data bus 11. from the control computer 500.
As shown in FIG. 4, the detection status button (+1
10) is used as index data, and the corresponding logical event &1111 is written as read data. Also, in the mask button memory 112, current status data sent from the DI controller 116 and AND (A
The mask button to take (ND) is stored in memory as shown in FIG.

以下装置100の動作を第1図に示した装置100のブ
ロック図及び第7,8図のフローチャートに従って詳細
に説明する。
The operation of the apparatus 100 will be described in detail below with reference to the block diagram of the apparatus 100 shown in FIG. 1 and the flowcharts shown in FIGS. 7 and 8.

装置100の動作は論理イベント検出動作と論理イベン
ト読出動作から成る。まず、論理イベント検出動作につ
いて、制御回路107の動作を中心に、第7図のフロー
チャートに従い説明する。
The operation of the device 100 consists of a logical event detection operation and a logical event reading operation. First, the logical event detection operation will be explained with reference to the flowchart of FIG. 7, focusing on the operation of the control circuit 107.

制御回路107は、周期的に制御線133を介しDIコ
ントローラ116に、現況を現況レジスタ115に出力
する指令を出す(ステップ701)。
The control circuit 107 periodically issues a command to the DI controller 116 via the control line 133 to output the current status to the current status register 115 (step 701).

次に、書込アドレスレジスタ105にペースレジスタ2
(106)より、イベントNoメモリ109の先頭アド
レスをロードする(ステップ702)。
Next, the write address register 105 is set to the pace register 2.
From (106), the start address of the event number memory 109 is loaded (step 702).

次に、続出アドレスレジスタ102にペースレジスタへ
(l O3)よりマスクパタンの先頭アドレスをロード
する(ステップ703)、そして以下の処理を繰返す。
Next, the start address of the mask pattern is loaded into the successive address register 102 from the pace register (lO3) (step 703), and the following process is repeated.

まず、読出アドレスレジスタ102の内容をアドレスバ
ス101に出力させ(ステップ704)、マスクバタン
メモリ112に読みaし指令を送ることにより(ステッ
プ705)、マスクバタンメモリ112からマスクパタ
ンをマスクレジスタ114に出力させる。次にA N 
D回路117に現況レジスタ115の内容とマスクレジ
スタ114の内容のANDをとるための信号を送る(ス
テップ7o6)。AND回路117からの出力バタンは
、検索レジスタ113に送られさらにCAMIIIに転
送される(ステップ707)。
First, by outputting the contents of the read address register 102 to the address bus 101 (step 704) and sending a read a command to the mask button memory 112 (step 705), the mask pattern is transferred from the mask button memory 112 to the mask register 114. Output. Next A N
A signal for ANDing the contents of the current status register 115 and the contents of the mask register 114 is sent to the D circuit 117 (step 7o6). The output button from the AND circuit 117 is sent to the search register 113 and further transferred to CAMIII (step 707).

CAMIIIは、AND回路117の出力バタンから検
出イベントNOを連想検索し、結果レジスタ108に送
信する(ステップ708)、結果レジスタ108は、制
御回路107からの指令によりデータバス110にイベ
ントNoを出力する(ステップ709)、制御回路10
7は、書込アドレスレジスタ105の内容をアドレスバ
ス101へ出力させた後(ステップ710)、イベント
Noメモリ109に書き込み指令を送ることにより(ス
テップ711)、検出イベントNOをイベントN。
CAMIII performs an associative search for the detected event number from the output button of the AND circuit 117 and sends it to the result register 108 (step 708).The result register 108 outputs the event number to the data bus 110 according to a command from the control circuit 107. (Step 709), control circuit 10
7 outputs the contents of the write address register 105 to the address bus 101 (step 710), and then sends a write command to the event number memory 109 (step 711) to convert the detected event number to event N.

メモリ109に第6図に示す形で書き込む。そして、検
出イベント数カウンタ145及び書き込みアドレスレジ
スタ105の値を1t!l加させる(ステップ712)
。以上の動作をマスクバタンメモリ112中のマスクバ
タンをすべて読み出すまで繰返す(ステップ713)、
以上が論理イベント検出動作である。
The data is written in the memory 109 in the form shown in FIG. Then, the values of the detected event number counter 145 and the write address register 105 are set to 1t! l (step 712)
. The above operations are repeated until all mask buttons in the mask button memory 112 are read out (step 713).
The above is the logical event detection operation.

次に論理イベント読み出し動作について制御回路107
の動作を中心に第8図のフローチャートに従い説明する
。制御計算機500から検出イベントNo送信指令14
2が制御回路107に入ると(ステップ801)、制御
回路107は、ペースレジスタ2 (106)からイベ
ントNOメモリ109の先頭アドレスを読出アドレスレ
ジスタ102にロードする(ステップ802)、そして
以下の処理を繰返す。まず、読出アドレスレジスタ10
2の内容をアドレスバス101に出力させ(ステップ8
03)、イベントNOメモリ109に読み出し指令12
7を送ることにより(ステップ804)、イベントNO
メモリ109からデータバス110に検出イベントNo
を出力する。そして検出イベント数カウンタ145の値
を−1゜読出アドレスレジスタの値を+1する(ステッ
プ805)、以上の動作を検出イベント数カウンタ14
5の値がφになるまで繰返す(ステップ806)。
Next, regarding the logical event read operation, the control circuit 107
The operation will be explained with reference to the flowchart of FIG. 8. Detection event number transmission command 14 from control computer 500
2 enters the control circuit 107 (step 801), the control circuit 107 loads the start address of the event number memory 109 from the pace register 2 (106) into the read address register 102 (step 802), and performs the following processing. Repeat. First, read address register 10
2 to the address bus 101 (step 8
03), read command 12 to event number memory 109
7 (step 804), the event NO.
The detected event number is sent from the memory 109 to the data bus 110.
Output. The value of the detected event number counter 145 is then incremented by -1° and the value of the read address register is incremented by 1 (step 805).
This is repeated until the value of 5 becomes φ (step 806).

以上が論理イベントNO読み出し動作である。The above is the logical event number read operation.

装置100は以上の動作を繰返す事により、DIコント
ローラ116より取込んだ現況データ(ビットバタン)
をもとにCAMIIIを介して現況データに対応して記
憶している論理イベントNOを高速に制御計算機に送信
する。
By repeating the above operations, the device 100 acquires the current status data (bit bang) taken in from the DI controller 116.
Based on this, the stored logical event number corresponding to the current status data is sent to the control computer at high speed via CAMIII.

制御計算機500は受は取った論理イベントNoをもと
にベクタ割込機能によりハード的に、あるいはソフトウ
ェアで論理イベントNOの値により直接割込処理を実行
する事が出来るため、装置100を介さず制御計算機5
00でソフト的に現況データを解析する方法に比べ大幅
に応答性が向上する。また、現況データのビットバタン
と論理イベントNOの対応が変更される場合も、CAM
IIIの内容を書換えるだけですみ、変更が容易である
The control computer 500 can directly execute interrupt processing using the vector interrupt function based on the received logical event number, or by software, without going through the device 100. Control computer 5
00, the responsiveness is significantly improved compared to the method of analyzing current situation data using software. Also, if the correspondence between the bit bang of the current status data and the logical event number is changed, the CAM
It is easy to make changes as it is only necessary to rewrite the contents of III.

なお、本実施例では、現況データから論理イベントNo
を検索する機能としてCAMIIIの検索機能を用いた
が、CAMIIIのかわりに論理素子とRAM又はRO
Mメモリを用いて検索回路を構成してCAMIIIの機
能を実現しても良い、また、本実施例では装置100を
制御用計算機500及びDIコントローラ501と分離
して設けたが、そのどちらか一方に組込んで一体型とし
て実現しても良い。
In addition, in this embodiment, the logical event number is determined from the current status data.
The search function of CAMIII was used as a function to search, but instead of CAMIII, logic elements and RAM or RO
The function of CAM III may be realized by configuring a search circuit using M memory.Also, in this embodiment, the device 100 is provided separately from the control computer 500 and the DI controller 501, but either one of them may be used. It may also be realized as an integrated type by incorporating it into the system.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、プロセスからの入力信号の組合せを、
それに対応する論理信号又は論理データに高速に変換し
た後計算機に入力できるので、制御計算機におけるプロ
セス信号の入力解析処理のオーバヘッドを減少させる事
ができ、制御処理の応答性を向上させる効果がある。ま
た、プロセス信号線のつなき変え等による入力信号と論
理信号の対応付けの変更、追加は連想メモリの内容を書
換えるだけでよく変更が容易となる。
According to the invention, the combination of input signals from the process is
Since it can be input into a computer after being converted into a corresponding logic signal or data at high speed, the overhead of process signal input analysis processing in the control computer can be reduced, which has the effect of improving the responsiveness of control processing. Further, changes or additions to the correspondence between input signals and logic signals by changing the connections of process signal lines or the like can be easily made by simply rewriting the content of the associative memory.

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

第1図は本発明の実施例になるプロセス信号変換装置の
ブロック図、第2図は従来のプロセス信号検出方法を示
す説明図、第3図は本発明で提案するプロセス信号検出
方法を示す説明図、第4図はCAMIIIの記憶データ
の内容を示すテーブル、第5図はマスクバタンメモリの
内容を示すテーブル、第6図はイベントNoメモリ10
9内の検出イベントNOのテーブル、第7図は制御回路
107による論理イベントNO検出動作を示すフローチ
ャート、第8図は制御回路107による論理イベン)−
No読出動作を示すフローチャートである。
Fig. 1 is a block diagram of a process signal conversion device according to an embodiment of the present invention, Fig. 2 is an explanatory diagram showing a conventional process signal detection method, and Fig. 3 is an explanation showing a process signal detection method proposed by the present invention. 4 is a table showing the contents of the memory data of CAMIII, FIG. 5 is a table showing the contents of the mask button memory, and FIG. 6 is a table showing the contents of the event number memory 10.
7 is a flowchart showing the logic event NO detection operation by the control circuit 107, and FIG. 8 is a table of the detection event NOs in the control circuit 107)
It is a flowchart which shows No read operation.

Claims (1)

【特許請求の範囲】[Claims] 1、プロセス入出力装置と計算機から成る計算機システ
ムにおいて、プロセス入力信号のパタンに対応する論理
信号又は論理データを連想メモリ上に記憶しておき、入
力されたプロセス信号パタンをもとに連想メモリの有す
る検索機能を用いて対応する論理信号又は論理データを
出力する事を特徴とするプロセス信号の変換装置。
1. In a computer system consisting of a process input/output device and a computer, a logic signal or logic data corresponding to a process input signal pattern is stored in an associative memory, and the content of the associative memory is stored based on the input process signal pattern. 1. A process signal conversion device that outputs a corresponding logic signal or logic data using a search function.
JP21157986A 1986-09-10 1986-09-10 Process signal converter Pending JPS6367604A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21157986A JPS6367604A (en) 1986-09-10 1986-09-10 Process signal converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21157986A JPS6367604A (en) 1986-09-10 1986-09-10 Process signal converter

Publications (1)

Publication Number Publication Date
JPS6367604A true JPS6367604A (en) 1988-03-26

Family

ID=16608099

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21157986A Pending JPS6367604A (en) 1986-09-10 1986-09-10 Process signal converter

Country Status (1)

Country Link
JP (1) JPS6367604A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100318840B1 (en) * 1998-04-10 2002-03-21 윤종용 Digital TV system capable of troubleshooting

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100318840B1 (en) * 1998-04-10 2002-03-21 윤종용 Digital TV system capable of troubleshooting

Similar Documents

Publication Publication Date Title
JP2752076B2 (en) Programmable controller
US5872961A (en) Microcomputer allowing external monitoring of internal resources
JPS6367604A (en) Process signal converter
US5309559A (en) Picture processing device having an editing function of input concatenated-command
JPS60262243A (en) High-speed arithmetic unit
JPH082727Y2 (en) Programmable sequencer
JP2503634B2 (en) Micro program controller
JPS59123957A (en) Digital signal arithmetic device
JPS61151745A (en) Interruption processing system
JP2528394B2 (en) Arithmetic control device
JP2588042B2 (en) Data processing circuit
JPH05281290A (en) Data transfer circuit of ic tester sharing storage circuit
JPH02116077A (en) Memory with logic synthesizing function
JPH0468459A (en) Digital signal processor
JPS6319040A (en) Information processor
JPH0319570B2 (en)
JPH03204744A (en) Address converting mechanism
JPS6214866B2 (en)
JPH02216529A (en) Recognition processing system for electric signal
JPS63121959A (en) Storage device
JPH0298787A (en) Image processor
JPH02219162A (en) Electronic computer
JPH03164850A (en) Direct memory access device
JPH04305783A (en) Microcomputer
JPS6019535B2 (en) Interrupt input processing method