JPH0480829A - Arbitration/communication circuit for interruption signal - Google Patents

Arbitration/communication circuit for interruption signal

Info

Publication number
JPH0480829A
JPH0480829A JP19389390A JP19389390A JPH0480829A JP H0480829 A JPH0480829 A JP H0480829A JP 19389390 A JP19389390 A JP 19389390A JP 19389390 A JP19389390 A JP 19389390A JP H0480829 A JPH0480829 A JP H0480829A
Authority
JP
Japan
Prior art keywords
circuit
signal
interrupt
input
arithmetic processing
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
JP19389390A
Other languages
Japanese (ja)
Inventor
Fumiyuki Ikeda
池田 文幸
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co 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 Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP19389390A priority Critical patent/JPH0480829A/en
Publication of JPH0480829A publication Critical patent/JPH0480829A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent such a case where the received data are destroyed by the interruption of a lower rank communication processing operation by preventing the processing from being interrupted by the input of a higher rank interruption signal after an interruption processing operation is once carried out even with the low priority. CONSTITUTION:An interruption signal RxRDY of a serial communication control circuit 1-4 and a holding signal HOLD of an exclusive LAN control circuit 1-6 are inputted to a gate circuit 1-2A of an interruption preference circuit 1-2. Then the circuit 1-2A inputs the signal RxRDY directly to a terminal INT1 of a task arithmetic processing circuit 1-1. A signal line is cut by a relay so that the higher rank signals HOLD are not inputted to a terminal INTO of the circuit 1-1 with the interruption priority as long as the signal RxRDY is produced (level-on state). Meanwhile the circuit 1-2A is opened when no signal RxRDY is produced (level-on state). Thus the signal HOLD can be inputted to the circuit 1-1.

Description

【発明の詳細な説明】 [産業上の利用分野1 本発明は、複数の交信相手と通信を行う通信回路および
その通信回路において使用可能な割込み信号の調停回路
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application 1] The present invention relates to a communication circuit that communicates with a plurality of communication partners, and an interrupt signal arbitration circuit that can be used in the communication circuit.

r従来の技術] バーコード読取り装置に一般的に用いられている通信回
路の構成例を第5図に示す。
rPrior Art] FIG. 5 shows an example of the configuration of a communication circuit commonly used in bar code reading devices.

第5図において、バーコード読取り結果の情報処理を行
うパーソナルコンピュータlOからの交信要求を、シリ
アル通信用制御回路1−4において受信すると、シリア
ル通信用制御回路1−4からタスク演算処理回路4−1
の割込み入力端子lNTlに対して割込み信号R,RD
Yを受信検知信号として転送する。なお、パーソナルコ
ンピュータlOからの送信データはシリアル通信用制御
回路1−4において、シリアル形態からパラレル形態の
信号に変換される。
In FIG. 5, when the serial communication control circuit 1-4 receives a communication request from the personal computer 1O that processes information on barcode reading results, the serial communication control circuit 1-4 sends the task arithmetic processing circuit 4-4 to the serial communication control circuit 1-4. 1
Interrupt signals R, RD for the interrupt input terminal lNTl of
Transfer Y as a reception detection signal. Note that the transmission data from the personal computer IO is converted from a serial format to a parallel format signal in the serial communication control circuit 1-4.

タスク演算処理回路4−1では割込み信号R,RDYを
入力すると、現在、行っているタスク(演算処理)を中
断し、シリアル通信用タスクを割込み的に実行する。
When the task arithmetic processing circuit 4-1 receives the interrupt signals R and RDY, it interrupts the task (arithmetic processing) currently being performed and executes the serial communication task in an interrupt manner.

具体的にはシリアル通信用記憶回路1−3に対する書き
込み信号を発生し、シリアル通信用制御回路1−4によ
りパラレル信号に変換された通信データをシリアル通信
用記憶回路1−3に配憶させる。
Specifically, a write signal is generated for the serial communication memory circuit 1-3, and communication data converted into a parallel signal by the serial communication control circuit 1-4 is stored in the serial communication memory circuit 1-3.

この後、タスク演算処理回路4−1はシリアル通信用記
憶回路1−3に記憶の通信データを解析し、応答送信デ
ータを作成してシリアル通信用制御回路1−4を介して
パーソナルコンピュータ10に応答送信を行う。
Thereafter, the task arithmetic processing circuit 4-1 analyzes the communication data stored in the serial communication memory circuit 1-3, creates response transmission data, and sends it to the personal computer 10 via the serial communication control circuit 1-4. Sends a response.

