JPH06259117A - Operational error processing method for programmable controller - Google Patents

Operational error processing method for programmable controller

Info

Publication number
JPH06259117A
JPH06259117A JP4367793A JP4367793A JPH06259117A JP H06259117 A JPH06259117 A JP H06259117A JP 4367793 A JP4367793 A JP 4367793A JP 4367793 A JP4367793 A JP 4367793A JP H06259117 A JPH06259117 A JP H06259117A
Authority
JP
Japan
Prior art keywords
arithmetic
error
processor
arithmetic processor
instruction
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
JP4367793A
Other languages
Japanese (ja)
Other versions
JP3114909B2 (en
Inventor
Hideyuki Odaka
秀之 小▲高▼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Electric Co Ltd filed Critical Fuji Electric Co Ltd
Priority to JP05043677A priority Critical patent/JP3114909B2/en
Publication of JPH06259117A publication Critical patent/JPH06259117A/en
Application granted granted Critical
Publication of JP3114909B2 publication Critical patent/JP3114909B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To omit the confirmation of a flag after execution of the four rules of arithmetic by transmitting an interruption signal to an operation processor from another to process an error of data. CONSTITUTION:A buffer 211 of a 2nd operational processor 210 receives sequence instruction of a computing subject, and a decoder 213 identifies the type of the instruction and gives an instruction to a selector 212. The selector 212 sends the sequence instruction to one of arithmetic circuits 214A-217A in accordance with the type of the instruction. Thus an arithmetic operation is carried out in response to the sequence instruction. When an overflow error is detected by one or error detecting circuits 214B-216B, an interruption signal is supplied to a 1st interruption terminal of a 1st operational processor 200. Thus the processor 200 processes the overflow error by the interruption processing. If a zero error occurs in a division mode, an error detecting circuit 217B supplies an interruption signal to a 2nd interruption terminal of the processor 200. Thus the zero error is processed in terms of interruption.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、演算データのチェック
処理と、エラー検出時のエラー対処理を別個の演算プロ
セッサで行なうプログラマブルコントローラの演算エラ
ー処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an arithmetic error processing method for a programmable controller in which arithmetic data check processing and error pair processing at the time of error detection are performed by separate arithmetic processors.

【0002】[0002]

【従来の技術】プログラマブルコントローラ(以下PC
と略す)が実行する制御内容は、シーケンス制御と数値
演算制御に大別できる。当初のPCは、リレー盤の機能
であるシーケンス制御(いわゆる、オン/オフのビット
単位の論理の制御)のみを実行するものであったが、最
近のPCの殆どは、数値演算制御機能(いわゆる、ワー
ド単位のどちらかと言えば量の制御)を持ち、また、経
済性の観点から、データ処理機能といったコンピュータ
的機能をも付加してきている。
2. Description of the Related Art Programmable controller (hereinafter referred to as PC
The control content executed by (abbreviated as) is roughly classified into sequence control and numerical operation control. Initially, the PC only performed the sequence control (so-called control of bit unit logic of ON / OFF) which is the function of the relay board, but most of the recent PCs have a numerical operation control function (so-called). , Or rather, it controls the quantity in word units), and from the viewpoint of economy, it has also added computer functions such as data processing functions.

【0003】このうち、数値演算制御機能としては、A
ND,ORに代表されるようないわゆる論理演算と、四
則演算のようないわゆる算術演算等がある。PCの制御
処理を高速化する目的のために、算術演算を専門的に行
う第2演算プロセッサ(演算回路で構成される)と、シ
ステム制御処理を実行する第1演算プロセッサ(CP
U)とを2つ設け、並行処理を行なっている。
Of these, the numerical operation control function is A
There are so-called logical operations represented by ND and OR, and so-called arithmetic operations such as four arithmetic operations. For the purpose of speeding up the control processing of the PC, a second arithmetic processor (comprising an arithmetic circuit) that specializes in arithmetic operations and a first arithmetic processor (CP that executes system control processing).
U) and two are provided to perform parallel processing.

