JPH0690676B2 - Command operation control method - Google Patents
Command operation control methodInfo
- Publication number
- JPH0690676B2 JPH0690676B2 JP61280252A JP28025286A JPH0690676B2 JP H0690676 B2 JPH0690676 B2 JP H0690676B2 JP 61280252 A JP61280252 A JP 61280252A JP 28025286 A JP28025286 A JP 28025286A JP H0690676 B2 JPH0690676 B2 JP H0690676B2
- Authority
- JP
- Japan
- Prior art keywords
- command
- control system
- interrupt
- maintenance control
- chain
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Lifetime
Links
- 238000000034 method Methods 0.000 title claims description 7
- 238000012423 maintenance Methods 0.000 claims description 35
- 238000012545 processing Methods 0.000 claims description 28
- 230000008569 process Effects 0.000 claims description 5
- 230000004044 response Effects 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012360 testing method Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明は中央処理装置の下で指定されたコマンド動作を
行なう制御装置のコマンド動作制御方式に関する。Description: TECHNICAL FIELD The present invention relates to a command operation control system of a control device which performs a specified command operation under a central processing unit.
電話交換システムにおける共通線信号装置などの制御装
置は、中央処理装置とのインタフェイスと、前記中央処
理装置からのコマンド起動後ダイレクトアクセスモード
で主記憶装置にアクセスする機能とを通常備え、中央処
理装置からのチェイン指示にて特定コマンドを連続して
実行するよう構成されている。しかし、中央処理装置か
ら送出される特定コマンドをチェイン指示にて連続動作
中に、チェインすべきコマンドとは異なるコマンドを前
記チェイン動作と独立して処理する機能は、従来有して
いなかった。A control device such as a common line signaling device in a telephone exchange system usually has an interface with a central processing unit and a function of accessing a main storage device in a direct access mode after a command is activated from the central processing unit. A specific command is continuously executed in response to a chain instruction from the device. However, there has not conventionally been provided a function of processing a command different from a command to be chained independently of the chain operation while continuously operating a specific command sent from the central processing unit by a chain instruction.
〔発明が解決しようとする問題点〕 このように、従来においては、コマンドチェイン動作中
に他のコマンド動作を行なうことはできなかったので、
例えばライトコマンド動作中あるいはリードコマンド動
作中に他の保守制御系のコマンドにて、ライト/リード
コマンドの動作状況等を確認しようとする場合には、一
旦チェイン指示を切ってその正常終了を中央処理装置側
で確認した後、保守制御系コマンドを制御装置に送出し
て正常終了を確認し、その後あらためてライト/リード
コマンドのチェイン起動を行なわなければならなかっ
た。[Problems to be Solved by the Invention] As described above, in the related art, since another command operation cannot be performed during the command chain operation,
For example, when trying to confirm the operation status of a write / read command by another maintenance control system command during a write command operation or a read command operation, the chain instruction is temporarily cut and its normal termination is processed centrally. After confirmation on the device side, a maintenance control system command was sent to the control device to confirm normal termination, and then the chain activation of the write / read command had to be performed again.
しかし、チェイン動作を行なわせるのは複数のコマンド
を連続して実行させたいが為であるので、チェイン動作
中にチェインを切ることは制御装置本来の処理に支障を
きたす虞がある。特に、共通線信号装置などのように常
に回線側のデータ受信を行なっていなければならないよ
うな装置では、リードコマンドのチェイン動作中にチェ
インを切るとリンク断に直接結びつくことになる。この
ような理由により、従来においては、定期的に保守状態
の情報を収集することが困難であるという欠点があっ
た。However, the reason why the chain operation is performed is because it is desired to continuously execute a plurality of commands. Therefore, cutting the chain during the chain operation may hinder the original processing of the control device. In particular, in a device such as a common line signal device that must always receive data on the line side, disconnecting the chain during the chain operation of the read command directly leads to disconnection of the link. Due to such a reason, conventionally, there is a drawback that it is difficult to periodically collect information on the maintenance state.
本発明はこのような事情に鑑みて為されたものであり、
その目的は、特定コマンドをチェイン指示にて連続動作
中に保守制御系のコマンドをチェイン動作に影響を与え
ることなく実行できるようにして、定期的な保守状態の
情報収集等を可能とすることにある。The present invention has been made in view of such circumstances,
The purpose is to enable the maintenance control system commands to be executed without affecting the chain operation during continuous operation of specific commands by chain instructions, and to enable periodic maintenance status information collection, etc. is there.
本発明は上記目的を達成するために、中央処理装置から
のチェイン指示にて特定コマンドを連続して実行する制
御装置において、 前記中央処理装置から出された保守制御系のコマンドを
格納する割込要因レジスタを備え、 前記特定コマンドのチェイン動作中に空き時間が生じた
とき、前記割込要因レジスタからの保守制御系のコマン
ドによる割込みを許可し、保守制御系のコマンドによる
割込みが発生することにより、該割込みにかかる割込み
処理において保守制御系のコマンドを実行すると共にそ
の実行終了後に前記割込要因レジスタからの保守制御系
のコマンドによる割込みを不許可にして割込み処理から
抜け出るようにしている。In order to achieve the above object, the present invention provides a control device for continuously executing a specific command in response to a chain instruction from a central processing unit, wherein an interrupt for storing a maintenance control system command issued from the central processing unit. A factor register is provided, and when an idle time occurs during the chain operation of the specific command, the interrupt by the command of the maintenance control system from the interrupt factor register is permitted, and the interrupt by the command of the maintenance control system is generated. The maintenance control system command is executed in the interrupt processing related to the interrupt, and after the completion of the execution, the interruption by the maintenance control system command from the interrupt factor register is disabled and the interrupt processing is exited.
チェイン動作中に、あるコマンドとこれにチェイニング
されるコマンドとの間に別のコマンドを無条件に介在さ
せてチェインを切ることは、本来のチェイン動作を阻害
することになるが、チェイン動作中のあるコマンドに事
象待ち等の空き時間がある場合、その空き時間に保守制
御系のコマンドを実行させても、このコマンドの実行時
間が上記空き時間内におさまるときは何等チェイン動作
を阻害することはなく、上記構成を採用することによ
り、制御装置の処理能力を下げずに保守制御動作を行な
わせることができる。Cutting a chain by unconditionally interposing another command between a command and a command chained to this during the chain operation will hinder the original chain operation. If there is a free time such as waiting for an event in a certain command, even if the command of the maintenance control system is executed in that free time, if the execution time of this command falls within the free time, it will hinder the chain operation. Instead, by adopting the above configuration, the maintenance control operation can be performed without lowering the processing capacity of the control device.
次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.
第2図は本発明の実施例を適用した共通線信号装置のブ
ロック図であり、1は図示しない中央処理装置からのコ
マンドを一時蓄積するコマンドレジスタ、2はコマンド
レジスタ1のコマンドを解読するデコーダで、ライトコ
マンドの解読結果は割込要因レジスタ3aに格納され、リ
ードコマンドの解読結果は割込要因レジスタ3bに格納さ
れ、保守制御系コマンドの解読結果は割込要因レジスタ
3cに格納される。各割込要因レジスタ3a〜3cの内容は、
ゲート回路5を介してシーケンサ4に加えられる。シー
ケンサ4には、ファームウェアのジャンプ条件を決定す
るテスト回路6と、ライトコマンド,リードコマンド等
によるリード系処理,ライト系処理に必要なファームウ
ェアおよび保守制御系処理に必要なファームウェアを格
納する制御メモリ7が接続され、制御メモリ7の出力は
演算回路(ALU)8,回線制御回路(L−CTL)12およびイ
ンタフェイス13を介して図示しない中央処理装置に接続
される。演算回路8およびバッファメモリ9はオペラン
ドバス10,演算結果出力バス11に接続され、回線制御回
路12は演算結果出力バス11に接続され図示しない回線側
の処理を行なう。また、第2図には図示しないが、中央
処理装置からのコマンド起動後ダイレクトアクセスモー
ドで主記憶装置にアクセスする機能を備えている。FIG. 2 is a block diagram of a common line signal device to which an embodiment of the present invention is applied, 1 is a command register for temporarily storing commands from a central processing unit (not shown), and 2 is a decoder for decoding commands in the command register 1. Then, the decoding result of the write command is stored in the interrupt factor register 3a, the decoding result of the read command is stored in the interrupt factor register 3b, and the decoding result of the maintenance control system command is stored in the interrupt factor register.
Stored in 3c. The contents of each interrupt factor register 3a-3c are
It is added to the sequencer 4 via the gate circuit 5. The sequencer 4 includes a test circuit 6 that determines a jump condition of firmware, a control memory 7 that stores a firmware necessary for a read-related process by a write command, a read command, etc., a write-related process, and a firmware required for a maintenance control-related process. , And the output of the control memory 7 is connected to a central processing unit (not shown) via an arithmetic circuit (ALU) 8, a line control circuit (L-CTL) 12 and an interface 13. The operation circuit 8 and the buffer memory 9 are connected to the operand bus 10 and the operation result output bus 11, and the line control circuit 12 is connected to the operation result output bus 11 to perform processing on the line side not shown. Although not shown in FIG. 2, it has a function of accessing the main memory in the direct access mode after the command is activated from the central processing unit.
第2図において、図示しない中央処理装置からチェイン
指示にて一つのリードコマンドがコマンドレジスタ1に
加えられると、その内容がデコーダ2で解読され、割込
要因レジスタ3bにセットされ、シーケンサ4はその内容
に合致したシーケンス処理を開始し、リード系処理が行
なわれる。一つのリードコマンドの実行が完了すると、
制御メモリ7よりインタフェイス13を介して中央処理装
置に終了報告が為され、チェイニングされるべき次のリ
ードコマンドがコマンドレジスタ1に入力されると、上
記と同様な動作が連続して行なわれる。ライトコマンド
によるチェイン動作も同様にして行なわれる。In FIG. 2, when one read command is added to the command register 1 by a chain instruction from a central processing unit (not shown), the contents are decoded by the decoder 2 and set in the interrupt factor register 3b, and the sequencer 4 The sequence processing that matches the contents is started, and the read processing is performed. When execution of one read command is completed,
When the control memory 7 sends a completion report to the central processing unit via the interface 13 and the next read command to be chained is input to the command register 1, the same operation as above is continuously performed. . The chain operation by the write command is similarly performed.
さて、シーケンサ4は一つのライト/リードコマンドの
実行中に、例えば回線側からのデータ受信待ち等の事象
待ちが発生し、別のコマンドの受付けが可能な状態にな
ると、第1図に示すように割込要因レジスタ3cによる保
守制御系コマンドによる割込みを許可する。従ってこの
とき、コマンドレジスタ1に保守制御系コマンドが入力
されその解読結果が割込要因レジスタ3cに格納されてい
るとすると、上記事象待ち即ちチェイン動作の空き時間
に上記保守制御系コマンドによる割込みが受付けられ、
第1図に示すような割込み処理により保守制御系コマン
ドが実行される。そして、保守制御系コマンドの実行終
了後、保守制御系コマンドの割込みを不許可としてリタ
ーンする。なお、保守制御系コマンドとしては、ライト
/リードコマンドの動作状況等を確認するために装置各
部の情報を収集してインタフェイス13を介して中央処理
装置に送出するか或いは装置内メモリに退避する等のコ
マンドが使われる。Now, when the sequencer 4 waits for an event such as waiting for data reception from the line side during execution of one write / read command and becomes ready to accept another command, as shown in FIG. Enable the interrupt by the maintenance control system command by the interrupt factor register 3c. Therefore, at this time, if a maintenance control system command is input to the command register 1 and the decoding result is stored in the interrupt factor register 3c, an interrupt due to the maintenance control system command is generated during the idle time of the above event waiting, that is, the chain operation. Accepted,
Maintenance control commands are executed by interrupt processing as shown in FIG. Then, after the execution of the maintenance control system command is completed, the interruption of the maintenance control system command is disallowed and the process returns. As a maintenance control system command, in order to confirm the operation status of the write / read command, etc., information of each part of the device is collected and sent to the central processing unit via the interface 13 or saved in the device internal memory. Command is used.
以上説明したように、本発明は、チェイン動作中の空き
時間に保守制御系のコマンドの実行を行なわせるように
し、特に、割込みを許容した保守制御系のコマンドの実
行終了後に割込みを不許可にして割込み処理から抜け出
るようにしたので、若し、1つの保守制御系のコマンド
を実行し終えた時点でチェイン動作中の空き時間がなく
なっていれば、たとえ次の保守制御系のコマンドが割込
要因レジスタに格納されていても、その実行は次回の空
き時間にまわされるため、チェイン動作に影響を与える
ことなく即ち制御装置の処理能力を低下させずに、保守
制御動作を行なわせることが可能となる。また、保守制
御系のコマンドによる制御装置の保守状態の情報収集等
の主導権は、中央処理装置にあるので、中央処理装置は
任意の保守制御系のコマンドまたはその組み合わせを制
御装置に出力することにより、その時々に応じた任意の
保守制御動作を行える。As described above, according to the present invention, the maintenance control system command is executed in the idle time during the chain operation, and in particular, the interrupt is not permitted after the execution of the maintenance control system command that has permitted the interrupt is completed. So that if the idle time during the chain operation is exhausted at the end of the execution of one maintenance control system command, the next maintenance control system command will be interrupted. Even if it is stored in the factor register, its execution is carried out to the next free time, so it is possible to perform the maintenance control operation without affecting the chain operation, that is, without lowering the processing capacity of the control device. Becomes Also, since the central processing unit has the initiative in collecting information on the maintenance status of the control unit by the maintenance control system command, the central processing unit should output any maintenance control system command or a combination thereof to the control unit. As a result, any maintenance control operation can be performed according to the occasion.
第1図は本発明の動作説明図および、 第2図は本発明の実施例を適用した共通線信号装置のブ
ロック図である。 図において、1……コマンドレジスタ、2……デコー
ダ、3a〜3c……割込要因レジスタ、4……シーケンサ、
5……ゲート回路、6……テスト回路、7……制御メモ
リ、8……演算回路、9……バッファメモリ、10……オ
ペランドバス、11……演算結果出力バス、12……回線制
御回路、13……インタフェイス。FIG. 1 is an operation explanatory diagram of the present invention, and FIG. 2 is a block diagram of a common line signal device to which an embodiment of the present invention is applied. In the figure, 1 ... Command register, 2 ... Decoder, 3a-3c ... Interrupt factor register, 4 ... Sequencer,
5 ... Gate circuit, 6 ... Test circuit, 7 ... Control memory, 8 ... Operation circuit, 9 ... Buffer memory, 10 ... Operand bus, 11 ... Operation result output bus, 12 ... Line control circuit , 13 ... Interface.
Claims (1)
コマンドを連続して実行する制御装置において、 前記中央処理装置から出された保守制御系のコマンドを
格納する割込要因レジスタを備え、 前記特定コマンドのチェイン動作中に空き時間が生じた
とき、前記割込要因レジスタからの保守制御系のコマン
ドによる割込みを許可し、保守制御系のコマンドによる
割込みが発生することにより、該割込みにかかる割込み
処理において保守制御系のコマンドを実行すると共にそ
の実行終了後に前記割込要因レジスタからの保守制御系
のコマンドによる割込みを不許可にして割込み処理から
抜け出るようにしたことを特徴とするコマンド動作制御
方式。1. A control device for continuously executing a specific command in response to a chain instruction from a central processing unit, comprising an interrupt factor register for storing a maintenance control system command issued from the central processing unit, When a free time occurs during the chain operation of a specific command, the interrupt by the maintenance control system command from the interrupt factor register is enabled, and the interrupt by the maintenance control system command is generated. A command operation control method characterized in that a maintenance control system command is executed in processing, and after the execution is completed, interruption by the maintenance control system command from the interrupt factor register is disabled and the process is exited from the interrupt processing. .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61280252A JPH0690676B2 (en) | 1986-11-22 | 1986-11-22 | Command operation control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61280252A JPH0690676B2 (en) | 1986-11-22 | 1986-11-22 | Command operation control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63132362A JPS63132362A (en) | 1988-06-04 |
| JPH0690676B2 true JPH0690676B2 (en) | 1994-11-14 |
Family
ID=17622411
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61280252A Expired - Lifetime JPH0690676B2 (en) | 1986-11-22 | 1986-11-22 | Command operation control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0690676B2 (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP3090071B2 (en) | 1996-11-29 | 2000-09-18 | オムロン株式会社 | Control device |
| JP6872960B2 (en) | 2017-04-21 | 2021-05-19 | 株式会社日本マイクロニクス | Electrical connection device |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS5953952A (en) * | 1982-09-20 | 1984-03-28 | Ricoh Co Ltd | Self-diagnosis device |
| JPS6027956A (en) * | 1983-07-26 | 1985-02-13 | Fujitsu Ltd | Self-diagnostic system |
-
1986
- 1986-11-22 JP JP61280252A patent/JPH0690676B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63132362A (en) | 1988-06-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP2829091B2 (en) | Data processing system | |
| JPH01263760A (en) | Data transfer control method and its circuit for coprocessor | |
| JPH0690676B2 (en) | Command operation control method | |
| JP2636206B2 (en) | Information processing system | |
| JP3208143B2 (en) | Input / output controller of power controller | |
| JPH0425581B2 (en) | ||
| JPS6022383B2 (en) | input/output control device | |
| JPS63301346A (en) | Input/output control system | |
| JPH06266630A (en) | Input/output controller with trace function | |
| JPH103463A (en) | Communication method between processors | |
| JPS6245575B2 (en) | ||
| JPH08161253A (en) | Dma control method and dma controller | |
| JPH02730B2 (en) | ||
| JPS5918733B2 (en) | Data transmission/reception control device | |
| JPS62190544A (en) | Higher link unit for programmable controller | |
| JPH0424733B2 (en) | ||
| JPS62229350A (en) | Command transmission and control system | |
| JPS5939766B2 (en) | multiplexer channel equipment | |
| JPS6154553A (en) | Channel start control system | |
| JPH071494B2 (en) | Channel command word chain device | |
| JPS622349B2 (en) | ||
| JPS6230668B2 (en) | ||
| JPH0464092B2 (en) | ||
| JPH0312767A (en) | Input/output control system | |
| JPH01108665A (en) | Dma transfer control system |