JP2581001B2 - Information management apparatus and information management method - Google Patents

Information management apparatus and information management method

Info

Publication number
JP2581001B2
JP2581001B2 JP6109170A JP10917094A JP2581001B2 JP 2581001 B2 JP2581001 B2 JP 2581001B2 JP 6109170 A JP6109170 A JP 6109170A JP 10917094 A JP10917094 A JP 10917094A JP 2581001 B2 JP2581001 B2 JP 2581001B2
Authority
JP
Japan
Prior art keywords
control unit
program
sub
buffer memory
loading
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 - Fee Related
Application number
JP6109170A
Other languages
Japanese (ja)
Other versions
JPH07295828A (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.)
NEC Corp
Original Assignee
Nippon 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP6109170A priority Critical patent/JP2581001B2/en
Publication of JPH07295828A publication Critical patent/JPH07295828A/en
Application granted granted Critical
Publication of JP2581001B2 publication Critical patent/JP2581001B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Multi Processors (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、主制御部より複数の
副制御部へプログラムをローディングする情報管理装置
および情報管理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information management apparatus and an information management method for loading a program from a main control unit to a plurality of sub-control units.

【0002】[0002]

【従来の技術】主制御部と副制御部とを備える場合、主
制御部が有するプログラムを副制御部にローディングす
ることで副制御部の動作を制御する。図3は、このよう
に主制御部である上位パネルと副制御部である下位パネ
ルとを有する情報管理装置の構成を示す構成図である。
同図において、10は上位パネル、10aはローディン
グされるプログラムなどが格納されているメモリ、20
1 ,20a2 〜20an は下位パネル、30はアドレ
スバス、31はデータバス、35は割り込み線である。
2. Description of the Related Art When a main control unit and a sub control unit are provided, the operation of the sub control unit is controlled by loading a program of the main control unit into the sub control unit. FIG. 3 is a configuration diagram showing the configuration of the information management apparatus having the upper panel serving as the main control unit and the lower panel serving as the sub control unit.
In the figure, 10 is an upper panel, 10a is a memory storing a program to be loaded, 20
a 1, 20a 2 ~20a n is lower panel, 30 is an address bus, 31 denotes a data bus, 35 an interrupt line.

【0003】また、図4は、副制御部201 の構成を示
す構成図であり、21はそれぞれの下位パネル毎に異な
る値が設定されているパネル識別アドレス設定スイッ
チ、22はパネル識別アドレス設定スイッチ21が設定
したアドレス値と上位パネル10からのアドレスバス3
0上の値とを比較する比較ブロック、23は複数の下位
パネルで同一の値が設定されているプログラムローディ
ング用アドレス設定スイッチ、24はプログラムローデ
ィング用アドレス設定スイッチ23に設定されている値
とアドレスバス30上の値とを比較する比較ブロックで
ある。
[0003] FIG. 4 is a diagrammatic view showing the structure of the sub-control section 20 1, 21 panel identification address setting switch different value for each of the lower panel is set, 22 is panel identification address setting The address value set by the switch 21 and the address bus 3 from the upper panel 10
A comparison block for comparing with a value above 0; 23, a program loading address setting switch in which the same value is set in a plurality of lower panels; 24, a value and an address set in the program loading address setting switch 23 This is a comparison block for comparing the value with the value on the bus 30.

【0004】そして、25は比較ブロック22,24の
出力の論理和をとるゲート回路、26aはゲート回路2
5が出力する論理和信号により書き込みが制御されるバ
ッファメモリ、27はバッファメモリ26aを介してア
ドレスバス30とデータバス31で上位パネル10と接
続して通信を行っているCPU、28はCPU27のプ
ログラムが格納されているメモリ、32aはプログラム
ローディング要求を上位パネル10に示すレジスタであ
る。
A gate circuit 25 calculates the logical sum of the outputs of the comparison blocks 22 and 24.
5, a buffer memory whose writing is controlled by the logical sum signal output from the CPU 5, a CPU 27 connected to the upper panel 10 via the buffer memory 26a via the address bus 30 and the data bus 31 for communication, and 28 a CPU 27 A memory in which the program is stored, and 32a is a register indicating a program loading request on the upper panel 10.

【0005】システム立ち上げ時には、下位パネル20
1 はプログラムローディング要求をレジスタ32aに
示す。上位パネル10は、このレジスタ32aを常時監
視しており、下位パネル20a1 からのプログラムロー
ディング要求を初めて受け取るとタイマを動作させる。
このとき上位パネル10は、他の下位パネル20a2
20an をスキャンし続け、タイマが動作している一定
時間内に他の下位パネル20a2 〜20an からプログ
ラムローディング要求があるか否かをチェックする。
When starting up the system, the lower panel 20
a 1 denotes a program loading request to register 32a. Top panel 10 monitors the register 32a always receives the first time a program loading request from the lower panel 20a 1 to operate the timer.
At this time, the upper panel 10 is connected to the other lower panels 20a 2 to 20a 2 .
Continue scanning the 20a n, and checks whether within a predetermined time the timer is running from other lower panel 20a 2 through 20a n have programs loading requirements.

【0006】この一定時間後に、上位パネル10はアド
レスバス30上にプログラムローディング用アドレス設
定スイッチ23に設定されている値をセットする。つぎ
に、データバス31上にローディングするプログラムを
出力する。下位パネル20a1 の比較ブロック24で
は、プログラムローディング用アドレス設定スイッチ2
3の値とアドレスバス30の値を比較し、ゲート回路2
5を介してバッファメモリ26aへの書き込みを制御す
る。
After a predetermined time, the upper panel 10 sets the value set in the program loading address setting switch 23 on the address bus 30. Next, a program to be loaded onto the data bus 31 is output. In comparison block 24 of the lower panel 20a 1, program loading address setting switch 2
3 is compared with the value of the address bus 30, and the gate circuit 2
5 to control writing to the buffer memory 26a.

【0007】プログラムローディング用アドレス設定ス
イッチ23の値とアドレスバス30の値とが一致する
と、比較ブロック24の出力が「0」になり、ゲート回
路25からは「0」が出力され、バッファメモリ26a
への書き込みが許可される。すなわち、上位パネル10
が初めの下位パネル20aからのプログラムローディン
グ要求を受けてから一定時間待ってから、アドレスバス
30上にプログラムローディング用アドレス設定スイッ
チ23の値をセットすることにより、同一のプログラム
で動作する複数の下位パネル20a1〜20anに対し
て、一度にプログラムをローディングすることができ
る。
When the value of the program loading address setting switch 23 matches the value of the address bus 30, the output of the comparison block 24 becomes "0", "0" is output from the gate circuit 25, and the buffer memory 26a
Writing to is allowed. That is, the upper panel 10
Waits for a certain period of time after receiving a program loading request from the lower panel 20a, and then sets the value of the program loading address setting switch 23 on the address bus 30 so that a plurality of lower-level devices operating with the same program are operated. the panel 20a 1 through 20a n, can be loaded a program at a time.

【0008】[0008]

【発明が解決しようとする課題】従来は以上のように構
成されていたので、複数のプログラムを複数の副制御部
(下位パネル)にローディングする場合、以下に示すよ
うな問題点があった。まず、複数のプログラムを順々に
ローディングするため、このローディングの時間がプロ
グラムの数だけかかってしまう。また、複数のプログラ
ムがあって、これら個々のプログラムを複数の副制御部
に対してローディングしようとすると、プログラムの数
だけこれを区別するためのアドレス、すなわち、上述し
たプログラムローディング用アドレス設定スイッチ23
の値をプログラムの数だけ用意しなければならない。
Conventionally, as described above, when a plurality of programs are loaded into a plurality of sub-control units (lower panels), there are the following problems. First, since a plurality of programs are loaded one after another, this loading time is required for the number of programs. Also, when there are a plurality of programs and these individual programs are to be loaded into a plurality of sub-control units, addresses for distinguishing them by the number of programs, that is, the above-described program loading address setting switches 23 are provided.
Must be prepared for the number of programs.

【0009】このため、副制御部においては、バッファ
メモリ26に異なるプログラムを格納するために複数の
アドレスを用意しておかなければならず、すなわち、メ
モリ容量を大きくしておかなければならないという問題
があった。そして、このように大きいメモリを用意して
おかなければならない一方、副制御部においては、ロー
ディングされるプログラムは1つである。すなわち、こ
れらが全て用いられるわけではなく、したがって、メモ
リに通常は使用しない部分ができてしまい、無駄が多い
という問題があった。
Therefore, in the sub-control unit, a plurality of addresses must be prepared for storing different programs in the buffer memory 26, that is, the memory capacity must be increased. was there. And while such a large memory must be prepared, the sub control unit loads one program. That is, not all of them are used, and therefore, there is a problem that a portion that is not normally used is formed in the memory, and there is much waste.

【0010】この発明は、以上のような問題点を解消す
るためになされたものであり、異なる複数のプログラム
をローディングするとき、より迅速にローディングが行
えるようにすることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to make it possible to more quickly load a plurality of different programs.

【0011】[0011]

【課題を解決するための手段】この発明の情報管理装置
は、アドレスバス上に送出される第1と第2の識別子と
の一致・不一致による第1と第2の識別手段による書き
込み制御だけでなく、主制御部からの書き込み制御が格
納される書き込み制御手段による書き込み制御もされる
バッファメモリを副制御部が備え、要求された指示プロ
グラムをローディングする際に、その書き込み制御手段
にバッファメモリの書き込み制御を書き込む主CPUを
主制御部が備えていることを特徴とする。
An information management apparatus according to the present invention uses only write control by first and second identification means based on the coincidence / mismatch between first and second identifiers transmitted on an address bus. In addition, the sub-control unit includes a buffer memory in which write control by the main control unit is also performed by the write control unit in which the write control is stored. When loading the requested instruction program, the sub-control unit includes The main control unit includes a main CPU for writing the write control.

【0012】また、この発明の情報管理方法は、主制御
部が第1の副制御部に対する第1の指示プログラムを送
出し終わると、第1の副制御部のバッファメモリへの書
き込みは禁止して、いままで書き込みを禁止していた第
2の副制御部のバッファメモリへの書き込みは許可す
る。そして、第1の副制御部のCPUが自身のバッファ
メモリに書き込まれた第1の指示プログラムを第1の副
制御部のメモリに転送している間に、主制御部がアドレ
スバスに第2の識別子アドレスをセットしてデータバス
に第2の指示プログラムを送出することを特徴とする。
Further, according to the information management method of the present invention, when the main control unit finishes sending the first instruction program to the first sub-control unit, the writing of the first sub-control unit to the buffer memory is prohibited. Thus, the writing to the buffer memory of the second sub-control unit, which has been prohibited from writing, is permitted. While the CPU of the first sub-control unit is transferring the first instruction program written in its own buffer memory to the memory of the first sub-control unit, the main control unit transmits the second instruction program to the address bus. And sending the second instruction program to the data bus.

【0013】[0013]

【作用】第1の副制御部がバッファメモリに受け取った
第1の指示プログラムをメモリに転送している間に、第
2の副制御部は自身のバッファメモリに第2の指示プロ
グラムを受け取る。
While the first sub-controller is transferring the first instruction program received in the buffer memory to the memory, the second sub-controller receives the second instruction program in its own buffer memory.

【0014】[0014]

【実施例】以下この発明の1実施例を図を参照して説明
する。図1は、この発明の1実施例における情報管理装
置の構成を示す構成図である。同図において、11は上
位パネル10における主CPU、12は上位パネルにお
けるローディング用プログラムを格納するプログラム用
メモリ、13は下位パネル201 〜20n からのプログ
ラム要求の種類などを記憶するテーブル用メモリ、14
はタイマである。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below with reference to the drawings. FIG. 1 is a configuration diagram showing a configuration of an information management device according to an embodiment of the present invention. In the figure, the memory table 11 is primarily CPU, 12 in the upper panel 10 program memory for storing a loading program in the upper panel, the 13 stores a type of program request from the lower panel 20 1 to 20 n , 14
Is a timer.

【0015】また、25a,25bはゲート回路、26
はゲート回路25bの出力により書き込み制御がされる
バッファメモリ、32は上位パネル10がプログラムロ
ーディング要求を認識したことを、要求した下位パネル
20に伝えたり、その下位パネル20のバッファメモリ
26にプログラムを書き込みして良いか否かを制御する
読み出しレジスタ、33はプログラムローディング要求
を上位パネル10に出す書き込みレジスタである。
Also, 25a and 25b are gate circuits, 26
Is a buffer memory whose writing is controlled by the output of the gate circuit 25b, and 32 is a signal that the upper panel 10 has recognized the program loading request to the lower panel 20 that has requested it, and a program is stored in the buffer memory 26 of the lower panel 20. A read register 33 for controlling whether or not writing is permitted is a write register 33 for issuing a program loading request to the upper panel 10.

【0016】ゲート回路25aは比較ブロック24と読
み出しレジスタ32の出力の論理和を取り、ゲート回路
25bはゲート回路25aと比較ブロック22の出力の
論理和を取る。なお、他の符号は図3,4と同様であ
る。以下、上記構成において、複数のプログラムをロー
ディングする方法を、図2のフローチャートを用いて説
明する。ここでは、上位パネル10には下位パネル20
1 〜204 が接続されており、下位パネル201 ,20
2 がAプログラムを必要とし、下位パネル203 ,20
4 がBプログラムを必要としている場合について説明す
る。
The gate circuit 25a calculates the logical sum of the output of the comparison block 24 and the read register 32, and the gate circuit 25b calculates the logical sum of the output of the comparison circuit 22 and the gate circuit 25a. The other symbols are the same as in FIGS. Hereinafter, a method of loading a plurality of programs in the above configuration will be described with reference to the flowchart of FIG. Here, upper panel 10 has lower panel 20
1 to 20 4 are connected, and the lower panels 20 1 and 20 4 are connected.
2 requires the A program, and the lower panels 20 3 , 20
The case where 4 requires the B program will be described.

【0017】装置を立ち上げると、下位パネル201
204 が、自身の書き込みレジスタ33にプログラムロ
ーディング要求を書き込む(ステップS21)。上位パ
ネル10は、それぞれの下位パネル201 〜204 の書
き込みレジスタ33を常時監視しており(ステップS
1)、書き込みレジスタ33にプログラムローディング
要求が書き込まれると、上位パネル10はこれを認識
し、このことによりプログラムローディング要求を受け
たことになる(ステップS2)。このようにして、上位
パネル10が下位パネル201 からのプログラムローデ
ィング要求を初めて受け付けると、タイマー14を動作
させる。
When the apparatus is started up, the lower panels 20 1 to 20 1
20 4 writes the program loading request to its write register 33 (step S21). Top panel 10 monitors the respective lower panel 20 1 to 20 4 of the write register 33 always (step S
1) When the program loading request is written into the write register 33, the upper panel 10 recognizes this, and thus receives the program loading request (step S2). Thus, when the upper panel 10 accepts first the program loading request from the lower panel 20 1, to operate the timer 14.

【0018】上位パネル10は引き続き、他の下位パネ
ル202 〜204 の書き込みレジスタ33を監視し続
け、一定時間内、すなわちタイマー14が動作している
間に他の下位パネル202 〜204 からのプログラムロ
ーディング要求があるか否かのチェックを行う。以上の
ことにより、上位パネル10は、下位パネル101 ,1
2 ではAプログラムを要求しており、下位パネル20
3 ,204 ではBプログラムを要求していることを認識
する。
The upper panel 10 is continued, it continues to monitor the other lower panel 20 2 to 20 4 write register 33, within a predetermined time, i.e., other lower panel 20 2 20 4 while the timer 14 is operating It checks whether there is a program loading request from. As described above, the upper panel 10 becomes the lower panel 10 1 , 1
0 2 requests the A program, and the lower panel 20
3, recognizes that requesting 20 4, B program.

【0019】そして、このタイマー14が動作している
間、上位パネル10はプログラムローディング要求があ
った下位パネル201 〜204 に対して、そのプログラ
ムローディング要求をリセットし、要求を認識したこと
を下位パネル201 〜204に伝える(ステップS
3)。要求のリセットは、書き込みレジスタ33の内容
を消去することで行われる。それとともに、上位パネル
10は、この下位パネル201 〜204 の番号と、要求
しているそれぞれのプログラムをテーブル用メモリ13
に記憶する(ステップS3)。
[0019] Then, while the timer 14 is operating, to the lower panel 20 1 to 20 4 Top panel 10 there is a program loading request, that resets the program loading request, recognizes the request transmitting to the lower panel 20 1 to 20 4 (step S
3). The reset of the request is performed by erasing the contents of the write register 33. At the same time, the upper panel 10, and the number of the lower panel 20 1 to 20 4, requesting a memory for respective program table 13
(Step S3).

【0020】タイマー14が動作している一定時間の間
は、遅れて立ち挙げられた下位パネルがあっても、この
プログラムローディング要求を受けることができる。タ
イマー14が動作終了する一定時間の経過後、上位パネ
ル10は、まずAプログラムの転送から開始する。この
とき、上位パネル10はBプログラムを要求している下
位パネル203 ,204 の読み出しレジスタ32に書き
込み禁止指示を行う(ステップS4)。このことによ
り、下位パネル203 ,204 のバッファメモリ26に
はプログラムが書き込めなくなる。
During a certain time period during which the timer 14 is operating, even if there is a lower panel that is started up late, the program loading request can be received. After a lapse of a certain period of time when the operation of the timer 14 ends, the upper panel 10 first starts the transfer of the A program. At this time, the upper panel 10 performs write inhibition instruction to the lower panel 20 3, 20 4 of the read register 32 requesting the B program (step S4). Thus, the program is not written in the buffer memory 26 of the lower panel 20 3, 20 4.

【0021】そして、上位パネル10は、テーブル用メ
モリ13を参照することで、プログラムローディング用
アドレス設定スイッチ23で設定してある値をアドレス
バス30にセットする。引き続いて、データバス31に
プログラム用メモリ12に格納されているAプログラム
を出力する(ステップS5)。各下位パネル201 〜2
4 のプログラムローディング用アドレス設定スイッチ
23には、共通の値が設定されており、上位パネル10
からみれば、この値をアドレスバス30にセットするこ
とで、複数の下位パネルに対して同一のプログラムを一
度にローディングすることができる。
The upper panel 10 sets the value set by the program loading address setting switch 23 on the address bus 30 by referring to the table memory 13. Subsequently, the A program stored in the program memory 12 is output to the data bus 31 (step S5). Each lower panel 20 1 to 2
0 to 4 program loading address setting switch 23, a common value is set, the upper panel 10
Thus, by setting this value on the address bus 30, the same program can be loaded to a plurality of lower panels at one time.

【0022】下位パネル201 〜204 では、アドレス
バス30上の値とプログラムローディング用アドレス設
定スイッチ23に設定している値とが等しいので、比較
ブロック24よりバッファメモリ26に対する書き込み
可能の信号が出力される。そして、ここでは、この下位
パネル201 、202 では読み出しレジスタ32に書き
込み禁止指示が書き込まれていないので、データバス3
1に出力されたAプログラムは下位パネル201 、20
2 のバッファメモリ26に書き込まれる。一方、下位パ
ネル203 ,204 では、前述したように、自身のバッ
ファメモリ26には書き込みができない状態となってい
るので、データバス31上のAプログラムが書き込まれ
ることはない。
[0022] In the lower panel 20 1 to 20 4, since the value set to the value and the program loading address setting switch 23 on the address bus 30 are equal, the write enable signal for the buffer memory 26 from the comparison block 24 Is output. And here, since this lower panel 20 1, 20 2 in the read register 32 write inhibition instruction is not written, the data bus 3
The A program output to 1 is the lower panel 20 1 , 20
2 is written to the buffer memory 26. On the other hand, in the lower panels 20 3 and 20 4 , the A program on the data bus 31 is not written since the writing into the buffer memory 26 is not possible as described above.

【0023】ここで、通常では、バッファメモリ26は
あまり大きい容量ではないので、上位パネル10はプロ
グラムをローディングするとき、これを複数回に分けて
ローディングするようにしている。このように、上位パ
ネル10よりローディングされたAプログラムのある一
塊のローディングが終了すると、上位パネル10はAプ
ログラムを要求している下位パネル201 ,202 の読
み出しレジスタ32に同報配信要求をセットし(ステッ
プS6)、同時に書き込み禁止指示を行う(ステップS
7)。
Here, since the buffer memory 26 usually does not have a very large capacity, the upper panel 10 loads the program in a plurality of times when loading the program. Thus, the loading of a lump with a loaded A program from the host panel 10 is completed, the high-order panel 10 broadcast distribution request to the lower panel 20 1, 20 2 of the read register 32 requesting A program Is set (step S6), and at the same time, a write inhibit instruction is issued (step S6).
7).