【0004】第2演算プロセッサでは演算データもしく
は演算結果にエラーが発生しているか否かのチェックを
行ってそのチェック結果を第1演算プロセッサに引き渡
す。このために、従来では図2に示すように第1演算プ
ロセッサ100と第2演算プロセッサ120との間にフ
ラグ情報記憶回路110を設けている。フラグ情報はエ
ラーの有無を1/0のビットで示す情報であり、演算の
種類毎に定められる。
The second arithmetic processor checks whether or not an error has occurred in the arithmetic data or the arithmetic result, and delivers the check result to the first arithmetic processor. For this reason, conventionally, as shown in FIG. 2, a flag information storage circuit 110 is provided between the first arithmetic processor 100 and the second arithmetic processor 120. The flag information is information indicating the presence or absence of an error by 1/0 bit, and is determined for each type of operation.

【0005】四則演算の加算と除算の従来処理につい
て、図3〜10により詳しく説明する。
Conventional processing of addition and division of the four arithmetic operations will be described in detail with reference to FIGS.

【0006】図3は、オペコード1とオペランドに大別
される機械語の例と、第2演算プロセッサ120内のオ
ペコード部のデコード回路2を示し、デコード結果とし
て、加算命令3や除算命令4などが識別され、対応の演
算回路へ出力される。
FIG. 3 shows an example of a machine language which is roughly divided into an operation code 1 and an operand, and a decoding circuit 2 of an operation code section in the second arithmetic processor 120. As a decoding result, an addition instruction 3 and a division instruction 4 etc. are shown. Are identified and output to the corresponding arithmetic circuit.

【0007】加算命令のハード構成を図4,5に示す。
図4は、一般的に知られている2入力1出力の加算器
で、桁上がりした場合“1”となるキャリィアウト5が
ついている。これは、図5に示すように加算命令3とA
ND(アンド)されOF(オーバーフローフラグ)セッ
ト条件6となり、命令の終了を示すクロック7でフリッ
プフロップ8にセットされ、オーバーフローフラグ9と
なる。これら基本的なハード構成を用いた加算処理フロ
ーを図8に示す。前記したように、第2演算プロセッサ
120側で加算命令を実行15の後第1演算プロセッサ
100側ではフラグ情報記憶回路110内の加算器対応
のオーバーフローフラグ9の確認16を行い、オーバー
フローが発生していれば、エラー処理17を行う必要が
ある。そのオーバーフロー時のエラー処理17は、シス
テムにより異なるが、たとえば加算結果データを任意デ
ータ(例えば、全てのビットを“1”または“0”とす
る)に書き換えることや、オーバーフロー発生履歴を残
すなどのエラー処理を行う。
The hardware configuration of the add instruction is shown in FIGS.
FIG. 4 shows a generally known two-input one-output adder, which has a carry-out 5 which becomes "1" when a carry is carried. This is the addition instruction 3 and A as shown in FIG.
ND (AND) is made to become the OF (overflow flag) setting condition 6, the clock 7 indicating the end of the instruction is set in the flip-flop 8, and the overflow flag 9 is set. FIG. 8 shows an addition processing flow using these basic hardware configurations. As described above, after executing the addition instruction 15 on the second arithmetic processor 120 side, the first arithmetic processor 100 side confirms 16 the overflow flag 9 corresponding to the adder in the flag information storage circuit 110, and an overflow occurs. If so, the error processing 17 needs to be performed. The error processing 17 at the time of overflow depends on the system, but, for example, the addition result data is rewritten to arbitrary data (for example, all bits are set to “1” or “0”), and the overflow occurrence history is left. Perform error handling.

