JPS5936285B2 - Control method and device - Google Patents

Control method and device

Info

Publication number
JPS5936285B2
JPS5936285B2 JP4012680A JP4012680A JPS5936285B2 JP S5936285 B2 JPS5936285 B2 JP S5936285B2 JP 4012680 A JP4012680 A JP 4012680A JP 4012680 A JP4012680 A JP 4012680A JP S5936285 B2 JPS5936285 B2 JP S5936285B2
Authority
JP
Japan
Prior art keywords
group
input
peripheral
microcomputer
subsystem
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
Application number
JP4012680A
Other languages
Japanese (ja)
Other versions
JPS55164923A (en
Inventor
ア−ネスト・イ−・ゴツドセイ
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Burr Brown Research Corp
Original Assignee
Burr Brown Research Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US06/027,903 external-priority patent/US4326249A/en
Application filed by Burr Brown Research Corp filed Critical Burr Brown Research Corp
Publication of JPS55164923A publication Critical patent/JPS55164923A/en
Publication of JPS5936285B2 publication Critical patent/JPS5936285B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)

Description

【発明の詳細な説明】 本発明は、複数のサブシステム内の周辺装置をアクセス
するための方法及びシステムに関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a method and system for accessing peripheral devices in multiple subsystems.

割込を行う周辺装置に応じて計算システムを動作させる
のに各種のシステムや方法が用いられている。ひとつの
従来システムではプロセツサの人力とへそしてシステム
の全ての周辺装置中のひとつの割込出力とへ接続したひ
とつの割込導体が使用される。割込導体に割込要求信号
がのるとプロセツサが応答してソフトウエアのポーリン
グサブルーチンを実行する。このポーリングサブルーチ
ンにより、優先順位に従つてシステムの各周辺装置をア
ドレスして周辺装置をポールし、どの周辺装置が割込要
求を発生したかを判定する。このポ−リング操作により
割込要求をした周辺装置が特定されると、ついでプロセ
ツサはストアされたテーブルを参照して適正な割込要求
のサービスサブルーチンをアドレスする。しかし、割込
周辺装置の優先順位を与えるのに、このようなソフトウ
エアのポーリングシステムを使用することは、多数の周
辺装置を有する工業制御システム等のシステムの制御に
は適さない。計算システムにて制御される装置から割込
要求信号が発生するごとに全周辺装置をポールするのに
長い時間を要するからである。これは、特に最大速度に
近い速度で動作するシステムについて言える。
Various systems and methods are used to operate computing systems in response to peripheral devices that provide interrupts. One conventional system uses a single interrupt conductor connected to the processor power and to a single interrupt output in all peripherals of the system. When an interrupt request signal is applied to the interrupt conductor, the processor responds by executing a software polling subroutine. This polling subroutine addresses and polls each peripheral device in the system in priority order to determine which peripheral device has generated an interrupt request. When the peripheral device that made the interrupt request is identified by this polling operation, the processor then refers to the stored table and addresses the appropriate interrupt request service subroutine. However, the use of such software polling systems to prioritize interrupt peripherals is not suitable for controlling systems such as industrial control systems having a large number of peripherals. This is because it takes a long time to poll all peripheral devices each time an interrupt request signal is generated from a device controlled by the computing system. This is especially true for systems operating at speeds close to maximum speed.

工業制御システムは、比較的安価でかつ低速度のマィク
ロプロセッサ、メモリ及び関連した論理回路が使用され
るため、典型的には最大速度に近い速度で動作する。も
うひとつのよく利用される割込方式はデイジー・チエイ
ンド(Daisychained)割込方式と呼ばれて
いるシステムである。
Industrial control systems typically operate at near maximum speeds because relatively inexpensive and slow microprocessors, memory, and associated logic circuits are used. Another commonly used interrupt method is a system called a daisy-chained interrupt method.

デイジー・チエインド割込システムでは、全周辺装置は
直列に接続されており、そのうちのひとつが割込要求信
号を発生した場合、プロセツサは、最優先周辺装置の入
力として規定されるアクノリッジ信号を発生する。すな
わち、各周辺装置は、割込要求信号を発生した装置でな
い場合にはアクノリッジ信号を次段の周辺装置にゲート
させる。こうして、周辺装置は割込要求信号の優先順で
順次システムに接続される。デイジー・チエインド割込
システムは、ポールされた割込システムより速く割込周
辺装置を識別できるが、欠点としては、なんらかの理由
でシステムからある周辺装置を取り除いた場合、優先ぎ
めシステムが不作動となり、システムの各周辺装置にゲ
ート回路を付加しなければならなくなることである。他
の割込方式では、全周辺装置の数に相当する多数の割込
ラインを使用し、各周辺装置の割込ラインは優先エンコ
ード回路に接続し、エンコード回路は適正な割込サービ
スサブルーチンのアドレスを発生する。
In a daisy-chained interrupt system, all peripherals are connected in series, and if one of them generates an interrupt request signal, the processor generates an acknowledge signal, which is defined as the input of the highest priority peripheral. . That is, each peripheral device gates an acknowledge signal to the next peripheral device if it is not the device that generated the interrupt request signal. In this way, peripheral devices are sequentially connected to the system in priority order of the interrupt request signals. A daisy-chained interrupt system can identify interrupt peripherals faster than a polled interrupt system, but the disadvantage is that if you remove a peripheral from the system for any reason, the priority system becomes inactive. This means that a gate circuit must be added to each peripheral device in the system. Other interrupt schemes use a number of interrupt lines equal to the number of all peripherals, with each peripheral's interrupt line connected to a priority encoding circuit that addresses the appropriate interrupt service subroutine. occurs.

このようなシステムではプロセッサと通信させる周辺装
置を選び出すのに必要なアドレスを発生させるため割込
サービスサブルーチンを必要とする。したがつてこの種
のシステムは大量のハードウエア(多数の割込ラインと
アドレス発生回路)と、周辺装置を選択してそれを付勢
フするソフトウエアが必要である。
Such systems require an interrupt service subroutine to generate the addresses necessary to select a peripheral device to communicate with the processor. Therefore, this type of system requires a large amount of hardware (multiple interrupt lines and address generation circuitry) and software to select and turn on peripheral devices.

典型的な工業制御システムを含むある種のデータ処理シ
ステムは、比較的遅く安価なマイクロプロセツサ及び周
辺装置を使用して動作する能力が必要である。
Certain data processing systems, including typical industrial control systems, require the ability to operate using relatively slow and inexpensive microprocessors and peripherals.

このようなシステムは、典型的には非常に多数の周辺装
置を含む。従つて、この工業制御システムは、ソフトウ
エア優先決定ポーリングルーチンを使用するのに適して
おらず、しかも1つ以上の周辺装置が一時的に除去され
ても動作能力を有する融通性が更に必要であり、そして
通常最小のコストで装備されねばならない。故に、この
工業制御システムは上記タイプの割込システムには適し
ない。従つて、より少ないハードウエアを使用して、か
つシステムフログラマーにほとんどソフトウエア面での
負担をなくし、最小の時間で周辺装置からの割込要求の
優先順位を確立する割込システムが要望されている。
Such systems typically include a large number of peripheral devices. Therefore, this industrial control system is not suitable for use with software priority polling routines and still requires flexibility to be able to operate even if one or more peripherals are temporarily removed. Yes, and usually must be equipped at minimal cost. Therefore, this industrial control system is not suitable for interrupt systems of the above type. Therefore, there is a need for an interrupt system that establishes the priority of interrupt requests from peripheral devices in a minimal amount of time while using less hardware and requiring little software burden on the system programmer. ing.

次の特許ぱ、優先割込システム及び方法に関する従来技
術を示す。
The following patents provide prior art regarding priority interrupt systems and methods: US Pat.

米国特許第3208048号、第3675209号、第
3710324号、第3828325号、第39097
90号、第3924240号、第4003033号、第
4020472号、第4027290号、及び第403
7204号。従つて、本発明の目的は、計算システム内
の周辺装置を効率的にアクセスするための方法及びシス
テムを提供することである。
U.S. Patent Nos. 3,208,048, 3,675,209, 3,710,324, 3,828,325, 39,097
No. 90, No. 3924240, No. 4003033, No. 4020472, No. 4027290, and No. 403
No. 7204. Accordingly, it is an object of the present invention to provide a method and system for efficiently accessing peripheral devices within a computing system.

他の目的は、複数の周辺装置を夫々含む複数のサブシス
テムを備えたシステム内の主プロセツサがシステムを制
御されるべき周辺装置に接続するため行う゛オーバーヘ
ッド゛プログラム実行の量を減少させる方法及びシステ
ムを提供することである。
Other objects are methods and methods for reducing the amount of "overhead" program execution that a main processor in a system having multiple subsystems each containing multiple peripherals connects the system to the peripherals to be controlled; The goal is to provide a system.

本発明の一実施例において提供される方法及び制御シス
テムでは、制御コンピユータと、及び第1グループ及び
第2グループの周辺装置を夫々有する複数のI/Oサブ
システムとを含んでいる。
A method and control system provided in one embodiment of the present invention includes a control computer and a plurality of I/O subsystems each having a first group and a second group of peripheral devices.

第1グループ及び第2グループの周辺アドレス・ビツト
は、制御コンピユータからl/Oサブシステムの夫々内
のマイクロコンピユータへ送られる。第1グループ及び
第2グループの周辺アドレス・ビツトは、第2グループ
のアドレス・ビツトが第1コードを含んでいない場合、
各/0サブシステムの内部バスの第1グループ及び第2
グループの導体の夫々に沿つてマイクロコンピユータに
より送信される。このI/Oサブシステムの一つが第2
グループの周辺アドレス・ビツト内に含まれた第2コー
ドを記憶している場合、該1/Oサブシステムは付勢さ
れてこのI/0サブシステムのマイクロコンピユータに
よりアクセスされる。1/Oサブシステムの一つのマイ
クロコンピユータが第1所定コードをこのI/Oサブシ
ステムの第2グループ導体に沿つて送信する場合、該1
/Oサブシステム内の第1グループ周辺装置はそのマイ
クロコンピユータによりアクセスされるよう付勢される
A first group and a second group of peripheral address bits are sent from the control computer to a microcomputer within each of the I/O subsystems. The first and second groups of peripheral address bits are arranged such that if the second group of address bits does not contain the first code,
The first and second groups of internal buses of each /0 subsystem
It is transmitted by a microcomputer along each of the conductors of the group. One of these I/O subsystems is
When storing the second code contained within the group's peripheral address bits, the I/O subsystem is activated and accessed by the I/O subsystem's microcomputer. When one microcomputer of an I/O subsystem transmits a first predetermined code along a second group of conductors of this I/O subsystem, the first
A first group of peripherals within the /O subsystem are enabled to be accessed by the microcomputer.

以下図面を参照して本発明の実施例を説明する。Embodiments of the present invention will be described below with reference to the drawings.

第1図を参照するに、全体的に示す工業プロセス制御シ
ステム100は両方向性通信バス104に接続されたプ
ロセス制御コンピユータ102を含む。複数の入力/出
力サブシステム(以下1/Oサブシステムという)10
6,108,110が通信バス104に接続されている
。プロセス制御コンピユータ102は、特定の工業プロ
セスシステムの運転制御に必要な全ての制御情報を与え
るだけの計算能力と必要な速度を有するものであれば市
場で入手される任意のコンピユータ(通信ポートを含む
こと)が使用できる。特に適したプロセス制御コンピユ
ータは、ヒユーレットパツカードシステム45デスク・
トツプコンピユータ、モデル9845である。通信バス
104は電話回線等の直列通信リンクおよび関連するM
ODEMや音響カプラで構成してもよいし、あるいは、
テレタイプマシンを中央コンピユータに結合するのに使
用されるような送信ライン対と受信ライン対を含む[電
流ループ」で構成してもよい第1図中、番号106のI
/0サブシステムについてはいくつかのエレメントを示
すため拡大してある。
Referring to FIG. 1, an industrial process control system 100 is shown generally including a process control computer 102 connected to a bidirectional communication bus 104. As shown in FIG. Multiple input/output subsystems (hereinafter referred to as 1/O subsystems) 10
6, 108, and 110 are connected to the communication bus 104. The process control computer 102 may be any commercially available computer (including communication ports ) can be used. A particularly suitable process control computer is the Hewlett Packard System 45 Desk.
It is a top computer, model 9845. Communication bus 104 includes serial communication links such as telephone lines and associated M
It may be configured with an ODEM or an acoustic coupler, or
I, numbered 106 in FIG.
The /0 subsystem has been enlarged to show some of the elements.

I/Oサブシステム106はマイクロコンピユータ10
Aを含み、これにバス22Aが結合されており、バス2
2Aは8ビットの両方向性データバス、アドレスバスお
よび各種の制御ラインを含む。複数の周辺装置(例えば
112B,112C)が機器108に結合しており、こ
の機器はマイクロコンピユータ10A、周辺装置112
B,112Cを介してプロセス制御コンピユータ102
にて関接的に制御される。機器108は特定の処理や製
造工業環境における運転制御を行うよう設計された装置
を含み、さらに、データやサービス要求を各種の周辺装
置に入力する。これらのデータやサービス要求はI/O
サブシステム106内の周辺装置とマイクロコンピユー
タを介してプロセス制御コンピユータ102にフイード
バツクされる。I/0サブシステム106は第1図では
詳細に示していないが後の図には詳細に示される。1/
Oサブシステム106は通信バス104との通信を専用
の周辺装置112Aを介して行う。
I/O subsystem 106 is microcomputer 10
A, to which bus 22A is connected, and bus 2
2A includes an 8-bit bidirectional data bus, an address bus, and various control lines. A plurality of peripheral devices (eg, 112B, 112C) are coupled to device 108, which includes microcomputer 10A, peripheral device 112
Process control computer 102 via B, 112C
It is indirectly controlled by Equipment 108 includes equipment designed to provide operational control in a particular process or manufacturing environment, as well as input data and service requests to various peripheral devices. These data and service requests are I/O
Feedback is provided to process control computer 102 via peripherals and microcomputers within subsystem 106. The I/0 subsystem 106 is not shown in detail in FIG. 1, but will be shown in detail in later figures. 1/
O subsystem 106 communicates with communication bus 104 via dedicated peripherals 112A.

周辺装置112Aは両方向性ゼータバス22Aに結合さ
れる。周辺装置112Aは通信バス104が電話回線の
場合はMODEMを含み、入手可能なUART(Uni
versalasynchrOnOusreceive
rtransmitter)タイプの並列/直列および
直列/並列変換器を含ませることができる。後に詳述す
るが、各1/0サブシステム(106,108,110
等)は16台の周辺装置(例えばリレー、アナログ/デ
イジタル変換器、機器108に制御情報を入力したり、
機器108からのデータや要求情報を受けとる各種のイ
ンターフエイス装置)と通信可能である。
Peripheral device 112A is coupled to bidirectional zeta bus 22A. The peripheral devices 112A include a MODEM when the communication bus 104 is a telephone line, and an available UART (Uni
versalasynchrOnOusreceive
rtransmitter) type parallel/serial and series/parallel converters. As will be detailed later, each 1/0 subsystem (106, 108, 110
etc.) input control information to the 16 peripheral devices (e.g., relays, analog/digital converters, equipment 108,
The device 108 can communicate with various interface devices that receive data and request information from the device 108.

後述のように、各1/0サブシステムはまた、このI/
Oサブシステムのデータバス22Aに接続された第1グ
ループ及び第2グループの16個の周辺装置を含んでい
る。
As described below, each 1/0 subsystem also
It includes a first group and a second group of 16 peripheral devices connected to the data bus 22A of the O subsystem.

第2グループの周辺装置は、プロセス制御コンピユータ
102により(マイクロプロセツサ10により間接的に
)アドレス可能である。以下において、あるI/0サブ
システムの第1グループの周辺装置は、その1/Oサブ
システムのマイクロプロセツサ10によつてのみアクセ
ス可能であり、プロセス制御コンピユータ102により
発生される任意の8ビツトアドレスによつてはアクセス
できない。この第1グループの周辺装置は、以下におい
て“オーバーヘッド周辺装置゛又ばプライベート周辺装
置゛と呼ぶ。あるI/Oサブシステムの第2グループの
周辺装置は、単に゛周辺装置゛あるいばハブリック周辺
装置”として参照し、そのI/Oサブシステムの第1グ
ループの周辺装置と区別する。本実施例では、15個の
I/Oサブシステムと通信バス104との接続が可能で
あり、プロセス制御コンピユータ102からI/Oサブ
システムへ出力される8ビツトのアドレスはI/Oサブ
システムにより用いられ、それによりプロセス制御コン
ピユータ102と機器108との通信を可能にする全部
で240台(15個のI/0サブシステムの夫々の16
個の周辺装置)の周辺装置のうちのひとつを選択するこ
とができる。この8ビツトアドレスのうち高次の4ビツ
トDB4−DB7にてI/Oサブシステムの選択を行わ
せ(以下「装置グループ」という)、低次の4ビツトD
BO一DB3にて選択したI/0サブシステムの有する
16台の周辺装置のうちからひとつを選択する(その周
辺装置の番号を以下[装置番号」という)。プロセス制
御コンピユータ102は通信バス104に直列情報を出
力し、この情報は各1/0サブシステムの周辺装置11
2Aを介して各1/0サブシステムのマイクロコンピユ
ータ10Aに入力される。後に明らかとなるが、8ビッ
トワードを受け取るたびに、各1/Oサブシステルは割
込まれる。この割込時にI/Oサブシステムはその8ビ
ツトワードを読み取り、メモリ38の適当なロケーシヨ
ンにその8ビツトワードをロードする。多数のそのよう
な8ビツトがメモリ38にロードされた後、マイクロコ
ンピユータ10Aは受け取つたワードのグループを調べ
、自己のI/Oサブシステムがプロセス制御コンピユー
タ102によつてアドレスされているものかどうかの判
定を行う。プロセス制御コンピユータ102から直列に
出力される8ビットアドレスの高次の4ビツトDB4−
DB7で特定される1/0サブシステム番号をI/Oサ
ブシステムが含む場合には、ついでそのI/Oサブシス
テムのマイクロコンピユータ10Aがそのアドレスの低
次の4ビツトDBO−DB3で特定されるところのその
/0サブシステムの第2グループ即ちハブリックグルー
プの周辺装置の1つの選択を行うことができる。しかし
、高次の4ビットがその1/Oサブシステム内に含まれ
るものとは異なつた/Oサブシステム番号を特定する場
合には、そのI/Oサブシステムはプロセス制御コンピ
ユータ102から受ける情報に応答して周辺装置の選択
を行うことはない。この場合、通信バス104に接続さ
れた他のI/Oサブシステム(109,110等)のひ
とつがそのアドレスの高次の4ビットで特定されるI/
0サブシステム番号を認知することになる。後述するよ
うに、選択されたI/0サブシステムの選択された周辺
装置は、その周辺装置による割込に応答して、付勢され
て両方向性データバス22Aとの通信が行われ、その選
択された周辺装置が(選択されたI/Oサブシステムの
)マイクロコンピユータ10Aによつて検出されあるい
は書き込まれる。
A second group of peripherals is addressable by process control computer 102 (indirectly by microprocessor 10). In the following, the first group of peripherals of an I/O subsystem are accessible only by the microprocessor 10 of that 1/O subsystem and are not accessible by any 8-bit peripherals generated by the process control computer 102. Access is not possible depending on the address. This first group of peripherals will hereinafter be referred to as "overhead peripherals" or "private peripherals". device” to distinguish it from the first group of peripheral devices of the I/O subsystem. In this embodiment, 15 I/O subsystems can be connected to the communication bus 104, and the 8-bit address output from the process control computer 102 to the I/O subsystem is determined by the I/O subsystem. A total of 240 devices (16 of each of the 15 I/O subsystems) are used to enable communication between the process control computer 102 and the equipment 108.
peripherals). Of this 8-bit address, the high-order 4 bits DB4 to DB7 are used to select the I/O subsystem (hereinafter referred to as "device group"), and the low-order 4 bits D
One of the 16 peripheral devices of the I/0 subsystem selected in BO-DB3 is selected (the number of the peripheral device is hereinafter referred to as the "device number"). Process control computer 102 outputs serial information on communication bus 104, which information is transmitted to peripheral devices 11 of each 1/0 subsystem.
2A to the microcomputer 10A of each 1/0 subsystem. As will become apparent, each 1/O subsystem is interrupted each time an 8-bit word is received. At this interrupt, the I/O subsystem reads the 8-bit word and loads the 8-bit word into the appropriate location in memory 38. After a number of such 8 bits have been loaded into memory 38, microcomputer 10A examines the group of words it receives and determines whether its I/O subsystem is the one being addressed by process control computer 102. Make a judgment. The higher-order 4-bit DB4- of the 8-bit address is serially output from the process control computer 102.
If the I/O subsystem contains the 1/0 subsystem number identified by DB7, then the microcomputer 10A of that I/O subsystem is identified by the lower 4 bits DBO-DB3 of that address. However, one of the peripheral devices of the second group, ie, the hub group, of the /0 subsystem can be selected. However, if the higher order 4 bits identify a different I/O subsystem number than those contained within the I/O subsystem, then the I/O subsystem uses the information it receives from process control computer 102. There is no peripheral selection in response. In this case, one of the other I/O subsystems (109, 110, etc.) connected to communication bus 104 will
0 subsystem number will be recognized. As described below, a selected peripheral of a selected I/0 subsystem is energized into communication with bidirectional data bus 22A in response to an interrupt by the selected peripheral, The selected peripheral device is detected or written to by microcomputer 10A (of the selected I/O subsystem).

ついでマィクロコンピュータ10Aは両方向性データバ
ス22Aを介して選択された周辺装置と適当な通信を行
う。プロセス制御コンピユータ102から通信バス10
4に出力される情報にはもちろん周辺装置のアドレス情
報以外の情報も含まれる。すなわち、選択周辺装置に入
力されるべきデータおよび制御情報も通信バス104を
介して選択1/0サブシステムに送られる。第2図を参
照するに、I/Oサブシステム106は両方向性データ
バス22Aに結合されたマイクロプロセツサ10を含む
Microcomputer 10A then engages in appropriate communications with selected peripheral devices via bidirectional data bus 22A. Process control computer 102 to communication bus 10
Of course, the information output to 4 includes information other than address information of peripheral devices. That is, data and control information to be input to the selected peripherals is also sent to the selected 1/0 subsystem via communication bus 104. Referring to FIG. 2, I/O subsystem 106 includes microprocessor 10 coupled to bidirectional data bus 22A.

I/0サブシステム106は、さらに、両方向性データ
バス22Aと機器108との間に結合される複数の周辺
装置(例えば112B,112C)を含む。導体グルー
プ42B,42Cにより周辺装置112B,112Cは
機器108(1/Oサブシステム106により制御され
る)に接続される。(便宜上、第1図の周辺装置112
Aは第2図では省略して示してある)。1/0サブシス
テム106は優先エンコーダ20を含む。
I/0 subsystem 106 further includes a plurality of peripheral devices (eg, 112B, 112C) coupled between bidirectional data bus 22A and equipment 108. Conductor groups 42B, 42C connect peripheral devices 112B, 112C to equipment 108 (controlled by 1/O subsystem 106). (For convenience, the peripheral device 112 in FIG.
A is omitted in FIG. 2). 1/0 subsystem 106 includes priority encoder 20.

エンコーダ20は32の選択/要求導体(例えば18A
,18B)に接続された入力を有する。この32の選択
/要求導体は32の周辺装置(例えば112B,112
C)に接続され、その内の16個は前述の第1グループ
即ちプライベートグループにあり、また別の16個は前
述の第2グループ即ちハブリックグループにある。優先
エンコーダ20は、各割込周辺装置からの「エンコード
」信号に応答して8ビツト両方向性バス22Aに最高の
優先順位の割込周辺装置を表わす「選択コード」を与え
る。この選択コードはマイクロプロセッサ10に入力さ
れる。I/Oサブシステム106は選択コードレジスタ
26を含み、このレジスタはマイクロプロセッサ10に
接続された付勢入力24を有しており、付勢されて、マ
イクロプロセツサ10からの選択コードが適当な時に選
択コードレジスタ26にロードされる。選選コードデコ
ーダ28哄選択コードレジスタ26にロードされた選択
コードをデコードして32の導体(例、40A,40B
)のひとつに選択信号を与え、これが32の3ステート
非反転バッフア(例えば16A,16B)のひとつに入
力される。3ステートバツフアがバス14からの適当な
導体にて「付勢」されることにより(後述する)、バツ
フアから出力が発生して選択/要求導体18A,18B
等を駆動する。
Encoder 20 has 32 select/request conductors (e.g. 18A
, 18B). The 32 select/request conductors correspond to the 32 peripherals (e.g. 112B, 112
C), of which 16 are in the first group, ie, the private group, and another 16 are in the second group, ie, the hub group. Priority encoder 20 provides a ``select code'' on 8-bit bidirectional bus 22A representative of the highest priority interrupt peripheral in response to an ``encode'' signal from each interrupt peripheral. This selection code is input to the microprocessor 10. The I/O subsystem 106 includes a selection code register 26 that has an enable input 24 connected to the microprocessor 10 and is enabled so that a selection code from the microprocessor 10 is selected. is loaded into the selection code register 26 at the same time. Selection code decoder 28 decodes the selection code loaded into the selection code register 26 and outputs 32 conductors (e.g. 40A, 40B).
) is applied to one of the 32 3-state non-inverting buffers (eg 16A, 16B). When the 3-state buffer is "energized" (described below) with the appropriate conductor from bus 14, an output is generated from the buffer on select/request conductors 18A, 18B.
etc.

バス14は、割込導体12に発生した割込要求信号1R
Qに応答してマイクロプロセツサ10によりつくられる
「アクノリッジ」ないしは付勢信号を伝えるのに使用さ
れる。
The bus 14 is connected to the interrupt request signal 1R generated on the interrupt conductor 12.
It is used to convey an "acknowledge" or enable signal produced by microprocessor 10 in response to Q.

割込導体12は、マイクロプロセツサ10の割込人力に
接続されるとともに、全ての32の周辺装置112B,
112C等の割込出力に接続される。バス14につくら
れたいくつかの付勢信号は(第3A図に示すようにマイ
クロプロセツサ10のNO,Nl,N2,MRD)デコ
ードされて信号NσK(第3B図参照)をつくり、これ
がアクノリツジ信号期間中3ステートバツフア16A,
16Bを消勢し、各割込周辺装置112B,112C等
を付勢してエンコード信号を選択/要求導体18A等の
対応する導体 二に与え、そしてまた優先エンコーダ2
0を付勢して最高の優先順位の割込周辺装置に対応する
ユニークな8ビツト選択コードをバス22Aに発生させ
る。ついでマイクロプロセツサ10がこの選択コードを
読み取つて、そのメモリの適当なロケ一 ;シヨンある
いはその内部レジスタのひとつにストアする。マイクロ
プロセツサ10はCMOS (COmplementarymetalOxides
emicOnductOr)モデルSCLl8O2マイ
クロ 3プロセッサ(SOlidStateSyste
msCOrp.で製造されている。
The interrupt conductor 12 is connected to the interrupt power of the microprocessor 10 and all 32 peripheral devices 112B,
Connected to interrupt output such as 112C. Several enable signals created on bus 14 (NO, Nl, N2, MRD of microprocessor 10 as shown in Figure 3A) are decoded to create signal NσK (see Figure 3B), which is an acknowledge signal. 3-state buffer 16A during the signal period,
16B and energizes each interrupt peripheral 112B, 112C, etc. to provide an encode signal to the corresponding conductor 2, such as select/request conductor 18A, and also to the priority encoder 2.
0 to generate a unique 8-bit select code on bus 22A corresponding to the highest priority interrupt peripheral. Microprocessor 10 then reads this selection code and stores it in the appropriate location in its memory or in one of its internal registers. The microprocessor 10 is CMOS (complementary metal oxides).
emicOnductOr) Model SCLl8O2 Micro 3 Processor (SOlidStateSystem
msCOrp. Manufactured in

なお同一モデル番号の同様な装置がRCAでも製造され
ている)で構成することができる。SCLl8O2のプ
ロツク図を第5図に示す。第2図の残りの回路を実現す
るのに使 4用できる入手可能な装置については、以下
第3Aないし第3D図を説明するところで言及するが、
それに先立ち、まずI/Oサブシステム106の全体の
動作を説明する。機器108が運転を続けるのに新たな
データを必要としていると想定する。
Note that a similar device with the same model number is also manufactured by RCA). A block diagram of SCL18O2 is shown in FIG. Available equipment that can be used to implement the remaining circuits in Figure 2 will be mentioned below in the discussion of Figures 3A-3D.
Prior to that, the overall operation of the I/O subsystem 106 will be explained first. Assume that equipment 108 requires new data to continue operating.