【0024】読み出しレジスタ32に同報配信要求がセ
ットされると、下位パネル201 、202 では、CPU
27がバッファメモリ26の内容をメモリ28に転送す
る(ステップS6)。そして、この転送が終了すると書
き込みレジスタ33に同報配信要求のリセット状態を示
す(ステップS11)。ここで、下位パネル201 ,2
2 において、CPU27がバッファメモリ26の内容
をメモリ28に転送している間は、上位パネル10はこ
の下位パネル201 ,202 に対して次のAプログラム
の一塊の送信ができない。上位パネル10では、この時
間を利用して、下位パネル203 ,204 に対してBプ
ログラムのローディングを行う。
[0024] broadcasting request is set in the read register 32, the lower panel 20 1, 20 2, CPU
27 transfers the contents of the buffer memory 26 to the memory 28 (step S6). When the transfer is completed, the reset state of the broadcast distribution request is indicated to the write register 33 (step S11). Here, the lower panels 20 1 and 2
In 0 2, while the CPU27 is transferring the contents of the buffer memory 26 in the memory 28 can not send a mass of the next A program for the upper panel 10 the lower panel 20 1, 20 2. The upper panel 10 uses this time to load the B program to the lower panels 20 3 and 20 4 .

【0025】上位パネル10は、Aプログラムを要求し
ている下位パネル201 ,202 の読み出しレジスタ3
2に同報配信要求をセットしてかつ書き込み禁止指示を
行ったとき(ステップS7)、Bプログラムを要求した
下位パネル203 〜204 の読み出しレジスタ32に書
き込み許可指示を行う(ステップS8)。このことによ
り、下位パネル203 〜204 のゲート回路25aとゲ
ート回路25bを介してバッファメモリ26に対して書
き込み可の信号が出力され、バッファメモリ26へのプ
ログラムの書き込みが可能となる(ステップS8)。
The upper panel 10, lower panel 20 1 requesting A program, 20 second read register 3
Set the multicasting request to 2 and when performing a write inhibition instruction (step S7), and performs the write permission instruction to the read register 32 of the lower panel 20 3 to 20 4 which requested the B program (step S8). Thus, the output signal of the write enable to the buffer memory 26 through the gate circuit 25a and the gate circuit 25b of the lower panel 20 3 to 20 4, the device can be programmed into the buffer memory 26 (step S8).