【0008】次に、除算命令の処理について説明する。
図6は、除算器10、割る数に相当するデータが“0”
か否かを検証するゼロ検証回路(ゼロエラー検知回路)
11を示している。割る数がゼロの場合、ゼロ信号12
が“1”になる。これは、図7に示すように除算命令4
とANDされEF(エラーフラグ)セット条件13とな
り、命令の終了を示すクロック7でフリップフロップに
セットされ、エラーフラグ14となる。これら基本的な
ハード構成を用いた除算処理フローを図9に示す。加算
命令と同様に、第1プロセッサ100は第2プロセッサ
120による除算命令実行18後エラーフラグ14の確
認19を行い、エラーが発生していれば、エラー処理2
0を行う。そのエラー処理20は、加算処理の場合と同
等である。
Next, the processing of the division instruction will be described.
In FIG. 6, the data corresponding to the divider 10 and the division number is “0”.
Zero verification circuit (zero error detection circuit) to verify whether or not
11 is shown. If the number to divide is zero, zero signal 12
Becomes "1". This is the division instruction 4 as shown in FIG.
Is set to the EF (error flag) setting condition 13, which is set in the flip-flop at the clock 7 indicating the end of the instruction and becomes the error flag 14. FIG. 9 shows a division processing flow using these basic hardware configurations. Similarly to the addition instruction, the first processor 100 checks the error flag 14 after executing the division instruction 18 by the second processor 120, and if an error occurs, the error processing 2
Perform 0. The error process 20 is the same as the case of the addition process.

【0009】[0009]

【発明が解決しようとする課題】従来の演算処理では、
演算過程でのエラーや演算データの検証結果を判断する
ために、必ず、第1演算プロセッサ側で演算フラグを確
認する必要があり、第2演算プロセッサ側では第1演算
プロセッサ側での確認終了後、次の演算処理を開始する
ので、システム全体として、シーケンス演算の高速実行
が出来なかった。
In the conventional arithmetic processing,
In order to determine the error in the calculation process and the verification result of the calculation data, it is necessary to confirm the calculation flag on the first calculation processor side, and on the second calculation processor side after the confirmation on the first calculation processor side is completed. , The next arithmetic processing was started, so the high speed execution of sequence arithmetic could not be performed in the entire system.

【0010】そこで、本発明の目的は、演算後にフラグ
の確認をする必要のないプログラマブルコントローラの
演算エラー処理方法を提供することとする。
Therefore, an object of the present invention is to provide an arithmetic error processing method for a programmable controller that does not require confirmation of flags after arithmetic operations.

【0011】[0011]

【課題を解決するための手段】このような目的を達成す
るために、請求項1の発明は、シーケンス命令で規定さ
れた四則演算を第2の演算プロセッサで実行し、前記四
則演算に用いたデータまたは該四則演算の演算結果にデ
ータエラーが生じたときには、第1の演算プロセッサ
で、エラー関連処理を行なうプログラマブルコントロー
ラの演算エラー処理方法において、前記データエラーが
生じたときには、前記第2の演算プロセッサから前記第
1の演算プロセッサに割込信号を送信し、前記第1の演
算プロセッサは該割込信号の入力に応じて割込み的に前
記エラー関連処理を行なうことを特徴とする。
In order to achieve such an object, the invention of claim 1 executes the four arithmetic operations defined by a sequence instruction by a second arithmetic processor and uses the arithmetic operations. When a data error occurs in the data or the arithmetic result of the four arithmetic operations, in the arithmetic error processing method of the programmable controller that performs error-related processing in the first arithmetic processor, when the data error occurs, the second arithmetic operation is performed. An interrupt signal is transmitted from the processor to the first arithmetic processor, and the first arithmetic processor performs the error-related processing in an interrupted manner in response to the input of the interrupt signal.

【0012】請求項2の発明は、請求項1の発明に加え
て、前記第2の演算プロセッサは前記割込信号の送信時
に前記データエラーの内容を示すコード信号を前記第1
の演算プロセッサに送し、前記第1の演算プロセッサは
前記エラー関連処理に先立って、前記コード信号から実
行すべきエラー関連処理の内容を識別することを特徴と
する。
According to a second aspect of the invention, in addition to the first aspect of the invention, the second arithmetic processor sends a code signal indicating the content of the data error when the interrupt signal is transmitted.
And the first arithmetic processor identifies the content of the error-related processing to be executed from the code signal prior to the error-related processing.