一方、バーコード読取装置がシーケンサ20などとLA
N (ローカルエリアネットワーク)を構成する場合は
、シーケンサ20からの送信データを専用LAN用制御
回路1−6において受信する。専用LAN用制御回路1
−6では送信データを受信するとホールド信号HOLD
を受信検知信号としてタスク演算処理回路4−1の割込
み入力端子I NTOに転送する。さらに専用LAN用
制御回路1−6はシーケンサ20から通信データを受信
している間、上記ホールド信号HOLDをバス調停回路
1−5に出力し、専用LAN記憶回路1−7と専用LA
N用制御回路1−6との間がバス調停回路1−5により
バス接続される。この結果、シーケンサ20からの書き
込み信号により、シーケンサ20の通信データは専用L
AN用制御回路1−6を介してパラレル信号に変換され
た後専用LAN記憶回路1−7に書き込まれる。
On the other hand, the barcode reader is connected to the sequencer 20, etc.
N (local area network), the data sent from the sequencer 20 is received by the dedicated LAN control circuit 1-6. Dedicated LAN control circuit 1
-6, when transmit data is received, hold signal HOLD
is transferred to the interrupt input terminal INTO of the task arithmetic processing circuit 4-1 as a reception detection signal. Further, while the dedicated LAN control circuit 1-6 is receiving communication data from the sequencer 20, it outputs the hold signal HOLD to the bus arbitration circuit 1-5, and connects the dedicated LAN storage circuit 1-7 and the dedicated LA.
A bus connection is made between the N control circuit 1-6 and the bus arbitration circuit 1-5. As a result, the communication data of the sequencer 20 is transferred to the dedicated L by the write signal from the sequencer 20.
After being converted into a parallel signal via the AN control circuit 1-6, it is written into the dedicated LAN storage circuit 1-7.

タスク演算処理回路4−1ではホールド信号の解除に応
じて、専用LAN記憶回路1−7から通信データを読出
し、応答用送信データを作成する。
In response to the release of the hold signal, the task arithmetic processing circuit 4-1 reads communication data from the dedicated LAN storage circuit 1-7 and creates response transmission data.

従来この種通信回路では、交信相手の複数の機器との間
で同時通信が生じることを阻止するためにタスク演算処
理回路4−1では割込み信号に対して優先順位を予め設
け、同時に割込み信号が入力した場合、優先順位の高い
割込み信号を受は付けている。
Conventionally, in this type of communication circuit, the task arithmetic processing circuit 4-1 sets a priority order for interrupt signals in advance in order to prevent simultaneous communication with multiple communication partner devices, and interrupt signals are When input, the interrupt signal with higher priority is accepted.

【発明が解決しようとする課題] しかしながら、優先順位の低い割込み信号R,RDYを
受は付けた後、タスク演算処理回路4−1に優先順位の
高いホールド信号HOLDが第6図に示すようにタイミ
ングTIOで割込み入力された場合、タスク演算処理回
路4−1は現在の演算処理、すなわち、シリアル通信用
タスクを一時中断し、専用LAN用タスクを割込み的に
実行してしまう。
[Problems to be Solved by the Invention] However, after accepting the low priority interrupt signals R and RDY, the high priority hold signal HOLD is sent to the task arithmetic processing circuit 4-1 as shown in FIG. When an interrupt is input at timing TIO, the task arithmetic processing circuit 4-1 temporarily suspends the current arithmetic processing, that is, the serial communication task, and executes the dedicated LAN task in an interrupt manner.

タスク演算処理回路4−1が専用LAN用タスクの演算
処理を終了し、シリアル通信用タスクを再開した時はパ
ーソナルコンピュータ10のデータ通信は終了してしま
う。その結果、パーソナルコンピュータlOから受信し
たデータは部分的に記憶されず、データ抜けが生じてし
まう。
When the task arithmetic processing circuit 4-1 finishes the arithmetic processing of the dedicated LAN task and restarts the serial communication task, the data communication of the personal computer 10 ends. As a result, the data received from the personal computer IO is not partially stored, resulting in data omission.