【0026】上位パネル10では、アドレスバス30に
プログラムローディング用アドレス設定スイッチ23に
設定されている値をセットし、データバス31上にプロ
グラム用メモリ12に格納されているBプログラムを出
力する(ステップS9)。Bプログラムを要求している
下位パネル203 〜204 では、プログラムローディン
グ用アドレス設定スイッチ23の値とアドレスバス30
上の値との値が等しいので、比較ブロック24より書き
込み可の信号が出力される。そして、読み出しレジスタ
32にも書き込み許可指示が出されているので、バッフ
ァメモリ26はデータバス31上のBプログラムのある
一塊が書き込まれる(ローディングされる)ことにな
る。
In the upper panel 10, the value set in the program loading address setting switch 23 is set in the address bus 30, and the B program stored in the program memory 12 is output on the data bus 31 (step). S9). Backward panel 20 3 20 4 requesting the B program, the value and the address bus 30 of the program loading address setting switch 23
Since the value is equal to the above value, a write enable signal is output from the comparison block 24. Then, since the write permission instruction is also issued to the read register 32, a certain block of the B program on the data bus 31 is written (loaded) into the buffer memory 26.

【0027】上位パネル10からのBプログラムのある
一塊のローディングが終了すると、前述したのと同様
に、上位パネル10は、下位パネル203 〜204 の読
み出しレジスタ32に同報配信要求をセットするととも
に(ステップS10)、書き込み禁止指示を行う(ステ
ップS11)。読み出しレジスタ32に同報配信要求を
セットされた下位パネル203 〜204 では、CPU2
7がバッファメモリ26上のBプログラムのある一塊を
メモリ28に転送する(ステップS10)。
[0027] bloc loading with B program from the upper panel 10 is completed, in the same manner as described above, the upper panel 10 sets the broadcast distribution request to read register 32 in the lower panel 20 3 20 4 At the same time (step S10), a write prohibition instruction is issued (step S11). Backward panel 20 3 to 20 4 which are set broadcast distribution request to the read register 32, CPU 2
7 transfers a block of the B program on the buffer memory 26 to the memory 28 (step S10).