この場合、機器108は周辺装置112B,112C等
のひとつへ割込信号を送る。これを受けてその周辺装置
は割込導体12にIRQ信号を発生してマイクロプロセ
ツサ10の割込入力(中断入力)に送り、マイクロプロ
セツサ10によりその時点で実行されているソフトウエ
アの実行に割込む。ついでマイクロプロセツサ10は割
込周辺装置をサービスする決定を行い、その内部動作レ
ジスタをメモリ38の[スタツク」部にロードして割込
サービスの体勢に入る。このタスクを実行するソフトウ
エアについては当業者には明らかなので詳しい説明は省
略する。ついで、マイクロプロセツサ10はバス14に
[アクノリツジ]メツセージを与える。
In this case, device 108 sends an interrupt signal to one of peripheral devices 112B, 112C, etc. In response, the peripheral device generates an IRQ signal on interrupt conductor 12 and sends it to the interrupt input (interrupt input) of microprocessor 10, causing execution of the software currently being executed by microprocessor 10. interrupt. Microprocessor 10 then makes the decision to service the interrupt peripheral, loads its internal operating registers into the "stack" portion of memory 38, and prepares to service the interrupt. The software that performs this task will be clear to those skilled in the art and will not be described in detail. Microprocessor 10 then provides an ACKNOWLEDG message on bus 14.

(後述するように、マイクロプロセツサ10の出力NO
,Nl,N2、およびMRDがデコードされてACKで
呼ぶ「アクノリツジ」信号がつくられ、この信号NCR
により、第2図を参照していま説明したところの「アク
ノリッジ」機能が果たされる。)この信号ACKにより
、3ステートバッフア16A,16B等が高インピーダ
ンスの出力状態にセツトされ、選択/要求導体18A,
18B等が選択コードデコーダ28から電気的に切り離
される。NO{は全ての周辺装置112B,112C等
にも入力され、機器108からの上述の割込信号とNσ
KとANDがなされて、その割込周辺装置に接続されて
いる選択/要求導体に[エンコード」信号が与えられる
。このエンコード信号は優先エンコーダ20の適当な入
力に入力される。このACK信号により優先エンコーダ
20も付勢されるため、上述エンコード信号に対応する
8ビットの「選択コード」が発生され、データバス22
Aを介して、この選択コードはマイクロプロセッサ10
に入力されメモリ38の適当なロケーシヨンにストアさ
れる。この[アクノリッジ」動作が完了すると、ACK
は論理ゼロになり、マイクロプロセツサ10はその動作
ソフトウエアに従つて同一の選択コード(前に優先エン
コーダ20でつくられたもの)をバス22Aに与える。
(As described later, the output NO of the microprocessor 10
, Nl, N2, and MRD are decoded to create an "acknowledge" signal called ACK, and this signal NCR
This fulfills the "acknowledge" function described with reference to FIG. ) This signal ACK sets the 3-state buffers 16A, 16B, etc. to a high impedance output state, and the selection/request conductors 18A, 16B, etc.
18B etc. are electrically disconnected from the selection code decoder 28. NO{ is also input to all peripheral devices 112B, 112C, etc., and the above-mentioned interrupt signal from device 108 and Nσ
It is ANDed with K to provide an ``encode'' signal on the select/request conductor connected to that interrupt peripheral. This encoded signal is input to the appropriate input of priority encoder 20. Since the priority encoder 20 is also activated by this ACK signal, an 8-bit "selection code" corresponding to the encoded signal described above is generated, and the data bus 22
A, this selection code is sent to the microprocessor 10
and stored in an appropriate location in memory 38. When this [acknowledge] operation is completed, the ACK
becomes a logic zero, and microprocessor 10, in accordance with its operating software, provides the same selection code (previously created by priority encoder 20) on bus 22A.

更にマイクロプロセッサ10は「ロード選択コード」メ
ッセージを出力端子NO,Nl,N2,MRDに与え、
このメッセージがデコードされて「ロード選択コード」
信号(第3B図でWRDで示すもの)を導体24に与え
る。このロード選択コード信号により選択コードレジス
タ26が付勢されて上述の選択コードが該レジスタ内に
ロードされる。ついで選択コードは選択コードデコーダ
28にて即座にデコードされ、選択/要求導体40A,
40B等のひとつ(割込周辺装置駆動用の3ステートバ
ツフアの入力に接続されているもの)に論理゛1゛を与
える。
Furthermore, the microprocessor 10 provides a "load selection code" message to the output terminals NO, Nl, N2, MRD,
This message is decoded as "load selection code"
A signal (designated WRD in FIG. 3B) is applied to conductor 24. This load selection code signal energizes the selection code register 26 and loads the selection code described above into the register. The selection code is then immediately decoded by selection code decoder 28 and sent to selection/request conductor 40A,
40B etc. (the one connected to the input of the 3-state buffer for driving the interrupt peripheral device) is given logic "1".

ACKがゼロになつたところで全ての3ステートバツフ
ア16A,16B等は付勢状態にあるから、この論理゛
1”が割込周辺装置に接続されている選択/要求導体に
現われることになる。この時点で優先エンコーダ20の
出力はデータバス22Aの各導体から切り離されている
。このようにマイクロプロセツサ10は優先エンコーダ
20により以前につくられた選択コード(割込周辺装置
に応答してつくられる)と同一の選択コードを利用して
、引き続きその割込周辺装置の選択を行うものである。
割込周辺装置の選択がなされることにより、その割込周
辺装置は付勢されてデータバス22Aと割込周辺装置を
結合する適当な導体と通信可能になる。こうして、マイ
クロプロセツサ10は、アクセスされた割込サービスサ
ブルーチンに従つて、データバス22Aと割込周辺装置
を介して、割込周辺装置を機器108へ接続する適当な
導体に出力データを与えることができるようになる。あ
るいは、マイクロプロセッサ10は、機器108の適当
な導体からの情報を割込周辺装置とバス22を介して受
けとることができ、こうして最初の割込信号に応答して
機器108をサービスする。必要なら、マイクロプロセ
ツサ10は、機器108の上述のサービスの前、中、後
において第1図のプロセス制御コンピユータ102と(
周辺装置112Aを介して)通信することができる。
Since all three-state buffers 16A, 16B, etc. are in the energized state when ACK goes to zero, this logic "1" will appear on the select/request conductor connected to the interrupt peripheral. At this point, the output of priority encoder 20 is disconnected from each conductor of data bus 22A. Microprocessor 10 is thus configured to accept the selection code previously created by priority encoder 20 (which is generated in response to an interrupt peripheral). Then, the interrupt peripheral device is selected using the same selection code as the interrupt peripheral device.
The selection of an interrupt peripheral enables the interrupt peripheral to communicate with the appropriate conductor coupling data bus 22A to the interrupt peripheral. Thus, microprocessor 10 provides output data to the appropriate conductor connecting the interrupt peripheral to device 108 via data bus 22A and the interrupt peripheral in accordance with the accessed interrupt service subroutine. You will be able to do this. Alternatively, microprocessor 10 can receive information from the appropriate conductors of device 108 via the interrupt peripheral and bus 22 and thus service device 108 in response to the initial interrupt signal. If necessary, microprocessor 10 may be integrated with process control computer 102 of FIG.
peripheral device 112A).

割込周辺装置のサービスにおいて、マイクロプロセッサ
10で実行される割込サービスサブルーチンはメモリ3
8に記憶したテーブルから得られるアドレスによつてア
クセスされる。このストアされたテーブルは各種の選択
コード(優先エンコーダ20でつくられるもの)に対応
する全ての割込サービスサブルーチンのアドレスを有し
ている。したがつて割込サービスサブルーチンは、割込
周辺装置を両方向性データバスと通信可能にするための
選択情報を発生させる必要がない。この結果、ポール式
割込システムに比べてソフトウエアが簡単になる。さら
にこのアプローチにより、従来システム、すなわ、ち優
先エンコーダの出力をサービスサブルーチンのアドレス
発生用として使用し、サービスサブルーチンに割込周辺
装置の選択を行うアドレス情報を発生させる必要のある
システムに比べて、ハードウエア面でかなりの節約がで
きる。さらに、この技術により、割込周辺装置が必要と
するサービスサブルーチンのアドレスを発生するように
したシステムと比べて、ハードウエア面でかなりの節約
ができる。さて第3A図を参照するに、マイクロプロセ
ツサ10は「k局導体12に接続された割込入力、WA
IT入力、いくつ.かのタイミング出力TPA,TPB
およびメモリアドレスバス36(第1図のメモリ38に
結合している)、データバス導体DBO−DB7(22
Aで示す)および入力/出力命令を伝えるのに使用する
4つの出力信号(導体140,141,142,143
に与える出力NO,Nl,N2およびMRD(メモリ・
リード))を含む。
In servicing the interrupt peripheral, the interrupt service subroutine executed by the microprocessor 10 is stored in the memory 3.
It is accessed by the address obtained from the table stored in 8. This stored table contains the addresses of all interrupt service subroutines corresponding to various selection codes (those created by priority encoder 20). Therefore, the interrupt service subroutine does not need to generate selection information to enable the interrupt peripheral to communicate with the bidirectional data bus. This results in simpler software compared to polled interrupt systems. Additionally, this approach makes it easier to use this approach than conventional systems, where the output of the priority encoder is used to generate addresses for the service subroutine, and the service subroutine must generate address information for selecting interrupt peripherals. , there can be considerable savings in terms of hardware. Additionally, this technique provides significant hardware savings over systems where interrupt peripherals generate the addresses of the required service subroutines. Referring now to FIG. 3A, the microprocessor 10 has an interrupt input connected to the k-station conductor 12, WA
How many IT inputs? The timing output TPA, TPB
and memory address bus 36 (coupled to memory 38 in FIG. 1), data bus conductors DBO-DB7 (22
A) and four output signals (conductors 140, 141, 142, 143) used to convey input/output commands
Outputs NO, Nl, N2 and MRD (memory/
including lead)).

MRDはフリツプフロツプ60に入力され、フリップフ
ロツプ60は導体62にINPUTと呼ぶ信号を与える
MRD is input to flip-flop 60 which provides a signal on conductor 62 called INPUT.

INPUTが論理゛1”のとき、゛I/O読取゛命令が
実行され、論理゛O”のときにばI/O書込゛命令が実
行される。第3A図に示す他の論理ゲートにてNO,N
l,N2、およびMRDがデコードされ7つのI/0読
取命令と7つのI/O書式命令の実行をなしとげるのに
必要な信号が発生される。
When INPUT is logic ``1'', an ``I/O read'' instruction is executed, and when INPUT is logic ``O'', an I/O write instruction is executed. NO, N in other logic gates shown in Figure 3A
1, N2, and MRD are decoded to generate the signals necessary to accomplish the execution of the seven I/O read commands and seven I/O format commands.

NO,Nl,N2がすべてゼロの場合はI/0命令を表
わしていないのでI/O命令とじ(のデコードは行われ
ない。さらに第3A図を参照するに、NO,Nl,N2
のいろいろな組合せに対応する信号10RD(Inpu
t/0utputread)、GRD(Gatedre
ad)、GWR(Gatedwrite)および10W
R(Input/0utputwrite)がそれぞれ
導体82,84,86,88につくられる。NORゲー
ト74と76に入力されるDVEN(Deviceen
able)入力は第4図に示すフリツプフロツプ48、
NORゲート54、ダイオード52、NANDゲート5
6と相似の回路(第4図のこの回路は各周辺装置ごとに
2重にあり、これによつて第3A図のDVEN信号が与
えられる)によつてつくられる。第3B図はNO,Nl
,N2を別途デコードして導体14′に要求アクノリッ
ジ信号ACKを、導体24にWRDV(Writede
vice:選択コードが第2図の選択コードレジスタ2
6に入力可能にする付勢信号として使用される)を与え
る回路を示している。
If NO, Nl, N2 are all zero, it does not represent an I/0 instruction, so the I/O instruction is not decoded.Furthermore, referring to FIG. 3A, NO, Nl, N2
Signal 10RD (Inpu
t/0putputread), GRD (Gatedre
ad), GWR (Gatedwrite) and 10W
R (Input/0outputwrite) are created on conductors 82, 84, 86, and 88, respectively. DVEN (Deviceen) input to NOR gates 74 and 76
(able) input is a flip-flop 48 shown in FIG.
NOR gate 54, diode 52, NAND gate 5
6 (this circuit of FIG. 4 is duplicated for each peripheral, thereby providing the DVEN signal of FIG. 3A). Figure 3B shows NO, Nl
, N2 are separately decoded and the request acknowledge signal ACK is sent to the conductor 14', and the WRDV (Write
vice: The selection code is the selection code register 2 in Figure 2.
6, which is used as an energizing signal to enable input.

その他の多くの信号(番号96で示す)もNO,N2,
MRDのデコーデイングによりつくられるがこれらの信
号96は本発明とは無関係であるので詳細なロジックは
示さない。第3C図および第3D図の一部206を参照
すると、第2図の優先エンコーダ20は4つのモトロー
ラMCl4532Bエンコーダ150,152,153
及び154を含む。各MCl4532Bエンコーダは8
つの人力とひとつの付勢入力を有する。
Many other signals (indicated by number 96) also include NO, N2,
Although generated by MRD decoding, these signals 96 are not relevant to the present invention, so detailed logic is not shown. 3C and portion 206 of FIG. 3D, the priority encoder 20 of FIG. 2 includes four Motorola MCl4532B encoders 150, 152, 153.
and 154. Each MCl4532B encoder has 8
It has two human power inputs and one energizing input.

エンコーダ150と152は番号18およびIOSO−
10S15(第3D図参照)で示す16の選択/要求ラ
インを受ける。エンコーダ153と154はGZO−G
Zl5(同じく第3D図参照)で示す選択/要求ライン
を受ける。各エンコーダ150−154はQO,Ql,
Q2,GSで示す4つの出力を有する。DO−D7入力
のいずれかとそのエンコーダの付勢入力ENが論理゛1
゛の場合にGS出力が論理11゛となる。エンコーダ1
53と154のGS出力はNORゲート166に入力さ
れる。NORゲート166の出力はインバータ168の
入力に接続される。インバータ168の出力は非反転3
ステートバツフア170の入力に、その出力はDB3に
接続される。NORゲート160,162,164の入
力はそれぞれエンコーダ150,152,153,15
4のQO,Ql,Q2出力に接続される。NORゲート
160,162,164およびインバータ168の出力
によつて下位の4つのビットDBO,DBl,DB2お
よびDB3を表わす装置番号の選択コードがつくられる
Encoders 150 and 152 are numbered 18 and IOSO-
10S16 (see Figure 3D) receives 16 selection/request lines. Encoders 153 and 154 are GZO-G
A selection/request line designated Zl5 (also see Figure 3D) is received. Each encoder 150-154 has QO, Ql,
It has four outputs denoted Q2 and GS. Either DO-D7 input and its encoder's energization input EN are at logic ``1''.
In the case of ', the GS output becomes logic 11'. encoder 1
The GS outputs of 53 and 154 are input to a NOR gate 166. The output of NOR gate 166 is connected to the input of inverter 168. The output of inverter 168 is non-inverted 3
The input of state buffer 170 and its output are connected to DB3. The inputs of NOR gates 160, 162, 164 are encoders 150, 152, 153, 15, respectively.
Connected to the QO, Ql, and Q2 outputs of 4. The outputs of NOR gates 160, 162, 164 and inverter 168 create a device number selection code representing the lower four bits DBO, DB1, DB2 and DB3.

この装置番号用の選択コードは、インバータ186の出
力ゲートが論理゛1”になつたときにデータバス22の
下位の4つのビットとして送られる。インバータ186
の出力の゛1”の条件は0Rゲート178のGS入力の
いずれかが゛1”の場合、すなわち信号10S0−10
S15、あるいはGZO−GZl5のうちのいずれかひ
とつが論理゛1゛の場合(すなわち32の周辺装置のい
ずれかが割込信号を受けとつてACKにより付勢された
場合)に生じる。データバス22Aの上位の4ビットで
表わされるI/Oサブシステム番号用の選択コードは、
第3C図のNORゲート158(これは導体120にF
SD(Fileswitchdrive)を発生する)
と第3D図の回路206とによつてつくられる。
The selection code for this device number is sent as the lower four bits of data bus 22 when the output gate of inverter 186 goes to logic "1".
The condition for the output of ``1'' is when any of the GS inputs of the 0R gate 178 is ``1'', that is, the signal 10S0-10
This occurs when any one of S15 or GZO-GZl5 is logic "1" (that is, when any of the 32 peripheral devices receives an interrupt signal and is activated by ACK). The selection code for the I/O subsystem number represented by the upper 4 bits of the data bus 22A is:
NOR gate 158 in FIG. 3C (which connects conductor 120 to F
SD (Fileswitchdrive) is generated)
and circuit 206 of FIG. 3D.

第3D図を参照するに、回路206は4つの3ステート
非反転バッフア208,210,212,214を含み
、それらの出力がDB7,DB6,DB5,DB4にそ
れぞれ接続されている。3ステートバッフア208,2
10,212,214の入力はコンパレータ190の入
力198,200,202,204の入力に夫々接続さ
れる。
Referring to FIG. 3D, circuit 206 includes four 3-state non-inverting buffers 208, 210, 212, and 214 whose outputs are connected to DB7, DB6, DB5, and DB4, respectively. 3-state buffer 208,2
Inputs 10, 212, and 214 are connected to inputs 198, 200, 202, and 204 of comparator 190, respectively.

コンパレータ190は後述するように選択コードデコー
ダの一部を成す。コンパレータ190はモトローラMC
l4585コンパレータで構成できる。各入力198,
200,202,204は抵抗を介してアースされてお
り、さらに番号196で示す4つの[ストラツピングス
イツチ」の各接点に接続されており、各接点の相手方は
上述したFSD信号を受けとる導体120に接続されて
いる。4つのストラツピングスイツチ196は、1/O
サブシステムを選択するために第1図のプロセス制御コ
ンピユータ102から送られてくる情報に応答すべくマ
イクロプロセツサ10によりDB4−DB7につくられ
る上述した4ビットの1/Oサブシステムの選択コード
番号のひとつを「認知(RecOgnize)」するよ
うに設定される。
Comparator 190 forms part of a selection code decoder as described below. Comparator 190 is Motorola MC
It can be configured with l4585 comparator. Each input 198,
200, 202, and 204 are grounded through resistors, and are further connected to the contacts of four "strapping switches" indicated by the number 196, and the other end of each contact is the conductor 120 that receives the above-mentioned FSD signal. It is connected to the. The four strapping switches 196 are 1/O
The aforementioned 4-bit 1/O subsystem selection code number is created in DB4-DB7 by microprocessor 10 in response to information sent from process control computer 102 of FIG. 1 to select a subsystem. It is set to "Recognize" one of the following.

第3C図のNORゲート158は、信号GZSOGZS
l5(第3D図)を受けとる周辺装置の一つによりつく
られたエンコード信号が存在する場合に、割込要求信号
に応じてのアクノリッジ動作期間中に論理゛O”を発生
する。これにより、第3D図の3ステートバツフア20
8,210,212,214の入力198,200,2
02,204が強制的にアースされる。導体118のD
IS信号により3ステートバツフア208,210,2
12,214が付勢され、上述した「アクノリツジ」動
作期間中DB4−DB7にゼロを与える。他の時間では
、FSDは常に論理61゛にあり、ストラツピングスイ
ツチ196によりセツトされた状態が、DISが論理1
F゛のときにデータバス22の上位の4ビツトに送られ
る。
NOR gate 158 in FIG. 3C outputs signal GZSOGZS.
15 (Figure 3D) generates a logic ``O'' during the acknowledge operation in response to the interrupt request signal. 3D diagram 3-state buffer 20
8,210,212,214 input 198,200,2
02,204 are forcibly grounded. D of conductor 118
3-state buffer 208, 210, 2 by IS signal
12,214 is energized to provide zeros to DB4-DB7 during the "acknowledge" operation described above. At other times, FSD is always at logic 61' and the state set by strapping switch 196 is such that DIS is at logic 1.
When the signal is F, it is sent to the upper four bits of the data bus 22.

こうして、優先エンコーダ20によりデータバス22の
ビツトDBO−DB7に出力された信号は、アクノリッ
ジ動作における最高位の優先割込周辺装置のロケーシヨ
ンを表わすことになる。さらに第3D図を参照するに、
選択コードレジスタ26(第2図)の下位の4ビツトと
選択コードデコーダ28(第2図)の下位の4ビツトは
モトローラMCl45l4B4ビットラッチ/4−TO
一16ラインデコーダ192(第3D図)(これが両方
向性バスのビツトDBO−DB3をデコードして16の
出力SO−Sl5をつくる)を用いることによつて実現
できる。
Thus, the signal output by priority encoder 20 on bits DBO-DB7 of data bus 22 represents the location of the highest priority interrupt peripheral in the acknowledge operation. Further referring to Figure 3D,
The lower 4 bits of the selection code register 26 (Fig. 2) and the lower 4 bits of the selection code decoder 28 (Fig. 2) are the Motorola MCl45l4B 4-bit latch/4-TO.
This can be accomplished by using a 16-line decoder 192 (FIG. 3D) which decodes bits DBO-DB3 of the bidirectional bus to produce 16 outputs SO-S15.

16の出力SO−Sl5の各々は2つの3ステート非反
転バッフア(例えば16Aと160B、160Aと16
Bというように)の入力に接続される。
Each of the 16 outputs SO-Sl5 is connected to two 3-state non-inverting buffers (e.g. 16A and 160B, 160A and 16
B and so on).

第1のグループの3ステート非反転バッフアは導体23
8によつて付勢される。導体238は信号10SとAC
KのAND信号を発生する。第1グループの3ステート
バツフアの出力は、IOSOlOSl5で示してあり、
第1図の周辺装置112A,112B・・・・・・・・
・112Cのグループに含まれた前述の第2グループ即
ちハブリックグループの夫々の入力を付勢又は選択する
ように接続される。
The first group of 3-state non-inverting buffers is connected to conductor 23.
8. Conductor 238 is connected to signal 10S and AC
Generate a K AND signal. The output of the first group of 3-state buffers is shown as IOSOlOSl5,
Peripheral devices 112A, 112B in Fig. 1...
- Connected to energize or select each input of the aforementioned second group, ie, the hub group, included in the group 112C.

第2グループの3ステート・バツフアは導体240の信
号によつてゲートされる。導体240の信号はACKと
ノード230に与えられるGZS信号とのAND信号で
ある。第2グループの3ステートバッフアの出力は、G
ZSOGZSl5で示してあり、第1図の周辺装置11
2A,112B・・・・・・・・・112Cのグループ
に含まれた前述の第1グループ即ちプライベート(又は
オーバーヘツド)グループの周辺装置の夫夫の入力を付
勢又は選択するように接続される。導体10S0−10
S15とGZSO−GZSl5により、第2図の番号1
8で示す32の選択/要求導体が構成される。ノード2
30のGZS信号は、データバス22Aの上位の4ビッ
トDB4−DB7が論理“0”でかつWRD信号が発生
して第3D図のフリツプフロツブ218が論理1F゛を
発生するノことによつて与えられる。
A second group of three-state buffers is gated by a signal on conductor 240. The signal on conductor 240 is an AND signal of ACK and the GZS signal applied to node 230. The output of the second group of 3-state buffers is G
It is indicated by ZSOGZSl5 and is the peripheral device 11 in FIG.
2A, 112B, . Ru. Conductor 10S0-10
With S15 and GZSO-GZSl5, number 1 in Figure 2
Thirty-two select/request conductors, designated 8, are configured. node 2
The GZS signal of 30 is provided by the fact that the upper 4 bits DB4-DB7 of the data bus 22A are logic "0" and the WRD signal is generated so that the flip-flop 218 of FIG. 3D generates the logic 1F. .

DB4−DB7が全て論理゛O゛の場合、マイクロプロ
セツサ10は導体240によつて付勢される第2グルー
プの3ステートバッフアの出力に接続された周辺装置の
グループをアクセスすることができる。任意してもらい
たいことは、後述するようにプロセス制御コンピユータ
102はこのプライベートグループの周辺装置とは決し
て通信を許可されないということである。さらに第3D
図を参照するに、第2図の選択コードレジスタ26の上
位4ビットDB4−DB7はコンパレータ190にて「
デコード」され、DB4DB7がストラツピングスイツ
チ196により設定されたコードと一致しているかどう
かの判定が行われる。一致する場合には、フリツプフロ
ツプ192/に論理゛1”がストアされ導体194に信
号10Sが発生する。これにより、導体238に接続さ
れた第1グループの3ステートバッフアが、アクノリッ
ジ動作が行なわれていないときに付勢される。こうして
、プロセス制御コンピユータ102は、そのI/Oサブ
システム番号を特定することにより第2グループ即ちハ
ブリックグループの周辺装置の内の1つの周辺装置を選
択することができる。これにより、通信バスに接続され
るI/Oサブシステムの一つを特定する。プロセス制御
コンピユータは、さらに、下位の4ビットDBO−DB
3を特定し、これによりその選定したI/Oサブシステ
ムの第2グループ即ちハブリックグループの周辺装置内
の16の周辺装置のうちのひとつが選択される。しかし
、DB4DB7がすべて論理゛0゛の場合には、各1/
0サブシステムの第1グループ即ちプライベートグルー
プの周辺装置がそのI/0サブシステムの各マイクロプ
ロセツサ10のみによつて選択可能となる。
When DB4-DB7 are all logic 'O', microprocessor 10 can access the group of peripherals connected to the outputs of the second group of three-state buffers energized by conductor 240. . Optionally, process control computer 102 is never allowed to communicate with any peripherals in this private group, as will be discussed below. Furthermore, the 3rd D
Referring to the figure, the upper 4 bits DB4-DB7 of the selection code register 26 in FIG.
Then, it is determined whether DB4DB7 matches the code set by the strapping switch 196. If there is a match, a logic ``1'' is stored in flip-flop 192/ and a signal 10S is generated on conductor 194. This causes the first group of three-state buffers connected to conductor 238 to perform an acknowledge operation. Thus, process control computer 102 can select one of the second group of peripheral devices by identifying its I/O subsystem number. This identifies one of the I/O subsystems connected to the communication bus.The process control computer also uses the lower 4 bits DBO-DB
3, thereby selecting one of the 16 peripherals in the second group, or hub group, of the selected I/O subsystem. However, if all DB4DB7 are logic 0, each 1/
The first or private group of peripherals of the I/O subsystem is selectable only by each microprocessor 10 of that I/O subsystem.

第グループ即ちプライベートグループの周辺装置は[オ
ーバーヘツド」周辺装置とも称されるものである。この
オーバーヘツド周辺装置は、制御プロセツサ102から
の情報なしでI/Oサブシステム内の個々のマイクロプ
ロセツサ10により作動され得るものである。本発明の
このような構成により、プロセス制御コンピユータがア
クセスしていない全てのI/0サブシステムにおいて、
それらのマイクロフロセッサが同時にそれらのプライベ
ート(又はオーバーヘッド)周辺装置をアクセスして、
種々のオーバーヘツド機能又は・・ウスキーピング機能
を実行することが可能となる。
The peripherals in the first or private group are also referred to as "overhead" peripherals. This overhead peripheral can be operated by an individual microprocessor 10 within the I/O subsystem without information from the control processor 102. With this configuration of the present invention, in all I/O subsystems that are not accessed by the process control computer,
Those microprocessors can access their private (or overhead) peripherals at the same time,
It is possible to perform various overhead functions or . . . uskeeping functions.

第6図は、第1図に示すプロセス制御コンピユータ10
2等の制御コンピユータと、関連する複数のI/Oサブ
システム(第1図の106,109,110等)につい
ての入力/出力アドレスマップを示してある。
FIG. 6 shows the process control computer 10 shown in FIG.
Input/output address maps are shown for a control computer such as 2 and associated I/O subsystems (such as 106, 109, 110 in FIG. 1).

I/Oアドレスマツプ305はプロセス制御コンピユー
タによりアクセス可能なI/0アドレスを表わしている
。図示の1/Oアドレスマツプ305は308,309
,311等で示す15のI/O装置グループのアドレス
を含む。マツプ305の「セクシヨン](例えば、30
8,309,311)には夫々1、2・・・・・・・・
・15の番号を付しているが、これらは夫々、装置グル
ープ(各グループは第1図の112B,112C等16
までのI/O周辺装置を含む)のひとつひとつに対応し
ている。1/Oサブシステムの″″POssibleI
/0maps301と303の各々のグループゼロの部
分(60゛を付してある)はそのI/Oサブシステムの
マイクロプロセツサ10によつてアクセス可能な「プラ
イベートI/Oアドレス・スペース」に対応しており、
これは後述するようにプロセス制御コンピユータがアク
セス不能な部分である。
I/O address map 305 represents I/O addresses accessible by the process control computer. The illustrated 1/O address map 305 is 308, 309.
, 311, etc., including addresses of 15 I/O device groups. “Section” of map 305 (for example, 30
8,309,311) have 1, 2, etc. respectively.
・These are numbered 15, but these are device groups (each group is 16, such as 112B, 112C, etc. in Figure 1).
(including I/O peripheral devices up to). 1/O subsystem ″″POssibleI
The group zero portion (labeled 60) of each of /0maps 301 and 303 corresponds to a "private I/O address space" accessible by the microprocessor 10 of that I/O subsystem. and
This is a part that cannot be accessed by the process control computer, as will be described later.

制御プロセツサ102によりアクセス可能な1/Oアド
レススペースは「ハブリックI/0アドレススペース」
というが、これらは機器108の通常の運転時における
制御プロセツサと機器108とのやりとりを行うのに用
いられる周辺装置(例えばリレー、デジタル/アナログ
変換器、アナログ/デジタル変換器等)に対応する。「
プライベートI/0アドレス・スペース」にはプログラ
ム可能な電源、フラグレジスタ等の素子や制御コンピユ
ータ102による参加の必要はないがマイクロプロセッ
サによる通常参加のある種類の素子が含まれる。各マイ
クロプロセツサ10は上述の「ハブリックI/0アドレ
ス・スペース」内のオーバーヘッド周辺装置を周期的に
アドレスして、「ハウス・キーピング」タスク(それ自
身のI/Oサブシステム内のフラツグのセツトやタイマ
ーのサービス等)等をプロセス制御コンピユータ102
からのコマンドなしに実行する能力も有する。
The 1/O address space that can be accessed by the control processor 102 is the "Hublic I/0 address space".
However, these correspond to peripheral devices (eg, relays, digital-to-analog converters, analog-to-digital converters, etc.) that are used to interact with the control processor and the device 108 during normal operation of the device 108. "
The "private I/0 address space" includes elements such as programmable power supplies, flag registers, and other types of elements that do not require participation by the controlling computer 102 but typically involve a microprocessor. Each microprocessor 10 periodically addresses overhead peripherals within the ``hub I/O address space'' described above to perform ``housekeeping'' tasks (setting flags within its own I/O subsystem). (timer services, etc.), etc., are provided by the process control computer 102.
It also has the ability to execute without commands from.

その間、プロセス制御コンピユータ102はI/Oサブ
システムの他のものをアクセスしている。注目すべきこ
とは、第1図のシステムのアドレス・スペースには2つ
の種類、すなわち一方はメモリ38のアドレスを表わす
もの、他方は第1図の106,109,110等のI/
Oサブシステムの夫々のI/0周辺装置112B,11
2C等のI/Oアドレスを表わすものの2種類があると
いうことである(他のコンピユータでは、この代りにそ
のメモリアドレス・スペース内にI/Oアドレスを含み
、I/O周辺装置はメモリ内の場所と同様なしかたでア
ドレスされる)。
Meanwhile, process control computer 102 is accessing the rest of the I/O subsystem. It should be noted that there are two types of address spaces in the system of FIG.
O subsystem's respective I/0 peripheral devices 112B, 11
(Other computers instead include I/O addresses in their memory address space, and I/O peripherals have two types of representations of I/O addresses, such as 2C.) (addressed in the same way as a place).

第6図の/Oサブシステム1,2・・・・・・・・・等
の各々は、実際には、32の周辺装置をアクセスできる
だけであり、この32の周辺装置には第6図の各1/0
アドレスマップの装置グループ0に含まれる第1グルー
プの16の[プライベート即ちオーバーヘッド]周辺装
置と、第3D図のストラツピングスイツチ196の設定
により定められる15の残りの装置グループのひとつに
おける第2グループの16のハブリック周辺装置とを含
む。
Each of the /O subsystems 1, 2, etc. in FIG. 6 can actually only access 32 peripheral devices, and these 32 peripheral devices include the 1/0 each
A first group of 16 [private or overhead] peripherals included in device group 0 of the address map and a second group in one of the 15 remaining device groups defined by the setting of strapping switch 196 in FIG. 3D. 16 hublic peripherals.

第6図では、I/0アドレスマツプ301のセクシヨン
308と、I/Oアドレスマツブ303のセクシヨン3
11には斜線をほどこして、対応する周辺装置が第1図
のマイクロコンピユータ(10A等)によりアクセス可
能であることを示してある。1/0アドレスマップの他
のセクシヨンは第3D図のストラツピングスイツチの設
定を変えることによつて初めてマイクロコンピユータ1
0A(第1図)によつてアクセスすることの可能な周辺
装置グループを示してある。
In FIG. 6, section 308 of I/O address map 301 and section 3 of I/O address map 303 are shown.
11 is shaded to indicate that the corresponding peripheral device is accessible by the microcomputer (such as 10A) of FIG. Other sections of the 1/0 address map can only be accessed by microcomputer 1 by changing the strapping switch settings shown in Figure 3D.
A peripheral group accessible by 0A (FIG. 1) is shown.

したがつてI/0アドレスマツプ301,303の各々
は、実際には、対応するI/Oサブシステムの対応する
マイクロコンピユータ10Aの[起こり得るI/Oアド
レススペース」を表わしているのである。したがつて、
簡単にいうと、第6図の各1/0アドレスマツプについ
て、グループ10゛のセクシヨン307は対応するI/
Oサブシステムの「プライベート周辺装置アドレス・ス
ペース」を表わし、各1/Oサブシステムの残りの15
のセクシヨンのひとつ(例えばマツプ301のセクシヨ
ン308)の斜線のついたのが対応するI/0サブシス
テムの「ハブリックアドレス・スペース」を表わしてお
り、残りのセクシヨンは第3D図のストラツピングスイ
ツチ196の設定を変えた場合に対応する。以下に、図
面について前述した要素により、第6図のアドレスマッ
プに相当するシステム動作がなされることを説明する。
Therefore, each of the I/O address maps 301, 303 actually represents the "possible I/O address space" of the corresponding microcomputer 10A of the corresponding I/O subsystem. Therefore,
Briefly, for each 1/0 address map in FIG.
Represents the ``private peripheral address space'' of the O subsystem and the remaining 15 of each 1/O subsystem.
The shaded section of one of the sections (for example, section 308 of map 301) represents the "hub address space" of the corresponding I/0 subsystem, and the remaining sections are the strapping sections of Figure 3D. This corresponds to the case where the setting of switch 196 is changed. In the following, it will be explained that the elements described above with respect to the drawings perform a system operation corresponding to the address map of FIG. 6.

まず、NORゲート216、フリップフロップ218を
含む第3D図の回路と、第3B図の回路につき、WRD
が発生していてフリツプフロツプ218に与えられノー
ド230にGZS信号が発生しており、第3D図のNA
NDゲート236とにより、導体240に付勢信号が発
生し、デコーダ192を付勢して、選択信号GZSO−
GZSl5を受ける上述した16の「オーバーヘツド」
I/0周辺装置のひとつの選択をする。
First, for the circuit shown in FIG. 3D including the NOR gate 216 and the flip-flop 218, and the circuit shown in FIG.
is generated, a GZS signal is generated at the node 230 which is applied to the flip-flop 218, and the NA in FIG.
ND gate 236 generates an energizing signal on conductor 240, energizing decoder 192 and outputting select signal GZSO-.
The above-mentioned 16 “overheads” receiving GZSl5
Select one of the I/0 peripherals.

従つてDB4−DB7がWRD時に全て論理1『゛でな
ければ、第2図のマイクロプロセッサ10はこの16の
「オーバーヘッド」周辺装置をアクセスすることができ
ない。(前述したように、第1図のプロセス制御コンピ
ユータ102はマイクロプロセツサ10にI/Oアドレ
ス情報を入力することによつて常に周辺装置に間接的に
アドレスしているのであるから、コンピユータ102は
常時16の「オーバーヘツド」周辺装置から切り離され
ている。また、DB4−DB7が全て60″の場合には
マイクロプロセツサ10は制御プロセツサ102からの
すべてのI/0アドレスを無視するようにプログラムさ
れている。すなわち、マイクロプロセッサ10で実行さ
れる記憶プログラムが制御プロセツサ102から通信バ
ス104(第1図)を介して送られてくるのと同一のア
ドレスコードを出力した場合に、マイクロプロセツサ1
0はアドレスされたI/Oサブシステムのアドレスされ
た周辺装置を直接アクセスする。)(マイクロプロセツ
サがプロセス制御コンピユータ102から送られてくる
のと同一のI/0アドレスコードを出力しているとする
と)図面に関して前述したところの要素によつて、その
I/0サブシステムはプロセス制御コンピユータ102
からの「オーバーヘツド」周辺装置をアクセスせよとい
う要求を無視することになる。しかし、マイクロプロセ
ツサ10が(第3D図のNORゲート216から得られ
るGZS信号により付勢されている)「オーバーヘッド
」周辺装置をアクセスしたい場合であつてそのI/0サ
ブシステムがプロセス制御コンピユータ102によつて
選択されたI/0サブシステムでない場合には、マイク
ロプロセッサ10はDB4−DB7に6ゼロ1を出力し
、DB4−DB7が全て″0゛のときにGZSO−GZ
Sl5を受けとる周辺装置を付勢することになる(″グ
ループ0゛状態)。DBODB3で定められる周辺装置
の特定の一つがついでマイクロプロセツサ10にてアド
レスされることになる。このように、各1/0サブシス
テムの上述した回路は共働し、そのI/Oサブシステム
のマイクロプロセッサ10中の第6図のマップ301と
303で番号0で示す「プライベート1/Oアドレスス
ペース」の存在を保証している。ストラッピング・スイ
ツチ196の設定により定められるところの、残りの1
5の周辺装置グループ(番号1−15)のひとつを、マ
イクロプロセッサ10にアクセスさせる回路により、第
6図のアドレスマップ301の斜線付セクシヨン308
、アドレスマツプ303の斜線付セクシヨン311が確
定される。マイクロプロセッサ10はストラツピングス
イツチ196の状態を読みとる能力も有しているから、
マイクロプロセツサ10はプロセスコンピユータ102
からのコマンドないしアドレスに応答すべきか否かを判
断できる。
Therefore, unless DB4-DB7 are all logic 1's during WRD, the microprocessor 10 of FIG. 2 cannot access these 16 "overhead" peripherals. (As mentioned above, since the process control computer 102 of FIG. 1 always indirectly addresses peripheral devices by inputting I/O address information to the microprocessor 10, the computer 102 The microprocessor 10 is also programmed to ignore all I/0 addresses from the control processor 102 when DB4-DB7 are all 60''. In other words, if the stored program executed by the microprocessor 10 outputs the same address code as that sent from the control processor 102 via the communication bus 104 (FIG. 1), the microprocessor 1
0 directly accesses the addressed peripheral of the addressed I/O subsystem. ) (assuming that the microprocessor is outputting the same I/0 address code as that sent by process control computer 102). Process control computer 102
will ignore requests to access ``overhead'' peripherals from However, if microprocessor 10 wishes to access an "overhead" peripheral (energized by the GZS signal obtained from NOR gate 216 in FIG. 3D) and its I/O subsystem is connected to process control computer 102, , the microprocessor 10 outputs 6 zeros 1 to DB4-DB7, and when DB4-DB7 are all "0",
The peripheral device receiving Sl5 will be activated (“Group 0” state). A particular one of the peripheral devices defined by DBODB3 will then be addressed in the microprocessor 10. In this way, each The circuits described above for the 1/0 subsystem work together to detect the existence of a "private 1/O address space" in the microprocessor 10 of that I/O subsystem, indicated by the number 0 in maps 301 and 303 of FIG. Guaranteed. the remaining one as determined by the setting of strapping switch 196.
A circuit that allows microprocessor 10 to access one of the peripheral device groups (numbered 1-15) of FIG.
, the hatched section 311 of the address map 303 is determined. Since the microprocessor 10 also has the ability to read the state of the strapping switch 196,
The microprocessor 10 is a process computer 102
It can be determined whether or not to respond to a command or address from.

(4つのストラツピングスイツチ196は上述したプラ
イベート1/0アドレススペースに含まれる)。第3D
図の上述した回路(ストラッピングスイッチ196を含
む回路)にてつくられるIOS信号、ノード238の付
勢信号、GZS信号、ノード240の対応する付勢信号
は、ハードウエアとソフトウエアについて変更すること
なく、プロセス制御コンピユータ102による[選択」
をより大きなシステムにおける全ての同一構成のI/0
サブシステム(第1図の106,109,110)にも
適用できる。
(The four strapping switches 196 are included in the private 1/0 address space mentioned above). 3rd D
The IOS signal, the energizing signal of node 238, the GZS signal, and the corresponding energizing signal of node 240 generated by the circuit described above in the figure (the circuit including the strapping switch 196) may be changed in terms of hardware and software. [selection] by the process control computer 102
all identically configured I/0s in a larger system
It can also be applied to subsystems (106, 109, 110 in FIG. 1).

したがつて全プロセス制御システムの全/Oサブシステ
ムは「オーバーヘッド]周辺装置について同一のI/O
アドレススペース、関連する回路およびソフトウエアを
使用することができる。
Therefore, all the I/O subsystems of the entire process control system have the same I/O for "overhead" peripherals.
Address spaces, associated circuitry and software may be used.

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

第1図は業プロセス制御システムのプロツク図、第2図
は第1図のプロセス制御システムの1/Oサブシステム
のプロック図、第3A図は第2図のI/Oサブシステム
のマイクロプロセツサと制御信号発生回路の部分ロジッ
ク図、第3B図は第3A図のマイクロプロセッサでつく
られたアクノリッジ信号をデコードする回路を示す部分
ロジツク図、第3C図は第2図の優先エンコーダの一部
を示す部分ロジック図、第3D図は第2図の優先エンコ
ーダの一部と第2図の選択コードデコーダおよび関連す
る3ステートバッフアを示す部分ロジツク図、第4図は
マイクロプロセツサからのアクノリッジ信号をデコード
し、割込周辺装置と優先エンコーダとの通信および選択
した周辺装置とデータバスとの通信を可能にする周辺装
置に関する回路を示す部分ロジツク図、第5図は第2図
のマイクロプロセツサのプロック図、第6図は第1図の
システムの/Oサブシステム内のマイクロプロセツサ及
びプロセス制御コンピユータのメモリマツプ図である。
Figure 1 is a block diagram of the industrial process control system, Figure 2 is a block diagram of the 1/O subsystem of the process control system of Figure 1, and Figure 3A is the microprocessor of the I/O subsystem of Figure 2. FIG. 3B is a partial logic diagram showing a circuit for decoding the acknowledge signal generated by the microprocessor in FIG. 3A, and FIG. 3C is a partial logic diagram showing a part of the priority encoder in FIG. 2. FIG. 3D is a partial logic diagram showing a portion of the priority encoder of FIG. 2, the selection code decoder of FIG. 2 and associated three-state buffer, and FIG. 5 is a partial logic diagram illustrating the circuitry associated with the peripherals that enable communication between the interrupt peripheral and the priority encoder and between selected peripherals and the data bus. FIG. 6 is a memory map diagram of the microprocessor and process control computer in the /O subsystem of the system of FIG.

Claims (1)

【特許請求の範囲】 1 制御コンピュータ102と複数の入力/出力サブシ
ステム106、109、110とを含む制御システム1
00を作動させる方法において、前記複数の入力/出力
サブシステムの夫々は第1グループ及び第2グループの
周辺装置112A、112B、112Cを含んでいてこ
れらは前記制御コンピュータ102を機器システム10
8の入力素子及び/又は出力素子へ結合して前記周辺装
置の種々のもののアクセスを生ぜしめ、また前記入力/
出力サブシステムの夫々はマイクロコンピュータ10A
と第1グループの導体DB0−DB3及び第2グループ
の導体DB4−DB7を有する内部バス22Aとを備え
ており、前記方法が、(a)第1グループの周辺アドレ
スビットDB0−DB3及び第2グループの周辺アドレ
スビットDB4−DB7を前記制御コンピュータ102
から前記複数の入力/出力サブシステム内の前記マイク
ロコンピュータ10Aへ伝送する段階、(b)前記入力
/出力サブシステムの夫々の前記内部バス22Aの第1
のグループの導体221、222、223、224及び
第2グループの導体225、226、227、228の
夫々に沿つて各前記マイクロコンピュータから前記第1
グループの周辺アドレスビットDB0−DB3及び前記
第2グループの周辺アドレスビットDB4−DB7を伝
送する段階であつて、前記第2グループの周辺アドレス
ビットDB4−DB7は、第1所定コードとは異なつた
情報を含むこと、(c)前記第2グループの周辺アドレ
スビットDB4−DB7が前記複数の入力/出力サブシ
ステムの第1の入力/出力サブシステム内に記憶された
第2所定コード196と一致する場合、前記第1の入力
/出力サブシステム内の前記第2グループの周辺装置を
選択して前記第1入力/出力サブシステムの前記マイク
ロコンピュータによりアクセスされるようにする段階で
あつて、前記第2所定コードは前記第1所定コードとは
異なつていること、(d)前記第1入力/出力サブシス
テム内の前記第2グループの周辺装置の内前記第1グル
ープの周辺アドレスビットDB0−DB3により決定さ
れる1つの周辺装置をアクセスする段階、(e)前記第
1入力/出力サブシステムの前記マイクロコンピュータ
10から前記第1所定コードを含むビットグループDB
4−DB7を第2の入力/出力サブシステムの前記内部
バス22Aの前記第2グループの導体225、226、
227、228に沿つて伝送する段階、(f)前記第1
所定コードを含む前記の伝送されたビットグループDB
4−DB7に応答して前記第2の入力/出力サブシステ
ム内の前記第1グループの周辺装置を選択する段階、及
び(g)前記第2の入力/出力サブシステムの前記マイ
クロコンピュータ10により伝送される任意の第1グル
ープの周辺アドレスビットDB0−DB3により決定さ
れかつ前記第2の入力/出力サブシステムの前記第1グ
ループ内にあるところの前記周辺装置の1つをアクセス
する段階、から成る作動方法。 2 入力素子及び/又は出力素子を有する機器システム
108を制御する制御システムであつて、該制御システ
ムが、(a)制御プログラムの命令を実行して前記機器
システム108を制御する制御プロセッサ102、(b
)複数の入力/出力サブシステム106、109、11
0であつて、各該入力/出力サブシステムは前記素子と
前記制御プロセッサとの間の情報伝送を生ぜしめるため
前記機器システムへ結合されており、かつ各前記入力/
出力サブシステムが下記のものを含むこと、(イ)マイ
クロコンピュータ10、 (ロ)前記素子の種々のものに結合された第1グループ
及び第2グループの周辺装置、(ハ)前記マイクロコン
ピュータ10により出力されるアドレス情報を復号して
前記周辺装置を選択するデコード手段28、192、(
ニ)第1グループの導体221、222、223、22
4及び第2グループの導体225、226、227、2
28を含んでおり前記マイクロコンピュータ10からの
アドレス情報を前記デコード手段192へ伝送する内部
バス手段22A、(ホ)第1グループの周辺装置アドレ
スビットDB0−DB3及び第2グループの周辺装置ア
ドレスビットDB4−DB7を前記制御プロセッサ10
2から前記マイクロコンピュータ10へ伝送する手段1
04、112Aであつて、前記第2グループの周辺装置
アドレスビットDB4−DB7は決して第1所定コード
を含まないこと、(ヘ)前記第2グループの周辺装置ア
ドレスビットDB4−DB7が前記マイクロコンピュー
タ10により前記第2グループの導体225、226、
227、228に伝送されるとき前記第2グループの周
辺装置アドレスビットに含まれるストラッピングスイッ
チ196の第2所定コード設定を認識するための前記入
力/出力サブシステム内のマイクロコンピュータとは別
の手段190、196であつて、前記第2所定コードは
前記第1所定コードとは異なること、(ト)前記第2所
定コードに応答して前記第2グループの周辺装置の前記
マイクロコンピュータ10によるアクセスを付勢するた
めの手段192、232、234、(チ)前記第2グル
ープの周辺アドレスビットDB4−DB7が前記マイク
ロコンピュータ10により前記第2グループの導体22
5、226、227、228に伝送されるとき前記第2
グループの周辺装置アドレスビット内の前記第1所定コ
ードを認識するための前記マイクロコンピュータとは別
の手段216、及び(リ)前記第1所定コードに応答し
て前記第1グループの周辺装置の前記マイクロコンピュ
ータによるアクセスを付勢する手段236、(c)前記
複数の入力/出力サブシステムを前記制御プロセッサ1
02へ結合するための手段104、112A、22A、
及び (d)前記マイクロコンピュータにより前記第1グルー
プの導体に伝送されるアドレス情報に応答して前記第1
グループ又は前記第2グループ内の特定の1つの周辺装
置を選択する手段192、から成る制御システム。
Claims: 1. A control system 1 including a control computer 102 and a plurality of input/output subsystems 106, 109, 110.
00, each of the plurality of input/output subsystems includes a first group and a second group of peripheral devices 112A, 112B, 112C that connect the control computer 102 to the equipment system 10.
8 input elements and/or output elements to provide access to various of said peripheral devices;
Each output subsystem is a microcomputer 10A
and an internal bus 22A having a first group of conductors DB0-DB3 and a second group of conductors DB4-DB7; peripheral address bits DB4-DB7 of the control computer 102.
(b) a first of the internal buses 22A of each of the input/output subsystems;
from each microcomputer to the first group conductors 221, 222, 223, 224 and the second group 225, 226, 227, 228, respectively.
transmitting a group of peripheral address bits DB0-DB3 and a second group of peripheral address bits DB4-DB7, wherein the second group of peripheral address bits DB4-DB7 contains information different from a first predetermined code; (c) said second group of peripheral address bits DB4-DB7 matches a second predetermined code 196 stored in a first input/output subsystem of said plurality of input/output subsystems; , selecting the second group of peripheral devices in the first input/output subsystem to be accessed by the microcomputer of the first input/output subsystem; (d) the predetermined code is different from the first predetermined code; (d) determined by the first group of peripheral address bits DB0-DB3 of the second group of peripherals in the first input/output subsystem; (e) a bit group DB including the first predetermined code from the microcomputer 10 of the first input/output subsystem;
4-DB7 to the second group of conductors 225, 226 of the internal bus 22A of the second input/output subsystem;
227, 228; (f) transmitting the first
The transmitted bit group DB containing a predetermined code
4-selecting the first group of peripherals in the second input/output subsystem in response to DB7; and (g) transmitted by the microcomputer 10 of the second input/output subsystem. accessing one of said peripheral devices as determined by any first group of peripheral address bits DB0-DB3 and within said first group of said second input/output subsystem. How it works. 2. A control system for controlling an equipment system 108 having input elements and/or output elements, the control system comprising: (a) a control processor 102 that executes instructions of a control program to control the equipment system 108; b
) multiple input/output subsystems 106, 109, 11;
0, each said input/output subsystem being coupled to said equipment system for effecting the transmission of information between said element and said control processor;
an output subsystem comprising: (a) a microcomputer 10; (b) a first group and a second group of peripheral devices coupled to various of the elements; (c) a microcomputer 10; Decoding means 28, 192, (
D) First group of conductors 221, 222, 223, 22
4 and the second group of conductors 225, 226, 227, 2
28 for transmitting address information from the microcomputer 10 to the decoding means 192; (e) a first group of peripheral device address bits DB0-DB3 and a second group of peripheral device address bits DB4; - DB7 to the control processor 10;
means 1 for transmitting data from 2 to the microcomputer 10;
04, 112A, wherein the second group of peripheral device address bits DB4-DB7 never includes the first predetermined code, (f) the second group of peripheral device address bits DB4-DB7 Accordingly, the second group of conductors 225, 226,
227, 228; means separate from the microcomputer within the input/output subsystem for recognizing a second predetermined code setting of the strapping switch 196 contained in the second group of peripheral device address bits when transmitted to the second group of peripheral device address bits; 190, 196, wherein the second predetermined code is different from the first predetermined code; (g) access of the second group of peripheral devices by the microcomputer 10 in response to the second predetermined code; (h) means for energizing the second group of peripheral address bits DB4-DB7 by the microcomputer 10 to
5, 226, 227, 228, the second
means 216 separate from the microcomputer for recognizing the first predetermined code in a group of peripheral device address bits; (c) means 236 for enabling access by a microcomputer; (c) connecting said plurality of input/output subsystems to said control processor 1;
means 104, 112A, 22A for coupling to 02;
and (d) in response to address information transmitted by the microcomputer to the first group of conductors.
means 192 for selecting a group or a particular one peripheral device within said second group.
JP4012680A 1979-04-06 1980-03-28 Control method and device Expired JPS5936285B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US27903 1979-04-06
US06/027,903 US4326249A (en) 1978-03-27 1979-04-06 Interrupt system and method

Publications (2)

Publication Number Publication Date
JPS55164923A JPS55164923A (en) 1980-12-23
JPS5936285B2 true JPS5936285B2 (en) 1984-09-03

Family

ID=21840430

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4012680A Expired JPS5936285B2 (en) 1979-04-06 1980-03-28 Control method and device

Country Status (1)

Country Link
JP (1) JPS5936285B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05198962A (en) * 1991-05-06 1993-08-06 Bull Sa Printed circuit board, rack for printed circuit board including such board and signal processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05198962A (en) * 1991-05-06 1993-08-06 Bull Sa Printed circuit board, rack for printed circuit board including such board and signal processor

Also Published As

Publication number Publication date
JPS55164923A (en) 1980-12-23

Similar Documents

Publication Publication Date Title
US4326249A (en) Interrupt system and method
US5101497A (en) Programmable interrupt controller
CA1241766A (en) Communication controller using multiported random access memory
US3909790A (en) Minicomputer with selector channel input-output system and interrupt system
US4067059A (en) Shared direct memory access controller
CA1194608A (en) Direct memory access interface arrangement
US4749354A (en) Interactive audio teaching aid
US5561821A (en) System for performing I/O access and memory access by driving address of DMA configuration registers and memory address stored therein respectively on local bus
JPS5884332A (en) Bus system
JPH06119013A (en) Programmable controller using ladder-figure macroinstruction
JPS6275865A (en) Interruption control system
JPS6160443B2 (en)
JPH07182277A (en) Computer system and method for control of direct memory access operation in it
JPS636890B2 (en)
JPS5936285B2 (en) Control method and device
JPS58129568A (en) Computer system with auxiliary service computor
CA1203917A (en) Micro computer system
CA1319441C (en) Programmable interrupt controller
JPS633348B2 (en)
JPH02500692A (en) Integration of computational elements in multiprocessor computers
JPH0769882B2 (en) Input / output control system having cross-call function and dynamic configuration change method in the system
EP0311705A1 (en) Data processing system with a fast interrupt
JPS603049A (en) Bus interface apparatus
SU822166A1 (en) Interface matching device
KR920002388Y1 (en) Vector address generating circuit for interrupt processing