このような不具合を解消するために、第7図に示すよう
にダイレクトメモリアクセス(DMA)制御回路1−8
によりパーソナルコンピュータ10の受信データのシリ
アル通信用記憶回路1−3に対する書き込み処理を行い
、タスク演算処理回路4−1にはデータ受信処理(書き
込み処理)を実行させないようにした通信回路も提案さ
れている。
In order to eliminate such problems, a direct memory access (DMA) control circuit 1-8 is provided as shown in FIG.
A communication circuit has also been proposed in which the data received by the personal computer 10 is written to the serial communication storage circuit 1-3, but the task arithmetic processing circuit 4-1 is not allowed to perform data reception processing (writing processing). There is.

しかしながら、従来この種通信回路では複数の通信処理
用のタスク演算処理回路又は同等の機能を有する通信処
理回路が必要であり、通信回路の製造コストが高くなっ
てしまう。
However, conventionally, this type of communication circuit requires a task arithmetic processing circuit for a plurality of communication processes or a communication processing circuit having an equivalent function, which increases the manufacturing cost of the communication circuit.

そこで、本発明の目的は、上述の点に鑑みて、通信処理
を行うタスク演算処理回路の起動を割込信号の入力によ
り行っても、現在実行中の、割込み優先順位の低い通信
処理を後入力の優先順位の高い割込信号により中断させ
ることのない通信回路を提供し、また、その通信回路に
使用することの可能な割込信号の調停回路を提供するこ
とにある。
SUMMARY OF THE INVENTION In view of the above-mentioned points, it is an object of the present invention to provide a system that, even if a task arithmetic processing circuit that performs communication processing is started by inputting an interrupt signal, the communication processing that is currently being executed and has a low interrupt priority is delayed. It is an object of the present invention to provide a communication circuit that is not interrupted by an input interrupt signal having a high priority, and to provide an arbitration circuit for interrupt signals that can be used in the communication circuit.

