JPH09293003A - Computers and computer systems - Google Patents

Computers and computer systems

Info

Publication number
JPH09293003A
JPH09293003A JP10652596A JP10652596A JPH09293003A JP H09293003 A JPH09293003 A JP H09293003A JP 10652596 A JP10652596 A JP 10652596A JP 10652596 A JP10652596 A JP 10652596A JP H09293003 A JPH09293003 A JP H09293003A
Authority
JP
Japan
Prior art keywords
computer
program
address
branch
interrupt
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.)
Granted
Application number
JP10652596A
Other languages
Japanese (ja)
Other versions
JP3462001B2 (en
Inventor
Kenji Kojima
賢二 小島
Yasuharu Fukushima
康晴 福島
Mamoru Miyoshi
三好  守
Masatoshi Saito
正年 斉藤
Hiroyuki Nakano
博之 中野
Akio Toda
明男 戸田
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP10652596A priority Critical patent/JP3462001B2/en
Publication of JPH09293003A publication Critical patent/JPH09293003A/en
Application granted granted Critical
Publication of JP3462001B2 publication Critical patent/JP3462001B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Hardware Redundancy (AREA)
  • Debugging And Monitoring (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Testing And Monitoring For Control Systems (AREA)
  • Executing Machine-Instructions (AREA)
  • Multi Processors (AREA)
  • Stored Programmes (AREA)

Abstract

(57)【要約】 【課題】 計算機の性能向上を図る。 【解決手段】 制御プログラムの分岐命令として、命令
オペランドに分岐先の論理アドレスを記載しておき、ま
た、ページ管理テーブル5bは、各プログラムの先頭ア
ドレス(物理アドレス)を記載しておく。分岐命令実行
時には、命令オペランドの分岐先論理アドレスを読み出
すと共に、ページ管理テーブル5bのプログラム開始時
点のアドレスを読み出し、この読み出した両アドレスを
加算することにより制御プログラムの分岐先物理アドレ
スを獲得し、その物理アドレスのプログラムを実行する
ことにより、従来の分岐命令時に参照していた分岐ブロ
ックを不要としてメモリサイズを削減し、プログラムの
実行性能を向上する。
(57) [Abstract] [Problem] To improve the performance of a computer. As a branch instruction of a control program, a logical address of a branch destination is described in an instruction operand, and a head address (physical address) of each program is described in a page management table 5b. When a branch instruction is executed, the branch destination logical address of the instruction operand is read, the address at the program start time of the page management table 5b is read, and the read destination addresses are added to obtain the branch destination physical address of the control program. By executing the program of the physical address, the branch block referred to at the time of the conventional branch instruction is unnecessary, the memory size is reduced, and the execution performance of the program is improved.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】この発明は、制御プログラム
を実行してプラントの制御などを行う計算機、および、
複数の計算機からなる計算機システムに関するもので、
特に処理性能の向上、メンテナンス性の向上などの性能
の向上を図るものある。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer that executes a control program to control a plant, and the like.
It relates to a computer system consisting of multiple computers,
In particular, it is intended to improve performance such as improvement of processing performance and maintainability.

【0002】[0002]

【従来の技術】[Prior art]

従来の技術1.図37は例えば、特開平4−33200
2号公報に示された従来の計算機システムを示す構成図
である。図において、1はプロセッサ(計算機)10の
実行に必要な制御プログラム5a及び制御データや起動
管理テーブル等の制御情報の開発と保守を行う保守ツー
ルで、通常はパソコンなどの端末器が用いられる。
Conventional Technology 1. FIG. 37 shows, for example, Japanese Patent Laid-Open No. 4-33200.
It is a block diagram which shows the conventional computer system shown by the 2nd publication. In the figure, reference numeral 1 is a maintenance tool for developing and maintaining a control program 5a necessary for executing the processor (computer) 10 and control information such as control data and a start management table, and a terminal such as a personal computer is usually used.

【0003】1aは制御プログラム等の制御情報を格納
するハードディスク装置である。2はシステムバス、3
はシステムバス2によりプロセッサ10と接続されたI
Oインタフェース、4は制御対象機器のプラントシステ
ムである。
A hard disk device 1a stores control information such as a control program. 2 is the system bus, 3
Is an I connected to the processor 10 by the system bus 2.
O interfaces 4 are plant systems of controlled equipment.

【0004】10はプロセッサ(計算機)であり次に示
す構成からなる。5はプロセッサ10のメモリ、5aは
制御プログラム、5bは制御プログラム5aをメモリ5
上に格納するときの管理情報を保持するページ管理テー
ブル、5cは分岐先論理アドレスを格納する分岐ブロッ
クであり、保守ツール1からの制御プログラム5a書き
換え要求で指定される分岐ブロック情報を保持する。
Reference numeral 10 denotes a processor (computer) having the following structure. 5 is a memory of the processor 10, 5a is a control program, 5b is a control program 5a in the memory 5
The page management table 5c for holding the management information when stored above is a branch block for storing the branch destination logical address, and holds the branch block information specified by the control program 5a rewriting request from the maintenance tool 1.

【0005】分岐ブロック情報は、制御プログラムの先
頭からの命令ステップ数を分岐先論理アドレスとして一
つまたは複数の分岐先論理アドレスを保持する情報であ
る。6は保守ツール1から送られてきた制御情報をプロ
セッサ10に登録する要求処理部、6aは保守ツール1
からの制御情報を受信する受信部、6bは制御情報を処
理した結果を保守ツール1に送信する送信部である。
The branch block information is information for holding one or a plurality of branch destination logical addresses with the number of instruction steps from the head of the control program as a branch destination logical address. 6 is a request processing unit for registering the control information sent from the maintenance tool 1 in the processor 10, and 6a is the maintenance tool 1
The receiving section 6b receives the control information from the control tool 6b, and the transmitting section 6b sends the result of processing the control information to the maintenance tool 1.

【0006】6cは保守ツール1からの制御情報を制御
プログラム5aとして格納するための処理をするプログ
ラム書き換え処理部、7は制御プログラム5aを実行す
るプログラム実行部である。
Reference numeral 6c is a program rewriting processing unit for performing processing for storing the control information from the maintenance tool 1 as the control program 5a, and 7 is a program execution unit for executing the control program 5a.

【0007】また、図40は、従来の計算機システムの
ページ管理テーブル5の構成例であり、モジュール分割
された個々の制御プログラムの置かれているアドレス
(メモリ先頭からの物理オフセットアドレス)をプログ
ラム番号に対応させて保持する。
FIG. 40 shows an example of the configuration of the page management table 5 of the conventional computer system, in which the address (physical offset address from the beginning of the memory) where each module-divided control program is placed is a program number. Hold in correspondence with.

【0008】図41は、従来の計算機システムの分岐命
令の構成を示しており、そのオペランド部には、分岐ブ
ロックから分岐先論理アドレスを得るための識別子であ
る分岐先ブロック番号を保持している。
FIG. 41 shows the structure of a branch instruction of a conventional computer system, and its operand part holds a branch target block number which is an identifier for obtaining a branch target logical address from a branch block. .

【0009】図42は、分岐処理を説明する図で、分岐
命令に基づいて分岐処理する場合を示している。図の左
のプログラム5がこの場合の処理対象の制御プログラム
を表し、このプログラムが図37に示すメモリ5上の制
御プログラム5aに格納される。
FIG. 42 is a diagram for explaining the branch processing and shows a case where the branch processing is performed based on a branch instruction. The program 5 on the left side of the figure represents the control program to be processed in this case, and this program is stored in the control program 5a on the memory 5 shown in FIG.

【0010】次に動作について図38及び図39のフロ
ーに従って説明する。先ず、図38のプログラム書き換
えが要求された際の処理のフローを説明する。 (1)保守ツール1から送られてきたプログラム書き換
え処理要求を、要求処理部6の受信部6aが受信し、プ
ログラム書き換え処理部6cに送る。
Next, the operation will be described with reference to the flow charts of FIGS. 38 and 39. First, the flow of processing when the program rewriting in FIG. 38 is requested will be described. (1) The program rewriting processing request sent from the maintenance tool 1 is received by the receiving unit 6a of the request processing unit 6 and sent to the program rewriting processing unit 6c.

【0011】(2)プログラム書き換え処理部6cは、
指定されたモジュールの制御プログラム(図42では、
プログラム5)をメモリ部5の制御プログラム5a領域
に書き込むと共に(ST000)、
(2) The program rewrite processing section 6c
The control program of the designated module (in FIG. 42,
The program 5) is written in the control program 5a area of the memory unit 5 (ST000),

【0012】(3)制御プログラム5aへの書き込み位
置をメモリ部5の先頭からのオフセットアドレスである
物理アドレスで表現し、指定されたプログラム番号に対
応させてページ管理テーブル5bに登録する(ST00
1)。即ち、図42のようにページ管理テーブル5b
は、「プログラム1、プログラム2、・・・」の順に制
御プログラム5の各プログラムの先頭からの物理アドレ
スが「アドレス1、アドレス2、・・アドレス5、・・
・」と格納される。
(3) The writing position to the control program 5a is expressed by a physical address which is an offset address from the head of the memory unit 5, and is registered in the page management table 5b in correspondence with the designated program number (ST00).
1). That is, as shown in FIG. 42, the page management table 5b
Is the physical address from the beginning of each program of the control program 5 in the order of "program 1, program 2, ...", "address 1, address 2, ... address 5, ...
・ ”Is stored.

【0013】(4)次に、指定されたモジュールの分岐
ブロック情報をメモリ部5の分岐ブロック5c領域に書
き込む(ST002)。分岐ブロック5cは、図42の
ように制御プログラム(プログラム5)内に「分岐命令
3」があると、その物理アドレスを分岐ブロック5cの
3番目にアドレス4として格納する。そして、このアド
レス4とページ管理プログラム5bのプログラム5の先
頭アドレス5とを加えたもの(図42のa)が「分岐先
物理アドレス」となり、制御プログラム5aの分岐先の
分岐プログラムの位置となる。
(4) Next, the branch block information of the designated module is written in the branch block 5c area of the memory unit 5 (ST002). The branch block 5c stores the physical address as the address 4 at the third position of the branch block 5c when the "branch instruction 3" is present in the control program (program 5) as shown in FIG. Then, the address 4 and the start address 5 of the program 5 of the page management program 5b (a in FIG. 42) become the "branch destination physical address", which is the position of the branch program of the branch destination of the control program 5a. .

【0014】図39の分岐命令実行時の分岐命令処理の
フローを説明する。 (1)プログラム実行部7は、メモリ部5の制御プログ
ラム5aから命令を抽出し(ST005)、 (2)分岐命令であれば、例えば、図42の分岐命令3
であれば(ST006)、 (3)図41に示すオペランド部の分岐先ブロック番号
を識別子として使用し、分岐ブロック5c(図42のア
ドレス4)を参照して分岐先論理アドレスを取り出す
(ST007)。
The flow of branch instruction processing when executing the branch instruction of FIG. 39 will be described. (1) The program execution unit 7 extracts an instruction from the control program 5a of the memory unit 5 (ST005). (2) If the instruction is a branch instruction, for example, the branch instruction 3 in FIG.
If so (ST006), (3) the branch target block number of the operand part shown in FIG. 41 is used as an identifier, and the branch target logical address is extracted by referring to the branch block 5c (address 4 in FIG. 42) (ST007). .

【0015】(3)ページ管理テーブル5bの情報(図
42のアドレス5)を参照して分岐先論理アドレスを物
理アドレスに変換する(ST008)。 (4)変換された物理アドレス(図42のa)を用いて
プログラム実行部7は、分岐先の命令を実施する(ST
009)。
(3) The branch destination logical address is converted into a physical address by referring to the information (address 5 in FIG. 42) in the page management table 5b (ST008). (4) The program execution unit 7 executes the branch destination instruction using the converted physical address (a in FIG. 42) (ST
009).

【0016】従来の技術2.制御プログラムの実行の
際、トレースを行いそのトレース情報を収集する場合を
説明する。図37において、プログラム実行部7は、こ
の中に図43の制御プログラム実行のトレース機能を有
している。
Prior art 2. A case where tracing is performed and the trace information is collected when the control program is executed will be described. In FIG. 37, the program execution section 7 has a trace function for executing the control program shown in FIG. 43.

【0017】図43において、400はトレース情報を
格納するトレースメモリであり、401のトレースデー
タ収集部で収集されたトレースデータを格納する。
In FIG. 43, 400 is a trace memory for storing trace information, which stores the trace data collected by the trace data collecting unit 401.

【0018】401のトレースデータ収集部は、401
aのトレース履歴レジスタにトレースした履歴を記録し
ながら、トレースデータを収集する。402は制御プロ
グラム実行のための制御プログラムアドレスで、実行し
た制御プログラムのアドレスが格納されている。この制
御アドレスはプログラムカウンタが用いられる。
The trace data collection unit 401
Trace data is collected while recording the trace history in the trace history register of a. Reference numeral 402 denotes a control program address for executing the control program, which stores the address of the executed control program. A program counter is used for this control address.

【0019】403はアドレス一致検出部であり、40
2の制御プログラムアドレスを監視する。403aはア
ドレス一致開始レジスタ、403bはアドレス一致終了
レジスタである。404は、アドレス一致開始レジスタ
403aとアドレス一致終了レジスタ403bの間に制
御プログラムアドレス402があることを検出すると出
力するトレース要求信号である。
Reference numeral 403 is an address coincidence detection unit,
Monitor the control program address of 2. Reference numeral 403a is an address match start register, and 403b is an address match end register. A trace request signal 404 is output when it is detected that the control program address 402 exists between the address match start register 403a and the address match end register 403b.

【0020】また、図44はトレース履歴レジスタ40
1aの構造図であり、トレース完了情報(この場合
「1」の情報)は、アドレス一致開始アドレスからの相
対番号に対応したビット位置に順次格納される。
FIG. 44 shows the trace history register 40.
1a is a structural diagram, and trace completion information (information of "1" in this case) is sequentially stored in a bit position corresponding to a relative number from an address match start address.

【0021】次に図37の従来の計算機システムがトレ
ースデータを収集する動作について図45のフローチャ
ートに従って説明する。 (1)アドレス一致検出部403は、制御プログラムア
ドレス402を監視し、トレース開始アドレス403a
とトレース終了アドレス403bの間であると云うトレ
ースデータ収集条件を満たした時、トレース要求信号4
04を出力する。(ST400)
The operation of the conventional computer system shown in FIG. 37 for collecting trace data will be described below with reference to the flow chart shown in FIG. (1) The address match detection unit 403 monitors the control program address 402 and traces the trace start address 403a.
And trace end address 403b, the trace request signal 4
04 is output. (ST400)

【0022】(2)トレース要求信号404が出力され
ると、トレースデータ収集部401がこれを検知し(S
T401)、 (3)トレース履歴レジスタ401aからトレースデー
タ収集済みか否かを判定する(ST402)。
(2) When the trace request signal 404 is output, the trace data collection unit 401 detects this (S
(T401), (3) It is determined whether or not the trace data has been collected from the trace history register 401a (ST402).

【0023】(4)トレースデータ収集済みなら、その
回のトレース収集処理を終了し、トレースデータ未収集
なら、制御プログラムの実行結果、アクセスデータなど
のトレースデータを、トレースメモリ400の中の制御
プログラムアドレス402に対応した位置に格納する
(ST403)。 (5)トレースデータの収集完了後、トレース完了の情
報を、トレース履歴レジスタ401a内の制御プログラ
ムアドレス402に対応した位置に格納する(ST40
4)。 (6)この一連の動作を、検出されたアドレスがトレー
ス終了アドレスか否かを判定し、アドレス一致終了レジ
スタ403bに設定されたトレース終了アドレスのトレ
ースデータ収集が完了するまで行う(ST405)。
(4) If the trace data has been collected, the trace collection processing for that time is ended. If the trace data has not been collected, the trace data such as the execution result of the control program and access data is stored in the control program in the trace memory 400. The data is stored in the position corresponding to the address 402 (ST403). (5) After the trace data collection is completed, the trace completion information is stored in the trace history register 401a at a position corresponding to the control program address 402 (ST40).
4). (6) This series of operations is performed until it is determined whether the detected address is the trace end address and the trace data collection of the trace end address set in the address match end register 403b is completed (ST405).

【0024】従来の技術3.従来の計算機システムの制
御プログラム書き換え処理の動作について図46のフロ
ーチャートを用いて説明する。なお、構成は図37と同
一である。 (1)保守ツール1から新たな制御プログラムが出力さ
れると、要求処理部6がこれを検知し(ST500)、
Prior art 3. The operation of the control program rewriting process of the conventional computer system will be described with reference to the flowchart of FIG. Note that the configuration is the same as in FIG. (1) When a new control program is output from the maintenance tool 1, the request processing unit 6 detects this (ST500),

【0025】(2)プログラム実行部7に検知した旨を
知らせると共に、受信部6aがその新たな制御プログラ
ムを受信する(ST501)。 (3)受信部6aが変更に関わる制御プログラムが実行
中であるか否かを判定し(ST502)、
(2) Notifying the program execution section 7 of the detection, the receiving section 6a receives the new control program (ST501). (3) The receiving unit 6a determines whether or not the control program relating to the change is being executed (ST502),

【0026】(4)実行停止ならプログラム書き換え処
理部6cに制御プログラム5aの書き換えを指示する
(ST503)。 (5)プログラム書き換え処理部6cは、指示を受けて
新たな制御プログラム及び管理情報に更新する(ST5
04)。
(4) If execution is stopped, the program rewriting processing unit 6c is instructed to rewrite the control program 5a (ST503). (5) Upon receiving the instruction, the program rewrite processing unit 6c updates the new control program and management information (ST5).
04).

【0027】(6)必要であれば変更されたプログラム
を実行可能にする(ST505)。 (7)制御プログラムが実行途中で他の処理に一時移っ
ている等の実行中であれば実行完了まで待って(ST5
06)、制御プログラムが停止した後、制御プログラム
5aを書き換える。
(6) If necessary, the changed program is made executable (ST505). (7) If the control program is being executed, such as temporarily transferring to another process during execution, wait until the execution is completed (ST5
06), after the control program is stopped, the control program 5a is rewritten.

