JPH01134604A - Programmable controller - Google Patents

Programmable controller

Info

Publication number
JPH01134604A
JPH01134604A JP62293652A JP29365287A JPH01134604A JP H01134604 A JPH01134604 A JP H01134604A JP 62293652 A JP62293652 A JP 62293652A JP 29365287 A JP29365287 A JP 29365287A JP H01134604 A JPH01134604 A JP H01134604A
Authority
JP
Japan
Prior art keywords
input
information
memory
input unit
section
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
JP62293652A
Other languages
Japanese (ja)
Other versions
JP2575424B2 (en
Inventor
Toshimitsu Asai
浅井 俊光
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 JP62293652A priority Critical patent/JP2575424B2/en
Publication of JPH01134604A publication Critical patent/JPH01134604A/en
Application granted granted Critical
Publication of JP2575424B2 publication Critical patent/JP2575424B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Safety Devices In Control Systems (AREA)
  • Programmable Controllers (AREA)

Abstract

PURPOSE:To execute the continuous operation without stopping a device even when input information is fixed and a trouble unit is removed by obtaining OR conditions of the information through an input unit and pseudo input data at the time of the input unit trouble. CONSTITUTION:When any of respective input elements A7-E8 of input units 7 and 8 is troubled, a trouble unit number is set to the internal memory of a CPU 1 by the input operation and the address of the input unit exchanging execution instruction of an internal memory is set. The CPU 1, in accordance with the trouble unit number, sets an exchanging execution instruction, an input information switch 10 or 11 is turned off and the transferred input information is fixed. Consequently, the OR output of the memory 12 becomes the contents of memories (a)-(e) and supplied to the CPU 1 as the input information. The CPU 1 executes a sequence program 5 based on the input information.

Description

【発明の詳細な説明】 (産業上の利用分野) この発明は、入力ユニット部の故障修理に際しても運転
を行なうことのできるプログラマブルコントローラに関
するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a programmable controller that can be operated even when an input unit section is being repaired.

〔従来の技術〕[Conventional technology]

第4図は従来のプログラマブルコントローラ(pc)の
回路構成ブロック図である。(1)は各メモリの読出し
、書込みなどを制御する中央処理装置(以下CPU)、
 (2)は外部入力機器 (6)の状態を示す出力イメ
ージメモリ、(3)は外部出力機器(図示を省略)とP
Cを接続可能にする出カニニット、(4)はCP U 
(1)での演算結果を一時的に格納する演算用メモリ、
(5)は上記CPU(1)の演算処理に必要なプログラ
ムを格納するシーケンスプログラムメモリ、(6)は上
記CPU(1)の演算動作に必要な動作状態などの外部
情報を検出する外部入力機器、(7) 、 (8)は外
部入力機器 (6)と入力イメージメモリ (9)を接
続し、上記外部入力機器 (6)からの情報をCP U
 (1)に入力する入力ユニット、 (9)は上記入力
ユニット(7)。
FIG. 4 is a circuit configuration block diagram of a conventional programmable controller (PC). (1) A central processing unit (hereinafter referred to as CPU) that controls reading and writing of each memory,
(2) is an output image memory indicating the status of external input device (6), (3) is an external output device (not shown) and P
(4) is a CPU
(1) A calculation memory that temporarily stores the calculation results;
(5) is a sequence program memory that stores programs necessary for the arithmetic processing of the CPU (1), and (6) is an external input device that detects external information such as the operating state necessary for the arithmetic operation of the CPU (1). , (7) and (8) connect the external input device (6) and the input image memory (9), and transfer the information from the external input device (6) to the CPU.
(1) is the input unit that inputs the input, (9) is the input unit (7) mentioned above.

(8)を介して入力された上記外部入力機器 (6)の
オン・オフ情報を一時的に格納する入力イメージメモリ
である。
(8) This is an input image memory that temporarily stores on/off information of the external input device (6) inputted through the external input device (6).

上記外部入力機器 (6)は、外部機器(図示を省略)
の動作状態等を検出するセンサ、スイッチ、押釦なとで
ある検出要素(八6)〜(H6)にて形成される。上記
入力ユニット (7)は上記検出要素(八6)〜(D6
)に対応して設けられるインターフェースとしての入力
要素(A7)〜(D7)にて形成され、また入力ユニッ
ト (8)は同様に入力要素(E8)〜(H8)にて形
成され、上記CP U (1)の信号レベルに変換する
ものである。入力イメージメモリ (9)は上記入力ユ
ニット (7)の入力要素(A7)〜(H8)に対応し
て設けられ、入力要素(八7)〜(H8)から入力され
る情報を専用のアドレスに格納する格納領域(A9)〜
(H9)にて形成される。
The above external input device (6) is an external device (not shown)
It is formed of detection elements (86) to (H6), which are sensors, switches, push buttons, etc. that detect the operating state of the device. The input unit (7) is the detection element (86) to (D6).
) is formed by input elements (A7) to (D7) as an interface provided corresponding to the CPU. This converts the signal level to (1). The input image memory (9) is provided corresponding to the input elements (A7) to (H8) of the input unit (7), and stores information input from the input elements (87) to (H8) to dedicated addresses. Storage area to store (A9) ~
(H9).