[課題を解決するための手段1 このような目的を達成するために、本発明は、複数の割
込み信号を入力したときに、当該割込み信号と対応のタ
スク処理を予め定めた優先順位で実行する演算処理回路
に対して前記複数の割込み信号の調停入力を行う調停回
路であって、前記複数の割込み信号がいずれも発生して
いない状態のときは発生の割込信号を前記演算処理回路
へ入力可能とする第1信号切換え手段と、前記複数の割
込み信号の中のいずれかの割込み信号が発生した後は、
当該発生の割込み信号が消滅するまでは、前記優先順位
において、当該発生の割込信号より下位の発生の割込み
信号の前記演算処理回路への入力を許可し、上位の発生
の割込み信号については前記入力を禁止する第2信号切
換え手段とを具えたことを特徴とする。
[Means for Solving the Problems 1] In order to achieve such an object, the present invention executes task processing corresponding to the interrupt signal in a predetermined priority order when a plurality of interrupt signals are input. an arbitration circuit that arbitrates and inputs the plurality of interrupt signals to the arithmetic processing circuit, and when none of the plurality of interrupt signals is generated, inputs the generated interrupt signal to the arithmetic processing circuit; after any one of the plurality of interrupt signals is generated;
Until the interrupt signal of the concerned occurrence disappears, input of the interrupt signal of the occurrence lower than the interrupt signal of the concerned occurrence in the priority order is allowed to be input to the arithmetic processing circuit, and the interrupt signal of the occurrence of the higher priority is allowed to be input to the processing circuit. The present invention is characterized by comprising a second signal switching means for inhibiting input.

また、本発明は、複数の外部機器からの通信データをそ
れぞれが受信し、受信検知信号を発生する複数の受信回
路と、各前記受信検知信号を人力し、予め定めた優先順
序に従って、当該入力の受信検知信号に対応の通信関連
の演算処理を割込み的に実行する演算処理手段と、現在
入力の受信検知信号が消滅するまでは前記優先順位にお
いて当該入力の受信検知信号よりも上位の受信検知信号
の前記演算処理手段への入力を禁止する調停手段とを具
えたことを特徴とする。
Further, the present invention includes a plurality of receiving circuits each receiving communication data from a plurality of external devices and generating a reception detection signal, and manually inputting each of the reception detection signals and inputting them according to a predetermined priority order. arithmetic processing means for interruptively executing communication-related arithmetic processing corresponding to the reception detection signal of the current input reception detection signal; The present invention is characterized by comprising an arbitration means for prohibiting input of a signal to the arithmetic processing means.

[作 用1 本発明では、演算処理回路、たとえばCPUの割込処理
において並行入力の割込信号に対して優先順位の高い割
込信号を選択するという調停機能があることに着目し、
現在割込み信号が演算処理回路に入力されているときは
その割込み信号より上位の割込み信号の入力を第2信号
切換え手段により禁止することにより現在実行中の演算
処理回路のタスク処理の中断を阻止する。
[Function 1] The present invention focuses on the fact that an arithmetic processing circuit, for example, a CPU, has an arbitration function that selects a higher priority interrupt signal from parallel input interrupt signals in interrupt processing,
When an interrupt signal is currently being input to the arithmetic processing circuit, the second signal switching means prohibits the input of an interrupt signal higher than the interrupt signal, thereby preventing interruption of the task processing of the arithmetic processing circuit currently being executed. .

このような機能を有する調停回路を通信回路に用いるこ
とによって、同時に複数の通信処理が発生するような場
合は優先度の高い通信処理を選択的に実行し、優先度が
低くても通信処理が行なわれている間は、その通信処理
を中断させることがない。
By using an arbitration circuit with such a function in a communication circuit, when multiple communication processes occur at the same time, the communication process with a high priority can be selectively executed, and even communication processes with a low priority can be executed. The communication process is not interrupted while it is being performed.

[実施例1 以下、図面を参照して本発明の実施例を詳細に説明する
[Embodiment 1] Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings.

第1図は本発明実施例の回路構成を示す。FIG. 1 shows the circuit configuration of an embodiment of the present invention.

なお、第5図に示す従来例と同様の箇所には同一の符号
を付しており、詳細な説明を省略する。
Note that the same parts as in the conventional example shown in FIG. 5 are given the same reference numerals, and detailed explanations will be omitted.

第1図において、割込み優先回路1−2のゲート回路1
−2Aに対して、シリアル通信用制御回路1−4の割込
信号R,RDYおよび専用LAN制御回路1−6のホー
ルド信号)10LDが入力される。
In FIG. 1, gate circuit 1 of interrupt priority circuit 1-2
-2A, the interrupt signals R and RDY of the serial communication control circuit 1-4 and the hold signal 10LD of the dedicated LAN control circuit 1-6 are input.

ゲート回路1−2Aは割込信号R,RDYをタスク演算
処理回路1−1のlNTl端子へ直接入力する。割込信
号R,RDYが発生している(レベルオン)ときには割
込み優先順位において上位の上記ホールド信号HOLD
をタスク演算処理回路1−1のINTO端子へ入力しな
いようリレーにより信号線を断とする。
The gate circuit 1-2A directly inputs the interrupt signals R and RDY to the lNTl terminal of the task arithmetic processing circuit 1-1. When the interrupt signals R and RDY are generated (level on), the above-mentioned hold signal HOLD is higher in the interrupt priority order.
The signal line is disconnected by a relay so that the signal is not input to the INTO terminal of the task arithmetic processing circuit 1-1.

なお、割込み信号R,RDYが発生していない(レベル
オン)ときには、上記ゲート路1−2Aは開となり、ホ
ールド信号HOLDのタスク演算処理回路への入力が許
可される。割込み優先回路1−2が本発明の調停手段と
して動作し、ゲート回路1−2Aが第1、第2信号切換
え手段として動作する。
Note that when the interrupt signals R and RDY are not generated (level on), the gate path 1-2A is open, and input of the hold signal HOLD to the task arithmetic processing circuit is permitted. The interrupt priority circuit 1-2 operates as the arbitration means of the present invention, and the gate circuit 1-2A operates as the first and second signal switching means.

このような回路に8ける通信動作を第2図のりイミング
チヤードおよび第3図のフローチャートを参照して説明
する。
The communication operation of such a circuit will be explained with reference to the timing chart of FIG. 2 and the flowchart of FIG. 3.

1)通信を行なわない場合、 割込み優先回路1−2のゲートは開となっており、割込
み信号RxRDY 、ホールド信号1(OLD共、タス
ク演算回路1−1への入力は許可されている。
1) When no communication is performed, the gate of the interrupt priority circuit 1-2 is open, and input of both the interrupt signal RxRDY and the hold signal 1 (OLD) to the task calculation circuit 1-1 is permitted.

この時点において、タスク演算処理回路1−1ではメイ
ンタスク、本例ではバーコード読取装置の制御等の演算
処理を実行する(第2図のタイミングT21.第3図の
ステップ5100)。
At this point, the task arithmetic processing circuit 1-1 executes the main task, in this example, arithmetic processing such as controlling the barcode reading device (timing T21 in FIG. 2, step 5100 in FIG. 3).

2)パーソナルコンピュータ10とのシリアル通信、 パーソナルコンピュータlOから交信要求信号を受信す
ると、シリアル通信用制御回路1−4において、割込み
信号R,RDYが発生され、タスク演算処理回路1−i
に入力される。また、割込み優先回路1−2において、
専用LAN制御回路1−6のホールド信号のタスク演算
処理回路1−1への入力が禁止される(第2図のタイミ
ングT22)。
2) Serial communication with the personal computer 10 When a communication request signal is received from the personal computer 10, interrupt signals R and RDY are generated in the serial communication control circuit 1-4, and the task arithmetic processing circuit 1-i
is input. Furthermore, in the interrupt priority circuit 1-2,
Input of the hold signal of the dedicated LAN control circuit 1-6 to the task arithmetic processing circuit 1-1 is prohibited (timing T22 in FIG. 2).