【0028】そして、上位パネル10では、今度は、A
プログラムの次の一塊を下位パネル201 〜202 に、
上述したようにローディングしていき(ステップS1
2,S13)、その一塊のローディングが終了すると、
前述と同様に下位パネル201〜202 読み出しレジス
タ32に同報配信要求をセットしてかつ書き込み禁止指
示を行う(ステップS14,S15)。そして一方で、
Bプログラムのある一塊をメモリ28に転送し終わった
下位パネル203 〜204 では、そのCPU27が書き
込みレジスタ33に同報配信要求リセット状態を示す
(ステップS15)。
In the upper panel 10, this time, A
The next one mass of the program in the lower panel 20 1 to 20 2,
Loading as described above (step S1
2, S13), when the lump loading is completed,
Above and sets the broadcast distribution request to the lower panel 20 1 to 20 2 read register 32 in the same manner and performing a write inhibition instruction (step S14, S15). And on the other hand,
Backward panel 20 3 to 20 4 which has finished transferring the bloc with B program in the memory 28, indicating the broadcasting request reset the CPU27 is the write register 33 (step S15).

【0029】上述したように、ローディングしたプログ
ラムのある一塊が、ローディング先の下位パネル20の
バッファメモリ26からメモリ28への転送している間
に、異なるプログラムのある一塊をローディングするよ
うにして、AプログラムとBプログラムを交互にローデ
ィングして、全てのプログラムをローディングする。こ
のことにより、Aプログラムを全てローディングし終わ
ってから、Bプログラムをローディングする方法に比較
して、より短時間でプログラムのローディングが終了す
る。
As described above, while one block of the loaded program is being transferred from the buffer memory 26 to the memory 28 of the lower panel 20 of the loading destination, one block of a different program is loaded. The A program and the B program are alternately loaded, and all the programs are loaded. As a result, after all the A programs have been loaded, the loading of the program is completed in a shorter time than in the method of loading the B program.