次に、上記構成に基づ〈従来PCの動作について説明す
る。なお、シーケンスプログラムメモリ(5)には第5
図に示すシーケンスプログラムが格納されているとする
Next, the operation of the conventional PC will be explained based on the above configuration. Note that the sequence program memory (5) contains the fifth
Assume that the sequence program shown in the figure is stored.

まず、c p u (t) は、シーケンスプログラム
メモリ (5)の1番地に格納されているLD−A命令
を取出し、解読後に入力イメージメモリ (9)のA番
地より外部機器のオン・オフ情報を読出し、演算用メモ
リ(4)に読出した情報を格納する。これでシーケンス
プログラムメモリ (5)の1番地に格納されている命
令の処理を完了する。
First, c p u (t) takes out the LD-A instruction stored at address 1 of the sequence program memory (5), and after decoding it reads the on/off information of the external device from address A of the input image memory (9). and stores the read information in the calculation memory (4). This completes the processing of the instruction stored at address 1 in the sequence program memory (5).

次いで、シーケンスプログラムメモリ (5)の2番地
に格納されてる0UT−J命令を取出し、解読後に演算
用メモリ(4)に格納されているオン・オフ情報を出力
イメージメモリ (2)の3番地に転送すると共に出カ
ニニット (3)にも転送する。これでシーケンスプロ
グラムメモリ (5)の2番地に格納されている命令の
処理を完了する。
Next, the 0UT-J instruction stored at address 2 of the sequence program memory (5) is retrieved, and after decoding, the on/off information stored in the calculation memory (4) is stored at address 3 of the output image memory (2). At the same time, it is also transferred to Dekanit (3). This completes the processing of the instruction stored at address 2 in the sequence program memory (5).

次いで、シーケンスプログラムメモリ (5)の3番地
に格納されているEND−命令を取出して解読後にCP
 U (1)は、シーケンスプログラムが最後であるこ
とを認識し、改めて、シーケンスプログラムメロモリ 
(5)の1番地より再実行する。
Next, the END-instruction stored at address 3 of the sequence program memory (5) is retrieved, and after decoding it, the CP
U (1) recognizes that the sequence program is the last, and writes the sequence program memory again.
Re-execute from address 1 in (5).

すなわち、第5図のシーケンスプログラムについてA接
点(A)の開閉状態を外部入力機器の検出要素(八6)
が検出し、この検出された情報を入力ユニット (7)
、入力イメージメモリ (9)を介してc p u (
1)に取込み、このCP U (1)でシーケンスプロ
グラムメモリ (5)のシーケンスプログラムによって
演算を行ない、この演算結果が出カニニット (3)か
らリレー(J)に対して動作命令として出力される。
In other words, for the sequence program shown in Figure 5, the open/closed state of the A contact (A) is detected by the detection element (86) of the external input device.
detects and inputs this detected information to the unit (7)
, c p u (
1), the CPU (1) performs calculations according to the sequence program in the sequence program memory (5), and the calculation results are output from the output unit (3) to the relay (J) as an operation command.