タスク演算処理回路1−1ではレベルオンのR,RDY
信号のlNTl端子への入力により、現在、実行してい
るメインタスクを中断し、シリアル通信用タスクを実行
する。具体的制御処理としては、シリアル通信用制御回
路1−4を介して受信した通信データを入力し、書き込
み信号を発生して、シリアル通信用記憶回路1−3に通
信データを書き込む(第2図のタイミング下23.第3
図のステップ5200)。
In the task arithmetic processing circuit 1-1, level-on R and RDY
By inputting a signal to the lNTl terminal, the currently executing main task is interrupted and a serial communication task is executed. As a specific control process, communication data received via the serial communication control circuit 1-4 is input, a write signal is generated, and the communication data is written into the serial communication memory circuit 1-3 (see Fig. 2). Timing below 23.3rd
Step 5200 in the figure).

3)シリアル通信を実行中に、シーケンサ20からデー
タ送信があった場合、 シーケンサ20の送信データにより専用LAN制御回路
1−6ではレベルオンのホールド信号)10LDを発生
し、バス調停回路1−5を作動させ、バス接続を行う(
第2図のステップT24)。次にシーケンサ20からの
書き込み指示により専用LAN記憶回路1−7への通信
データが書ぎ込まれる(第2図のステップT25)。た
だし、タスク演算処理回路1−1ではオンのホールド信
号HOLDを入力していないので、現在、実行中のシリ
アル通信処理を続行する。
3) When data is transmitted from the sequencer 20 while serial communication is being executed, the dedicated LAN control circuit 1-6 generates a level-on hold signal (10LD) according to the data transmitted from the sequencer 20, and the bus arbitration circuit 1-5 and make the bus connection (
Step T24 in FIG. 2). Next, communication data is written to the dedicated LAN storage circuit 1-7 in response to a write instruction from the sequencer 20 (step T25 in FIG. 2). However, since the ON hold signal HOLD is not input to the task arithmetic processing circuit 1-1, the serial communication processing currently being executed continues.

このパーソナルコンピュータ10からのデータ送信がな
くなると割込信号R,RDYも消滅(レベルオフ)する
ので、割込み優先回路1−2では現在発生しているホー
ルド信号HOLD (レベルオン)のタスク演算処理回
路Hへの入力を許可する(第2図のタイミングT25)
When the data transmission from the personal computer 10 ceases, the interrupt signals R and RDY also disappear (level off), so the interrupt priority circuit 1-2 is a task arithmetic processing circuit for the currently generated hold signal HOLD (level on). Allow input to H (timing T25 in Figure 2)
.

タスク演算処理回路1−1では割込信号R,RDYの消
滅により実行処理をメインタスクに復帰させるが、はぼ
同時にホールド信号の割込み入力があるので、続いて専
用LAN用タスクを割込み的に実施する(第3図のステ
ップ5300−5400→5500)。専用LAN用タ
スクを終了するとタスク演算処理回路1−1はメインタ
スクに復帰する。
The task arithmetic processing circuit 1-1 returns the execution process to the main task when the interrupt signals R and RDY disappear, but since there is an interrupt input of the hold signal at almost the same time, the dedicated LAN task is subsequently executed as an interrupt. (Steps 5300-5400→5500 in FIG. 3). When the dedicated LAN task is completed, the task arithmetic processing circuit 1-1 returns to the main task.