【0030】[0030]

【発明の効果】以上説明したように、この発明によれ
ば、主制御部からのバッファメモリへの書き込み制御指
示が格納され、バッファメモリの書き込み可能・禁止を
制御する書き込み制御手段を設け、この書き込み制御手
段を介して主制御部がバッファメモリの書き込みを制御
できるようにした。そして、第1の副制御部に第1の指
示プログラムをローディングしているときは、第2の副
制御部のバッファメモリへの書き込みを禁止にし、第1
の副制御部がローディングされた第1の指示プログラム
を自身のメモリに転送するときは、第1の副制御部のバ
ッファメモリの書き込みを禁止にして第2の副制御部の
バッファメモリの書き込みを許可し、第2の指示プログ
ラムをローディングするようにした。
As described above, according to the present invention, a write control instruction from the main control unit to the buffer memory is stored, and write control means for controlling write enable / inhibit of the buffer memory is provided. The main control unit can control writing to the buffer memory via the writing control means. When the first instruction program is being loaded into the first sub-control unit, writing to the buffer memory by the second sub-control unit is prohibited, and
When the sub-control unit transfers the loaded first instruction program to its own memory, the writing of the buffer memory of the first sub-control unit is prohibited and the writing of the buffer memory of the second sub-control unit is prohibited. Allowed to load the second instruction program.

