JPH0334085B2 - - Google Patents

Info

Publication number
JPH0334085B2
JPH0334085B2 JP59243452A JP24345284A JPH0334085B2 JP H0334085 B2 JPH0334085 B2 JP H0334085B2 JP 59243452 A JP59243452 A JP 59243452A JP 24345284 A JP24345284 A JP 24345284A JP H0334085 B2 JPH0334085 B2 JP H0334085B2
Authority
JP
Japan
Prior art keywords
input
output
cpu
data
bus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP59243452A
Other languages
Japanese (ja)
Other versions
JPS61122703A (en
Inventor
Shinji Kita
Nobuaki Fujii
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 JP59243452A priority Critical patent/JPS61122703A/en
Publication of JPS61122703A publication Critical patent/JPS61122703A/en
Publication of JPH0334085B2 publication Critical patent/JPH0334085B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Detection And Correction Of Errors (AREA)
  • Control By Computers (AREA)
  • Programmable Controllers (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明はプログラマブルコントローラのプロ
セス信号入出力装置に関するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a process signal input/output device for a programmable controller.

〔従来の技術〕[Conventional technology]

従来のプロセス信号入出力装置として第2図に
示すようなものがあつた(三菱電機MELPLAC
−550取扱説明書3「プロセス入出力」1982年発
行)。図において、1はCPU(中央演算処理装
置)、2はプロセス信号入出力装置、3はバスバ
ツフア装置、4は入出力信号インタフエイス装
置、5はCPU側入出力バス、6はプロセス側入
出力バス、7はバスドライバ/レシーバ、8はパ
リテイチエツカ、9は入出力アドレス信号、10
は入出力データ信号、11はバス制御信号、12
は図示しない操作盤、電磁弁等の制御対象(以下
プロセスと呼ぶ)である。
There was a conventional process signal input/output device as shown in Figure 2 (Mitsubishi Electric MELPLAC).
-550 Instruction Manual 3 “Process Input/Output” published in 1982). In the figure, 1 is a CPU (central processing unit), 2 is a process signal input/output device, 3 is a bus buffer device, 4 is an input/output signal interface device, 5 is a CPU side input/output bus, and 6 is a process side input/output bus. , 7 is a bus driver/receiver, 8 is a parity checker, 9 is an input/output address signal, 10
is an input/output data signal, 11 is a bus control signal, 12 is
are control objects (hereinafter referred to as processes) such as an operation panel and a solenoid valve (not shown).

次に動作について説明する。CPU1とプロセ
ス12とはプロセス信号入出力装置2に収納され
たバスバツフア装置3、入出力信号インタフエイ
ス装置4を介して電気的に接続され、信号の伝達
が行なわれる。プロセス信号入出力装置2は通常
複数個設けられ、入出力バス5によりCPU1と
接続される。バスバツフア装置3と入出力インタ
フエイス装置4はプロセス入出力バス6により接
続されており、入出力インタフエイス装置4はプ
ロセス12とケーブルにより接続される。入出力
インタフエイス装置4には、あらかじめ固有のア
ドレスが設定されており、CPU1は情報伝達の
対象とするプロセス12をアドレスで指定する。
入出力バス5,6の構成は同一であり、入出力ア
ドレス信号9、入出力データ信号10、及び
CPU1と入出力インタフエイス装置4とのコミ
ユニケーシヨン用のバス制御信号11が含まれて
いる。入出力アドレス信号9、入出力データ信号
10には通常パリテイビツトが付加され、CPU
1、バスバツフア装置3、入出力信号インタフエ
イス装置4の各部において、エラーチエツクが行
なわれる。バスバツフア装置3はバスドライバ/
レシーバ7、バリテイチエツカ8等により構成さ
れ、バス信号の増幅、インピーダンス整合、タイ
ミング整合、及びパリテイチエツクが行なわれ
る。
Next, the operation will be explained. The CPU 1 and the process 12 are electrically connected via a bus buffer device 3 and an input/output signal interface device 4 housed in a process signal input/output device 2, and signals are transmitted. A plurality of process signal input/output devices 2 are usually provided, and are connected to the CPU 1 via an input/output bus 5. The bus buffer device 3 and the input/output interface device 4 are connected by a process input/output bus 6, and the input/output interface device 4 is connected to the process 12 by a cable. A unique address is set in advance in the input/output interface device 4, and the CPU 1 uses the address to specify the process 12 to which information is to be transmitted.
The configurations of the input/output buses 5 and 6 are the same, and include an input/output address signal 9, an input/output data signal 10, and
A bus control signal 11 for communication between the CPU 1 and the input/output interface device 4 is included. A parity bit is usually added to the input/output address signal 9 and the input/output data signal 10, and the CPU
1. Error checking is performed in each part of the bus buffer device 3 and input/output signal interface device 4. The bus buffer device 3 is a bus driver/
It is composed of a receiver 7, a parity checker 8, etc., and performs bus signal amplification, impedance matching, timing matching, and parity checking.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来のプロセス信号入出力装置は以上のように
構成されているので、プロセス側入出力バスと
CPU側入出力バスは同一のもので、アドレス幅
も同じだけ必要であり、故障検出方法も同一にし
なければならず、故障検出のためのハードウエア
規模、あるいはCPUの負荷(アクセス頻度)の
増大、故障発生時にその要因となる個所が不明確
であるという問題点があつた。
Conventional process signal input/output devices are configured as described above, so the process side input/output bus and
The CPU side input/output bus must be the same, the address width must be the same, and the failure detection method must be the same, which increases the hardware scale for failure detection or increases the CPU load (access frequency). However, there was a problem in that when a failure occurred, the location that caused it was unclear.

この発明は上記のような問題点を解決するため
になされたもので、プロセス側入出力バスのバス
幅を削減し、入出力インタフエイス装置の回路構
成が簡略化され、なおかつCPUのバスアクセス
頻度を上げることなく故障検出能力を向上するこ
とができて、安価で信頼性の高いプロセス信号入
出力装置を得ることを目的とする。
This invention was made to solve the above problems, and it reduces the bus width of the process side input/output bus, simplifies the circuit configuration of the input/output interface device, and reduces the bus access frequency of the CPU. It is an object of the present invention to provide an inexpensive and highly reliable process signal input/output device that can improve failure detection ability without increasing performance.

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

この発明に係るプロセス信号入出力装置は、
CPUから出力されるアドレスの巾を変換するア
ドレス変換装置と、CPUから出力されるデータ
のパリテイチエツク等を行なうパリテイチエツ
カ/ジエネレータと、入出力信号インタフエイス
装置に対する読み込みデータ及び書き込みデータ
とこのデータの反転データをチエツクする反転二
連送照合装置とからなる入出力バス管理装置を備
えたものである。
The process signal input/output device according to the present invention includes:
An address translation device that converts the width of the address output from the CPU, a parity checker/generator that performs a parity check of data output from the CPU, and a parity checker/generator that performs a parity check on the data output from the CPU, and an input/output signal interface device that handles read and write data and converts this data. It is equipped with an input/output bus management device consisting of an inversion double-transmission verification device that checks inversion data.

〔作用〕[Effect]

この発明における入出力バス管理装置は、アド
レス変換装置によりアドレスデータの巾の削減さ
れ、共通のパリテイチエツカ/ジエネレータを持
つ事により共用でパリテイチエツク等が行なえ、
反転二連送照合装置により読み込み、書き込みの
チエツクが十分に行なうため信頼性が向上する。
In the input/output bus management device of the present invention, the width of address data is reduced by the address conversion device, and parity checks can be performed in common by having a common parity checker/generator.
Reliability is improved because reading and writing are sufficiently checked by the reversing double-feed collation device.

〔実施例〕〔Example〕

以下、この発明の一実施例を図について説明す
る。第1図において、1はCPU、2はプロセス
信号入出力装置、3Aは入出力バス管理装置、4
は入出力信号インタフエイス装置、5はCPU側
入出力バス、6はプロセス側入出力バス、7はバ
スドライバ/レシーバ、8はパリテイチエツカ、
9a,9bは入出力アドレス信号、10a,10
bは入出力データ信号、11a,11bはバス制
御信号、12はプロセス、13は入出力アドレス
変換装置、14はパリテイチエツカ/ジエネレー
タ、15は反転2連送照合装置、16はタイミン
グ制御装置である。
An embodiment of the present invention will be described below with reference to the drawings. In Figure 1, 1 is a CPU, 2 is a process signal input/output device, 3A is an input/output bus management device, 4 is a
is an input/output signal interface device, 5 is a CPU side input/output bus, 6 is a process side input/output bus, 7 is a bus driver/receiver, 8 is a parity checker,
9a, 9b are input/output address signals, 10a, 10
b is an input/output data signal, 11a, 11b are bus control signals, 12 is a process, 13 is an input/output address conversion device, 14 is a parity checker/generator, 15 is an inversion double-transmission collation device, and 16 is a timing control device.

次に動作について説明する。まず、CPU1と
入出力バス管理装置3AとはCPU側入出力バス
5で接続されており、この入出力バス5には入出
力アドレス信号9a、入出力データ信号10a、
バス制御信号11aが含まれている。ここで、
CPU1と入出力バス管理装置3Aとの間の各入
出力アドレス信号9a、入出力データ信号10a
においてはパイテイビツトが付加されており、受
信側で夫々そのチエツクが行なわれる。すなわ
ち、入出力アドレス信号9aのチエツクはパリテ
イチエツカ8で行ない、CPU出力データのパリ
テイチエツク並びにCPU入力データのパリテイ
ジエネレートはパリテイチエツカ/ジエネレータ
14で行なう。
Next, the operation will be explained. First, the CPU 1 and the input/output bus management device 3A are connected by a CPU side input/output bus 5, and this input/output bus 5 includes an input/output address signal 9a, an input/output data signal 10a,
A bus control signal 11a is included. here,
Each input/output address signal 9a and input/output data signal 10a between the CPU 1 and the input/output bus management device 3A
A pie data bit is added to the data, and is checked on each receiving side. That is, the input/output address signal 9a is checked by the parity checker 8, and the parity check of the CPU output data and the parity generation of the CPU input data are performed by the parity checker/generator 14.

上記CPU1はCPU側入出力バス5を介して入
出力バス管理装置3Aに接続されており、入出力
アドレス信号9a、入出力データ信号10aの信
号がパリテイビツトを付加されて中継され、また
バス制御信号11aも中継される。これらの信号
は受信側でチエツクが行なわれ、このうち入出力
アドレス信号9aはパリテイチエツカ8で、また
CPUから出力されるデータのパリテイチエツク
並びにCPUに入力するパリテイジエネレートは
パリテイチエツカ/ジエネレータ14で行なわれ
る。
The CPU 1 is connected to an input/output bus management device 3A via a CPU-side input/output bus 5, and input/output address signals 9a and input/output data signals 10a are relayed with parity bits added, and bus control signals 11a is also relayed. These signals are checked on the receiving side, and among these, the input/output address signal 9a is checked by the parity checker 8, and
A parity checker/generator 14 performs a parity check on data output from the CPU and a parity generation input to the CPU.

上記のように構成されたプロセス信号入出力装
置においては、CPU1が例えば第1図の4つの
入出力信号インタフエイス装置4のうちある1つ
に対してアクセスしようとする時、CPU1から
入出力バス管理装置3Aに対して管理範囲にある
4つの入出力信号インタフエイス装置4共通のア
ドレスと個々のアドレスを指定してくる。この指
定を入出力アドレス変換装置13が受け、上記共
通アドレスが自装置のアドレスであることを認識
すると共通アドレスを除いた個々のアドレスのみ
をプロセス側入出力バス6を介して入出力信号イ
ンタフエイス装置4に出力する。
In the process signal input/output device configured as described above, when the CPU 1 attempts to access, for example, one of the four input/output signal interface devices 4 shown in FIG. The common address and individual addresses of the four input/output signal interface devices 4 within the management range are specified to the management device 3A. When the input/output address conversion device 13 receives this designation and recognizes that the common address is the address of its own device, it converts only the individual addresses excluding the common address to the input/output signal interface via the process side input/output bus 6. Output to device 4.

このことによりアドレスデータの幅(アドレス
構成ビツト数)はCPU側入出力アドレス9aか
らプロセス側入出力アドレス9bに変換される過
程で削減されることになる。
As a result, the width of address data (the number of address constituent bits) is reduced in the process of converting from the CPU side input/output address 9a to the process side input/output address 9b.

次に、入出力バス管理装置3Aと入出力インタ
フエイス装置4はプロセス側入出力バス6を介し
て接続されており、この間の入出力データ信号1
0bのチエツクは反転2連送照合装置15により
行なわれる。すなわち、CPU1が入出力インタ
フエイス装置4からデータを読込む場合、入出力
インタフエイス装置4はタイミング制御装置16
によりモデイフアイされたバス制御信号11bに
基づくタイミングで、2度にわたり入出力データ
10bを送出する。このうち2度目に送出される
データは、1度目に送出されたデータの反転信号
のデータであり、これらのデータは反転2連送照
合装置15により、これら2つのデータの一致が
チエツクされる。他方、CPU1が入出力インタ
フエイス装置4に対し、データを書込む場合は入
出力インタフエイス装置4がバス制御信号11b
に基づくタイミングで、書き込まれたデータの反
転を入出力バス管理装置3Aに対して送出する。
そして、データ読込時と同様に反転2連送照合装
置15によりデータのチエツクが行なわれる。
Next, the input/output bus management device 3A and the input/output interface device 4 are connected via a process side input/output bus 6, and the input/output data signal 1 between them is connected.
The check for 0b is performed by the reversal double feed collation device 15. That is, when the CPU 1 reads data from the input/output interface device 4, the input/output interface device 4 reads data from the timing control device 16.
The input/output data 10b is transmitted twice at the timing based on the bus control signal 11b modified by the bus control signal 11b. The data sent out for the second time is the inverted signal data of the data sent out the first time, and these two data are checked by the inversion double-transmission verification device 15 to see if they match. On the other hand, when the CPU 1 writes data to the input/output interface device 4, the input/output interface device 4 outputs the bus control signal 11b.
At a timing based on , the inversion of the written data is sent to the input/output bus management device 3A.
Then, the data is checked by the reversal double-transmission collation device 15 in the same way as when reading the data.

上記実施例では、アドレス用とデータ用の信号
線が個別にもつバス形態であつたが、アドレスと
データを時系列に切換えて共有しているような形
態をとつても良く、また、データの信号線を入力
用と出力用とを個別に有するバス形態であつても
同様の効果を奏する。
In the above embodiment, the bus configuration is such that the address and data signal lines are separate, but a configuration in which the addresses and data are switched and shared in chronological order is very good. A similar effect can be achieved even in the case of a bus having separate signal lines for input and output.

〔発明の効果〕〔Effect of the invention〕

以上のように、この発明によれば、CPUから
のアドレスデータを分割し、入出力信号インタフ
エイスに必要なアドレスデータのみに変換するよ
うに構成し、かつ入出力信号インタフエイス装置
との間の読み込みあるいは書き込みデータをプロ
セス信号入出力装置内で行なうよう構成したの
で、プロセス側入出力バスのバス幅を削減できる
と共に従来夫々の入出力インタフエイス装置内に
持つていたパリテイチエツカ/ジエネレータを入
出力バス管理装置内で共通に持つようにできてハ
ードウエア上小型化かつ製作コストを低減でき、
また信頼性の向上が図れ、更には故障監視領域を
分離縮小したことにより保守性をも向上すること
ができるなど非常に優れたものが得られる効果が
ある。
As described above, according to the present invention, the address data from the CPU is divided and converted into only the address data necessary for the input/output signal interface, and the address data between the CPU and the input/output signal interface device is divided. Since data is read or written within the process signal input/output device, the bus width of the process-side input/output bus can be reduced, and the parity checker/generator, which was conventionally included in each input/output interface device, can be replaced with the input/output bus. It can be shared in the management device, making the hardware smaller and reducing production costs.
In addition, reliability can be improved, and furthermore, by separating and reducing the failure monitoring area, maintainability can also be improved, and other excellent effects can be obtained.

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

第1図はこの発明の一実施例を示すブロツク
図、第2図は従来のプロセス入出力装置を示すブ
ロツク図である。 図において、1はCPU、3Aは入出力バス管
理装置、4は入出力インタフエイス装置、5は
CPU側入出力バス、6はプロセス側入出力バス、
12はプロセス(制御対象)、13は入出力アド
レス変換装置、14はパリテイチエツカ/ジエネ
レータ、15は自動2連送照合装置である。な
お、各図中、同一符号は同一または相当部分を示
す。
FIG. 1 is a block diagram showing one embodiment of the present invention, and FIG. 2 is a block diagram showing a conventional process input/output device. In the figure, 1 is a CPU, 3A is an input/output bus management device, 4 is an input/output interface device, and 5 is an input/output interface device.
CPU side input/output bus, 6 is process side input/output bus,
12 is a process (controlled object), 13 is an input/output address conversion device, 14 is a parity checker/generator, and 15 is an automatic double-transmission verification device. In each figure, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】[Claims] 1 CPUからCPU側入出力バスを介して制御さ
れるとともに、この制御に応じて内部でプロセス
側入出力バスを介して接続された複数の入出力イ
ンタフエイス装置により、制御対象に対して情報
伝送を行なうプログラマブルコントローラのプロ
セス信号入出力装置において、前記CPU側入出
力バスとプロセス側入出力側バスの中間に位置す
る入出力バス管理装置は、前記CPUから出力さ
れる入出力信号インタフエイス装置のアドレスデ
ータを分割し、必要なアドレスデータのみにアド
レス幅縮小して前記プロセス側入出力バスを介し
て該入出力信号インタフエイス装置に出力するア
ドレス変換装置と、前記CPUから出力されるデ
ータをパリテイチエツク及びCPUに対しパリテ
イジエネレートを行なうパリテイチエツカ/ジエ
ネレータと、前記入出力信号インタフエイス装置
からプロセス側入出力バスを介して読み込まれ、
あるいは前記CPUから前記入出力信号インタフ
エイス装置に書き込まれるタイミング制御装置に
よりタイミング制御されたデータとこれらのデー
タを反転したデータとをチエツクする反転2連送
照合装置とを備えたことを特徴とするプロセス信
号入出力装置。
1 Controlled by the CPU via the CPU side input/output bus, and in response to this control, information is transmitted to the controlled object by multiple input/output interface devices internally connected via the process side input/output bus. In the process signal input/output device of a programmable controller that performs an address conversion device that divides address data, reduces the address width to only necessary address data, and outputs the reduced address width to the input/output signal interface device via the process side input/output bus; a parity checker/generator that performs parity check and parity generation for the CPU; and a parity checker/generator that performs parity generation for the CPU;
Alternatively, the present invention is characterized by comprising an inversion double-transmission verification device that checks data whose timing is controlled by a timing control device written from the CPU to the input/output signal interface device and data obtained by inverting these data. Process signal input/output device.
JP59243452A 1984-11-20 1984-11-20 Input/output device of process signal Granted JPS61122703A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59243452A JPS61122703A (en) 1984-11-20 1984-11-20 Input/output device of process signal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59243452A JPS61122703A (en) 1984-11-20 1984-11-20 Input/output device of process signal

Publications (2)

Publication Number Publication Date
JPS61122703A JPS61122703A (en) 1986-06-10
JPH0334085B2 true JPH0334085B2 (en) 1991-05-21

Family

ID=17104093

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59243452A Granted JPS61122703A (en) 1984-11-20 1984-11-20 Input/output device of process signal

Country Status (1)

Country Link
JP (1) JPS61122703A (en)

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5539933A (en) * 1978-09-13 1980-03-21 Nissan Motor Co Ltd Process control device

Also Published As

Publication number Publication date
JPS61122703A (en) 1986-06-10

Similar Documents

Publication Publication Date Title
JPH0334085B2 (en)
US5737544A (en) Link system controller interface linking a PCI bus to multiple other buses
JPS6052458B2 (en) Duplicated computer control system
JP2819516B2 (en) Redundant controller
JPH02199565A (en) Main storage device
JPH0324601A (en) Control method
JPS63276148A (en) Parity check system for dual port memory
JPS5827221A (en) Data processing device
JPH01194052A (en) Data input/output circuit for digital signal processing processor
JPH02297650A (en) Receiver
JPH01113838A (en) Checking system
JPH0293854A (en) Test and set system
JPH05282218A (en) Data transmission method
JPH0535652A (en) Dma controller
JPH02171949A (en) Dma transfer system
JPH01234962A (en) Bus control system
JPH03126149A (en) Bus system diagnostic system
JPH02216573A (en) Duplexing memory composing system
JPS58139234A (en) Signal input system
JPH02142223A (en) Parity check circuit
TW224530B (en) New memory examiner
JPH0470660B2 (en)
JPS62229452A (en) Peripheral module access system
JPH0528006A (en) Microprocessor monitoring circuit
JPH02104151A (en) Data transfer switching control device

Legal Events

Date Code Title Description
S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R360 Written notification for declining of transfer of rights

Free format text: JAPANESE INTERMEDIATE CODE: R360

R370 Written measure of declining of transfer procedure

Free format text: JAPANESE INTERMEDIATE CODE: R370

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term