上記入力イメージメモリ (9)は入力ユニット(7)
 、 (8)を介して、外部入力機器 (6)とハード
ウェア的に接続されている。
The input image memory (9) above is the input unit (7)
, (8) is connected to the external input device (6) in terms of hardware.

また、入力ユニット (7)又は (8)は1ユニツト
で複数個の外部入力機器 (6)を入力イメージメモリ
 (9)に接続できる入力要素を有する構成になってい
る。
In addition, each input unit (7) or (8) has an input element that can connect a plurality of external input devices (6) to the input image memory (9).

(発明が解決しようとする問題点) 従来のPCは、以上のように構成れているため、PCを
運転中に入力ユニットのある入力要素−点が故障した場
合、又は複数の入力ユニットの1つが故障した場合に、
入力ユニットを交換するためには運転状態で故障した入
力ユニットまたは故障した入力要素を、他の正常なもの
を動作させつつを交換するか又はPCの運転を停止させ
て電源を落して交換する等することにより、交換の際に
誤った入力情報が入力される不都合が生じ、故障してい
ない他の入力要素又は入力ユニットにまで影響を与えて
しまうなどの問題点があった。
(Problems to be Solved by the Invention) Conventional PCs are configured as described above. If the
To replace an input unit, replace the input unit or input element that has failed during operation while other normal units are operating, or stop the PC and turn off the power. As a result, there is a problem that incorrect input information may be input at the time of replacement, and this may even affect other input elements or input units that are not defective.

この発明は上記のような問題点を解消するためになされ
たもので、PCの運転中に入力ユニットが故障した場合
に故障した入力ユニット又は一部の入力要素の入力情報
を固定し、pcの運転を停止させることなくまた入力ユ
ニットの修理中に誤情報の入力を阻止し、故障したユニ
ットを交換できるプログラマブルコントローラを得るこ
とを目的とする。
This invention was made to solve the above-mentioned problems, and when an input unit fails while the PC is running, the input information of the failed input unit or some input elements is fixed, and the input information of the failed input unit or some input elements is fixed. To provide a programmable controller which can prevent input of incorrect information during repair of an input unit and replace a failed unit without stopping operation.

〔問題点を解決するための手段〕[Means for solving problems]

この発明に係るプログラマブルコントローラは、外部入
力機器からの情報に基づいて演算処理を演算処理部にて
行ない、該演算処理部に外部入力機器からの情報が複数
の入力要素を複数有する入力ユニット部にて入力され、
該入力ユニット部の各入力要素に対応する第1のメモリ
と第2のメモリとを有する入力イメージメモリ部が設け
られ、上記入力ユニット部の正常時に入力ユニット部の
各入力要素から入力される情報を上記第1のメモリに格
納し、該第1のメモリの格納情報を上記入力ユニット部
の故障時に上記第2のメモリに転送して格納し、上記第
1及び第2のメモリの各出力信号の論理和条件を求めて
出力し、該入力イメージメモリ部の出力に基づいて上記
演算処理部が演算動作を行なう構成である。
The programmable controller according to the present invention performs arithmetic processing based on information from an external input device in an arithmetic processing section, and transmits information from the external input device to an input unit section having a plurality of input elements. is entered,
An input image memory section having a first memory and a second memory corresponding to each input element of the input unit section is provided, and information input from each input element of the input unit section when the input unit section is normal. is stored in the first memory, the information stored in the first memory is transferred to and stored in the second memory when the input unit section fails, and each output signal of the first and second memories is The logical sum condition is determined and outputted, and the arithmetic processing section performs an arithmetic operation based on the output of the input image memory section.

〔作用) この発明における入力イメージメモリ部は、演算処理部
が演算時に使用する入力情報を、入力ユニット部からの
情報と第2のメモリの情報との論理和条件をとって入力
することにより、入力ユニット部が修理のために外され
る前に演算処理部の制御で入力ユニット部からの情報を
第2のメモリに転送し、演算処理部の演算時に使用する
入力情報を保持し、プログラマブルコントローラ自体の
運転を停止させないようにする。
[Function] The input image memory unit in the present invention inputs the input information used by the arithmetic processing unit during calculation by taking the logical sum condition of the information from the input unit unit and the information in the second memory. Before the input unit section is removed for repair, the information from the input unit section is transferred to the second memory under the control of the arithmetic processing section, and the input information used during the calculation of the arithmetic processing section is held, and the programmable controller Prevent it from stopping its own operation.

〔実施例〕〔Example〕

以下、この発明の一実施例を第1図ないし第3図に基づ
いて説明する。この第1図は本実施例に係るPCの回路
構成ブロック図、第2図はユーザのCPUに対する命令
動作フローチャート、第3図はユーザの動作命令に対す
るCPUの動作フローチャートを示す。上記各図におい
て本実施例に係るPCは、外部入力機器 (6)からの
情報に基いて演算処理を行なうCP U (1)と、該
CPU(1)に外部入力機器 (6)からの情報を入力
する入力要素(^7)・・・(E8)・・・を複数有す
る入力ユニット(7) 、 (8)と、該入力ユニット
(7) 、 (8)の各入力要素(A7)・・・(E6
)・・・に対して設けられ、上記入力ユニット部(7)
 、 (8)の正常時に入力ユニット(7)。
An embodiment of the present invention will be described below with reference to FIGS. 1 to 3. FIG. 1 is a block diagram of the circuit configuration of the PC according to the present embodiment, FIG. 2 is a flowchart of the operation of instructions to the CPU by the user, and FIG. 3 is a flowchart of the operation of the CPU in response to the operation instructions of the user. In each of the above figures, the PC according to this embodiment includes a CPU (1) that performs arithmetic processing based on information from an external input device (6), and a CPU (1) that receives information from an external input device (6). Input units (7), (8) having a plurality of input elements (^7)...(E8)... for inputting, and each input element (A7) of the input units (7), (8). ...(E6
)... is provided for the input unit section (7).
, (8) when the input unit (7) is normal.

(8)の各入力要素(A、)・・・(E8)・・・から
入力される情報を格納する第1のメモリ(Al21・・
・(E12)・・・及び該第1のメモリ(Al1)・・
・(E12)・・・の格納情報を上記入力ユニット(7
) 、 (8)の故障時に転送されて疑似入力データと
して格納する第2のメモリ(a)・・・(e)・・・を
有し、上記第1のメモリ(AI□)・・・(E12)・
・・及び第2のメモリ(a)・・・(e)・・・の各出
力信号の論理和条件を求めて出力する入力イメージメモ
リ(12)と、該入力イメージメモリ(12)と上記入
力ユニット(7) 、 (8)  との間に接続され、
ユーザからの故障した入力ユニットの修理命令が入力さ
れた場合に、CP U (1)の演算動作に基づいて開
放され上記入力ユニットをCP U (1)側から切離
す入力情報スイッチ(10) 、 (11)  とを備
え、該入力イメージメモリ(12)の出力に基づいて上
記CP U (1)が演算動作を行なう構成である。
The first memory (Al21...) stores information input from each input element (A,)...(E8)...
・(E12)... and the first memory (Al1)...
・(E12)... is stored in the input unit (7).
), (8) has a second memory (a)...(e)... which is transferred and stored as pseudo input data in the event of a failure, and the first memory (AI□)...( E12)・
. . . and a second memory (a), . . . , (e), . connected between units (7) and (8),
an input information switch (10) that is opened based on the arithmetic operation of the CPU (1) and disconnects the input unit from the CPU (1) when a user inputs a repair command for the failed input unit; (11), and the CPU (1) performs arithmetic operations based on the output of the input image memory (12).

また本実施例に係るpcは、他の構成要素である出力イ
メージメモリ (2)、出カニニット (3)、演算用
メモリ(4)、シーケンスプログラムメモリ(5)につ
いては前記従来のPCと同様に構成され、同様に動作し
、この詳細な説明を省略する。
In addition, the PC according to this embodiment has other components such as an output image memory (2), an output unit (3), a calculation memory (4), and a sequence program memory (5) as in the conventional PC. are constructed and operate similarly, and a detailed description thereof will be omitted.

次に上記構成に基づく本実施例の動作について説明する
。シーケンスプログラムメモリ (5)には前記従来P
Cと同様に第5図に示すシーケンスプログラムが入力さ
れているものとする。
Next, the operation of this embodiment based on the above configuration will be explained. The sequence program memory (5) contains the conventional P
As with C, it is assumed that the sequence program shown in FIG. 5 has been input.

まず、外部入力機器 (6)の各構成要素(八〇)・・
・(E6)・・・より各々のデータが入力情報として入
力ユニット(7) 、 (8)を介して入力され、上記
入力ユニット(7) 、 (8)の正常時に投入状態に
ある入力情報スイッチ(10) 、 (11)により上
記入力ユニット(7) 、 (8)の内容が入力イメー
ジメモリ(12)の第1のメモリ(Al1)・・;(E
+2)・・・に−時的に格納され、この格納された入力
情報がc p U (1)に取込まれ、このc p U
 (1)が入力情報に基づいて演算動作を行なう。
First, each component (80) of the external input device (6)...
・(E6)... Each data is input as input information via the input units (7) and (8), and the input information switch is in the closed state when the input units (7) and (8) are normal. According to (10) and (11), the contents of the input units (7) and (8) are transferred to the first memory (Al1) of the input image memory (12)...; (E
+2) ... is temporarily stored, and this stored input information is taken into c p U (1), and this c p U
(1) performs an arithmetic operation based on input information.

上記入力ユニット(7) 、 (8)の各入力要素(A
7)・・・(E8)・・・かいずれも正常である場合に
は、これら各入力要素(A7)・・・(E6)・・・の
内容がそのまま入力イメージメモリ(12)の第1のメ
モリ(AI□)・・・(E12)・・・に格納され、ま
た第2のメモリ(a)・・・(e)・・・には未だ何も
格納されていなことから第1のメモリ(A12) ・・
・(E12)・・・と第2のメモリ(a) ・・・(e
)・・・どの各出力についての論理和条件は第1のメモ
リ(Al1)・・・(E12)・・・の内容が出力され
ることとなる。
Each input element (A
7)...(E8)... are normal, the contents of each of these input elements (A7)...(E6)... are stored as they are in the first input image memory (12). Since the second memory (a)...(e)... has not yet stored anything, the first Memory (A12)...
・(E12)... and the second memory (a)...(e
)...The OR condition for each output is that the contents of the first memory (Al1)...(E12)... are output.

他方、上記入力ユニット(7) 、 (8)の各入力要
素(A7)・・・(E8)・・・のうちいずれかが故障
し場合には、第2図に示す通りユーザがキーボード等の
入力手段(図示を省略)にてCP U (1)の内部メ
モリ(図示を省略)中の1番地に交換すべき故障した入
力ユニット番号(No)をセットし、これから入力ユニ
ットの交換を実行する動作命令を上記CPU(1)の内
部メモリのM番地をオン状態にセットする(ステップ1
)。また、CP U (1)は第3図に示す通りCP 
U (1)の内部メモリを常時スキャニングしてM番地
がオフからオンに変化しているか否かを判断しくステッ
プ1−1)、オン状態となっていれば、1番地の入力番
号(NO)に従って入力イメージメモリ(12)にセッ
トし、入力情報スイッチ(10)又は(11)を開放状
態とする(ステップ1−2)。
On the other hand, if any of the input elements (A7)...(E8)... of the input units (7), (8) breaks down, the user must use the keyboard etc. as shown in Figure 2. Using the input means (not shown), set the failed input unit number (No.) to be replaced at address 1 in the internal memory (not shown) of the CPU (1), and replace the input unit from now on. An operation command is set to the M address of the internal memory of the CPU (1) to turn on (step 1)
). In addition, CPU (1) is CP U (1) as shown in Figure 3.
The internal memory of U (1) is constantly scanned to determine whether address M has changed from off to on (Step 1-1). If it is on, the input number at address 1 (NO). Accordingly, the information is set in the input image memory (12), and the input information switch (10) or (11) is opened (step 1-2).