【0028】従来の技術4.計算機システムの割込処理
について説明する。図47は、例えば特開平7−141
228号公報に示された従来の計算機システムを示すブ
ロック図である。
Prior art 4. The interrupt processing of the computer system will be described. FIG. 47 shows, for example, JP-A-7-141.
It is a block diagram which shows the conventional computer system shown by the No. 228 publication.

【0029】図において、3はプラントシステム4に接
続されている入出力インタフェース(IOインタフェー
ス)である。605はプラントシステム4からの割込を
検出する割込検出部であり、602は割込検出部605
が正常検出時に割込番号をセットする割込番号、603
は異常検出時にエラー番号をセットするエラー番号、6
01はIO割込またはエラーをプロセッサ10に通知す
る割込通知部である。
In the figure, 3 is an input / output interface (IO interface) connected to the plant system 4. Reference numeral 605 is an interrupt detection unit that detects an interrupt from the plant system 4, and 602 is an interrupt detection unit 605.
An interrupt number, which sets an interrupt number when a normal is detected, 603
Is an error number that sets an error number when an error is detected, 6
Reference numeral 01 is an interrupt notification unit for notifying the processor 10 of an IO interrupt or an error.

【0030】604は制御対象であるプラントシステム
4とプロセッサ10との間で入出力が行われるプラント
データである。600はIOインタフェース3からの割
込通知を受信するIO割込・エラー受信であり、プログ
ラム実行部7に、割込もしくはエラーに対応する制御プ
ログラム5aの起動を指示する。
Reference numeral 604 is plant data input / output between the plant system 4 to be controlled and the processor 10. An IO interrupt / error reception 600 receives an interrupt notification from the IO interface 3, and instructs the program execution unit 7 to start the control program 5a corresponding to the interrupt or error.

【0031】従来の計算機システムにおけるIO割込通
知の動作について説明する。図48と図49は、従来の
IOインタフェース3の割込通知処理およびプロセッサ
10の割込受信処理のフローチャートであり、このフロ
ーチャートに従って説明する。
The operation of IO interrupt notification in the conventional computer system will be described. 48 and 49 are flowcharts of the interrupt notification process of the conventional IO interface 3 and the interrupt reception process of the processor 10, which will be described below.

【0032】(1)割込検出部605がプラントシステ
ム4からの割込検出を行う(ST700)。 (2)割込が正常検出であれば(ST701)、 (3)割込番号602をセットし(ST702)、
(1) The interrupt detection unit 605 detects an interrupt from the plant system 4 (ST700). (2) If the interrupt is normally detected (ST701), (3) Set the interrupt number 602 (ST702),

【0033】(4)割込通知部601がプロセッサ10
にIO割込を通知する(ST703)。 (5)一方割込検出が正常検出でなければ、エラー番号
603をセットし(ST704)、 (6)割込通知部601がプロセッサ10にIOエラー
を通知する(ST705)。
(4) The interrupt notification unit 601 is the processor 10
Is notified of the IO interrupt (ST703). (5) On the other hand, if the interrupt detection is not normal, an error number 603 is set (ST704), and (6) the interrupt notification unit 601 notifies the processor 10 of an IO error (ST705).

【0034】(7)プロセッサ10では、IO割込・エ
ラー受信600がIOインタフェース3からの通知を受
信する(ST710)。 (8)IO割込通知であれば(ST711)、 (9)割込番号602の読み込みを行い(ST71
2)、
(7) In the processor 10, the IO interrupt / error reception 600 receives the notification from the IO interface 3 (ST710). (8) If it is an IO interrupt notification (ST711), (9) the interrupt number 602 is read (ST71
2),

【0035】(10)読み出した割込番号の制御プログ
ラム5aを起動する(ST713)。 (11)一方IO割込通知でなければ(ST711)、
エラー番号603の読み込みを行い(ST714)、 (12)読み出したエラー番号の制御プログラム5aを
起動する(ST715)。
(10) The control program 5a having the read interrupt number is started (ST713). (11) On the other hand, if it is not an IO interrupt notification (ST711),
The error number 603 is read (ST714), and (12) the control program 5a having the read error number is activated (ST715).

【0036】従来の技術5.図50は、例えば、特開平
5−12236号公報に示された従来の故障監視プロセ
ッサの故障処理制御部である。図において、2は各プロ
セッサ間を接続するシステムバス、11は計算機システ
ム全体の故障監視を行い外部へ故障処理出力を行うと共
にエラー履歴を残す故障監視プロセッサ、10ー1〜1
0−Nは、演算を主機能とするプロセッサである。
Prior art 5. FIG. 50 shows a failure processing control unit of a conventional failure monitoring processor disclosed in, for example, Japanese Patent Laid-Open No. 5-12236. In the figure, 2 is a system bus that connects the processors, 11 is a failure monitoring processor that monitors the failure of the entire computer system, outputs failure processing to the outside, and leaves an error history.
0-N is a processor whose main function is arithmetic.

【0037】20は現在のシステムバスに接続されたカ
ード構成情報がある構成テーブル部であり図52にその
詳細を示す。21は書き換え可能な不揮発性メモリにマ
ッピングされた現在のシステムバスに接続されているカ
ード分の故障処理設定テーブル部であり各カードでの故
障発生時の処理方法を規定している。
Reference numeral 20 denotes a configuration table section having card configuration information connected to the current system bus, the details of which are shown in FIG. Reference numeral 21 denotes a failure processing setting table portion for the cards connected to the current system bus, which is mapped in the rewritable nonvolatile memory, and defines a processing method when a failure occurs in each card.

【0038】22はプロセッサ10ー1〜10ーNから
システムバス2経由で通知される故障情報、23は22
の故障情報を元に故障状態を外部に出力する故障出力
部、24は構成テーブル部20の生成及び故障処理設定
テーブル部21の生成及び故障情報22の受信及び故障
出力部23を制御を処理する故障監視部である。
Reference numeral 22 is failure information notified from the processors 10-1 to 10-N via the system bus 2. Reference numeral 23 is 22.
A failure output unit that outputs a failure state to the outside based on the failure information of 24, a reference numeral 24 generates a configuration table unit 20, a failure processing setting table unit 21, receives failure information 22, and controls a failure output unit 23. It is a failure monitoring unit.

【0039】図51は従来の故障処理設定テーブル部2
1の内部構造である。図において、30−1はシステム
バス2に接続されたカード枚数、31−1〜31−Nは
プロセッサ10ー1〜10ーNが挿入されているスロッ
ト番号、
FIG. 51 shows a conventional fault processing setting table section 2
1 is the internal structure. In the figure, 30-1 is the number of cards connected to the system bus 2, 31-1 to 31-N are slot numbers in which the processors 10-1 to 10-N are inserted,

【0040】32−1〜32−Nはスロット番号31ー
1〜31ーNに示されるスロットに挿入されているカー
ドの種類を判別するカード種別コード、33−1〜33
−Nはそのカードの故障処理の設定内容で構成されてお
り、スロットに挿入されているカード枚数分のみのテー
ブルに圧縮される。
32-1 to 32-N are card type codes 33-1 to 33 for discriminating the type of the card inserted in the slot indicated by the slot numbers 31-1 to 31-N.
-N is configured by the contents of the failure processing of the card, and is compressed into a table of only the number of cards inserted in the slot.

【0041】図52は従来の構成テーブル部20の内部
構造である。図において、30−1bはシステムバス2
に接続されたカード枚数、32−0b〜32−Nbはス
ロット0〜Nに対応したカードの種類を判別するカード
種別コードで構成されており、カード種別コードにデー
タ(0以外、例えば「1」)が入っていれば、そのスロ
ット番号が有効となる。
FIG. 52 shows the internal structure of the conventional configuration table section 20. In the figure, 30-1b is the system bus 2
32-0b to 32-Nb, which are the number of cards connected to, are configured by a card type code that determines the type of card corresponding to slots 0 to N, and the card type code includes data (other than 0, for example, "1"). ) Is entered, the slot number is valid.

【0042】次に動作について説明する。あるプロセッ
サのカードにパリティエラー等の不具合があり、不良カ
ードを抜き取って、再立ち上げを行った場合、故障監視
部24の初期化処理において、現在のシステム構成と再
立ち上げ前のシステム構成に変更があるかをチェックす
る。
Next, the operation will be described. When a card of a certain processor has a defect such as a parity error and the defective card is removed and restarted, the initialization process of the failure monitoring unit 24 is performed with the current system configuration and the system configuration before the restart. Check for changes.

【0043】このチェックを行うために、構成テーブル
部20と前回まで使用されていた故障処理設定テーブル
部21のカード構成とを比較する。比較時に、カードを
抜き取りを行っている場合、現在の構成テーブル部20
と故障処理設定テーブル部21の情報が異なっているの
で、故障監視部24はシステムの再構築が行われたと判
断し、どの設定内容で稼働すればよいか判断できない。
In order to perform this check, the configuration table unit 20 is compared with the card configuration of the failure processing setting table unit 21 used until the last time. If the card is being removed at the time of comparison, the current configuration table unit 20
Since the information of the failure processing setting table section 21 is different from that of the failure processing setting table section 21, the failure monitoring section 24 determines that the system has been reconstructed and cannot determine which setting content should be used for operation.

【0044】この場合、前回されていた設定内容は無視
して、新規に予め用意していた、例えば、プロセッサの
状態が重故障であれば計算機システム状態も重故障とい
ったような標準の故障処理設定データ情報を故障処理設
定テーブル部21に上書きして動作していた。
In this case, the setting contents that were set last time are ignored, and the standard failure processing setting that is newly prepared in advance, for example, if the processor status is a major failure, the computer system status is also a major failure, is set. The failure information setting table unit 21 was overwritten with data information to operate.

【0045】構成テーブル部20と故障処理設定テーブ
ル部21との比較は、故障処理設定テーブル部内部の全
カード枚数30ー1と、挿入されているカードのスロッ
ト番号31ー1〜31ーNと、カード枚数番号毎のカー
ド種別コード32ー1〜32−Nが構成テーブル部の情
報と整合性が取れているかにより判断する。従来の比較
方法を以下図53のフローチャートに従って説明する。
A comparison between the configuration table unit 20 and the failure processing setting table unit 21 is made by comparing the total number of cards 30-1 in the failure processing setting table unit and the slot numbers 31-1 to 31-N of the inserted cards. It is determined whether the card type codes 32-1 to 32-N for the respective card number numbers are consistent with the information in the configuration table section. The conventional comparison method will be described below with reference to the flowchart of FIG.

【0046】(1)現在のシステムを構成するカード構
成が再立ち上げ前のシステムと同じ構成かをチェックす
るために、構成テーブル部20の全カード枚数30ー1
bを読み取り(ST700)、 (2)現在のシステム構成カード枚数が立ち上げ前のシ
ステム構成のカード枚数を示す故障処理設定テーブル部
21内の全カード枚数30ー1と一致するかどうか比較
する(ST701)。
(1) In order to check whether the card configuration of the current system is the same as that of the system before restarting, the total number of cards 30-1 in the configuration table section 20-1
b is read (ST700), (2) It is compared whether or not the current number of system configuration cards is equal to the total number of cards 30-1 in the failure processing setting table section 21 indicating the number of system configuration cards before startup ( ST701).

【0047】(3)不一致であれば(ST702)、 (4)システム構成に変更があるため、予め用意してい
た標準の設定を故障処理設定テーブル部21に書き込む
(ST707)。
(3) If they do not match (ST702), (4) there is a change in the system configuration, so standard settings prepared in advance are written in the failure processing setting table section 21 (ST707).

【0048】(5)システム構成カード枚数が一致して
いれば(ST702)、 (6)次に現在挿入されている有効スロット番号をチェ
ックするために、構成テーブル部20の有効カードのス
ロット番号が故障処理設定テーブル部21のスロット番
号31ー1と一致するか比較する(ST703)。
(5) If the number of system configuration cards is the same (ST702), (6) the slot number of the valid card in the configuration table section 20 is checked in order to check the valid slot number currently inserted. The slot number 31-1 of the failure processing setting table 21 is compared to see if it matches (ST703).

【0049】(7)不一致であれば(ST704)、 (8)標準値を故障処理設定テーブル部21に書き込む
(ST707)。
(7) If they do not match (ST704), (8) the standard value is written in the failure processing setting table section 21 (ST707).

【0050】(9)一致していれば(ST704)、 (10)現在そのスロットに挿入されているカードの種
類をチェックするために、構成テーブル部20のカード
種別コード31ー2bが以前そのスロットに挿入されて
いたカードの種類を示す故障処理設定テーブル部21の
カード種別コード32ー1と一致するか比較する(ST
705)。
(9) If they match (ST704), (10) In order to check the type of the card currently inserted in the slot, the card type code 31-2b of the configuration table section 20 was previously changed to that slot. Is compared with the card type code 32-1 of the failure processing setting table section 21 indicating the type of the card inserted in the card (ST
705).

【0051】(11)不一致であれば(ST706)、 (12)予め用意していた標準値を、故障処理設定テー
ブル部21に書き込む(ST707)。
(11) If they do not match (ST706), (12) the standard value prepared in advance is written in the failure processing setting table section 21 (ST707).

【0052】(13)一致すれば(ST706)、 (14)そのスロット番号に対してカード構成に変更が
ないため故障処理設定テーブル部21の設定内容33ー
1は書き換えない。 (15)上記処理を現在の全カード枚数30ー1b分繰
り返し行う(ST708)。
(13) If they match (ST706), (14) The setting contents 33-1 of the failure processing setting table section 21 are not rewritten because the card configuration does not change for that slot number. (15) The above process is repeated for the current number of cards of 30-1b (ST708).

【0053】現在のシステム構成と再立ち上げ前のシス
テム構成に変更がなければ、故障処理設定テーブル部2
1を書き換えず、前回の値そのまま使用され、計算機シ
ステムの重/軽故障等の外部への故障出力を制御する条
件として使用される。
If there is no change in the current system configuration and the system configuration before restarting, the failure processing setting table section 2
The value of 1 is used as it is without rewriting 1, and it is used as a condition for controlling the failure output to the outside such as a serious / light failure of the computer system.

【0054】[0054]

【発明が解決しようとする課題】 (1)従来の計算機システムは、以上のように構成され
ているので、分岐命令実行のための分岐ブロック用のメ
モリ容量が必要であり、コストの上昇を招くと共に、メ
モリ管理が必要となるため、処理が複雑であり、かつ、
制御プログラム実行時の分岐命令で毎回、分岐ブロック
の参照と分岐先物理アドレスへの変換、および分岐先物
理アドレスへの分岐を行う必要があり、制御プログラム
の実行性能の低下を招くという問題があった。
(1) Since the conventional computer system is configured as described above, it requires a memory capacity for a branch block for executing a branch instruction, which causes an increase in cost. At the same time, since memory management is required, the processing is complicated, and
It is necessary to refer to the branch block, convert to the branch destination physical address, and branch to the branch destination physical address every time a branch instruction is executed during execution of the control program, which causes a problem that the execution performance of the control program is degraded. It was

【0055】この発明は、分岐命令にかかわる分岐ブロ
ック用メモリが不要となり、コスト低下させると共に、
制御プログラムの実行性能を向上させることを目的とす
る。
The present invention eliminates the need for a branch block memory relating to a branch instruction, reducing the cost and
The purpose is to improve the execution performance of the control program.

【0056】(2)また、メンテナンス処理時に、保守
ツールがプロセッサから切り離されたとき、プロセッサ
は一定時間が経過後、タイムアウト処理を行うがタイム
アウト時間中はプロセッサは高負荷状態で、かつ資源も
少なくなるという問題があった。
(2) When the maintenance tool is disconnected from the processor during the maintenance processing, the processor performs the timeout processing after a lapse of a certain time, but during the timeout time, the processor is in a high load state and has few resources. There was a problem of becoming.

【0057】この発明は、上記のような課題を解決する
ためになされたもので、プロセッサが保守ツールの切り
離しを前記保守ツールに応答を返した時点で認識し、他
のメンテナンス要求を終了させることを目的とする。
The present invention has been made in order to solve the above problems, and the processor recognizes disconnection of a maintenance tool at the time of returning a response to the maintenance tool, and terminates other maintenance requests. With the goal.

【0058】(3)また、プログラムのトレースを行う
際、トレース開始アドレスとトレース終了アドレスの間
に繰り返し実行を行うような制御プログラムが記述され
た場合には、繰り返し実行2回目以降で、トレースデー
タ収集済みにも関わらず、トレース要求信号が出力され
る。
(3) In addition, when a control program that repeats execution is described between the trace start address and the trace end address when tracing the program, the trace data is repeated after the second execution. The trace request signal is output even though it has been collected.

【0059】トレースデータ収集部は、トレース履歴レ
ジスタの内容を基にトレースデータの収集を行うか否か
を判定するので、繰り返し実行2回目以降ではトレース
データが収集されることは無いが、繰り返しの回数が多
くなるにつれ、トレースデータの収集を行うか否かの判
定処理が無駄な処理となり、制御プログラムの実行のオ
ーバーヘッドとなって実行効率の低下を招くという問題
点があった。
Since the trace data collection unit determines whether or not to collect the trace data based on the contents of the trace history register, the trace data will not be collected after the second execution. As the number of times increases, there is a problem that the determination process of whether or not to collect the trace data becomes a wasteful process and becomes an overhead of execution of the control program, resulting in a decrease in execution efficiency.

【0060】この発明は上記のような課題を解決するた
めになされたものであり、制御プログラムの繰り返し部
分で無駄となる判定処理を事前に省き、トレース処理に
よる制御プログラム実行のオーバーヘッドを削減し、実
行効率を低下させないことが出来る計算機を得ることを
目的とする。
The present invention has been made in order to solve the above problems, and eliminates wasteful determination processing in the repeated portion of the control program in advance, reduces the overhead of the control program execution by the trace processing, The purpose is to obtain a computer that does not reduce the execution efficiency.