【0013】[0013]

【作用】この発明は、本来、第2演算プロセッサ側で演
算処理が正常に行われた場合には、第1演算プロセッサ
側では演算フラグを確認する必要がない点に着目してい
る。
The present invention focuses on the fact that when the arithmetic processing is normally performed on the second arithmetic processor side, it is not necessary to confirm the arithmetic flag on the first arithmetic processor side.

【0014】このため、請求項1の発明では演算過程で
のエラーや演算データの検証結果によりデータエラーが
第2演算プロセッサが検出された場合、割込信号により
第1演算プロセッサにエラー処理を実行させる。このた
め第1演算プロセッサでは第2演算プロセッサの演算後
にフラグの確認をする必要がない。
Therefore, according to the first aspect of the invention, when the second arithmetic processor detects a data error due to an error in the arithmetic process or a verification result of the arithmetic data, an error signal is executed to the first arithmetic processor by an interrupt signal. Let Therefore, the first arithmetic processor does not need to confirm the flag after the arithmetic operation of the second arithmetic processor.

【0015】請求項2の発明ではデータエラー内容を示
すコード信号を第1演算プロセッサに与えるので第1演
算プロセッサ側では1個の割込信号で複数種のエラー関
連処理を実行できる。
According to the second aspect of the present invention, since the code signal indicating the content of the data error is given to the first arithmetic processor, a plurality of kinds of error-related processing can be executed by one interrupt signal on the first arithmetic processor side.

【0016】[0016]

【実施例】以下、図面を参照して本発明の実施例を詳細
に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0017】<第1実施例>図1は第2演算プロセッサ
210の回路構成を示す。図1において、バッファ21
1は演算対象のシーケンス命令(演算命令)を受信す
る。デコーダ213はシーケンス命令の種類を識別し、
セレクタ212に指示して、シーケンス命令をその種類
に対応の演算回路214A〜217Aに引渡す。
<First Embodiment> FIG. 1 shows a circuit configuration of a second arithmetic processor 210. In FIG. 1, the buffer 21
1 receives a sequence command (calculation command) to be calculated. The decoder 213 identifies the type of sequence instruction,
The selector 212 is instructed to deliver the sequence command to the arithmetic circuits 214A to 217A corresponding to the type.

【0018】エラー検知回路214B,215B,21
6Bは演算対象のデータ(減算データ)/または演算後
のデータ(加算結果,乗算結果)がオーバーフローして
いるか否かのエラー検知を行なう。エラー検知回路21
7Bは分母データがゼロであるか否かのエラー有無判定
を行なう。
Error detection circuits 214B, 215B, 21
6B detects an error whether or not the data to be calculated (subtraction data) and / or the data after calculation (addition result, multiplication result) overflow. Error detection circuit 21
7B determines whether or not there is an error whether or not the denominator data is zero.

【0019】エラー検知回路214B,215B,21
6Bによりオーバーフローエラーが検出されると、オー
バーフロー割込信号が第1演算プロセッサ(CPU)2
00の第1割込端子INT1に入力される。またエラー
検知回路217Bによりゼロエラーが検知されたときは
ゼロエラー割込信号が第2割込端子INT2に入力され
る。
Error detection circuits 214B, 215B, 21
When an overflow error is detected by 6B, the overflow interrupt signal is sent to the first arithmetic processor (CPU) 2
00 is input to the first interrupt terminal INT1. When the error detection circuit 217B detects a zero error, a zero error interrupt signal is input to the second interrupt terminal INT2.