上記入力イメージメモリ(12)のセットは、CPU(
1)が第1のメモリ(Al21・・・(E I 2)・
・・の内容を読み出し、この読み出した入力情報を第2
のメモリ(a)・・・(e)・・・に転送して格納し、
上記入力情報スイッチ(10)又は(11)が開放状態
とされるので転送された入力情報が固定されることとな
る。よって、第1のメモリ(Al1)・・・(E12)
・・・は格納されたデータがなく、また入力ユニット(
7) 、 (8) と接続される入力情報スイッチ(1
0)又は(11)が開放状態であることから入力イメー
ジメモリ(12)の論理和出力は第2のメモリ(a)・
・・(e)・・・の内容が入力情報としてc p U 
(1)  に入力されることとなる。このCP U (
1)は入力された入力情報でシーケンスプログラムメモ
リ (5)のシーケンスプログラムを実行する。即ち、
CP U (1)は入力ユニットを外されても入力イメ
ージメモリ(12)の第2のメモリ(a)・・・(e)
・・・に格納される疑似入力データを前の情報が残った
形でシーケンスプログラムを処理することとなる。
The above input image memory (12) is set by the CPU (
1) is the first memory (Al21...(E I 2)...
Read the contents of ... and input this read input information to the second
Transfer and store it in the memory (a)...(e)... of
Since the input information switch (10) or (11) is opened, the transferred input information is fixed. Therefore, the first memory (Al1)...(E12)
... has no stored data, and the input unit (
7), (8) and input information switch (1) connected to
0) or (11) is open, the logical OR output of the input image memory (12) is output to the second memory (a).
The contents of ...(e)... are used as input information c p U
(1) will be input. This CPU (
1) executes the sequence program in the sequence program memory (5) using the input information. That is,
CPU (1) uses the second memory (a)...(e) of input image memory (12) even if the input unit is removed.
The pseudo input data stored in . . . will be processed by the sequence program with the previous information remaining.

またc p u (t)は内部メモリのM番地がオフ−
オン状態に変化していない場合に、オン−オフ状態に変
化したか否かを判断する(ステップ1−3)。
Also, c p u (t) indicates that address M of the internal memory is off.
If the state has not changed to the on state, it is determined whether the state has changed to the on-off state (step 1-3).

ここで、ユーザが入力ユニットを交換しくステップ2)
、内部メモリのM番地をオフ状態とすると共に1番地の
内容をクリアしたとすると(ステップ3)、上記(ステ
ップ1−3)の判定後にCPU(1)が入力情報スイッ
チ(10)又は(11)を没入状態とする(ステップ1
−4)。上記(ステップ1−3)の判断でM番地がオン
状態の場合には再度(ステップ1−1)にもどることと
なる。
At this point, if the user wants to replace the input unit, step 2)
, suppose that address M of the internal memory is turned off and the contents of address 1 are cleared (step 3). After the above determination (step 1-3), the CPU (1) turns the input information switch (10) or (11) on. ) into an immersive state (Step 1
-4). If the M address is in the on state as determined in step 1-3 above, the process returns to step 1-1 again.