【0031】このため、複数の指示プログラムをローデ
ィングするとき、1つの指示プログラムのローディング
が完了するまで待つことなく、他の指示プログラムをロ
ーディングできるので、異なる複数のプログラムをロー
ディングするとき、より迅速にローディングが行えるよ
うになるという効果がある。
For this reason, when loading a plurality of instruction programs, another instruction program can be loaded without waiting for the loading of one instruction program to be completed. There is an effect that loading can be performed.

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

【図1】 この発明の1実施例における情報管理装置の
構成を示す構成図である。
FIG. 1 is a configuration diagram showing a configuration of an information management device according to an embodiment of the present invention.

【図2】 この発明の1実施例における情報管理方法を
説明するフローチャートである。
FIG. 2 is a flowchart illustrating an information management method according to an embodiment of the present invention.

【図3】 主制御部である上位パネルと副制御部である
下位パネルとを有する従来の情報管理装置の構成を示す
構成図である。
FIG. 3 is a configuration diagram showing a configuration of a conventional information management device having an upper panel as a main control unit and a lower panel as a sub control unit.

【図4】 図3における副制御部201 の構成を示す構
成図である。
4 is a block diagram showing a sub controller 20 1 of the configuration in FIG.

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

10…上位パネル、11…主CPU、12…プログラム
用メモリ、13…テーブル用メモリ、14…タイマ、2
1〜204…下位パネル、21…パネル識別アドレス設
定スイッチ、22,24…比較ブロック、23…プログ
ラムローディング用アドレス設定スイッチ、25a,2
5b…ゲート回路、26…バッファメモリ、27…CP
U、28…メモリ、30…アドレスバス、31…データ
バス、32…読み出しレジスタ、33…書き込みレジス
タ。
10: Upper panel, 11: Main CPU, 12: Program memory, 13: Table memory, 14: Timer, 2
0 1 to 20 4 : lower panel, 21: panel identification address setting switch, 22, 24: comparison block, 23 ... program loading address setting switch, 25a, 2
5b: gate circuit, 26: buffer memory, 27: CP
U, 28: memory, 30: address bus, 31: data bus, 32: read register, 33: write register.