4)シーケンサ20との専用LAN通信タスク演算処理
回路1−1がメインタスクを実行中は割込み優先回路1
−2により割込み信号RっRDY。
4) Dedicated LAN communication task with sequencer 20 Interrupt priority circuit 1 while the arithmetic processing circuit 1-1 is executing the main task
-2 causes an interrupt signal RRDY.

ホールド信号HOLDの割込み入力を許可しているので
、ホールド信号HOLDの発生に応じて、タスク演算処
理回路1−1では専用LAN用タスクを実行する。
Since the interrupt input of the hold signal HOLD is permitted, the task arithmetic processing circuit 1-1 executes a dedicated LAN task in response to the generation of the hold signal HOLD.

5)専用LAN通信を実行中にシリアル通信があった場
合、 割込み優先回路1−2ではシリアル通信用制御回路1−
4において発生された割込信号R,RDYを直にタスク
演算処理回路1−1転送する。このとき、割込信号R,
RDYおよびホールド信号HOLDが並行入力の状態と
なる。
5) If serial communication occurs while dedicated LAN communication is being executed, interrupt priority circuit 1-2 will interrupt serial communication control circuit 1-
The interrupt signals R and RDY generated in step 4 are directly transferred to the task arithmetic processing circuit 1-1. At this time, the interrupt signal R,
RDY and hold signal HOLD are in a parallel input state.

しかしながら、割込信号RxRDYの割込順位は現在入
力中のホールド信号HOLDよりも低いので、シリアル
通信用タスクの割込み処理が受は付けられない。
However, since the interrupt priority of the interrupt signal RxRDY is lower than that of the currently input hold signal HOLD, the interrupt processing of the serial communication task cannot be accepted.

この結果、パーソナルコンピュータIOが交信要求信号
を通信データとして送出しても通信回路からは受信応答
信号が送出されず、パーソナルコンピュータ10側で通
信可能状態となるまで待機処理を行う。
As a result, even if the personal computer IO sends out a communication request signal as communication data, the communication circuit does not send out a reception response signal, and the personal computer 10 performs a standby process until it becomes communicable.

以上、説明したように、本実施例ではタスク演算処理回
路1−1において割込入力信号の優先順に割込みタスク
を実行するという調停機能をも用いるので、割込み優先
回路1−2の回路構成を簡素化することができる。
As explained above, in this embodiment, the task arithmetic processing circuit 1-1 also uses an arbitration function that executes interrupt tasks in the priority order of the interrupt input signals, so the circuit configuration of the interrupt priority circuit 1-2 is simplified. can be converted into

本実施例の他、次の例が挙げられる。In addition to this embodiment, the following examples are given.

1)本実施例では1個のタスク演算用処理回路で2つの
通信用タスクを実行する例を示したが、通信用タスクの
個数は2個に限ることはなく、接続の通信相手の機器の
通信方式の種類および台数に対応させて定めればよい。
1) Although this embodiment shows an example in which two communication tasks are executed by one task calculation processing circuit, the number of communication tasks is not limited to two, and the number of communication tasks is not limited to two. It may be determined in accordance with the type of communication method and the number of devices.

この場合、割込み信号の個数に応じて割込み優先回路を
構成する。参考のために3人力の割込み信号の調停回路
の回路構成を第4図に示す。
In this case, an interrupt priority circuit is configured depending on the number of interrupt signals. For reference, the circuit configuration of a three-person interrupt signal arbitration circuit is shown in FIG.

2)本実施例では割込調停回路を通信回路に用いる例を
示したが、通信回路のように現在実行中のタスク処理を
上位の割込み信号により中断させたくない情報処理様器
にも本発明の調停回路を用いることができる。
2) Although this embodiment shows an example in which the interrupt arbitration circuit is used in a communication circuit, the present invention can also be applied to an information processing device such as a communication circuit in which it is not desirable to interrupt the task processing currently being executed by a higher-level interrupt signal. arbitration circuit can be used.