なお、上記実施例においては入力情報スイッチをCP 
U (1)の演算動作に基いて開放、投入の制御を行な
う構成としたが、演算処理部の内部メモリにおける特定
フラグのオン・オフ状態により開放、投入の動作を行な
うこともできる。
In the above embodiment, the input information switch is CP.
Although the opening and closing operations are controlled based on the arithmetic operation of U (1), the opening and closing operations can also be performed depending on the on/off state of a specific flag in the internal memory of the arithmetic processing section.

〔発明の効果〕 以上のようにこの発明によれば、入力情報を入力ユニッ
トを介しての情報と入力ユニット故障時の情報である疑
似入力データとの論理和条件を求めるように構成したの
で、入力情報が固定でき、故障した入力ユニットを外し
てもPCを停止させることなく継続運転ができる効果が
ある。
[Effects of the Invention] As described above, according to the present invention, since the input information is configured to obtain the OR condition of the information via the input unit and the pseudo input data which is information at the time of input unit failure, The input information can be fixed, and even if a failed input unit is removed, the PC can continue to operate without stopping.

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

第1図はこの発明の一実施例によるプログラマブルコン
トローラの回路構成ブロック図、第2図はユーザのCP
Uに対する動作フローチャート、第3図はCPUの動作
フローチャート、第4図は従来のPCの回路構成ブロッ
ク図、第5図はシーケンスプログラムの回路図である。 (1)はCPU (中央処理装置)、 (2)は出力イメージメモリ、 (3)は出カニニット、(4)は演算用メモリ、(5)
はシーケンスプログラムメモリ、(6)は外部入力機器
、 (7) 、 (8)は入力ユニット、 (9)は従来の入力イメージメモリ、 (10) 、 (11)は入力情報スイッチ、(12)
は入力イメージメモリ、 (八12)・・・(EI2)・・・は第1のメモリ、(
a)・・・(e)・・・は第2のメモリ。 なお′、各図中、同一符号は同−又は相当部分を示す。
FIG. 1 is a circuit configuration block diagram of a programmable controller according to an embodiment of the present invention, and FIG. 2 is a block diagram of a programmable controller according to an embodiment of the present invention.
FIG. 3 is a flowchart of the operation of the CPU, FIG. 4 is a block diagram of the circuit configuration of a conventional PC, and FIG. 5 is a circuit diagram of a sequence program. (1) is the CPU (central processing unit), (2) is the output image memory, (3) is the output unit, (4) is the calculation memory, (5)
is a sequence program memory, (6) is an external input device, (7) and (8) are input units, (9) is a conventional input image memory, (10) and (11) are input information switches, (12)
is the input image memory, (812)...(EI2)... is the first memory, (
a)...(e)... are second memories. Note that in each figure, the same reference numerals indicate the same or corresponding parts.

Claims (3)

【特許請求の範囲】[Claims] (1)外部機器からの情報に基づいて演算処理を行なう
演算処理部と、該演算処理部に外部機器からの情報を入
力するインターフェースとしての入力要素を複数有する
入力ユニット部と、該入力ユニット部の各入力要素に対
応して設けられ、上記入力ユニット部の正常時に入力ユ
ニット部の各入力要素から入力される情報を格納する第
1のメモリ及び該第1のメモリの格納情報を上記入力ユ
ニット部の故障時に転送されて格納する第2のメモリを
有し、上記第1及び第2のメモリの各出力信号の論理和
条件を求めて出力する入力イメージメモリ部とを備え、
該入力イメージメモリ部の出力に基づいて上記演算処理
部が演算動作を行なう構成としたことを特徴とするプロ
グラマブルコントローラ。
(1) An arithmetic processing section that performs arithmetic processing based on information from an external device, an input unit section that has a plurality of input elements as an interface that inputs information from the external device to the arithmetic processing section, and the input unit section. a first memory that is provided corresponding to each input element of the input unit section and stores information input from each input element of the input unit section when the input unit section is normal; and a first memory that stores the information stored in the first memory in the input unit an input image memory section for determining and outputting a logical sum condition of each output signal of the first and second memories;
A programmable controller characterized in that the arithmetic processing section performs an arithmetic operation based on the output of the input image memory section.
(2)上記入力ユニット部は、故障時に入力イメージメ
モリ部への入力情報の送出を阻止する入力情報スイッチ
を有することを特徴とする特許請求の範囲第1項に記載
のプログラマブルコントローラ。
(2) The programmable controller according to claim 1, wherein the input unit section includes an input information switch that prevents input information from being sent to the input image memory section in the event of a failure.
(3)上記入力情報スイッチは、演算処理部の内部メモ
リにおける特定フラグのオン・オフ状態により開放、投
入動作を行なうことを特徴とする特許請求の範囲第2項
に記載のプログラマブルコントローラ。
(3) The programmable controller according to claim 2, wherein the input information switch is opened and closed depending on the on/off state of a specific flag in the internal memory of the arithmetic processing section.
JP62293652A 1987-11-20 1987-11-20 Programmable controller Expired - Lifetime JP2575424B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62293652A JP2575424B2 (en) 1987-11-20 1987-11-20 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62293652A JP2575424B2 (en) 1987-11-20 1987-11-20 Programmable controller