【0020】第1演算プロセッサ100の第1割込端子
INT1に割込信号が入力されると、図10(B)の制
御手順が実行され、第2割込端子INT2に割込信号が
入力されると、図11(B)の制御手順が実行される。
When an interrupt signal is input to the first interrupt terminal INT1 of the first arithmetic processor 100, the control procedure of FIG. 10B is executed, and the interrupt signal is input to the second interrupt terminal INT2. Then, the control procedure of FIG. 11B is executed.

【0021】このような構成において、第2演算プロセ
ッサはシーケンス命令を受信し、シーケンス命令の示す
演算を、対応演算回路において実行して行く。データエ
ラーが発生しない場合は、第1演算プロセッサ200へ
は割込信号が入力されないので、第1演算プロセッサ2
00は、一般システム処理を実行する。
In such a configuration, the second arithmetic processor receives the sequence instruction and executes the operation indicated by the sequence instruction in the corresponding arithmetic circuit. If no data error occurs, no interrupt signal is input to the first arithmetic processor 200, so the first arithmetic processor 2
00 executes general system processing.

【0022】一方、オーバーフローエラーがエラー検知
回路214B〜216Bのいずれかで検知されると、第
1演算プロセッサ200の第1割込端子に割込み信号が
入力される。この結果、第1演算プロセッサ200は図
10(B)の割込処理により従来と同様のエラー処理を
実行する。
On the other hand, when an overflow error is detected by any of the error detection circuits 214B to 216B, an interrupt signal is input to the first interrupt terminal of the first arithmetic processor 200. As a result, the first arithmetic processor 200 executes the same error processing as the conventional one by the interrupt processing of FIG.

【0023】除算時のゼロエラーが発生した場合は、エ
ラー検知回路217Bから第1演算プロセッサ200の
第2割込端子に割込信号が送られる。このため、第1演
算プロセッサ200は割込み的に図11(B)の手順に
より、ゼロエラーに対応するエラー処理を実行する。
When a zero error occurs during division, an error detection circuit 217B sends an interrupt signal to the second interrupt terminal of the first arithmetic processor 200. Therefore, the first arithmetic processor 200 interrupts the error processing corresponding to the zero error according to the procedure of FIG.

【0024】本実施例の他に次の例を実施できる。In addition to this embodiment, the following example can be carried out.

【0025】<第2実施例>上述実施例では割込み信号
は2種のエラー処理に対応させて、2つ設けているが、
単にエラーの発生のみを警告する処理を第1演算プロセ
ッサにより実行する場合は、割込信号は1つでよい。割
込信号発生のための一回路例を図12に示す。
<Second Embodiment> In the above embodiment, two interrupt signals are provided corresponding to two types of error processing.
In the case where the first arithmetic processor executes the process of merely warning that an error has occurred, only one interrupt signal is required. FIG. 12 shows an example of a circuit for generating an interrupt signal.

【0026】図12において、第2演算プロセッサ21
0の加算回路選択信号ADDと加算回路についてのオー
バフローエラー検知信号carryoutとが共に発生
した場合か、又は除算回路選択信号divとゼロエラー
検知信号zerodetectとが共に発生したときに
は、ラッチ21から第1演算プロセッサ200に対して
割込信号interruptが送られる。第1演算プロ
セッサ200はこの割込み信号によりエラー処理を割込
的に実行する。
In FIG. 12, the second arithmetic processor 21
When the addition circuit selection signal ADD of 0 and the overflow error detection signal carryout for the addition circuit are both generated, or when the division circuit selection signal div and the zero error detection signal zerodedetect are both generated, the latch 21 performs the first operation. An interrupt signal “interrupt” is sent to the processor 200. The first arithmetic processor 200 interrupts error processing by this interrupt signal.

【0027】<第3実施例>第1演算プロセッサ200
に対する割込信号を1つにして、エラーの種類内容を第
1の演算プロセッサに知らせるようにした第3実施例を
図13に示す。
<Third Embodiment> First arithmetic processor 200
FIG. 13 shows a third embodiment in which only one interrupt signal is supplied to the first arithmetic processor to inform the first arithmetic processor of the kind of error.

【0028】図13において、第2演算プロセッサ21
0のラッチ21は加算器,除算器のいずれかにデータエ
ラーが発生すると、第1演算プロセッサ200への割込
信号interruptを発生する。ラッチ23は、エ
ラーの発生した演算器のデータエラー検知信号をラッチ
し、q1又はq2の対応出力信号のレベルをオンする。
第1演算プロセッサ200は割込信号interrup
tの入力に応じて、図14の制御手順を割込的に実行す
る。すなわち、ラッチ23の出力を読取り、出力の示す
コードからエラー内容を識別し(ステップ26)、対応
のエラー処理を実行する。
In FIG. 13, the second arithmetic processor 21
The latch 21 of 0 generates an interrupt signal interrupt to the first arithmetic processor 200 when a data error occurs in either the adder or the divider. The latch 23 latches the data error detection signal of the arithmetic unit in which the error has occurred, and turns on the level of the corresponding output signal of q1 or q2.
The first arithmetic processor 200 uses the interrupt signal interrup
In response to the input of t, the control procedure of FIG. 14 is executed in an interrupted manner. That is, the output of the latch 23 is read, the error content is identified from the code indicated by the output (step 26), and the corresponding error processing is executed.

【0029】<第4実施例>第3実施例は演算回路が2
種の例であるが、多数の演算回路を第2演算プロセッサ
が有する場合は、図15に示すようにエラー検知信号群
をデコーダ24によりデコードしてエラー内容を示すコ
ード信号を作成し、ラッチ23から出力するとよい。
<Fourth Embodiment> The third embodiment has two arithmetic circuits.
For example, when the second arithmetic processor has a large number of arithmetic circuits, as shown in FIG. 15, the error detection signal group is decoded by the decoder 24 to generate a code signal indicating the error content, and the latch 23 is generated. It is good to output from.

【0030】上述実施例の外に次の例を実施できる。In addition to the above embodiment, the following example can be implemented.

【0031】1)本実施例では第2の演算プロセッサを
複数の演算回路で構成する例を示したが、ソフトウェア
で演算を行うプロセッサにも本発明を適用できる。この
場合は、第2の演算プロセッサがデータエラーを検知
後、図12,図13,図15のような割込信号発生回路
を起動し、第1の演算プロセッサに割込み処理を実行さ
せる。
1) In the present embodiment, an example in which the second arithmetic processor is composed of a plurality of arithmetic circuits has been shown, but the present invention can be applied to a processor which performs arithmetic by software. In this case, after the second arithmetic processor detects the data error, it activates the interrupt signal generating circuit as shown in FIGS. 12, 13, and 15 to cause the first arithmetic processor to execute the interrupt processing.

【0032】[0032]

【発明の効果】以上、説明したように、本発明によれ
ば、従来、第1の演算プロセッサ側で必要であったデー
タエラーの有無の確認処理が不要となり、また、データ
エラー有無情報を転送するためのフラグ記憶回路が不要
となるので、プログラマブルコントローラの高速化,簡
素化に寄与することができる。
As described above, according to the present invention, there is no need for the processing for confirming the presence or absence of a data error, which is conventionally required on the side of the first arithmetic processor, and the data error presence / absence information is transferred. Since a flag storage circuit for doing so is unnecessary, it is possible to contribute to speeding up and simplification of the programmable controller.

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

【図1】本発明実施例の回路構成を示すブロック図であ
る。
FIG. 1 is a block diagram showing a circuit configuration of an embodiment of the present invention.

【図2】従来例の回路構成を示すブロック図である。FIG. 2 is a block diagram showing a circuit configuration of a conventional example.

【図3】従来例の第2演算プロセッサの部分構成を示す
回路図である。
FIG. 3 is a circuit diagram showing a partial configuration of a second arithmetic processor of a conventional example.

【図4】従来例の第2演算プロセッサの部分構成を示す
回路図である。
FIG. 4 is a circuit diagram showing a partial configuration of a second arithmetic processor of a conventional example.

【図5】従来例の第2演算プロセッサの部分構成を示す
回路図である。
FIG. 5 is a circuit diagram showing a partial configuration of a second arithmetic processor of a conventional example.

【図6】従来例の第2演算プロセッサの部分構成を示す
回路図である。
FIG. 6 is a circuit diagram showing a partial configuration of a second arithmetic processor of a conventional example.

【図7】従来例の第2演算プロセッサの部分構成を示す
回路図である。
FIG. 7 is a circuit diagram showing a partial configuration of a second arithmetic processor of a conventional example.

【図8】従来の演算処理手順を示すフローチャートであ
る。
FIG. 8 is a flowchart showing a conventional arithmetic processing procedure.

【図9】従来の演算処理手順を示すフローチャートであ
る。
FIG. 9 is a flowchart showing a conventional arithmetic processing procedure.

【図10】本発明実施例の演算処理手順を示すフローチ
ャートである。
FIG. 10 is a flowchart showing a calculation processing procedure according to the embodiment of the present invention.

【図11】本発明実施例の演算処理手順を示すフローチ
ャートである。
FIG. 11 is a flowchart showing a calculation processing procedure according to the embodiment of the present invention.

【図12】第2実施例の割込信号発生回路の構成を示す
ブロック図である。
FIG. 12 is a block diagram showing a configuration of an interrupt signal generation circuit of a second embodiment.

【図13】第3実施例の割込信号発生回路の構成を示す
ブロック図である。
FIG. 13 is a block diagram showing a configuration of an interrupt signal generation circuit according to a third embodiment.

【図14】第3実施例の第1演算プロセッサの割込処理
手順を示すフローチャートである。
FIG. 14 is a flowchart showing an interrupt processing procedure of the first arithmetic processor of the third embodiment.

【図15】第4実施例の割込信号発生回路の構成を示す
ブロック図である。
FIG. 15 is a block diagram showing a configuration of an interrupt signal generation circuit of a fourth embodiment.

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

100,200 第1の演算プロセッサ 110,210 第2の演算プロセッサ 100,200 1st arithmetic processor 110,210 2nd arithmetic processor

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 シーケンス命令で規定された四則演算を
第2の演算プロセッサで実行し、前記四則演算に用いた
データまたは該四則演算の演算結果にデータエラーが生
じたときには、第1の演算プロセッサで、エラー関連処
理を行なうプログラマブルコントローラの演算エラー処
理方法において、 前記データエラーが生じたときには、前記第2の演算プ
ロセッサから前記第1の演算プロセッサに割込信号を送
信し、 前記第1の演算プロセッサは該割込信号の入力に応じて
割込み的に前記エラー関連処理を行なうことを特徴とす
るプログラマブルコントローラの演算エラー処理方法。
1. When the second arithmetic processor executes the four arithmetic operations defined by the sequence instruction and a data error occurs in the data used for the four arithmetic operations or the arithmetic result of the four arithmetic operations, the first arithmetic processor. In the arithmetic error processing method for a programmable controller that performs error-related processing, when the data error occurs, an interrupt signal is transmitted from the second arithmetic processor to the first arithmetic processor, and the first arithmetic operation is performed. The arithmetic error processing method for a programmable controller, wherein the processor performs the error-related processing in an interrupted manner in response to the input of the interrupt signal.
【請求項2】 前記第2の演算プロセッサは前記割込信
号の送信時に前記データエラーの内容を示すコード信号
を前記第1の演算プロセッサに送し、前記第1の演算プ
ロセッサは前記エラー関連処理に先立って、前記コード
信号から実行すべきエラー関連処理の内容を識別するこ
とを特徴とする請求項1に記載のプログラマブルコント
ローラの演算エラー処理方法。
2. The second arithmetic processor sends a code signal indicating the content of the data error to the first arithmetic processor when the interrupt signal is transmitted, and the first arithmetic processor processes the error-related processing. 2. The arithmetic error processing method for a programmable controller according to claim 1, wherein the contents of error-related processing to be executed are identified from the code signal prior to the above.
JP05043677A 1993-03-04 1993-03-04 Calculation error processing method of programmable controller Expired - Lifetime JP3114909B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP05043677A JP3114909B2 (en) 1993-03-04 1993-03-04 Calculation error processing method of programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP05043677A JP3114909B2 (en) 1993-03-04 1993-03-04 Calculation error processing method of programmable controller

Publications (2)

Publication Number Publication Date
JPH06259117A true JPH06259117A (en) 1994-09-16
JP3114909B2 JP3114909B2 (en) 2000-12-04

Family

ID=12670476

Family Applications (1)

Application Number Title Priority Date Filing Date
JP05043677A Expired - Lifetime JP3114909B2 (en) 1993-03-04 1993-03-04 Calculation error processing method of programmable controller

Country Status (1)

Country Link
JP (1) JP3114909B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6197626B1 (en) 1997-02-26 2001-03-06 Semiconductor Energy Laboratory Co. Method for fabricating semiconductor device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6197626B1 (en) 1997-02-26 2001-03-06 Semiconductor Energy Laboratory Co. Method for fabricating semiconductor device
US6448118B2 (en) 1997-02-26 2002-09-10 Semiconductor Energy Laboratory Co., Ltd. Semiconductor film manufacturing with selective introduction of crystallization promoting material

Also Published As

Publication number Publication date
JP3114909B2 (en) 2000-12-04

Similar Documents

Publication Publication Date Title
EP0331372B1 (en) Method of and apparatus using floating point execption signals for controlling several processors
EP0097956A2 (en) Arithmetic system having pipeline structure arithmetic means
EP0372751B1 (en) Pipelined data-processing apparatus
US6378067B1 (en) Exception reporting architecture for SIMD-FP instructions
EP1703393B1 (en) Error notification method and apparatus for an information processing system carrying out mirror operation
JPH06259117A (en) Operational error processing method for programmable controller
US4991130A (en) Normalization control system for floating point arithmetic operation
JPH02123442A (en) Accelerated memory
JP3240660B2 (en) Data processing device
JPS6376028A (en) Method for controlling execution of instruction step in virtual computer system
JP2000040081A (en) Vector data processor
JPH05100883A (en) Semiconductor device for processing data
JP2786215B2 (en) Restart processing control method
JP2021144426A (en) Processor and error detection method
JPH0233173B2 (en)
JPH0394339A (en) Signal processor and its fault diagnostic method
JPH03204004A (en) Programmable controller
JP2782471B2 (en) Data transfer retry control method
JPH05143320A (en) Floating point arithmetic system and unit therefor
JPS58199499A (en) Data processor
JPH03209523A (en) Detection system for error of instruction data
JPH076038A (en) Information processor
JPH01175626A (en) Micro processor
JPS6259341B2 (en)
JPS63263536A (en) Information processor

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Year of fee payment: 7

Free format text: PAYMENT UNTIL: 20070929

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

Free format text: PAYMENT UNTIL: 20080929

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20080929

Year of fee payment: 8

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

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20090929

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

Year of fee payment: 9

Free format text: PAYMENT UNTIL: 20090929

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

Free format text: PAYMENT UNTIL: 20100929

Year of fee payment: 10

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

Year of fee payment: 11

Free format text: PAYMENT UNTIL: 20110929

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

Free format text: PAYMENT UNTIL: 20110929

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120929

Year of fee payment: 12

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

Year of fee payment: 12

Free format text: PAYMENT UNTIL: 20120929

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

Year of fee payment: 13

Free format text: PAYMENT UNTIL: 20130929

EXPY Cancellation because of completion of term