Claims (4)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 複数の副制御部がアドレスバスとデータ
バスとで接続する主制御部に制御される情報処理装置に
おいて、 前記副制御部は、 プログラムやデータなどが記憶されているメモリと、 主制御部より前記データバスを介してローディングされ
た指示プログラムを一時保管するバッファメモリと、 前記メモリに格納されているプログラムで動作し、前記
バッファメモリにローディングされた指示プログラムを
前記メモリに転送するCPUと、 接続されている前記アドレスバス上の信号と予め設定さ
れている他と識別するための第1の識別子アドレスとの
一致・不一致を識別し、一致したときは前記バッファメ
モリの書き込みを可能にする第1の識別手段と、 前記主制御部が指示プログラムを複数の副制御部に同時
にローディングするために用いる第2の識別子アドレス
と前記アドレスバス上の信号との一致・不一致を識別
し、一致したときは前記バッファメモリの書き込みを可
能にする第2の識別手段と、 前記主制御部からの前記バッファメモリへの書き込み制
御指示が格納され、前記バッファメモリの書き込み可能
・禁止を制御する書き込み制御手段と、 前記CPUの制御により前記主制御部に対して指示プロ
グラムを要求するプログラムローディング要求を送信す
るローディング要求手段とを備え、 前記主制御部は、 前記プログラムローディング要求を読み取ると、他の副
制御部からの前記プログラムローディング要求も読み取
ってこれらを記憶し、副制御部へ前記プログラムローデ
ィング要求を読み取ったことを伝え、前記プログラムロ
ーディング要求時により指示プログラムをローディング
するときに前記第2の識別子アドレスを前記アドレスバ
ス上に送信し、さらに、前記プログラムローディング要
求のあった副制御部に対しそのバッファメモリへの書き
込みの可否を制御する主CPUと、 この主CPUと前記CPUが動作するためのプログラ
ム,指示プログラムおよびデータなどが記憶されている
主メモリと、 を備えたことを特徴とする情報管理装置。
1. An information processing apparatus in which a plurality of sub-control units are controlled by a main control unit connected by an address bus and a data bus, wherein the sub-control unit includes: a memory in which programs and data are stored; A buffer memory for temporarily storing an instruction program loaded from the main control unit via the data bus; and a buffer memory that operates with the program stored in the memory and transfers the instruction program loaded in the buffer memory to the memory. Identifies a match / mismatch between a CPU and a signal on the connected address bus and a preset first identifier address for distinguishing the signal from the others, and when they match, enables writing to the buffer memory. First identifying means, and the main control unit loads the instruction program to a plurality of sub-control units simultaneously. Second identification means for identifying a match / mismatch between a second identifier address used for the address and a signal on the address bus, and when matched, enabling writing to the buffer memory; A write control instruction to the buffer memory is stored, and write control means for controlling write enable / inhibit of the buffer memory; and a program loading request for requesting an instruction program to the main control unit under the control of the CPU is transmitted. The main control unit, when reading the program loading request, also reads and stores the program loading requests from other sub-control units, and sends the program loading request to the sub-control unit. Informs that it has been read, and instructs at the time of the program loading request A main CPU that transmits the second identifier address onto the address bus when loading a program, and further controls whether or not writing to the buffer memory can be performed on a sub-control unit that has requested the program loading; An information management device, comprising: a main CPU; and a main memory in which a program for operating the CPU, an instruction program, data, and the like are stored.
【請求項2】 請求項1記載の情報管理装置において、 前記主制御部は所定時間の間動作するタイマを備え、 前記主CPUは、前記タイマが動作している間は、副制
御部からのプログラムローディング要求を監視し続ける
ことを特徴とする情報管理装置。
2. The information management device according to claim 1, wherein the main control unit includes a timer that operates for a predetermined time, and the main CPU receives a timer from the sub control unit while the timer operates. An information management device characterized by continuously monitoring a program loading request.
【請求項3】 プログラムやデータなどが記憶されてい
るメモリ,前記メモリに格納されているプログラムで動
作するCPU,接続されているアドレスバスの信号と予
め設定されている第1の識別子アドレスとの一致・不一
致を識別する第1の識別手段,複数の副制御部に指示プ
ログラムを同時にローディングするために用いる第2の
識別子アドレスと前記アドレスバスの信号との一致・不
一致を識別する第2の識別手段,前記第1の識別手段も
しくは第2の識別手段が一致を識別したときは書き込み
が可能となりローディングされた指示プログラムを一時
保管するバッファメモリを備えた副制御部と、 前記CPUと通信をする主CPU,この主CPUと前記
CPUが動作するためのプログラムやデータなどが記憶
されている主メモリを備え、前記副制御部と前記アドレ
スバスおよびデータバスで接続し、前記副制御部に指示
プログラムをローディングする主制御部とを備えた情報
管理装置において、 第1の副制御部と第2の副制御部が主制御部に対してそ
れぞれ第1の指示プログラムと第2の指示プログラムの
ローディングを要求したとき、 主制御部では、第1の副制御部からのローディング要求
を受けると第2の副制御部からのローディング要求も監
視し、 これらのローディング要求を認識すると、第1と第2の
副制御部に対してローディング要求を認識したことを伝
え、同時にこの要求を記憶し、 前記第2の副制御部が備える読み出しレジスタに書き込
み禁止の指示を送信することで前記第2の副制御部のバ
ッファメモリへの書き込みを禁止し、 前記アドレスバスに前記第2の識別子アドレスをセット
して前記データバスに前記第1の指示プログラムを送出
し、 前記主制御部は、この第1の指示プログラムを送出し終
わると、前記第1の副制御部のバッファメモリへの書き
込みは禁止し、前記第2の副制御部のバッファメモリへ
の書き込みは許可し、 前記第1の副制御部のCPUが自身のバッファメモリに
書き込まれた第1の指示プログラムを前記第1の副制御
部のメモリに転送している間に、前記主制御部が、前記
アドレスバスに前記第2の識別子アドレスをセットして
前記データバスに前記第2の指示プログラムを送出する
ことを特徴とする情報管理方法。
3. A memory storing a program or data, a CPU operated by the program stored in the memory, a signal of a connected address bus and a predetermined first identifier address. First identification means for identifying a match / mismatch; second identification for identifying a match / mismatch between a second identifier address used for simultaneously loading an instruction program to a plurality of sub-control units and a signal on the address bus; Communication means for communicating with the CPU; a sub-controller having a buffer memory for temporarily storing a loaded instruction program when the first identification means or the second identification means identifies a match; A main CPU, a main memory storing programs and data for operating the main CPU; An information management device comprising: a main control unit connected to the sub-control unit via the address bus and the data bus, and loading an instruction program into the sub-control unit; a first sub-control unit and a second sub-control unit Requests the main control unit to load a first instruction program and a second instruction program, respectively. When the main control unit receives a loading request from the first sub-control unit, the second sub-control unit Also, when these loading requests are recognized, the fact that the loading request has been recognized is notified to the first and second sub-control units, and the request is stored at the same time. The second sub-control unit prohibits writing to the buffer memory by transmitting a write prohibition instruction to a read register included in the unit. And sends the first instruction program to the data bus. When the main control unit finishes transmitting the first instruction program, the main control unit sends the first instruction program to the buffer memory of the first sub-control unit. Is prohibited, writing to the buffer memory of the second sub-control unit is permitted, and the CPU of the first sub-control unit executes the first instruction program written in its own buffer memory by the first sub-control unit. Wherein the main control unit sets the second identifier address on the address bus and transmits the second instruction program to the data bus while transferring the data to the memory of the sub control unit. Information management method.
【請求項4】 請求項3記載の情報管理方法において、 主制御部が第1の副制御部からのローディング要求を受
けると、所定時間の間は他の副制御部からのローディン
グ要求を監視し続けることを特徴とする情報管理方法。
4. The information management method according to claim 3, wherein when the main control unit receives a loading request from the first sub control unit, the main control unit monitors a loading request from another sub control unit for a predetermined time. An information management method characterized by continuing.
JP6109170A 1994-04-26 1994-04-26 Information management apparatus and information management method Expired - Fee Related JP2581001B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6109170A JP2581001B2 (en) 1994-04-26 1994-04-26 Information management apparatus and information management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6109170A JP2581001B2 (en) 1994-04-26 1994-04-26 Information management apparatus and information management method