Publications (2)

Publication Number Publication Date
JPH01134604A true JPH01134604A (en) 1989-05-26
JP2575424B2 JP2575424B2 (en) 1997-01-22

Family

ID=17797486

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62293652A Expired - Lifetime JP2575424B2 (en) 1987-11-20 1987-11-20 Programmable controller

Country Status (1)

Country Link
JP (1) JP2575424B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5852702A (en) * 1981-09-25 1983-03-29 Omron Tateisi Electronics Co Programmable controller
JPS59133603A (en) * 1983-01-20 1984-08-01 Omron Tateisi Electronics Co Programmable controller
JPS6093502A (en) * 1983-10-26 1985-05-25 Mitsubishi Electric Corp Output holding system of digital controller
JPS61188602A (en) * 1985-02-16 1986-08-22 Omron Tateisi Electronics Co Monitoring circuit of input/output bus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5852702A (en) * 1981-09-25 1983-03-29 Omron Tateisi Electronics Co Programmable controller
JPS59133603A (en) * 1983-01-20 1984-08-01 Omron Tateisi Electronics Co Programmable controller
JPS6093502A (en) * 1983-10-26 1985-05-25 Mitsubishi Electric Corp Output holding system of digital controller
JPS61188602A (en) * 1985-02-16 1986-08-22 Omron Tateisi Electronics Co Monitoring circuit of input/output bus

Also Published As

Publication number Publication date
JP2575424B2 (en) 1997-01-22

Similar Documents

Publication Publication Date Title
JPH0130161B2 (en)
US5600807A (en) Programmable controller capable of updating a user program during operation by switching between user program memories
JPH01134604A (en) Programmable controller
JPH0317760A (en) Data write confirming system
JPS61136137A (en) Duplex computer system
JPH1125006A (en) Memory tester
JP3597548B2 (en) Digital signal processor
JPS61118844A (en) Microcomputer device
JPS6119060B2 (en)
JPH1011320A (en) Rom program monitor device of processor of computer or the like
JPS5914061A (en) Switching circuit of memory bank
JPS61267141A (en) Address detecting device for microprogram
JPS6378233A (en) Microprogram controller
JPS5870361A (en) Input controlling system
JPS62187943A (en) Data monitoring device
JPS62166451A (en) History analyzing device for logical unit
JPH0365740A (en) Program starting frequency display circuit
JPH07104841A (en) Abnormality detecting method for programmable controller
JPH0215353A (en) Abnormality setting system at specific address
JPH01136258A (en) Memory control system for information processor
JPH0448332A (en) Information processor
JPH02291031A (en) Microcomputer development supporting device
JPH0520205A (en) Detecting circuit for memory error address
JPH05736B2 (en)
JPH04145542A (en) Information processor

Legal Events

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

Free format text: PAYMENT UNTIL: 20081024

Year of fee payment: 12

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081024

Year of fee payment: 12