【0061】(4)また、従来の計算機システムは制御
プログラムが実行中にあるとき制御プログラムを新たな
ものに書き換える要求があった場合、該制御プログラム
が実行完了し、停止するまで待たなければならないた
め、制御プログラムを一定時間内に書き換えることが出
来ないという問題点があった。
(4) Also, in the conventional computer system, when a control program is being executed and a request is made to rewrite the control program with a new one, it is necessary to wait until the control program is completed and stopped. Therefore, there is a problem that the control program cannot be rewritten within a certain time.

【0062】この発明は上記のような課題を解決するた
めになされたものであり、実行中の制御プログラムに対
して制御プログラムの書き換え要求が出された場合に、
時間監視を開始し、タイムアウトした時実行中の制御プ
ログラムを強制エラー停止させて要求された書き換えを
完了させる計算機を得ることを目的とする。
The present invention has been made to solve the above problems, and when a control program rewriting request is issued to a control program being executed,
An object of the present invention is to obtain a computer that starts time monitoring and forcibly stops the control program being executed when a time-out occurs to complete the requested rewriting.

【0063】(5)また、複数のプロセッサ(計算機)
で構成した場合、割込や割込検出時のエラーは全てのプ
ロセッサに通知されるが、通知に対応して実行すべき制
御プログラムを持たないプロセッサに対して通知を行う
と、プロセッサのオーバヘッドが増加し、プロセッサの
処理能力の低下を招くという問題点があった。
(5) Also, a plurality of processors (computers)
When configured with, the error at the time of interrupt or interrupt detection is notified to all the processors, but if the notification is given to the processor that does not have the control program to be executed in response to the notification, the processor overhead will be increased. However, there is a problem in that the processing capacity of the processor increases and the processing capacity of the processor decreases.

【0064】この発明は上記のような問題点を解決する
ためになされたもので、プラントからの割込および割込
検出時のエラーの通知を、それぞれ関係付けられたプロ
セッサにのみ通知し、関係の無いプロセッサの処理能力
に影響を与えない計算機システムを得ることを目的とす
る。
The present invention has been made in order to solve the above problems, and notifies an error from the plant of an interrupt and an error at the time of detecting an interrupt only to the processors associated with the interrupt. It is an object of the present invention to obtain a computer system that does not affect the processing capacity of a processor without a processor.

【0065】(6)また、この発明は上記(5)の問題
点を解決するために、プラントからの割込および割込検
出時のエラーの通知を、それぞれ関係付けられたプロセ
ッサが故障状態であると、他のプロセッサに通知し、プ
ラントシステムに影響を与えない計算機システムを得る
ことを目的とする。
(6) Further, in order to solve the above-mentioned problem (5), the present invention notifies an error from the plant and an error notification at the time of detecting an interrupt when the associated processors are in a failure state. If so, the purpose is to notify another processor and obtain a computer system that does not affect the plant system.

【0066】(7)また、従来の故障処理設定テーブル
部を持つ計算機システムでは、システムバスに接続され
るカードの構成が変わると今まで設定していた故障処理
設定テーブル部の設定内容が標準の設定になってしまう
欠点があった。例えば、不具合が発生し、故障部位を判
別する際、不良カードの抜き取りを行い再立ち上げする
と、故障処理設定テーブル部の内容が標準化され、稼働
していた環境と異なってしまい、再度設定しなければな
らないという作業が発生した。また、カード交換時の設
定し忘れ等のヒューマンエラーにより、設定した値が標
準値に戻ってしまい、本来、稼働時に設定しなければな
らない設定値で稼働しないという欠点があった。
(7) Further, in the conventional computer system having the failure processing setting table section, when the configuration of the card connected to the system bus changes, the setting contents of the failure processing setting table section set up to now are standard. There was a drawback that it was set. For example, when a defect occurs and the faulty part is identified, if the defective card is removed and restarted, the contents of the fault processing setting table will be standardized, and it will differ from the operating environment, so it will be necessary to set it again. The work that must be done occurred. In addition, due to a human error such as forgetting to set the card when replacing the card, the set value returns to the standard value, and there is a drawback that the set value that should be set during operation does not work.

【0067】この発明は上記のような課題を解決するた
めになされたものであり、カード構成を変更しても前回
設定していれば、その情報を使用し、メンテナンス性の
向上、ヒューマンエラーの防止、さらに従来の既存のカ
ードのH/W構成の変更せずに、故障処理設定テーブル
部を使用した適用の異なるシステム(工業プラントシス
テム、発電プラントシステムなどの種々のシステム)に
おいても利用できることを目的とする。
The present invention has been made to solve the above problems. Even if the card configuration is changed, if the previous setting is made, the information is used to improve the maintainability and human error. It is possible to use it in various systems (industrial plant system, various systems such as power plant system) to which the failure processing setting table section is applied without changing the existing H / W configuration of the existing card. To aim.

【0068】[0068]

【課題を解決するための手段】[Means for Solving the Problems]

(1)この発明に係る計算機は、プログラムを予めメモ
リ上に登録する際、上記プログラム中の分岐命令の分岐
先を上記プログラムの先頭からの命令ステップ数で示す
分岐論理アドレスとし、この分岐論理アドレスを分岐命
令のオペランドとして登録する手段と、上記分岐命令を
実行する際、上記分岐命令のオペランドの分岐先論理ア
ドレスを分岐先物理アドレスに変換して分岐命令を実行
する手段とを備えたものである。
(1) In a computer according to the present invention, when a program is registered in a memory in advance, the branch destination of a branch instruction in the program is a branch logical address indicated by the number of instruction steps from the beginning of the program, and this branch logical address Is registered as an operand of a branch instruction, and when executing the branch instruction, means for converting the branch destination logical address of the branch instruction operand into a branch destination physical address and executing the branch instruction. is there.

【0069】(2)また、プログラムを予めメモリ上に
登録する際、上記プログラム中の分岐命令の分岐先を上
記メモリの先頭からオフセットアドレスで示す分岐物理
アドレスとし、この分岐物理アドレスを分岐命令のオペ
ランドとして登録する手段と、上記分岐命令を実行する
際、上記分岐命令のオペランドの分岐先物理アドレスに
基づいて分岐命令を実行する手段とを備えたものであ
る。
(2) When the program is registered in the memory in advance, the branch destination of the branch instruction in the program is set to the branch physical address indicated by the offset address from the head of the memory, and the branch physical address of the branch instruction is set. It is provided with means for registering as an operand and means for executing the branch instruction based on the branch destination physical address of the operand of the branch instruction when executing the branch instruction.

【0070】(3)また、複数の保守ツールからのメン
テナンス要求に応じてメンテナンスを実行する計算機に
おいて、上記保守ツールの異常状態を検出するエラー検
出手段と、このエラー検出手段でエラーを検出すると、
そのエラーが検出された保守ツールからのメンテナンス
要求に対応するメンテナンス処理を中止する中止手段と
を備えたものである。
(3) In a computer that executes maintenance in response to a maintenance request from a plurality of maintenance tools, an error detecting means for detecting an abnormal state of the maintenance tool and an error detected by the error detecting means
And a canceling means for canceling the maintenance process corresponding to the maintenance request from the maintenance tool in which the error is detected.

【0071】(4)また、プログラムの実行中に、トレ
ースデータ収集開始アドレスからトレースデータ収集終
了アドレスまでのトレースデータ収集範囲を監視しなが
らトレースデータをトレースメモリへ格納する計算機に
おいて、一つのアドレス対応のデータを収集すると、ト
レースデータ収集開始アドレスをトレースデータを収集
した次のプログラムのアドレスに更新する手段を備え、
上記更新したトレースデータ収集開始アドレスから上記
トレースデータ収集終了アドレスまでのトレースデータ
収集範囲を監視しながらトレースデータをトレースメモ
リへ格納するようにしたものである。
(4) Further, in the computer that stores the trace data in the trace memory while monitoring the trace data collection range from the trace data collection start address to the trace data collection end address during the execution of the program, one address correspondence When the data of is collected, a means for updating the trace data collection start address to the address of the next program that collected the trace data is provided,
The trace data is stored in the trace memory while monitoring the trace data collection range from the updated trace data collection start address to the trace data collection end address.

【0072】(5)また、実行中のプログラムに対し書
き換え要求があったとき、所定時間経過しても上記プロ
グラムが実行中であると、そのプログラムの実行を停止
してプログラム書き換えを行う手段を備えたものであ
る。
(5) Further, when a rewriting request is made to the program being executed, and if the program is being executed even after a predetermined time has passed, a means for stopping the execution of the program and rewriting the program is provided. Be prepared.

【0073】(6)この発明の計算機システムは、制御
対象を入出力インタフェースを介して複数の計算機で制
御すると共に、上記入出力インタフェースは、上記制御
対象から割込信号を入力として各計算機へ通知する計算
機システムにおいて、上記入出力インタフェースは、予
め割込信号の内容に応じて実行する計算機を設定してお
き、入力された割込信号を実行する計算機のみに通知す
る手段を備えたものである。
(6) In the computer system of the present invention, the controlled object is controlled by a plurality of computers via the input / output interface, and the input / output interface notifies each computer as an interrupt signal from the controlled object as an input. In the computer system described above, the input / output interface includes means for setting a computer to be executed in advance according to the content of the interrupt signal and notifying only the computer that executes the input interrupt signal. .

【0074】(7)また、制御対象を入出力インタフェ
ースを介して複数の計算機で制御すると共に、上記入出
力インタフェースは、上記制御対象から割込信号を入力
として各計算機へ通知する計算機システムにおいて、上
記入出力インタフェースは、予め割込信号の内容に応じ
て実行する計算機を設定しておき、入力された割込信号
を実行する計算機のみに通知する手段と、上記入力され
た割込信号が正常でなければ予め設定された計算機に対
してエラー情報を通知する手段とを備えたものである。
(7) Further, in the computer system in which the control target is controlled by a plurality of computers via the input / output interface, and the input / output interface notifies each computer as an input of an interrupt signal from the control target, The input / output interface sets a computer to be executed in advance according to the contents of the interrupt signal, and means for notifying only the computer that executes the input interrupt signal, and the input interrupt signal is normal. Otherwise, it is provided with a means for notifying a preset computer of error information.

【0075】(8)また、上記(6)まはた(7)にお
いて、入出力インタフェースは、計算機の故障を検出す
る故障検出手段と、予め計算機が故障した場合に変更す
る計算機を設定しておき、その変更する計算機に切り換
える計算機変更手段とを備え、割込通知先またはエラー
情報通知先の計算機が上記故障検出手段で故障検出され
ると、上記計算機変更手段により計算機を変更するよう
にしたものである。
(8) Further, in the above (6) or (7), the input / output interface is set with a failure detecting means for detecting a failure of the computer and a computer to be changed when the computer fails in advance. Every time, a computer changing means for switching to the computer to be changed is provided, and when the failure of the interrupt notification destination or the error information notification destination is detected by the failure detecting means, the computer is changed by the computer changing means. It is a thing.

【0076】(9)また、各計算機が各々カード上に配
設され、上記各計算機が互いに接続された計算機システ
ムにおいて、上記各カードの種別とその取付位置に対応
して上記各計算機の設定内容をバックアップしておくバ
ックアップ手段と、カードを取り付ける際、取付位置に
対応する種別のカードをその取付位置に取り付けると上
記バックアップ手段に保持された設定内容で設定する第
1の設定手段と、カードを取り付ける際、取付位置に対
応しない種別のカードをその取付位置に取り付けると、
予め設定した標準値を用いて設定する第2の設定手段と
を備えたものである。
(9) Further, in a computer system in which each computer is arranged on a card and the computers are connected to each other, the setting contents of each computer corresponding to the type of each card and its mounting position. Backup means and a first setting means for setting a card of the type corresponding to the mounting position at the mounting position when the card is mounted, and the first setting means for setting the setting contents held by the backup means, and the card. When installing, if you attach a card of a type that does not correspond to the mounting position to that mounting position,
Second setting means for setting using a standard value set in advance is provided.

【0077】[0077]

【発明の実施の形態】BEST MODE FOR CARRYING OUT THE INVENTION

実施の形態1.以下、この発明の一実施の形態を図につ
いて説明する。図1はこの発明の計算機システムのプロ
グラム書換え時を示す構成図であり、従来のものと同一
符号は説明を省略する。
Embodiment 1. Hereinafter, an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the program rewriting of the computer system of the present invention, and the explanation of the same reference numerals as those of the conventional one will be omitted.

【0078】図2及び図3はフローチャートで、図4は
命令オペランド構成図、図5は制御プログラム実行時の
アドレス変換処理を例示した図で、図6は制御プログラ
ムの分岐処理を実行時の説明図である。
2 and 3 are flowcharts, FIG. 4 is an instruction operand configuration diagram, FIG. 5 is a diagram exemplifying address conversion processing at the time of execution of the control program, and FIG. 6 is an explanation at the time of execution of branch processing of the control program. It is a figure.

【0079】図5について説明する。プログラム1,
2,3,・・・は、それぞれ複数のブロックから構成さ
れており、プログラム1では4ブロックに分けられ、そ
れぞれのブロックは、例えば128ステップの固定長に
している。各ブロックの先頭アドレスに対応する物理ア
ドレスの対象表をページ管理テーブル5bに登録し、こ
の内容によりプログラム1では、制御プログラムの0,
3,5,6の物理アドレスを先頭アドレスとするプログ
ラムを実行する。プログラム実行の際は、分岐アドレス
を従来の図37、図42に示す分岐ブロック5cを必要
としない。但し、プログラム書き換え時には、分岐ブロ
ックを必要とする。
FIG. 5 will be described. Program 1,
Each of 2, 3, ... Is composed of a plurality of blocks, and is divided into 4 blocks in the program 1, and each block has a fixed length of 128 steps, for example. The target table of the physical address corresponding to the start address of each block is registered in the page management table 5b. With this content, in the program 1, 0 of the control program,
The program having the physical addresses 3, 5, 6 as the start addresses is executed. When executing the program, the branch address does not require the conventional branch block 5c shown in FIGS. 37 and 42. However, a branch block is required when rewriting the program.

【0080】図6で分岐処理実行時について説明する。
従来の図42と対比すると分かるように、プログラム実
行時は、分岐ブロックを無くして、プログラム5の「分
岐3」には図4のオペランドに直接プログラム先頭から
のステップ数を記述しておき、ページ管理テーブル5b
を参照してプログラム5の開始アドレスである「アドレ
ス5」に、上記オペランドのステップ数を加えたものが
分岐先物理アドレス(a)を表し、制御プログラム5a
のa番目のアドレスが分岐先となり、その位置のプログ
ラムから実行する。
The execution of branch processing will be described with reference to FIG.
As can be seen from a comparison with the conventional FIG. 42, at the time of program execution, the branch block is eliminated, and the number of steps from the beginning of the program is directly described in the operand of FIG. Management table 5b
Referring to, the address obtained by adding the number of steps of the operand to "address 5" which is the start address of the program 5 represents the branch destination physical address (a), and the control program 5a
The a-th address of is the branch destination, and the program at that position is executed.

【0081】次に動作について図2及び図3のフローチ
ャートと共に説明する。図2は分岐命令が含まれるプロ
グラム書換え処理の動作フローを示したものである。 (1)保守ツール1から送られてきたプログラム書き換
え処理要求を、要求処理部6の受信部6aが受信し、プ
ログラム書き換え処理部6cに送る(ST100)。
Next, the operation will be described with reference to the flow charts of FIGS. FIG. 2 shows an operation flow of a program rewriting process including a branch instruction. (1) The program rewriting processing request sent from the maintenance tool 1 is received by the receiving unit 6a of the request processing unit 6 and sent to the program rewriting processing unit 6c (ST100).

【0082】(2)プログラム書き換え処理部6cは、
制御プログラムをメモリ部5の制御プログラム5a領域
に書き込むと共に(ST101)、 (3)制御プログラム5aへの書き込み位置をメモリ部
5の先頭からのオフセットアドレスである物理アドレス
で表現し、指定されたプログラム番号に対応させてペー
ジ管理テーブル5bに登録する(ST102)。
(2) The program rewrite processing section 6c
The control program is written in the control program 5a area of the memory unit 5 (ST101), and (3) the write position in the control program 5a is expressed by a physical address that is an offset address from the beginning of the memory unit 5, and the specified program It is registered in the page management table 5b in association with the number (ST102).

【0083】(4)前記プログラム書き込みが完了する
と、プログラム書き換え処理部6cは、プログラム書き
換え処理要求のあったプログラムから分岐命令の分岐先
を抽出し、オペランドに保持されている分岐ブロック番
号を識別子として用いて分岐ブロック情報を参照し、プ
ログラムの先頭からの命令ステップ数である分岐先論理
アドレスを獲得する(ST103)。
(4) When the program writing is completed, the program rewriting processing unit 6c extracts the branch destination of the branch instruction from the program for which the program rewriting processing is requested, and uses the branch block number held in the operand as an identifier. The branch block information is used to refer to the branch destination logical address, which is the number of instruction steps from the beginning of the program (ST103).

【0084】(5)獲得した前記分岐先論理アドレス
を、分岐命令実行時に分岐先として知る必要があるた
め、図4に示すように前記分岐命令のオペランドとして
登録する(ST104)。
(5) Since the acquired branch destination logical address needs to be known as a branch destination when executing a branch instruction, it is registered as an operand of the branch instruction as shown in FIG. 4 (ST104).

【0085】(6)上記ST103〜ST104をプロ
グラム中の分岐命令全てに対して行う(ST105)。
(6) The steps ST103 to ST104 are performed for all branch instructions in the program (ST105).

【0086】図3は分岐命令実行時の分岐命令処理の動
作フローを示したものである。 (1)プログラム実行部7は、メモリ部5の制御プログ
ラム5aから命令を抽出し(ST106)、 (2)分岐命令であれば(ST107)、図6では、プ
ログラム5の「分岐3」。 (3)ページ管理テーブル5bを参照して、該プログラ
ム番号に相当するメモリ5の先頭からの物理オフセット
アドレス(図6のアドレス5)と、図4に示す前記分岐
命令オペランドに格納された分岐先論理アドレス(図6
の分岐3の論理アドレス)とを加算し、分岐先物理アド
レスを得る(ST108)。
FIG. 3 shows an operation flow of branch instruction processing when executing a branch instruction. (1) The program execution unit 7 extracts an instruction from the control program 5a of the memory unit 5 (ST106). (2) If it is a branch instruction (ST107), in FIG. 6, "branch 3" of the program 5. (3) Referring to the page management table 5b, the physical offset address (address 5 in FIG. 6) from the beginning of the memory 5 corresponding to the program number and the branch destination stored in the branch instruction operand shown in FIG. Logical address (Fig. 6
And the logical address of branch 3) are obtained to obtain the branch destination physical address (ST108).

【0087】(4)プログラム実行部7は、算出した分
岐先物理アドレスに分岐し実行する(ST109)。 (5)ST106にて抽出した命令が分岐命令でなけれ
ば(ST107)、(6)各命令に従い実行する(ST
110)。 (7)プログラム中の全ての命令の実行が完了すれば
(ST111)、プログラム実行を終了する。
(4) The program execution section 7 branches to the calculated branch destination physical address and executes it (ST109). (5) If the instruction extracted in ST106 is not a branch instruction (ST107), (6) execute according to each instruction (ST
110). (7) When the execution of all the instructions in the program is completed (ST111), the program execution is ended.

【0088】以上のように、命令実行時には分岐ブロッ
クを参照することなく、分岐先論理アドレスを物理アド
レスに変換し、指定された物理アドレスへ制御プログラ
ムの制御移行を行うことができるため、プログラム書き
換え後は分岐ブロック情報を保持する必要がなくなり、
分岐ブロックの削除により命令実行時に必要なバックア
ップメモリサイズが大幅に削減できるので、計算機のコ
ストを低下させ、制御プログラムの実行性能が向上す
る。従って計算機処理の性能向上が図れる。
As described above, when the instruction is executed, the logical address of the branch destination can be converted into the physical address and the control program can be transferred to the specified physical address without referring to the branch block. After that, there is no need to retain branch block information,
By deleting the branch block, the backup memory size required at the time of instruction execution can be significantly reduced, so that the cost of the computer is reduced and the execution performance of the control program is improved. Therefore, the performance of computer processing can be improved.

【0089】なお、バックアップメモリは、通常、電源
OFFしても別電源がバックアップするメモリである
が、電源がバックアップしないメモリにも適用できる。
また、メモリの削減は、例えば25%程度削減できる。
The backup memory is usually a memory that is backed up by another power source even when the power is turned off, but it can also be applied to a memory that the power source does not back up.
Further, the memory can be reduced by, for example, about 25%.

【0090】実施の形態2.図7は、プログラム実行時
にページ管理テーブル5bを参照し、分岐先論理アドレ
スを分岐先物理アドレスに変換する処理を行う図1に対
し、プログラム書き換え時に、分岐先論理アドレスを分
岐先物理アドレスに変換する処理を行い、分岐命令実行
時には、ページ管理テーブルを参照せず直接プログラム
に記述された分岐先物理アドレスに基づいて分岐処理を
行うものである。
Embodiment 2. In FIG. 7, the page management table 5b is referred to when the program is executed, and the process of converting the branch destination logical address into the branch destination physical address is performed. In contrast to FIG. 1, the branch destination logical address is converted into the branch destination physical address when rewriting the program. When the branch instruction is executed, the branch processing is performed based on the branch destination physical address directly described in the program without referring to the page management table.

【0091】図7において、従来のものと同一符号は説
明を省略する。図8及び図9はフローチャートで、図1
0は命令オペランド構成図である。図11は分岐処理の
実行時の説明図である。
In FIG. 7, description of the same reference numerals as those of the conventional one will be omitted. 8 and 9 are flowcharts, and FIG.
0 is an instruction operand configuration diagram. FIG. 11 is an explanatory diagram when the branch process is executed.

【0092】次に動作について図8及び図9のフローチ
ャートと共に説明する。図8は分岐命令が含まれるプロ
グラム書き換え処理の動作フローを示したものである。 (1)保守ツール1から送られてきたプログラム書き換
え処理要求を、要求処理部6の受信部6aが受信し、プ
ログラム書き換え処理部6cに送る(ST200)。
Next, the operation will be described with reference to the flow charts of FIGS. FIG. 8 shows an operation flow of a program rewriting process including a branch instruction. (1) The program rewriting processing request sent from the maintenance tool 1 is received by the receiving unit 6a of the request processing unit 6 and sent to the program rewriting processing unit 6c (ST200).

【0093】(2)プログラム書き換え処理部6cは、
制御プログラムをメモリ部5の制御プログラム5a領域
に書き込むと共に(ST201)、 (3)制御プログラム5aへの書き込み位置をメモリ部
5の先頭からのオフセットアドレスである物理アドレス
で表現し、指定されたプログラム番号に対応させてペー
ジ管理テーブル5bに登録する(ST202)。
(2) The program rewrite processing unit 6c
The control program is written in the control program 5a area of the memory unit 5 (ST201), and (3) the writing position in the control program 5a is expressed by a physical address that is an offset address from the beginning of the memory unit 5, and the designated program is specified. The page management table 5b is registered in association with the number (ST202).

【0094】(4)前記プログラム書き込みが完了する
と、プログラム書き換え処理部6cは、プログラム書き
換え処理要求のあったプログラムから分岐命令の分岐先
を抽出し、オペランドに保持されている分岐ブロック番
号を識別子として用いて分岐ブロック情報を参照し、プ
ログラムの先頭からの命令ステップ数である分岐先論理
アドレスを獲得する(ST203)。
(4) When the program writing is completed, the program rewriting processing unit 6c extracts the branch destination of the branch instruction from the program for which the program rewriting processing is requested, and uses the branch block number held in the operand as an identifier. The branch block information is used to obtain the branch destination logical address, which is the number of instruction steps from the beginning of the program (ST203).

【0095】(5)分岐先論理アドレスを獲得すると、
プログラム書換え部6cは、前記ページ管理テーブル5
bを参照して、該プログラム番号に相当するメモリ5の
先頭からの物理オフセットアドレスに分岐先論理アドレ
スを加算し、分岐先物理アドレスを得る(ST20
4)。
(5) When the branch destination logical address is acquired,
The program rewriting unit 6c uses the page management table 5
Referring to b, the branch destination logical address is added to the physical offset address from the beginning of the memory 5 corresponding to the program number to obtain the branch destination physical address (ST20).
4).

【0096】(6)分岐先物理アドレスを図10に示す
ように前記分岐命令オペランドに書き込む(ST20
5)。 (7)上記ST203〜ST205をプログラム中の分
岐命令全てに対して行う(ST206)。
(6) The branch destination physical address is written in the branch instruction operand as shown in FIG. 10 (ST20
5). (7) The steps ST203 to ST205 are performed for all branch instructions in the program (ST206).

【0097】図9は分岐命令実行時の分岐命令処理の動
作フローを示したものである。 (1)プログラム実行部7は、メモリ部5の制御プログ
ラム5a(図11ではプログラム5で説明)から命令を
抽出し(ST207)、
FIG. 9 shows an operation flow of branch instruction processing when executing a branch instruction. (1) The program execution unit 7 extracts an instruction from the control program 5a (explained with the program 5 in FIG. 11) of the memory unit 5 (ST207),

【0098】(2)分岐命令であれば(ST208)、
例えば図11の「分岐3」であれば、 (3)図10に示す分岐命令オペランドに格納された分
岐先物理アドレスに分岐実行する(ST209)。
(2) If it is a branch instruction (ST208),
For example, in the case of “branch 3” in FIG. 11, (3) branch is executed to the branch destination physical address stored in the branch instruction operand shown in FIG. 10 (ST209).

【0099】(4)抽出した命令が前記分岐命令でなけ
れば、各命令に従い実行する(ST211)。 (5)プログラム中の全ての命令の実行が完了すれば
(ST210)、プログラム実行を終了する。
(4) If the extracted instruction is not the branch instruction, the instruction is executed according to each instruction (ST211). (5) When the execution of all the instructions in the program is completed (ST210), the program execution is ended.

【0100】以上のように、命令実行時には分岐ブロッ
ク及びページ管理テーブル共に参照することなく、指定
された物理アドレスへ制御プログラムの制御移行を行う
ことができるため、プログラム書き換え後は分岐ブロッ
ク情報およびページ管理テーブルを保持する必要がなく
なり、分岐ブロックおよびページ管理テーブルの削除に
より命令実行時に必要なバックアップメモリサイズが大
幅に削減できて、計算機のコストを低下させ、また、制
御プログラムの実行性能が向上する。
As described above, when the instruction is executed, the control program control can be transferred to the specified physical address without referring to the branch block and the page management table. It is no longer necessary to maintain the management table, and by deleting branch blocks and page management tables, the backup memory size required for instruction execution can be significantly reduced, reducing computer cost and improving control program execution performance. .

【0101】更に、命令実行時に論理アドレスから物理
アドレスへ変換する処理が削除されるため、命令実行速
度を向上させるという効果がある。従って、計算機の処
理性能が向上する。
Furthermore, since the process of converting a logical address to a physical address when an instruction is executed is deleted, there is an effect that the instruction execution speed is improved. Therefore, the processing performance of the computer is improved.

【0102】実施の形態3.この実施の形態はメンテナ
ンス処理を効率的に行うものである。図12はその構成
図で、6dは受信部6aで受信した要求を処理するメン
テナンス処理部、6fはメンテナンス処理をキャンセル
するキャンセル処理部、5dはメンテナンス要求処理で
使用する処理バッファである。図13、図14、図15
は処理動作のフローチャートである。
Embodiment 3 FIG. In this embodiment, maintenance processing is performed efficiently. FIG. 12 is a configuration diagram thereof, 6d is a maintenance processing unit for processing the request received by the receiving unit 6a, 6f is a cancellation processing unit for canceling the maintenance process, and 5d is a processing buffer used in the maintenance request process. 13, 14, and 15
Is a flowchart of the processing operation.

【0103】ここでメンテナンスとは、プログラムの変
更・修正、制御情報の変更や、トレース開始、トレース
データの読み出し等種々のものがある。キャンセルもメ
ンテナンスの一つであが、ここではキャンセルはメンテ
ナンスとは別にして説明する。また、パソコン等の保守
ツールからのメンテナンス要求は、メンテナンス要求そ
れ自身がプログラムの変更・修正内容である場合が多い
が、保守ツールからのメンテナンス要求(指令)に応じ
て、計算機側で所定のメンテナンス処理をする場合もあ
る。
Here, the maintenance includes various things such as program change / correction, control information change, trace start, and trace data read. Cancellation is also one of maintenance, but here, cancellation will be explained separately from maintenance. In addition, the maintenance request from a maintenance tool such as a PC is often the maintenance request itself which is the change / correction content of the program, but according to the maintenance request (command) from the maintenance tool, the prescribed maintenance is performed on the computer side. It may be processed.

【0104】次に動作について説明する。図13は実施
の形態3の計算機における要求受信処理の動作の流れを
示すフローチャートである。 (1)保守ツール1からのメンテナンス処理要求を受信
部6aが受信するとキャンセル要求かどうかを判定する
(ST300)。
Next, the operation will be described. FIG. 13 is a flowchart showing the operation flow of request reception processing in the computer of the third embodiment. (1) When the receiving unit 6a receives the maintenance process request from the maintenance tool 1, it is determined whether the request is a cancel request (ST300).

【0105】(2)判定結果がキャンセル要求でなく、
メンテナンス処理要求であれば受信部6aはメンテナン
ス処理部6dに受信データを送り(ST301)、 (3)メンテナンス処理部6dは処理バッファ5dに受
信データを登録する(ST302)。 (4)判定結果がキャンセル要求であれば、キャンセル
処理部6fに受信データを送る(ST303)。
(2) If the judgment result is not a cancel request,
If it is a maintenance processing request, the receiving unit 6a sends the received data to the maintenance processing unit 6d (ST301), and (3) the maintenance processing unit 6d registers the received data in the processing buffer 5d (ST302). (4) If the determination result is a cancel request, the received data is sent to the cancel processing unit 6f (ST303).

【0106】(5)キャンセル処理部6fは、図15の
フローチャートのように、処理バッファ5dで処理中の
メンテナンス処理が該保守ツール1からのコマンドかど
うかを判定し(ST304)、 (6)該保守ツール1からのコマンドであれば、該保守
ツール1のメンテナンス処理を登録している処理バッフ
ァ5dを削除する(ST305)。
(5) As in the flowchart of FIG. 15, the cancel processing unit 6f determines whether the maintenance processing being executed in the processing buffer 5d is a command from the maintenance tool 1 (ST304), (6) If the command is from the maintenance tool 1, the processing buffer 5d in which the maintenance processing of the maintenance tool 1 is registered is deleted (ST305).

【0107】また、図14は送信処理の流れを示すフロ
ーチャートである。 (1)メンテナンス処理の応答受信待ち状態(ST30
6)で、メンテナンス処理部6dからのメンテナンス処
理応答が無い場合は、受信待ちを続ける。 (2)メンテナンス処理部6dからの応答が来ると、保
守ツール1に対し応答を送る(ST307)。
FIG. 14 is a flow chart showing the flow of transmission processing. (1) Waiting state for receiving response for maintenance processing (ST30
In 6), if there is no maintenance processing response from the maintenance processing unit 6d, the reception waiting is continued. (2) When a response is received from the maintenance processing unit 6d, the response is sent to the maintenance tool 1 (ST307).

【0108】(3)前記応答処理でタイムアウト等の保
守ツール1の接続断のエラーが検出されると(ST30
8)、 (4)再び応答をリトライし、規定されたリトライ回数
を越えるとリトライオーバ(ST309)として応答を
中止する(ST310)。
(3) When an error of disconnection of the maintenance tool 1 such as a timeout is detected in the response process (ST30
8), (4) The response is retried again, and when the number of retries specified is exceeded, the response is aborted as a retry over (ST309) (ST310).

【0109】(5)このとき同じ保守ツール1からの他
の要求を終了させるためキャンセル要求のコマンドを生
成し、受信部6aに要求を送る(ST311)。 (6)受信部6aはこのキャンセル要求を受けて、該保
守ツールからの受けているコマンド処理のキャンセル処
理を図15のフローチャートで行う。
(5) At this time, a cancel request command is generated to end another request from the same maintenance tool 1, and the request is sent to the receiving section 6a (ST311). (6) Receiving the cancel request, the receiving unit 6a performs the cancel processing of the command processing received from the maintenance tool in the flowchart of FIG.

【0110】以上のように、保守ツールの接続が断とな
った場合、この保守ツールからのメンテナンス要求に対
する応答時のエラーが検出されるので、エラーが検出さ
れた保守ツールからの一つまたは複数のメンテナンス要
求に対応するメンテナンス処理が全てキャンセル処理さ
れるため、既に受け付けている他の保守ツールからのメ
ンテナンス処理はキャンセルされず、接続断となった保
守ツールのみのメンテナンスをキャンセルするので、他
の保守ツールからのメンテナンス処理要求が受け付け可
能となりメンテナンス処理を効率的に行える。従って計
算機処理の性能向上が図れる。
As described above, when the maintenance tool is disconnected, an error is detected when the maintenance tool responds to the maintenance request. Therefore, one or more maintenance tools from which the error was detected are detected. Since all the maintenance processing corresponding to the maintenance request of will be canceled, the maintenance processing from other maintenance tools that have already been accepted will not be canceled, and the maintenance of only the disconnected maintenance tool will be canceled. The maintenance process request from the maintenance tool can be accepted, and the maintenance process can be performed efficiently. Therefore, the performance of computer processing can be improved.

【0111】実施の形態4.この実施の形態は、制御プ
ログラムのトレース処理の効率化を図るものである。図
16はこの発明の計算機システムの実施の形態4を示す
ブロック図である。図において、400はトレースメモ
リ、401はトレースデータ収集部、402は制御プロ
グラムアドレスで、実行した制御プログラムのアドレス
が格納される。この制御アドレスはプログラムカウンタ
が用いられる。
Fourth Embodiment In this embodiment, the efficiency of the trace processing of the control program is improved. 16 is a block diagram showing a fourth embodiment of the computer system according to the present invention. In the figure, 400 is a trace memory, 401 is a trace data collection unit, 402 is a control program address, and the address of the executed control program is stored. A program counter is used for this control address.

【0112】403はアドレス一致検出部、404はト
レース要求信号である。405はアドレス書き換え部で
あり、次の制御プログラムアドレスを新たなアドレス一
致開始アドレスとして、アドレス一致開始レジスタ40
3aに格納する。
Reference numeral 403 is an address coincidence detector, and 404 is a trace request signal. An address rewriting unit 405 uses the next control program address as a new address match start address, and the address match start register 40
3a.

【0113】次に動作について図17のフローチャート
を用いて説明する。 (1)アドレス一致検出部403が制御プログラムアド
レス(プログラムカウンタ)402と、アドレス一致開
始レジスタ403aとのアドレス一致を検出し、トレー
ス要求信号404をトレースデータ収集部401へ出力
する(ST410)。
Next, the operation will be described with reference to the flowchart of FIG. (1) The address match detection unit 403 detects an address match between the control program address (program counter) 402 and the address match start register 403a, and outputs a trace request signal 404 to the trace data collection unit 401 (ST410).

【0114】(2)トレースデータ収集部401はトレ
ース要求信号404を検知し(ST411)、 (3)アドレス一致が検出されたアドレスはトレースデ
ータ未収集であるか否かをトレース履歴レジスタ401
aによって判定する(ST412)。
(2) The trace data collecting unit 401 detects the trace request signal 404 (ST411), and (3) it is determined whether the address where the address match is detected is the trace data uncollected or not.
It is judged by a (ST412).

【0115】(4)トレースデータ未収集の場合はトレ
ースデータを収集する(ST413)。 (5)トレースデータ収集完了後、トレース完了の情報
を、トレース履歴レジスタ401a内の制御プログラム
アドレス402に対応した位置に格納する(ST41
4)。
(4) If the trace data has not been collected, the trace data is collected (ST413). (5) After the trace data collection is completed, the trace completion information is stored in the trace history register 401a at a position corresponding to the control program address 402 (ST41).
4).

【0116】(6)アドレス書き換え部405が、制御
プログラムアドレス402に1加算したアドレスを新し
いトレース開始アドレスとして、アドレス一致検出部4
03のアドレス一致開始レジスタ403aに設定する
(ST415)。
(6) The address rewriting unit 405 uses the address obtained by adding 1 to the control program address 402 as a new trace start address, and the address matching detection unit 4
The address match start register 403 of No. 03 is set (ST415).

【0117】(7)トレース収集後検出されたアドレス
が、トレース終了アドレスか否かを判定し、トレース終
了アドレスのデータ収集が完了するまで実行する(ST
416)。
(7) It is judged whether or not the address detected after the trace collection is the trace end address, and the process is executed until the data collection of the trace end address is completed (ST
416).

【0118】従来のアドレス一致開始レジスタ403a
は、図44のようにトレースすべきアドレスを全て登録
しているが、この実施の形態では、図44のアドレス一
致開始レジスタ403aのトレース終了した開始アドレ
スは次のトレースすべき開始アドレスに書き換えられる
ので、トレース終了のアドレスまでトレースの要否を判
断する必要がなくなる。
Conventional address match start register 403a
44, all the addresses to be traced are registered, but in this embodiment, the start address of the trace end of the address match start register 403a of FIG. 44 is rewritten to the start address to be traced next. Therefore, it is not necessary to determine the necessity of tracing up to the address at the end of tracing.

【0119】以上のように、一度トレースデータを収集
した制御プログラムをトレース対象範囲から外すことに
より、トレースデータ収集済みの制御プログラムアドレ
スでアドレス一致を検出しないので無駄な判定処理をし
なくてよく、ループ制御などの繰り返し実行する部分で
のトレースデータ収集のオーバーヘッドが削減され、計
算機システムの負荷を軽減する。従って計算機処理の性
能向上が図れる。
As described above, by excluding the control program for which the trace data has been once collected from the trace target range, an address match is not detected at the control program address for which the trace data has been collected, so that it is not necessary to perform unnecessary judgment processing. The overhead of trace data collection in the repeated execution part such as loop control is reduced, and the load on the computer system is reduced. Therefore, the performance of computer processing can be improved.

【0120】実施の形態5.この実施の形態は、制御プ
ログラムの書き換えを効率的に行うものである。図18
は、この発明の実施の形態5を示す計算機システムの構
成図である。図において、従来のものと同一符号は同一
又は相当部分を示し説明を省略する。
Embodiment 5. In this embodiment, the control program is efficiently rewritten. FIG.
FIG. 13 is a configuration diagram of a computer system showing a fifth embodiment of the present invention. In the figure, the same reference numerals as those of the conventional one indicate the same or corresponding portions, and the description thereof will be omitted.

【0121】6eは制御プログラムの実行完了を時間監
視する時間監視部で、他の処理を行うため一時処理を移
行している等の、実行中となっているモジュールに対し
て実行完了までの時間監視を行う。時間監視部6eが実
行完了のタイムアウトを出力すると、6gのプログラム
強制停止部がタイムアウトとなったプログラムを強制エ
ラー停止させる。
Reference numeral 6e is a time monitoring unit for time-monitoring the completion of execution of the control program, which is the time until the execution is completed for the module which is being executed, for example, the temporary processing is being transferred to perform other processing. Monitor. When the time monitoring unit 6e outputs a time-out for execution completion, the program forced stop unit 6g stops the timed-out program by a forced error.

【0122】次に動作について図19のフローチャート
を用いて説明する。 (2)保守ツール1から新たな制御プログラムが出力さ
れると、要求処理部6がこれを検知し(ST510)、 (3)プログラム実行部7に検知した旨を知らせると共
に受信部6aがその新たな制御プログラムを受信する
(ST511)。
Next, the operation will be described with reference to the flowchart of FIG. (2) When a new control program is output from the maintenance tool 1, the request processing unit 6 detects this (ST510), and (3) the program execution unit 7 is informed of the detection and the receiving unit 6a receives the new control program. The control program is received (ST511).

【0123】(4)受信部6aが更新に関わる制御プロ
グラムが実行中であるか否かを判定し(ST512)、 (5)実行停止なら、プログラム書き換え処理部6cに
制御プログラムの書き換えを指示する(ST513)。
(4) The receiving unit 6a determines whether or not the control program related to the update is being executed (ST512). (5) If the execution is stopped, the program rewriting processing unit 6c is instructed to rewrite the control program. (ST513).

【0124】(6)プログラム書き換え処理部6cは、
指示を受けて新たな制御プログラムに更新する(ST5
14)。 (7)制御プログラムが実行中であれば、時間監視部6
eに、例えば実行周期の3倍の時間の時間監視を指示
し、変更に係る制御プログラムの実行完了を監視する
(ST516)。
(6) The program rewrite processing unit 6c
Upon receiving the instruction, the control program is updated to a new control program (ST5
14). (7) If the control program is being executed, the time monitoring unit 6
e is instructed to monitor the time of, for example, three times the execution cycle, and the completion of execution of the control program related to the change is monitored (ST516).

【0125】(8)一定時間経過しても実行完了しない
場合は、プログラム強制停止部6gがプログラム実行部
7に強制エラー停止を指示し、プログラムを停止させる
(ST517)。制御プログラムが停止した後、制御プ
ログラム5aを書き換える。
(8) When the execution is not completed even after the elapse of a certain time, the program forced stop unit 6g instructs the program execution unit 7 to stop the forced error and stops the program (ST517). After the control program is stopped, the control program 5a is rewritten.

【0126】以上のように、実行中の制御プログラムに
対して書き換え要求があった場合、プログラム実行完了
までの時間監視を行い、一定時間内に完了しない時は、
強制エラー停止させて、プログラム書き換え可能な状態
にしてからプログラムを書き換えるようにしたので、長
時間待たされることなく一定時間内に制御プログラムの
書き換えを行い、メンテナンス性を向上させる効果があ
る。従って計算機処理の性能向上が図れる。
As described above, when a rewriting request is made to the control program being executed, the time until the program execution is completed is monitored, and when it is not completed within a certain time,
Since the program is rewritten after the forced error stop and the program rewritable state are set, the control program is rewritten within a fixed time without waiting for a long time, and the maintainability is improved. Therefore, the performance of computer processing can be improved.

【0127】実施の形態6.この発明の実施の形態は複
数の計算機で構成された計算機システムにおいて、割込
処理を効率的に行うものである。図20は、この発明の
実施の形態6を示す計算機システムの構成を示すブロッ
ク図である。図において、図47に同一符号を付した従
来のそれと同一、あるいは相当部分の詳細な説明は省略
する。
Embodiment 6 FIG. Embodiments of the present invention efficiently perform interrupt processing in a computer system composed of a plurality of computers. FIG. 20 is a block diagram showing the configuration of the computer system showing the sixth embodiment of the present invention. In the figure, a detailed description of the same or corresponding parts as those of the conventional device denoted by the same reference numerals in FIG.

【0128】図20において、10−1〜10−Nはプ
ロセッサ(計算機)である。これらのプロセッサ10−
1〜10−Nはシステムバス2によって接続されてい
る。また、システムバス2によって各プロセッサ10−
1〜10−NはそれぞれIOインタフェース3に接続さ
れる。そして4はIOインタフェース3により接続され
るプラントシステムである。なお、ここでは各プロセッ
サ10−1〜10−NおよびIOインタフェース
In FIG. 20, 10-1 to 10-N are processors (computers). These processors 10-
1 to 10-N are connected by a system bus 2. In addition, each processor 10-
Each of 1 to 10-N is connected to the IO interface 3. A plant system 4 is connected by the IO interface 3. Here, each processor 10-1 to 10-N and the IO interface

【0129】3はスロットに挿入されるカードとして実
現する場合を例にとる。各プロセッサ10−2〜10−
Nもプロセッサ10−1と同一の構成であり、従来の図
47のプロセッサ10とも同一の構成をとる。606は
プラントシステム4からの各割込毎に、通知先プロセッ
サへの関係付け情報を保持する割込対応情報であり詳細
のデータ構造は図21に示す。
The case 3 is realized as a card to be inserted into the slot. Each processor 10-2 to 10-
N also has the same configuration as the processor 10-1, and also has the same configuration as the conventional processor 10 of FIG. Reference numeral 606 is interrupt-corresponding information that holds information relating to the notified processor for each interrupt from the plant system 4. The detailed data structure is shown in FIG.

【0130】図21の割込対応情報の例では、割込番号
の値が0の時にはプロセッサ10−1へ通知し、割込番
号の値が1の時には何れのプロセッサにも通知しない、
割込番号の値が2の時にはプロセッサ10−Nへ通知す
ることを示す情報である。
In the example of the interrupt correspondence information of FIG. 21, when the value of the interrupt number is 0, the processor 10-1 is notified, and when the value of the interrupt number is 1, neither processor is notified.
This is information indicating that the processor 10-N is notified when the value of the interrupt number is 2.

【0131】次に動作について説明する。図22と図2
3は、IOインタフェース3の割込通知処理およびプロ
セッサ10−1〜10−Nの割込受信処理のフローチャ
ートであり、図22および図23のフローに従って説明
する。 (1)割込検出部605がプラントシステム4からの割
込検出を行う(ST600)。
Next, the operation will be described. FIG. 22 and FIG.
3 is a flowchart of the interrupt notification process of the IO interface 3 and the interrupt reception process of the processors 10-1 to 10-N, which will be described with reference to the flows of FIGS. 22 and 23. (1) The interrupt detection unit 605 detects an interrupt from the plant system 4 (ST600).

【0132】(2)割込が正常検出であれば(ST60
1)、ステップST602へ行く。割込が正常か否か
は、例えば、割込番号の範囲をチェックして、範囲内で
あれば正常、範囲外であれば異常と判定する。 (3)割込通知部601が割込対応情報606の割込番
号に対応するプロセッサに、例えば、割込対応情報60
6の割込番号がプロセッサ10−1であれば、そのプロ
セッサに割込番号を通知する(ST602)。
(2) If the interrupt is normally detected (ST60
1), go to step ST602. Whether or not the interrupt is normal is checked, for example, by checking the range of the interrupt numbers, and if the range is within the range, it is determined to be normal, and if it is out of the range, it is determined to be abnormal. (3) The interrupt notification unit 601 sends the interrupt corresponding information 60 to, for example, the processor corresponding to the interrupt number of the interrupt corresponding information 606.
If the interrupt number of 6 is the processor 10-1, the interrupt number is notified to the processor (ST602).

【0133】(4)一方割込検出が正常検出でなけれ
ば、エラー番号603をセットし(ST604)、 (5)割込通知部601が、例えば、プロセッサ10−
1にIOエラーを通知する(ST605)。
(4) On the other hand, if the interrupt detection is not a normal detection, an error number 603 is set (ST604), and (5) the interrupt notification unit 601 is set to, for example, the processor 10-
1 is notified of an IO error (ST605).

【0134】(6)図23で、プロセッサ10では、I
O割込・エラー受信600がIOインタフェース3から
の通知を受信する(ST610)。 (7)IO割込通知であれば(ST611)、 (8)通知された割込番号の制御プログラム5aを起動
する(ST612)。
(6) In FIG. 23, in the processor 10, I
The O interrupt / error reception 600 receives the notification from the IO interface 3 (ST610). (7) If the notification is an IO interrupt notification (ST611), (8) the control program 5a having the notified interrupt number is activated (ST612).

【0135】(9)一方IO割込通知でなければ(ST
611)、 (10)エラー番号603の読み込みを行い(ST61
4)、 (11)読み出したエラー番号の制御プログラム5aを
起動し、エラーに対応した処理を実行する(ST61
5)。
(9) On the other hand, if it is not an IO interrupt notification (ST
611), (10) The error number 603 is read (ST61
4), (11) The control program 5a having the read error number is activated and the process corresponding to the error is executed (ST61).
5).

【0136】以上のように、計算機システムのIOイン
タフェースは、割込を検出すると、割込対応情報に指定
されたプロセッサのみに割込を通知し、指定されていな
いプロセッサには割込を通知しないため、割込の通知を
必要としないプロセッサのオーバヘッドが削減され、計
算機システムのスループットを向上させる。従って、計
算機システムの性能低下を防ぐことができる。
As described above, when the IO interface of the computer system detects an interrupt, only the processor designated in the interrupt corresponding information is notified of the interrupt, and the processor not designated is not notified of the interrupt. Therefore, the overhead of the processor that does not require the notification of the interrupt is reduced, and the throughput of the computer system is improved. Therefore, it is possible to prevent performance degradation of the computer system.

【0137】実施の形態7.この発明の実施の形態は複
数の計算機で構成された計算機システムにおいて、実施
の形態6と同様の割込処理を効率的に行うものである。
図24は、この発明の実施の形態7を示す計算機システ
ムの構成を示すブロック図である。
Seventh Embodiment The embodiment of the present invention efficiently performs the same interrupt processing as that of the sixth embodiment in a computer system composed of a plurality of computers.
24 is a block diagram showing the configuration of a computer system showing Embodiment 7 of the present invention.

【0138】図24において、608はプラントシステ
ム4からの各割込毎に、通知先プロセッサへの関係付け
情報を保持する複数割込対応情報であり、その詳細は図
25に示す。また、実施の形態6の図20と同一符号は
詳細な説明は省略する。
In FIG. 24, reference numeral 608 is a multi-interrupt correspondence information which holds information relating to the notification destination processor for each interrupt from the plant system 4, the details of which are shown in FIG. The detailed description of the same symbols as those in FIG. 20 of the sixth embodiment will be omitted.

【0139】図25は、割込対応情報のデータ構造を例
示するもので、割込番号の値が0の時にはプロセッサ1
0−1とプロセッサ10−5へ、割込番号の値が1の時
には何れのプロセッサにも通知せず、割込番号の値が2
の時にはプロセッサ10−2とプロセッサ10−3とプ
ロセッサ10−Nへ通知することを示す情報である。
FIG. 25 exemplifies the data structure of the interrupt correspondence information. When the value of the interrupt number is 0, the processor 1
0-1 and the processor 10-5, when the value of the interrupt number is 1, neither processor is notified, and the value of the interrupt number is 2
At the time of, it is information indicating that the processor 10-2, the processor 10-3, and the processor 10-N are notified.

【0140】次に動作について説明する。図26は、I
Oインタフェース3の割込通知処理のフローチャートで
ある。プロセッサ10−1〜10−Nの割込受信処理の
フローチャートは、実施の形態6の図23と同一である
ため省略する。
Next, the operation will be described. FIG. 26 shows I
7 is a flowchart of an interrupt notification process of the O interface 3. The flowchart of the interrupt reception processing of the processors 10-1 to 10-N is the same as that of FIG.

【0141】図26のフローに従って説明する。 (1)割込検出部605がプラントシステム4からの割
込検出を行う(ST620)。 (2)割込が正常検出であれば(ST621)、
Description will be given according to the flow of FIG. (1) The interrupt detection unit 605 detects an interrupt from the plant system 4 (ST620). (2) If the interrupt is normally detected (ST621),

【0142】(3)割込通知部601が、複数割込対応
情報608の割込番号に対応する一つまたは複数のプロ
セッサに割込番号を通知する(ST622)。 (4)一方割込検出が正常検出でなければ、エラー番号
603をセットし(ST624)、 (5)割込通知部601がプロセッサにIOエラーを通
知する(ST625)。以降の処理は、図23と同一で
ある。
(3) The interrupt notification unit 601 notifies the interrupt number to one or a plurality of processors corresponding to the interrupt number of the multiple interrupt correspondence information 608 (ST622). (4) On the other hand, if the interrupt detection is not normal, an error number 603 is set (ST624), and (5) the interrupt notification unit 601 notifies the processor of an IO error (ST625). The subsequent processing is the same as in FIG.

【0143】以上のように、計算機システムのIOイン
タフェースは、割込を検出すると、割込対応情報に指定
された1つまたは複数のプロセッサへ割込を通知し、指
定されていないプロセッサには割込を通知しないため、
計算機システムの性能低下を防ぐことができる。また、
適切な設定により各プロセッサへの最適な負荷分散が可
能になるという効果がある。従って計算機処理の性能向
上が図れる。
As described above, when the IO interface of the computer system detects an interrupt, it notifies the interrupt to one or more processors specified in the interrupt correspondence information, and interrupts the unspecified processors. Is not notified,
It is possible to prevent performance degradation of the computer system. Also,
There is an effect that optimal load distribution to each processor becomes possible by appropriate setting. Therefore, the performance of computer processing can be improved.

【0144】実施の形態8.この発明の実施の形態は複
数の計算機で構成された計算機システムにおいて、割込
処理を効率的に行うものである。図27は、この発明の
実施の形態8を示す計算機システムの構成を示すブロッ
ク図である。図において、従来の図47と同一符号を付
したものは同一部分であるので詳細な説明は省略する。
Embodiment 8 FIG. Embodiments of the present invention efficiently perform interrupt processing in a computer system composed of a plurality of computers. FIG. 27 is a block diagram showing the configuration of the computer system showing the eighth embodiment of the present invention. In the figure, those denoted by the same reference numerals as those in the conventional FIG. 47 are the same parts, and therefore detailed description thereof will be omitted.

【0145】図において、10−1〜10−Nはプロセ
ッサである。これらのプロセッサ10−1〜10−Nは
システムバス2によって接続されている。また、システ
ムバス2によって各プロセッサ10−1〜10−Nはそ
れぞれIOインタフェース3に接続される。そして、I
Oインタフェース3はプラントシステム4に接続されて
いる。
In the figure, 10-1 to 10-N are processors. These processors 10-1 to 10-N are connected by a system bus 2. Further, each processor 10-1 to 10-N is connected to the IO interface 3 by the system bus 2. And I
The O interface 3 is connected to the plant system 4.

【0146】なお、ここでは各プロセッサ10−1〜1
0−NおよびIOインタフェース3はスロットに挿入さ
れるカードとして実現する場合を例にとる。各プロセッ
サ10−2〜10−Nもプロセッサ10−1と同一の構
成であり、従来の図47のプロセッサ10とも同一の構
成をとる。
Here, each of the processors 10-1 to 10-1
The case where the 0-N and the IO interface 3 are realized as a card inserted into the slot is taken as an example. Each of the processors 10-2 to 10-N has the same configuration as the processor 10-1, and also has the same configuration as the conventional processor 10 of FIG.

【0147】607はエラー番号毎に、通知先プロセッ
サへの関係付け情報を保持するエラー対応情報である。
Reference numeral 607 is error correspondence information which holds information relating to the notified processor for each error number.

【0148】また、図28は、例えば実施の形態8のエ
ラー対応情報のデータ構造を例示したもので、エラー番
号の値が0の時には、プロセッサ10−1とプロセッサ
10−5へ、エラー番号の値が1の時には、何れのプロ
セッサにも通知せず、エラー番号の値が2の時には、プ
ロセッサ10−2とプロセッサ10−3とプロセッサ1
0−Nへ通知することを示す情報である。
Further, FIG. 28 exemplifies the data structure of the error correspondence information of the eighth embodiment, for example, and when the value of the error number is 0, the error numbers of the error numbers are sent to the processors 10-1 and 10-5. When the value is 1, no processor is notified, and when the error number is 2, the processors 10-2, 10-3 and 1
This is information indicating that 0-N is notified.

【0149】次に動作について説明する。図29と図3
0は、IOインタフェース3の割込通知処理およびプロ
セッサ10−1〜10−Nの割込受信処理のフローチャ
ートである。図29および図30のフローに従って説明
する。
Next, the operation will be described. 29 and 3
0 is a flowchart of the interrupt notification process of the IO interface 3 and the interrupt reception process of the processors 10-1 to 10-N. Description will be given according to the flows of FIGS. 29 and 30.

【0150】(1)割込検出部605がプラントシステ
ム4からの割込検出を行う(ST630)。 (2)割込が正常検出であれば(ST631)、割込通
知部601が、例えば図28に示す割込対応情報606
の割込番号に対応する、一つまたは複数のプロセッサに
割込番号(図21または図25に示すプロセッサ)を通
知する(ST632)。
(1) The interrupt detection unit 605 detects an interrupt from the plant system 4 (ST630). (2) If the interrupt is normally detected (ST631), the interrupt notification unit 601 displays the interrupt correspondence information 606 shown in FIG. 28, for example.
The interrupt number (processor shown in FIG. 21 or FIG. 25) is notified to one or more processors corresponding to the interrupt number (ST632).

【0151】(3)一方割込検出が正常検出でなけれ
ば、割込通知部601がエラー対応情報607のエラー
番号に対応する一つまたは複数のプロセッサにエラー番
号を通知する(ST634)。 (4)プロセッサ10では、IO割込・エラー受信60
0がIOインタフェース3からの通知を受信する(ST
640)。
(3) On the other hand, if the interrupt detection is not normal, the interrupt notification unit 601 notifies the error number to one or more processors corresponding to the error number of the error correspondence information 607 (ST634). (4) In the processor 10, IO interrupt / error reception 60
0 receives the notification from the IO interface 3 (ST
640).

【0152】(5)IO割込通知であれば(ST64
1)、 (6)通知された割込番号の制御プログラム5aを起動
する(ST642)。 (7)一方IO割込通知でなければ(ST641)、 (8)通知されたエラー番号の制御プログラム5aを起
動し、エラーに対応した処理を実行する(ST64
4)。
(5) If it is an IO interrupt notification (ST64
1), (6) Start the control program 5a having the notified interrupt number (ST642). (7) On the other hand, if it is not an IO interrupt notification (ST641), (8) The control program 5a having the notified error number is activated and the process corresponding to the error is executed (ST64).
4).

【0153】以上のように、計算機システムのIOイン
タフェースは、割込検出動作でエラー検出時に、割込を
通知する代わりに、エラー要因毎のエラー対応情報で指
定された1つまたは複数のプロセッサにエラーを通知
し、指定されていないプロセッサにはエラーを通知しな
いため、計算機システムの性能低下を防ぐことができ
る。
As described above, the IO interface of the computer system does not notify the interrupt when an error is detected in the interrupt detection operation, but instead of sending it to one or more processors specified by the error correspondence information for each error factor. Since the error is notified and the error is not notified to the unspecified processor, it is possible to prevent performance deterioration of the computer system.

【0154】また、プラントからの割込検出処理での各
エラーを、単一のプロセッサに通知することも、要因毎
に各プロセッサへ通知することも、全てのプロセッサへ
通知することも可能であり、このため、単一のプロセッ
サに通知することにより他のプロセッサにエラーの影響
を及ぼさないシステムや、全てのプロセッサへ通知する
ことにより同一の異常処理を行わせるシステム等の多様
なシステムの構築が可能になるという効果がある。従っ
て計算機処理の性能向上が図れる。
Further, it is possible to notify each error in the interrupt detection processing from the plant to a single processor, to each processor for each factor, or to notify all the processors. Therefore, it is possible to build a variety of systems, such as a system that does not affect the error to other processors by notifying a single processor, or a system that notifies all processors of the same abnormal processing. The effect is that it will be possible. Therefore, the performance of computer processing can be improved.

【0155】実施の形態9.この発明の実施の形態は複
数の計算機で構成された計算機システムにおいて、故障
に対するバックアップを行うものである。図31は、こ
の発明の実施の形態を示す計算機システムの構成を示す
ブロック図である。
Embodiment 9 FIG. The embodiment of the present invention is to back up a failure in a computer system composed of a plurality of computers. FIG. 31 is a block diagram showing the configuration of the computer system showing the embodiment of the present invention.

【0156】図において、653はプロセッサ内で発生
するエラーを検出し、このエラー情報を他プロセッサや
IOインタフェース3に通知する故障検出部、650は
プロセッサ10−1〜10−Nからの故障発生通知を受
けるプロセッサカード故障検出部、651はプロセッサ
の故障発生により、割込対応情報606やエラー対応情
報607を変更する割込/エラー対応情報更新部であ
る。
In the figure, reference numeral 653 is a failure detection section for detecting an error occurring in the processor and notifying this error information to other processors and the IO interface 3, and 650 is a failure occurrence notification from the processors 10-1 to 10-N. A processor card failure detection unit 651 that receives the interrupt is an interrupt / error correspondence information update unit that changes the interrupt correspondence information 606 and the error correspondence information 607 when a processor failure occurs.

【0157】652は割込/エラー対応情報部651
が、故障プロセッサの変更の参照にするプロセッサ変更
カードテーブルであり、図33に詳細を示す。図33
は、例えばIOインタフェース3に接続される保守ツー
ルにより設定される。
Reference numeral 652 is an interrupt / error correspondence information section 651.
Is a processor change card table used as a reference for changing a failed processor, and details thereof are shown in FIG. FIG.
Is set by, for example, a maintenance tool connected to the IO interface 3.

【0158】次に動作について説明する。図32は、プ
ロセッサに故障が発生した場合の動作を示すフローチャ
ートである。 (1)プロセッサ10−1にメモリのパリティエラー等
の故障が発生したとすると、故障検出部653が認識し
(ST670)、
Next, the operation will be described. FIG. 32 is a flow chart showing the operation when a failure occurs in the processor. (1) If a failure such as a memory parity error occurs in the processor 10-1, the failure detection unit 653 recognizes it (ST670),

【0159】(2)他プロセッサ及びIOインタフェー
ス3に故障が発生したことを通知する(ST671)。 (3)IOインタフェース3のプロセッサカード故障検
出部650はプロセッサからの故障通知を認識する。
(ST672)
(2) Notify that another processor and IO interface 3 have failed (ST671). (3) The processor card failure detection unit 650 of the IO interface 3 recognizes the failure notification from the processor.
(ST672)

【0160】(4)プロセッサ故障カード検出部650
は割込/エラー対応情報更新部651に割込対応情報6
06とエラー対応情報607の通知先プロセッサの変更
が必要なことを通知する(ST673)。 (5)割込/エラー対応情報更新部651は、例えば図
33に示すプロセッサ変更カードテーブル652を参照
し(ST674)、
(4) Processor failure card detection unit 650
Indicates to the interrupt / error correspondence information updating unit 651 that the interruption correspondence information 6
06 and the error correspondence information 607 are notified that the notification destination processor needs to be changed (ST673). (5) The interrupt / error correspondence information updating unit 651 refers to the processor change card table 652 shown in FIG. 33, for example (ST674),

【0161】(6)故障となったプロセッサの変更プロ
セッサを得る(ST675)。図33では、例として、
プロセッサ10−1が故障の時はプロセッサ10−2、
プロセッサ10−(N−1)が故障の時は、プロセッサ
10−Nが対応する場合を示している。
(6) Obtain a changed processor for the failed processor (ST675). In FIG. 33, as an example,
When the processor 10-1 fails, the processor 10-2,
When the processor 10- (N-1) has a failure, the case where the processor 10-N corresponds is shown.

【0162】(7)割込/エラー対応情報更新部651
は、割込対応情報606とエラー対応情報607を検索
し、故障となったプロセッサ番号が含まれているか否か
を調べる(ST676)。
(7) Interrupt / error correspondence information updating unit 651
Searches for the interrupt correspondence information 606 and the error correspondence information 607 and checks whether or not the failed processor number is included (ST676).

【0163】(8)プロセッサ番号が含まれていれば
(ST677)、 (9)そのプロセッサ番号に対応する変更プロセッサ番
号により、割込対応情報606とエラー対応情報607
の故障となったプロセッサ番号を変更する(ST67
8)。 (10)プロセッサ番号が含まれていなければ(ST6
77)、割込対応情報606とエラー対応情報607は
そのままとしておく(ST679)。
(8) If the processor number is included (ST677), (9) according to the changed processor number corresponding to the processor number, the interrupt correspondence information 606 and the error correspondence information 607.
Change the processor number of the failed processor (ST67
8). (10) If the processor number is not included (ST6
77), the interrupt handling information 606 and the error handling information 607 are left as they are (ST679).

【0164】以上のように、この計算機システムは、要
求先プロセッサが故障状態になった場合でも、該故障状
態を認識するプロセッサカード故障認識部と、割込検出
時/エラー検出時に、その通知先を変更する割込/エラ
ー対応処理更新部により、要求先プロセッサを変更する
ので、プロセッサ故障時でもプラントシステムからの要
求を処理できる。従って計算機システムの性能向上が図
れる。
As described above, this computer system has a processor card failure recognition unit for recognizing a failure state of a request destination processor and a notification destination thereof at the time of interrupt detection / error detection even when the request destination processor is in a failure state. Since the request / destination processor is changed by the interrupt / error handling process updating unit that changes the number, the request from the plant system can be processed even when the processor fails. Therefore, the performance of the computer system can be improved.

【0165】実施の形態10.この発明の実施の形態は
複数の計算機(プロセッサ)の各々が各カード単位で構
成された計算機システムにおいて、計算機(プロセッ
サ)の故障などでカードを差し替えたり、新たにカード
を取り付けたりした場合に、カードの設定内容を自動的
に設定するものである。
Embodiment 10. FIG. According to the embodiment of the present invention, in a computer system in which a plurality of computers (processors) are configured for each card, when a card is replaced due to a failure of the computer (processor) or a new card is attached, The contents of the card settings are automatically set.

【0166】図34はこの発明の実施の形態を示す図で
あり、この図は従来の図50の故障監視プロセッサ11
内にバックアップデータ情報エリア25を加えたもので
ある。このバックアップデータ情報エリア25は、故障
監視プロセッサ11内の書き換え可能な不揮発性メモリ
に設けられ、前回設定された故障処理設定テーブル部の
内容を格納するものである。
FIG. 34 is a diagram showing an embodiment of the present invention. This diagram shows the conventional fault monitoring processor 11 of FIG.
A backup data information area 25 is added to the inside. The backup data information area 25 is provided in a rewritable non-volatile memory in the failure monitoring processor 11 and stores the contents of the previously set failure processing setting table section.

【0167】図35は、バックアップデータ情報エリア
25の詳細情報である。図において、32−0a〜32
−Naはカードの枚数の枚数番号に対応したカードの種
類を判別するカード種別コード、33−0a〜33−N
aはそのカードの設定内容で構成され、スロット毎の設
定情報となるためスロットに挿入されるカード枚数に係
わらずバックアップデータ情報エリアは固定長としてい
る。
FIG. 35 shows detailed information of the backup data information area 25. In the figure, 32-0a to 32
-Na is a card type code 33-0a to 33-N for discriminating the card type corresponding to the number of cards.
Since a is composed of the setting contents of the card and serves as setting information for each slot, the backup data information area has a fixed length regardless of the number of cards inserted in the slot.

【0168】また、構成テーブル部20のデータ構造は
従来の図52のデータ構造であり、また、故障処理設定
テーブル部21のデータ構造は従来の図51のデータ構
造である。図36は、故障監視部24の故障処理設定テ
ーブル部21の初期化処理における動作のフローチャー
トである。
Further, the data structure of the configuration table unit 20 is the conventional data structure of FIG. 52, and the data structure of the failure processing setting table unit 21 is the conventional data structure of FIG. FIG. 36 is a flowchart of the operation in the initialization processing of the failure processing setting table unit 21 of the failure monitoring unit 24.

【0169】次に動作について説明する。 (1)図34のように構成された故障監視プロセッサ1
1において、故障監視部24の初期化処理において、現
在のシステム構成が再立ち上げ前のシステム構成と同じ
かどうかチェックするために、構成テーブル部20から
カード種別コード32ー0b〜32−Nb(図52で図
示)が0以外であれば有効スロット番号とし、その有効
スロット番号に相当するカード種別コード32ー0b〜
32−Nbを読み取る(ST710)。
Next, the operation will be described. (1) Fault monitoring processor 1 configured as shown in FIG.
1, in the initialization process of the failure monitoring unit 24, in order to check whether the current system configuration is the same as the system configuration before the restart, the card type codes 32-0b to 32-Nb (from the configuration table unit 20 52) is other than 0, the slot number is regarded as an effective slot number, and the card type code 32-0b-corresponding to the effective slot number.
Read 32-Nb (ST710).

【0170】(2)前記のST710で得た有効スロッ
ト番号と再立ち上げ前のシステム構成で前回まで使用さ
れていた故障処理設定テーブル部21のスロット番号3
1ー1とが一致するかどうか比較する(ST713)。
(2) The effective slot number obtained in ST710 and the slot number 3 of the failure processing setting table 21 used until the last time in the system configuration before restarting.
It is compared whether or not 1-1 matches (ST713).

【0171】(3)一致する場合(ST714)、 (4)そのスロットに挿入されているカードの種類をチ
ェックするために、ST710で得た該有効スロットの
カード種別コード32ー1b(図52で図示)が故障処
理設定テーブル部21(図51で図示)のカード種別コ
ード32ー1と比較し、立ち上げ前のカード種別かを判
断する(ST715)。
(3) If they match (ST714), (4) In order to check the type of the card inserted in the slot, the card type code 32-1b of the valid slot obtained in ST710 (see FIG. 52) (Shown) is compared with the card type code 32-1 of the failure processing setting table section 21 (shown in FIG. 51) to determine whether the card type is before starting (ST715).

【0172】(5)一致する場合(ST716)、カー
ド構成に変更がないと判断し、前回設定された設定内容
33ー1がそのまま使用される。
(5) If they match (ST716), it is determined that there is no change in the card configuration, and the previously set setting content 33-1 is used as it is.

【0173】(6)一方、図52の構成テーブル部20
の有効スロット番号と図53の故障処理設定テーブル部
21のスロット番号31ー1の比較(ST713)に
て、 (7)不一致が発生すると(ST714)、
(6) On the other hand, the configuration table section 20 of FIG.
53 and the slot number 31-1 of the failure processing setting table unit 21 of FIG. 53 (ST713), (7) When a mismatch occurs (ST714),

【0174】(8)再立ち上げ前の設定で稼働させるた
め、以前設定されていた故障処理設定テーブル部21を
保存したバックアップデータ情報エリア25から設定内
容を採取するが、そのバックアップデータ情報エリア2
5の内容が現在のシステム構成を満たしているかをチェ
ックする。まず、該当スロットに対応する図35のバッ
クアップデータ情報エリア25のカード種別コード32
−0aと図52の構成テーブル20のカード種別コード
を比較する(ST719)。
(8) In order to operate with the settings before restarting, the setting contents are collected from the backup data information area 25 in which the previously set failure processing setting table portion 21 is saved, but the backup data information area 2
Check whether the contents of 5 satisfy the current system configuration. First, the card type code 32 of the backup data information area 25 of FIG. 35 corresponding to the corresponding slot
-0a is compared with the card type code of the configuration table 20 of FIG. 52 (ST719).

【0175】(10)一致する場合(ST720)、 (11)該当スロットのバックアップデータ情報エリア
25の設定内容33−0aが前回設定されていた設定で
あるため、そのデータをを故障処理設定テーブル部21
の該当カード設定情報の設定内容33ー1に書き込む
(ST722)。
(10) If they match (ST720), (11) Since the setting content 33-0a of the backup data information area 25 of the corresponding slot is the setting that was set last time, that data is stored in the failure processing setting table section. 21
Is written in the setting contents 33-1 of the corresponding card setting information (ST722).

【0176】(12)一致しない場合(ST720)、 (13)以前にその該当スロットに設定したことのない
カードの種類が新規に挿入されたと判断し、予め用意し
ていた設定内容の標準値をバックアップデータ情報エリ
ア25の設定内容33−0aと、故障処理設定テーブル
部21の設定内容33ー1にそれぞれ書き込む(ST7
21)。
(12) If they do not match (ST720), (13) it is determined that a card type that has not been set in the corresponding slot before is newly inserted, and the standard value of the setting contents prepared in advance is used. The setting contents 33-0a of the backup data information area 25 and the setting contents 33-1 of the failure processing setting table unit 21 are written (ST7).
21).

【0177】(14)上記処理をカード枚数分繰り返し
(ST723)行うことにより故障処理設定テーブル部
が有効となる。
(14) By repeating the above processing for the number of cards (ST723), the failure processing setting table section becomes effective.

【0178】例えば、あるプロセッサにてパリティエラ
ーが発生し、そのプロセッサを抜き取り、再立ち上げを
行った場合、抜き取った以外の挿入されている他のプロ
セッサに対しては、構成テーブル部20の有効スロット
番号のカード種別コード32ー1bとそのスロットに該
当する故障処理設定テーブル部21のカード種別コード
は一致するので、設定内容は変わらず処理される。
For example, when a parity error occurs in a certain processor and the processor is removed and restarted, the configuration table section 20 is effective for other inserted processors other than the removed processor. Since the card type code 32-1b of the slot number and the card type code of the failure processing setting table unit 21 corresponding to the slot match, the setting contents are processed without change.

【0179】再び、不具合プロセッサと同じカード種別
を持つプロセッサをスロットに差し再立ち上げを行う
と、新たにスロットに差し込んだプロセッサの設定内容
のみをバックアップデータ情報エリア25から読み取
り、その設定内容を故障処理設定テーブルの該当エリア
に書き込む。
When a processor having the same card type as the defective processor is inserted into the slot and restarted, only the setting contents of the newly inserted processor are read from the backup data information area 25 and the setting contents are broken. Write to the applicable area of the processing setting table.

【0180】よって、新規カードに伴う人手による新た
な設定なしで不具合発生前の設定内容で、計算機システ
ムが稼働することができる。
Therefore, the computer system can be operated with the setting contents before the occurrence of the trouble without new manual setting associated with the new card.

【0181】一方、バックアップデータ情報エリア25
は、メンテナンスツール等から故障処理設定テーブルを
書き換えるときに、同時に設定された内容を各スロット
別に分類して書き込まれるため、設定値はその設定時点
で保存される。また、バックアップデータ情報エリア2
5にデータが全く設定されていない場合、予め用意して
いる標準値をバックアップメモリデータ情報エリアに書
き込み立ち上げを行う。
On the other hand, the backup data information area 25
When the failure processing setting table is rewritten from a maintenance tool or the like, the set values are written by classifying the set contents at the same time, so the set values are saved at the time of setting. Also, backup data information area 2
If no data is set in 5, the standard value prepared in advance is written in the backup memory data information area and the start-up is performed.

【0182】なお、故障処理プロセッサ11は、プロセ
ッサ10ー1〜10ーNのいずれかにその機能を持たせ
るようにしてもよい。
The failure processing processor 11 may have any of the processors 10-1 to 10-N have that function.

【0183】以上のように、この計算機システムは、故
障監視プロセッサにバックアップデータ情報エリアを設
け、カード構成の変更が発生しても故障処理設定テーブ
ル部の内容は前回使用されていた設定内容を使用でき、
また、現状あるS/Wとのインタフェースの互換を保つ
事ができ、H/Wの変更なしで実現できる。
As described above, in this computer system, the failure monitoring processor is provided with the backup data information area, and even if the card configuration is changed, the contents of the failure processing setting table section use the previously used setting contents. You can
In addition, the interface compatibility with the existing S / W can be maintained, and it can be realized without changing the H / W.

【0184】それ故、スロットから一旦カードを抜き、
立ち上げ直しても、他のカードに設定されていた故障処
理設定テーブル部の変更はなく、また、同一カードを同
一スロットに差すと、前回そのカードに設定されていた
設定内容で動作可能となり、また、前回設定されていな
かったカードを差した場合、あるいは、前回設定されて
いなかったスロットにカードを差した場合、標準値等の
所定の設定データが故障処理設定テーブル部に格納さ
れ、その設定データを使用して外部出力、及び、ユニッ
ト制御を行うことが可能となる。
Therefore, once remove the card from the slot,
Even if it is restarted, there is no change in the failure processing setting table part set for other cards, and if the same card is inserted in the same slot, it can operate with the setting contents previously set for that card, Also, if you insert a card that was not previously set, or if you insert a card to a slot that was not previously set, predetermined setting data such as the standard value is stored in the failure processing setting table section and the setting The data can be used for external output and unit control.

【0185】実施の形態11.この実施の形態10の変
形例として、故障処理設定テーブル部21にバックアッ
プデータ情報エリア25の機能を持たせる例を説明す
る。
Eleventh Embodiment As a modified example of the tenth embodiment, an example in which the failure processing setting table unit 21 has the function of the backup data information area 25 will be described.

【0186】上記の実施の形態10では、例えば、現在
設定されている故障処理設定テーブル21の内容を保守
ツール等を用いて変更した後、トラブルなどによりカー
ドを抜き取って再立ち上げした時、故障処理設定テーブ
ル部21には、その抜き取ったカードの設定内容は削除
される。
In the tenth embodiment described above, for example, when the contents of the currently set failure processing setting table 21 are changed by using a maintenance tool or the like, and when the card is removed and restarted due to a trouble, a failure occurs. The setting contents of the removed card are deleted from the processing setting table unit 21.

【0187】その後、カードの修理、交換などにより再
びスロットに挿入して立ち上げると、前回設定していた
内容は、故障処理設定テーブル部21に入っていないた
め、バックアップエリアから前回の設定内容を取ってく
るようにしている。
After that, when the card is inserted again into the slot for booting due to repair, replacement, etc., the previously set contents are not in the failure processing setting table section 21, so the previously set contents from the backup area are deleted. I try to get it.

【0188】この実施の形態11では、故障処理設定テ
ーブル部21のデータにフラグを設け、カードを抜き取
った場合は、「カードなし」のフラグを立てて、その設
定内容が削除されないようにする。そしてカードが挿入
された場合に、「カードあり」としてフラグを下ろし
て、故障処理設定テーブル部21の設定内容で挿入され
たカードを設定する。
In the eleventh embodiment, a flag is provided in the data of the failure processing setting table section 21, and when the card is removed, a flag of "no card" is set to prevent the setting contents from being deleted. Then, when a card is inserted, the flag is set as “with card” and the inserted card is set according to the setting contents of the failure processing setting table unit 21.

【0189】このように実施の形態11は、実施の形態
10と同様の効果を有する。
As described above, the eleventh embodiment has the same effects as the tenth embodiment.

【0190】[0190]

【発明の効果】【The invention's effect】

(1)以上のように、この発明の計算機によれば、分岐
命令として、命令オペランドに分岐先の論理アドレスを
指示しているので、命令実行時に直接分岐命令として扱
うことができるため、それぞれの分岐先のアドレスを格
納しておく分岐ブロックを削除することが可能となり、
命令実行時に必要なバックアップメモリサイズが大幅に
削減できるという効果がある。また、プログラムの実行
性能が向上する。
(1) As described above, according to the computer of the present invention, since a branch destination logical address is designated as a branch instruction as a branch instruction, it can be directly handled as a branch instruction when the instruction is executed. It is possible to delete the branch block that stores the branch destination address,
This has the effect of significantly reducing the backup memory size required when executing instructions. In addition, the execution performance of the program is improved.

【0191】(2)また、分岐命令として、命令オペラ
ンドに分岐先の物理アドレスを指示しているので、命令
実行時に直接分岐命令として扱うことができるため、そ
れぞれの分岐先のアドレスを格納しておく分岐ブロック
を削除することが可能となり、命令実行時に必要なバッ
クアップメモリサイズが大幅に削減できるという効果が
ある。また、命令実行時に論理アドレスから物理アドレ
スへ変換する処理が削除されるため、命令実行速度を向
上させるという効果がある。
(2) As a branch instruction, since the instruction operand points to the physical address of the branch destination, it can be directly handled as a branch instruction when the instruction is executed. Therefore, the address of each branch destination is stored. The branch block to be placed can be deleted, and the backup memory size required for executing instructions can be significantly reduced. Further, since the process of converting the logical address to the physical address is deleted when the instruction is executed, there is an effect that the instruction execution speed is improved.

【0192】(3)また、保守ツールからのメンテナン
ス要求の応答時のエラー検出で保守ツールの処理中の一
つまたは複数のメンテナンス要求がキャンセル処理され
るため、他の保守ツールからのメンテナンス処理要求が
受け付け可能となるという効果がある。
(3) Further, since one or more maintenance requests being processed by the maintenance tool are canceled due to error detection when the maintenance tool responds to the maintenance request, maintenance processing requests from other maintenance tools are cancelled. Can be accepted.

【0193】(4)また、トレース開始アドレスを次の
プログラムアドレスに設定するように構成することで、
一度トレースデータを収集したプログラムに対してアド
レス一致を検出しなくなるので、ループ制御などの繰り
返し実行する部分でのトレースデータ収集のオーバーヘ
ッドが削減され、計算機の負荷を軽減する効果がある。
(4) By configuring the trace start address to the next program address,
Since the address match is no longer detected in the program that once collects the trace data, the overhead of collecting the trace data in the repeatedly executed part such as loop control is reduced, and the load on the computer is reduced.

【0194】(5)また、プログラム実行の時間監視を
行い一定時間内に完了しない時は強制エラー停止させて
プログラム書き換え可能な状態にしてからプログラムを
書き換えるようにしたので、長時間待たされることなく
一定時間内にプログラムの書き換えを行い、メンテナン
ス性を向上させる効果がある。
(5) Further, since the program execution time is monitored, and if the program is not completed within a fixed time, the program is rewritten after the forced error stop is made to make the program rewritable state, so that it is not necessary to wait for a long time. This has the effect of improving the maintainability by rewriting the program within a fixed time.

【0195】(6)また、この発明の計算機システムに
よれば、割込の通知が必要な計算機にのみ割込通知を行
うため、割込の通知を必要としない計算機のオーバヘッ
ドが削減され、システムのスループットを向上させると
いう効果がある。また、一つの割込を一つまたは複数の
計算機へ通知してのプログラムの処理可能なため、通知
する計算機を適切に設定するにより各計算機への最適な
負荷分散が可能になるという効果がある。
(6) Further, according to the computer system of the present invention, since the interrupt notification is given only to the computer which needs the interrupt notification, the overhead of the computer which does not need the interrupt notification is reduced, and the system is reduced. Has the effect of improving the throughput. In addition, since it is possible to process a program by notifying one or more computers of one interrupt, it is possible to optimally distribute the load to each computer by appropriately setting the computers to be notified. .

【0196】(7)また、IOインタフェースにおい
て、制御対象からの割込検出処理での各エラーを、単一
の計算機に通知することも、要因毎に各計算機へ通知す
ることも、全ての計算機へ通知することも可能である。
このため、単一の計算機に通知することにより他の計算
機にエラーの影響を及ぼさないシステムや、全ての計算
機へ通知することにより同一の異常処理を行わせるシス
テム等の多様なシステムの構築が可能になるという効果
がある。
(7) Further, in the IO interface, each error in the interrupt detection processing from the controlled object can be notified to a single computer, or to each computer for each factor, or to all computers. It is also possible to notify.
For this reason, it is possible to build a variety of systems, such as a system that does not affect the error on other computers by notifying a single computer, or a system that notifies all computers of the same abnormal processing. Has the effect of becoming.

【0197】(8)また、IOインタフェースにおい
て、要求先計算機が故障状態になった場合でも、要求先
計算機を変更するので、計算機故障時でも制御対象から
の要求を処理できるという効果がある。
(8) Further, in the IO interface, even if the requested computer becomes a failure state, the requested computer is changed, so that there is an effect that the request from the controlled object can be processed even when the computer fails.

【0198】(9)また、スロットから一旦計算機カー
ドを抜き、立ち上げ直しても、他の計算機カードに設定
されていた設定内容の変更はなく、また、同一カードを
同一スロットに差すと、前回そのカードに設定されてい
た設定内容で動作可能となり、また、前回設定されてい
たカードあるいは、前回設定されていなかったスロット
にカードを差した場合、所定の設定データが設定できる
効果がある。
(9) Even if the computer card is once removed from the slot and restarted, the setting contents set in other computer cards are not changed, and if the same card is inserted into the same slot, It becomes possible to operate with the setting contents set in the card, and when the card is inserted into the previously set card or the slot not previously set, there is an effect that predetermined setting data can be set.

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

【図1】 この発明の実施の形態1による計算機システ
ムを示す構成図である。
FIG. 1 is a configuration diagram showing a computer system according to Embodiment 1 of the present invention.

【図2】 図1の計算機システムのプログラム書換え部
の動作を示すフローチャートである。
FIG. 2 is a flowchart showing the operation of a program rewriting unit of the computer system shown in FIG.

【図3】 図1の計算機システムのプログラム実行部の
動作を示すフローチャートである。
FIG. 3 is a flowchart showing an operation of a program execution unit of the computer system shown in FIG.

【図4】 図1の計算機システムのオペランド構成図で
ある。
4 is an operand configuration diagram of the computer system of FIG.

【図5】 この発明の実施の形態1による制御プログラ
ム実行時のアドレス変換処理を説明する図である。
FIG. 5 is a diagram illustrating address conversion processing when a control program is executed according to the first embodiment of the present invention.

【図6】 この発明の実施の形態1による分岐処理実行
時の説明図である。
FIG. 6 is an explanatory diagram when a branch process is executed according to the first embodiment of the present invention.

【図7】 この発明の実施の形態2による計算機システ
ムを示す構成図である。
FIG. 7 is a configuration diagram showing a computer system according to a second embodiment of the present invention.

【図8】 図7の計算機システムのプログラム書換え部
の動作を示すフローチャートである。
8 is a flowchart showing an operation of a program rewriting unit of the computer system shown in FIG.

【図9】 図7の計算機システムのプログラム実行部の
動作を示すフローチャートである。
9 is a flowchart showing an operation of a program execution unit of the computer system shown in FIG.

【図10】 図7の計算機システムのオペランド作成の
図である。
FIG. 10 is a diagram of operand creation of the computer system of FIG. 7.

【図11】 この発明の実施の形態2による分岐処理実
行時の説明図である。
FIG. 11 is an explanatory diagram when a branch process is executed according to the second embodiment of the present invention.

【図12】 この発明の実施の形態3による計算機シス
テムを示す構成図である。
FIG. 12 is a configuration diagram showing a computer system according to a third embodiment of the present invention.

【図13】 図12の計算機システムの受信部の動作を
示すフローチャートである。
FIG. 13 is a flowchart showing an operation of a receiving unit of the computer system shown in FIG.

【図14】 図12の計算機システムの送信部の動作を
示すフローチャートである。
FIG. 14 is a flowchart showing an operation of a transmission unit of the computer system shown in FIG.

【図15】 図12の計算機システムのキャンセルコマ
ンド構造例である。
15 is an example of a cancel command structure of the computer system of FIG.

【図16】 この発明の実施の形態4による計算機シス
テムを示す構成図である。
FIG. 16 is a configuration diagram showing a computer system according to a fourth embodiment of the present invention.

【図17】 図16の計算機システムの動作を示すフロ
ーチャートである。
17 is a flowchart showing the operation of the computer system shown in FIG.

【図18】 この発明の実施の形態5による計算機シス
テムを示す構成図である。
FIG. 18 is a configuration diagram showing a computer system according to a fifth embodiment of the present invention.

【図19】 図18の計算機システムのプログラム書き
換え処理部の動作を示すフローチャートである。
19 is a flowchart showing the operation of the program rewrite processing unit of the computer system shown in FIG.

【図20】 この発明の実施の形態6による計算機シス
テムを示すブロック図である。
FIG. 20 is a block diagram showing a computer system according to a sixth embodiment of the present invention.

【図21】 この発明の実施の形態6による割込対応情
報である。
FIG. 21 is interrupt corresponding information according to the sixth embodiment of the present invention.

【図22】 実施の形態6のIOインタフェースの割込
通知処理の流れを示すフローチャートである。
FIG. 22 is a flowchart showing the flow of an IO interface interrupt notification process according to the sixth embodiment.

【図23】 この発明の実施の形態6によるプロセッサ
の割込受信処理の流れを示すフローチャートである。
FIG. 23 is a flowchart showing the flow of an interrupt reception process of the processor according to the sixth embodiment of the present invention.

【図24】 この発明の実施の形態7による計算機シス
テムを示すブロック図である。
FIG. 24 is a block diagram showing a computer system according to a seventh embodiment of the present invention.

【図25】 この発明の実施の形態7による割込対応情
報の図である。
FIG. 25 is a diagram of interrupt corresponding information according to the seventh embodiment of the present invention.

【図26】 この発明の実施の形態7によるIOインタ
フェースの割込通知処理の流れを示すフローチャートで
ある。
FIG. 26 is a flowchart showing the flow of an IO interface interrupt notification process according to the seventh embodiment of the present invention.

【図27】 この発明の実施の形態8による計算機シス
テムを示すブロック図である。
FIG. 27 is a block diagram showing a computer system according to an eighth embodiment of the present invention.

【図28】 この発明の実施の形態8によるエラー対応
情報の図である。
FIG. 28 is a diagram of error correspondence information according to the eighth embodiment of the present invention.

【図29】 この発明の実施の形態8によるIOインタ
フェースの割込通知処理の流れを示すフローチャートで
ある。
FIG. 29 is a flowchart showing the flow of an IO interface interrupt notification process according to the eighth embodiment of the present invention.

【図30】 この発明の実施の形態8によるプロセッサ
の割込受信処理の流れを示すフローチャートである。
FIG. 30 is a flowchart showing the flow of an interrupt reception process of a processor according to the eighth embodiment of the present invention.

【図31】 この発明の実施の形態9による計算機シス
テムを示すブロック図である。。
FIG. 31 is a block diagram showing a computer system according to a ninth embodiment of the present invention. .

【図32】 この発明の実施の形態9による処理を示す
フローチャートである。
FIG. 32 is a flowchart showing a process according to the ninth embodiment of the present invention.

【図33】 この実施の形態9によるプロセッサ変更カ
ードテーブルの構成図である。
FIG. 33 is a configuration diagram of a processor change card table according to the ninth embodiment.

【図34】 この発明の実施の形態10による計算機シ
ステムの構成図である。
FIG. 34 is a configuration diagram of a computer system according to the tenth embodiment of the present invention.

【図35】 この発明の実施の形態10によるバックア
ップデータエリアの構成図である。
FIG. 35 is a configuration diagram of a backup data area according to the tenth embodiment of the present invention.

【図36】 この発明の実施の形態10による故障処理
設定テーブルの管理手段を示すフローチャートである。
FIG. 36 is a flowchart showing a management means of the failure processing setting table according to the tenth embodiment of the present invention.

【図37】 従来の計算機システムのブロック図であ
る。
FIG. 37 is a block diagram of a conventional computer system.

【図38】 従来の計算機システムの書換処理部の動作
を示すフローチャートである。
FIG. 38 is a flowchart showing the operation of the rewrite processing unit of the conventional computer system.

【図39】 従来の計算機システムの命令実行部の動作
を示すフローチャートである。
FIG. 39 is a flowchart showing the operation of the instruction execution unit of the conventional computer system.

【図40】 従来の計算機システムのページ管理テーブ
ルの構成図である。
FIG. 40 is a configuration diagram of a page management table of a conventional computer system.

【図41】 従来の計算機システムのオペランド構成図
である。
FIG. 41 is an operand configuration diagram of a conventional computer system.

【図42】 従来の計算機システムの分岐処理の説明図
である。
FIG. 42 is an explanatory diagram of a branch process of a conventional computer system.

【図43】 従来の計算機システムのプログラム実行部
のトレース機能のブロック図である。
FIG. 43 is a block diagram of a trace function of a program execution unit of a conventional computer system.

【図44】 図43のトレース履歴レジスタのデータの
構成図である。
FIG. 44 is a data structure diagram of the trace history register of FIG. 43.

【図45】 従来の計算機システムのプログラム実行部
のトレース機能のフローチャートである。
FIG. 45 is a flowchart of the trace function of the program execution unit of the conventional computer system.

【図46】 従来の計算機システムのプログラム書き換
え処理部の動作を示すフローチャートである。
FIG. 46 is a flowchart showing an operation of a program rewrite processing unit of a conventional computer system.

【図47】 従来の計算機システムのIO割込通知機能
のブロック図である。
FIG. 47 is a block diagram of an IO interrupt notification function of a conventional computer system.

【図48】 図47のIOインタフェースの割込通知処
理の流れを示すフローチャートである。
48 is a flow chart showing a flow of interrupt notification processing of the IO interface of FIG. 47.

【図49】 図47のプロセッサの割込受信処理の流れ
を示すフローチャートである。
49 is a flowchart showing a flow of an interrupt reception process of the processor of FIG. 47.

【図50】 従来の計算機システムの構成図である。FIG. 50 is a block diagram of a conventional computer system.

【図51】 従来の故障処理設定テーブルの構成図であ
る。
FIG. 51 is a configuration diagram of a conventional failure processing setting table.

【図52】 従来の構成テーブル部の構成図である。FIG. 52 is a configuration diagram of a conventional configuration table unit.

【図53】 従来の故障処理設定テーブルの管理手段を
示すフローチャートである。
FIG. 53 is a flowchart showing a conventional means for managing a failure processing setting table.

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

1 保守ツール、1a ハードディスク、2 システム
バス、4 プラント、 3 IOインタフェース、4
プラントシステム、5 メモリ、 5a 制御プログラ
ム、5b ページ管理テーブル、5c 分岐ブロック、
6 要求処理部、6a 受信部、6b 送信部、6c
プログラム書換え部、6d メンテナンス処理部、6e
時間監視部、 6f キャンセル処理部、6g プロ
グラム強制停止部、 7 プログラム実行部、8 IO
割込受信、10、10−1〜10−N プロセッサ、2
0 構成テーブル部、21 故障処理設定テーブル部、
22 各カードの故障情報、23 故障処理出力部、2
4 故障処理故障監視部、25 バックアップデータ情
報エリア、400 トレースメモリ、401 トレース
データ収集部、401a トレース履歴レジスタ、40
2 制御プログラムアドレス、403 アドレス一致検
出部、403a アドレス一致開始レジスタ、403b
アドレス一致終了レジスタ、404 トレース信号、
405 アドレス書き換え部、600 IO割込・エラ
ー受信、601 割込通知部、602 割込番号、60
3 エラー番号、604 プラントデータ、605 割
込検出部、606 割込対応情報、607 エラー対応
情報、608 複数割込対応情報、650 プロセッサ
カード故障検出部、651 割込/エラー対応情報更新
部、652 プロセッサ変更カードテーブル、653
故障検出部。
1 maintenance tool, 1a hard disk, 2 system bus, 4 plant, 3 IO interface, 4
Plant system, 5 memory, 5a control program, 5b page management table, 5c branch block,
6 request processing unit, 6a receiving unit, 6b transmitting unit, 6c
Program rewriting unit, 6d Maintenance processing unit, 6e
Time monitoring unit, 6f cancellation processing unit, 6g program forced stop unit, 7 program execution unit, 8 IO
Interrupt reception 10, 10-1 to 10-N processor, 2
0 configuration table section, 21 failure processing setting table section,
22 failure information of each card, 23 failure processing output section, 2
4 failure processing failure monitoring section, 25 backup data information area, 400 trace memory, 401 trace data collection section, 401a trace history register, 40
2 control program address, 403 address match detection unit, 403a address match start register, 403b
Address match end register, 404 trace signal,
405 address rewriting unit, 600 IO interrupt / error reception, 601 interrupt notification unit, 602 interrupt number, 60
3 error number, 604 plant data, 605 interrupt detection unit, 606 interrupt support information, 607 error support information, 608 multiple interrupt support information, 650 processor card failure detection unit, 651 interrupt / error support information update unit, 652 Processor change card table, 653
Failure detector.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G06F 11/30 305 G06F 11/30 305F 12/00 514 12/00 514E 15/16 450 15/16 450D 470 470U (72)発明者 三好 守 兵庫県神戸市兵庫区浜山通6丁目1番2号 三菱電機コントロールソフトウエア株式 会社内 (72)発明者 斉藤 正年 兵庫県神戸市兵庫区浜山通6丁目1番2号 三菱電機コントロールソフトウエア株式 会社内 (72)発明者 中野 博之 東京都千代田区大手町二丁目6番2号 三 菱電機エンジニアリング株式会社内 (72)発明者 戸田 明男 東京都千代田区丸の内二丁目2番3号 三 菱電機株式会社内─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G06F 11/30 305 G06F 11/30 305F 12/00 514 12/00 514E 15/16 450 15/16 450D 470 470U (72) Inventor Mamoru Miyoshi 6-1-2 Hamayama-dori, Hyogo-ku, Kobe-shi, Hyogo Mitsubishi Electric Control Software Co., Ltd. (72) Masatoshi Saito 6-1-1 Hamayama-dori, Hyogo-ku, Kobe, Hyogo Prefecture No. 2 Mitsubishi Electric Control Software Co. Ltd. (72) Inventor Hiroyuki Nakano 2-6-2 Otemachi, Chiyoda-ku, Tokyo Sanryo Engineering Co., Ltd. (72) Inventor Akio Toda 2-chome Marunouchi, Chiyoda-ku, Tokyo No. 2 and 3 Sanryo Electric Co., Ltd.

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 プログラムを予めメモリ上に登録する
際、上記プログラム中の分岐命令の分岐先を上記プログ
ラムの先頭からの命令ステップ数で示す分岐論理アドレ
スとし、この分岐論理アドレスを分岐命令のオペランド
として登録する手段と、上記分岐命令を実行する際、上
記分岐命令のオペランドの分岐先論理アドレスを分岐先
物理アドレスに変換して分岐命令を実行する手段とを備
えたことを特徴とする計算機。
1. When registering a program in a memory in advance, a branch destination of a branch instruction in the program is a branch logical address indicated by the number of instruction steps from the beginning of the program, and the branch logical address is an operand of the branch instruction. And a means for executing the branch instruction by converting the branch destination logical address of the operand of the branch instruction into a branch destination physical address when executing the branch instruction.
【請求項2】 プログラムを予めメモリ上に登録する
際、上記プログラム中の分岐命令の分岐先を上記メモリ
の先頭からオフセットアドレスで示す分岐物理アドレス
とし、この分岐物理アドレスを分岐命令のオペランドと
して登録する手段と、上記分岐命令を実行する際、上記
分岐命令のオペランドの分岐先物理アドレスに基づいて
分岐命令を実行する手段とを備えたことを特徴とする計
算機。
2. When registering a program in a memory in advance, a branch destination of a branch instruction in the program is a branch physical address indicated by an offset address from the head of the memory, and the branch physical address is registered as an operand of the branch instruction. And a means for executing a branch instruction based on a branch destination physical address of an operand of the branch instruction when the branch instruction is executed.
【請求項3】 複数の保守ツールからのメンテナンス要
求に応じてメンテナンスを実行する計算機において、上
記保守ツールの異常状態を検出するエラー検出手段と、
このエラー検出手段でエラーを検出すると、そのエラー
が検出された保守ツールからのメンテナンス要求に対応
するメンテナンス処理を中止する中止手段とを備えたこ
とを特徴とする計算機。
3. A computer that executes maintenance in response to a maintenance request from a plurality of maintenance tools, and error detection means for detecting an abnormal state of the maintenance tools.
A computer comprising: a stopping unit that, when the error detecting unit detects an error, stops the maintenance process corresponding to the maintenance request from the maintenance tool in which the error is detected.
【請求項4】 プログラムの実行中に、トレースデータ
収集開始アドレスからトレースデータ収集終了アドレス
までのトレースデータ収集範囲を監視しながらトレース
データをトレースメモリへ格納する計算機において、一
つのアドレス対応のデータを収集すると、トレースデー
タ収集開始アドレスをトレースデータを収集した次のプ
ログラムのアドレスに更新する手段を備え、上記更新し
たトレースデータ収集開始アドレスから上記トレースデ
ータ収集終了アドレスまでのトレースデータ収集範囲を
監視しながらトレースデータをトレースメモリへ格納す
るようにしたことを特徴とする計算機。
4. A computer which stores trace data in a trace memory while monitoring a trace data collection range from a trace data collection start address to a trace data collection end address during execution of a program, stores data corresponding to one address. When the data is collected, a means for updating the trace data collection start address to the address of the next program that collected the trace data is provided, and the trace data collection range from the updated trace data collection start address to the trace data collection end address is monitored. However, the computer is characterized in that the trace data is stored in the trace memory.
【請求項5】 実行中のプログラムに対し書き換え要求
があったとき、上記プログラムが実行中で所定時間経過
してもなお上記プログラムが実行中であると、そのプロ
グラムの実行を停止してプログラム書き換えを行う手段
を備えたことを特徴とする計算機。
5. When a rewriting request is made to a program being executed, if the program is being executed and the program is still running even after a lapse of a predetermined time, the execution of the program is stopped to rewrite the program. A computer comprising means for performing.
【請求項6】 制御対象を入出力インタフェースを介し
て複数の計算機で制御すると共に、上記入出力インタフ
ェースは、上記制御対象から割込信号を入力として各計
算機へ通知する計算機システムにおいて、上記入出力イ
ンタフェースは、予め割込信号の内容に応じて実行する
計算機を設定しておき、入力された割込信号を実行する
計算機のみに通知する手段を備えたことを特徴とする計
算機システム。
6. A computer system in which a control target is controlled by a plurality of computers via an input / output interface, and the input / output interface notifies each computer as an interrupt signal from the control target as an input. A computer system characterized in that the interface has means for setting a computer to be executed in advance according to the contents of an interrupt signal and notifying only the computer that executes the input interrupt signal.
【請求項7】 制御対象を入出力インタフェースを介し
て複数の計算機で制御すると共に、上記入出力インタフ
ェースは、上記制御対象から割込信号を入力として各計
算機へ通知する計算機システムにおいて、上記入出力イ
ンタフェースは、予め割込信号の内容に応じて実行する
計算機を設定しておき、入力された割込信号を実行する
計算機のみに通知する手段と、上記入力された割込信号
が正常でなければ予め設定された計算機に対してエラー
情報を通知する手段とを備えたことを特徴とする計算機
システム。
7. A computer system in which a control target is controlled by a plurality of computers through an input / output interface, and the input / output interface notifies each computer as an interrupt signal from the control target as input. The interface sets a computer to be executed in advance according to the contents of the interrupt signal, and means for notifying only the computer that executes the input interrupt signal, and if the input interrupt signal is not normal. A computer system comprising: a unit configured to notify a preset computer of error information.
【請求項8】 請求項6または請求項7において、入出
力インタフェースは、計算機の故障を検出する故障検出
手段と、予め計算機が故障した場合に変更する計算機を
設定しておき、その変更する計算機に切り換える計算機
変更手段とを備え、割込通知先またはエラー情報通知先
の計算機が上記故障検出手段で故障検出されると、上記
計算機変更手段により計算機を変更することを特徴とす
る計算機システム。
8. The input / output interface according to claim 6 or 7, wherein failure detecting means for detecting a failure of the computer and a computer to be changed when the computer fails are set in advance, and the computer to be changed is set. A computer system comprising: a computer changing means for switching to a computer, the computer being changed by the computer changing means when the failure is detected in the interrupt notification destination or the error information notifying destination computer.
【請求項9】 各計算機が各々カード上に配設され、上
記各計算機が互いに接続された計算機システムにおい
て、上記各カードの種別とその取付位置に対応して上記
各計算機の設定内容をバックアップしておくバックアッ
プ手段と、カードを取り付ける際、取付位置に対応する
種別のカードをその取付位置に取り付けると上記バック
アップ手段に保持された設定内容で設定する第1の設定
手段と、カードを取り付ける際、取付位置に対応しない
種別のカードをその取付位置に取り付けると、予め設定
した標準値を用いて設定する第2の設定手段とを備えた
ことを特徴とする計算機システム。
9. In a computer system in which each computer is arranged on a card and the computers are connected to each other, the settings of each computer are backed up in correspondence with the type of each card and its mounting position. A backup means to be stored and a first setting means for setting a card of a type corresponding to the mounting position at the mounting position when the card is mounted, and the setting means held by the backup means, and when mounting the card, A computer system, comprising: a second setting means for setting a standard value set in advance when a card of a type that does not correspond to the mounting position is mounted at the mounting position.
JP10652596A 1996-04-26 1996-04-26 Computers and computer systems Expired - Lifetime JP3462001B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10652596A JP3462001B2 (en) 1996-04-26 1996-04-26 Computers and computer systems

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10652596A JP3462001B2 (en) 1996-04-26 1996-04-26 Computers and computer systems

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2002196234A Division JP2003067218A (en) 2002-07-04 2002-07-04 Computers and computer systems

Publications (2)

Publication Number Publication Date
JPH09293003A true JPH09293003A (en) 1997-11-11
JP3462001B2 JP3462001B2 (en) 2003-11-05

Family

ID=14435820

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10652596A Expired - Lifetime JP3462001B2 (en) 1996-04-26 1996-04-26 Computers and computer systems

Country Status (1)

Country Link
JP (1) JP3462001B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007226445A (en) * 2006-02-22 2007-09-06 Toshiba Corp Distributed control system
US7831809B2 (en) 2005-09-23 2010-11-09 Samsung Electronics Co., Ltd. Method for reducing code size of a program in code memory by dynamically storing an instruction into a memory location following a group of instructions indicated by an offset operand and either a length operand or a bitmask operand of an echo instruction

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7831809B2 (en) 2005-09-23 2010-11-09 Samsung Electronics Co., Ltd. Method for reducing code size of a program in code memory by dynamically storing an instruction into a memory location following a group of instructions indicated by an offset operand and either a length operand or a bitmask operand of an echo instruction
JP2007226445A (en) * 2006-02-22 2007-09-06 Toshiba Corp Distributed control system

Also Published As

Publication number Publication date
JP3462001B2 (en) 2003-11-05

Similar Documents

Publication Publication Date Title
US5214652A (en) Alternate processor continuation of task of failed processor
US20070055969A1 (en) System and method for updating firmware
US6574709B1 (en) System, apparatus, and method providing cache data mirroring to a data storage system
US5828823A (en) Method and apparatus for storing computer data after a power failure
JP3364356B2 (en) Memory rewriting device
CN1139036C (en) Method and apparatus for preventing a load or store operation from completing on a previously failed device
US20040243777A1 (en) Data saving method and external storage device
US20080046780A1 (en) Nonvolatile memory
US7941658B2 (en) Computer system and method for updating program code
JPH0816408A (en) Information processing device
US20150293714A1 (en) Storage system and data backup method
JPH09198884A (en) Flash memory management method
US7761733B2 (en) Image-processing system, image-processing method, and computer readable storage medium
CN100422945C (en) Apparatus and method to provide failover protection in an information storage and retrieval system
JP4523639B2 (en) Memory error address management by firmware
EP0477385B1 (en) Method of resetting adapter module at failing time and computer system executing said method
JPH09251443A (en) Information processing system processor failure recovery processing method
JP3462001B2 (en) Computers and computer systems
JP3551079B2 (en) Recovery method and device after replacement of modified load module
JP2003067218A (en) Computers and computer systems
JP2002543521A (en) Method and apparatus for automatically reintegrating modules into a computer system
JP2004094966A (en) Computers and computer systems
US20090265537A1 (en) Computer system, bios structure and boot method thereof
JP2005032267A (en) Computer and computer system
CN114721879B (en) SOC (System on chip), data backup method for SOC and electronic equipment

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20070815

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080815

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080815

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090815

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090815

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100815

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110815

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110815

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120815

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120815

Year of fee payment: 9

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130815

Year of fee payment: 10

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term