3)本実施例では割込信号の優先回路をリレースイッチ
で構成する例を示しているが、信号形態に応じてアンド
回路等の論理回路やフリップフロップ等の信号保持回路
を用いて前記優先回路を構成してもよい。
3) This embodiment shows an example in which the interrupt signal priority circuit is configured with a relay switch, but depending on the signal format, a logic circuit such as an AND circuit or a signal holding circuit such as a flip-flop may be used to configure the priority circuit. may be configured.

[発明の効果] 以上説明したように、本発明によれば、同時に複数の割
込信号が演算処理回路に入力された場合、優先順位に従
った割込み処理力科寅算処理回路において実行され、優
先順位が低くても一度割込み処理が実行されると、その
処理が上位の割込信号の入力により中断されることはな
い。
[Effects of the Invention] As explained above, according to the present invention, when a plurality of interrupt signals are simultaneously input to the arithmetic processing circuit, the interrupt processing circuits execute the interrupt processing according to the priority order, Even if the priority level is low, once an interrupt process is executed, the process will not be interrupted by the input of a higher level interrupt signal.

この結果、複数種の通信処理において、従来のように下
位の通信処理の中断によりその受信データが破壊される
こともなくなる。
As a result, in a plurality of types of communication processing, received data is no longer destroyed due to interruption of lower-level communication processing, as is the case in the past.

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

第1図は本発明実施例の回路構成を示すブロック図、 第2図は本発明実施例における動作タイミングを示すタ
イミングチャート、 第3図は本発明実施例における動作手順を示すフローチ
ャート、 第4図は本発明実施例における他の調停回路の構成を示
す回路図、 第5図は従来例の回路構成を示すブロック図、 第6図は従来例の動作タイミングを示すタイミングチャ
ート、 第7図は他の従来例の回路構成を示すブロック図である
。 1−1・・・タスク演算処理回路、 1−2・・・割込み優先回路、 1−3・・・シリアル通信用記憶回路、1−4・・・シ
リアル通信用制御回路、1−5・・・バス調停回路、 1−6・・・専用LAN制御回路、 1−7・・・専用LAN記憶回路、 IO・・・パーソナルコンピュータ、 20・・・シーケンサ。 木4f:叩冥施例にお1↑る動作子14I示170−千
N第3図 ト
Fig. 1 is a block diagram showing the circuit configuration of the embodiment of the present invention, Fig. 2 is a timing chart showing the operation timing in the embodiment of the invention, Fig. 3 is a flowchart showing the operation procedure in the embodiment of the invention, and Fig. 4. is a circuit diagram showing the configuration of another arbitration circuit in the embodiment of the present invention, FIG. 5 is a block diagram showing the circuit configuration of the conventional example, FIG. 6 is a timing chart showing the operation timing of the conventional example, and FIG. 7 is another example. FIG. 2 is a block diagram showing a circuit configuration of a conventional example. 1-1...Task arithmetic processing circuit, 1-2...Interrupt priority circuit, 1-3...Serial communication memory circuit, 1-4...Serial communication control circuit, 1-5... - Bus arbitration circuit, 1-6... Dedicated LAN control circuit, 1-7... Dedicated LAN storage circuit, IO... Personal computer, 20... Sequencer. Tree 4f: Operator 14I shown in 1↑ in the example of torture 170-1000N Figure 3

Claims (1)

【特許請求の範囲】 1)複数の割込み信号を入力したときに、当該割込み信
号と対応のタスク処理を予め定めた優先順位で実行する
演算処理回路に対して前記複数の割込み信号の調停入力
を行う調停回路であって、前記複数の割込み信号がいず
れも発生していない状態のときは発生の割込信号を前記
演算処理回路へ入力可能とする第1信号切換え手段と、
前記複数の割込み信号の中のいずれかの割込み信号が発
生した後は、当該発生の割込み信号が消滅するまでは、
前記優先順位において、当該発生の割込信号より下位の
発生の割込み信号の前記演算処理回路への入力を許可し
、上位の発生の割込み信号については前記入力を禁止す
る第2信号切換え手段と を具えたことを特徴とする割込み信号の調停回路。 2)複数の外部機器からの通信データをそれぞれが受信
し、受信検知信号を発生する複数の受信回路と、 各前記受信検知信号を入力し、予め定めた優先順序に従
って、当該入力の受信検知信号に対応の通信関連の演算
処理を割込み的に実行する演算処理手段と、 現在入力の受信検知信号が消滅するまでは前記優先順位
において当該入力の受信検知信号よりも上位の受信検知
信号の前記演算処理手段への入力を禁止する調停手段と を具えたことを特徴とする通信回路。
[Claims] 1) When a plurality of interrupt signals are input, arbitration input of the plurality of interrupt signals is provided to an arithmetic processing circuit that executes task processing corresponding to the interrupt signal in a predetermined priority order. a first signal switching means, which is an arbitration circuit configured to perform an arbitration circuit, and is capable of inputting a generated interrupt signal to the arithmetic processing circuit when none of the plurality of interrupt signals are generated;
After any one of the plurality of interrupt signals is generated, until the generated interrupt signal disappears,
a second signal switching means for permitting input of an interrupt signal of a lower level than the generated interrupt signal to the arithmetic processing circuit in the priority order, and prohibiting input of an interrupt signal of a higher level of occurrence; An arbitration circuit for interrupt signals, characterized in that: 2) A plurality of receiving circuits each receiving communication data from a plurality of external devices and generating a reception detection signal, and receiving each reception detection signal and generating the reception detection signal of the input according to a predetermined priority order. arithmetic processing means for interruptively executing communication-related arithmetic processing corresponding to the above, and the calculation processing means for the reception detection signal that is higher in priority than the reception detection signal of the input until the reception detection signal of the current input disappears; A communication circuit comprising: arbitration means for prohibiting input to the processing means.
JP19389390A 1990-07-24 1990-07-24 Arbitration/communication circuit for interruption signal Pending JPH0480829A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP19389390A JPH0480829A (en) 1990-07-24 1990-07-24 Arbitration/communication circuit for interruption signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP19389390A JPH0480829A (en) 1990-07-24 1990-07-24 Arbitration/communication circuit for interruption signal

Publications (1)

Publication Number Publication Date
JPH0480829A true JPH0480829A (en) 1992-03-13

Family

ID=16315496

Family Applications (1)

Application Number Title Priority Date Filing Date
JP19389390A Pending JPH0480829A (en) 1990-07-24 1990-07-24 Arbitration/communication circuit for interruption signal

Country Status (1)

Country Link
JP (1) JPH0480829A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101104405B1 (en) * 2009-08-27 2012-01-16 주식회사 서일 Food container with intake implement

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52132748A (en) * 1976-04-30 1977-11-07 Hitachi Ltd Information i/o control system
JPS5484447A (en) * 1977-12-19 1979-07-05 Oki Electric Ind Co Ltd Interruption detector circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS52132748A (en) * 1976-04-30 1977-11-07 Hitachi Ltd Information i/o control system
JPS5484447A (en) * 1977-12-19 1979-07-05 Oki Electric Ind Co Ltd Interruption detector circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101104405B1 (en) * 2009-08-27 2012-01-16 주식회사 서일 Food container with intake implement

Similar Documents

Publication Publication Date Title
KR880000253B1 (en) Data carrying system
JPH0480829A (en) Arbitration/communication circuit for interruption signal
JPH07200494A (en) Decentralized control system
JPH0414376B2 (en)
JPH1165623A (en) Programmable controller
JP2000155738A (en) Data processor
JPH07334210A (en) Programmable controller system
JPH11282888A (en) Data communication method in system to be designed based on system specification description, combination method of interruption controller and synthesizing method of interface circuit
JP2667285B2 (en) Interrupt control device
JPH02222058A (en) Multiprocessor system
KR100223983B1 (en) Collision protecting circuit
JP2554423Y2 (en) Memory controller
JP2002215413A (en) Firmware transfer method and inter-module data transmission system
JPH01184569A (en) Data transmission equipment
JPS62152064A (en) Single-chip microcomputer
KR0127884B1 (en) Mail box interrupt generating device
JPS6266370A (en) Multiprocessor system
JPH03167633A (en) Control method for interruption program
JP2002297209A (en) Sequence program storing method in sequence controller
JPH05233525A (en) Input/otuput processor
JPH10320352A (en) Bus master transfer system
JPH07105076A (en) Interface circuit for plural port storage devices
JPH10105413A (en) Interruption processing system
JPH0312767A (en) Input/output control system
JPH0546530A (en) Computer control circuit