Publications (2)

Publication Number Publication Date
JPH07295828A JPH07295828A (en) 1995-11-10
JP2581001B2 true JP2581001B2 (en) 1997-02-12

Family

ID=14503438

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6109170A Expired - Fee Related JP2581001B2 (en) 1994-04-26 1994-04-26 Information management apparatus and information management method

Country Status (1)

Country Link
JP (1) JP2581001B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4433763B2 (en) * 2003-10-31 2010-03-17 横河電機株式会社 Field device memory update method and system

Also Published As

Publication number Publication date
JPH07295828A (en) 1995-11-10

Similar Documents

Publication Publication Date Title
JPH04363746A (en) Microcomputer system having dma function
JP2000047974A (en) Bus arbitrating method of bus controller, bus controller, and system of electronic equipment
EP0055623B1 (en) Direct memory-access mode for a high-speed memory system
JP2581001B2 (en) Information management apparatus and information management method
JP2001333137A (en) Self-operating communication controller and self- operating communication control method
JP2579170B2 (en) Memory card
JPS61195042A (en) Data transmission controller
JPH02311050A (en) Data transfer controller
JP2580962B2 (en) Collective panel device
JP2619385B2 (en) DMA controller
JP2002149626A (en) Microcomputer
JP2857212B2 (en) Configuration control method of multiprocessor system
JPH0612190A (en) Magnetic disk control system
JPS61118847A (en) Simultaneous access control system of memory
JPS58182737A (en) Information processor
JP2841432B2 (en) Data transfer device
JPH0642238B2 (en) Data processing system
JPH09185460A (en) Control system for external storage device
JPS61271555A (en) Transferring system for direct memory access
JPH02201559A (en) Hierarchical memory controller
JPH0619867A (en) Memory check system
JPH05173936A (en) Data transfer processing device
JPH08166921A (en) Direct memory access device and its data transfer system
JPH0240752A (en) Device information transfer system
JPH08221106A (en) Programmable controller

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees