JPS59105109A - Input/output unit for programmable controller - Google Patents

Input/output unit for programmable controller

Info

Publication number
JPS59105109A
JPS59105109A JP21581182A JP21581182A JPS59105109A JP S59105109 A JPS59105109 A JP S59105109A JP 21581182 A JP21581182 A JP 21581182A JP 21581182 A JP21581182 A JP 21581182A JP S59105109 A JPS59105109 A JP S59105109A
Authority
JP
Japan
Prior art keywords
input
output
unit
data bus
cpu unit
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.)
Pending
Application number
JP21581182A
Other languages
Japanese (ja)
Inventor
Shinichi Amazaki
尼崎 新一
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 JP21581182A priority Critical patent/JPS59105109A/en
Publication of JPS59105109A publication Critical patent/JPS59105109A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output

Abstract

PURPOSE:To improve the reliability of control by connecting a gate outputting a specific logical signal to a data bus and making a CPU unit read a specific logical status of an unused address. CONSTITUTION:The CPU unit 12 incorporating a CPU10 executing and operating a user program is provided with an I/O unit 18 through a data bus 14 and an address bus 16. An address signal from the CPU unit 12 specifies and activates an I/O device 22 selectively through a decoder 20 in the I/O unit 18 and the logical status (ON or OFF) of the I/O device 22 makes the CPU unit 12 execute operate and monitor a user's program. In this case, one Tn of output terminals of the decoder 20 is coupled with the data bus 14 through a gate 24 without being connected to the I/O device 22, and when an unused address is specified from the CPU unit 12, the terminal Tn outputs a specific (OFF) logical signal to the data bus 14 through the gate 24.

Description

【発明の詳細な説明】 この発明は、プログラマブルコントローラにおいてCP
Uユニットと入出力デバイスを結ぶインターフェイスど
なる入出カニニットの改良に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention provides a programmable controller in which a CP
This article relates to improvements to the input/output interface that connects the U unit and input/output devices.

従来のゾログラマプルコントローラでは、その入出力系
統は一般に第1図のように構成されている。このプログ
ラマブルコントロー、うは、ユーザプログラムを実行す
るだめの演算を行なうCPU10を内蔵゛したCPUユ
ニット12と、CPUユニット12かも延びるデータバ
ス14およびアドレスバス16に接続される1以上の入
出カニニット18を備える。
In a conventional zologram multiple controller, its input/output system is generally configured as shown in FIG. This programmable controller includes a CPU unit 12 that incorporates a CPU 10 that performs calculations necessary to execute a user program, and one or more input/output units 18 that are connected to a data bus 14 and an address bus 16 that also extend to the CPU unit 12. Be prepared.

入出カニニット18は、CPUユニット12かもアドレ
スバス16を介して供給されるアドレス信号をデコード
するデコーダ20を有し、そのデコーダ20の各デコー
ド出力側にそれぞれ入出力デバイス22が接続される。
The input/output unit 18 has a decoder 20 that decodes an address signal supplied to the CPU unit 12 via the address bus 16, and an input/output device 22 is connected to each decode output side of the decoder 20.

CPUユニット12から与えられるアドレス信号は、多
数の入出力デバイス22を選択的に指定する信号である
。つまり、このアドレス信号は入出カニニット18内の
デコーダ20でデコードされ、指定された入出力デノ々
イス22に対応するデコード出力が生じ、そのデコード
出力でもって入出力デノ々イス22が能動化され、その
入出力デノ々イス22の論理状態(ONまたは0FF)
がデータバス14に向けて出力される。CPUユニット
12はこのデータバス14上の信号を読み取り、指定し
た入出力デバイス22の陥i理状態を知り、ユーザゾロ
グラムの実行演算にこれを用いるとともに、モニタ表示
等を行なう。
The address signal given from the CPU unit 12 is a signal that selectively specifies a large number of input/output devices 22. That is, this address signal is decoded by the decoder 20 in the input/output unit 18, a decode output corresponding to the designated input/output device 22 is generated, and the input/output device 22 is activated by the decoded output. and the logic state of its input/output device 22 (ON or 0FF)
is output toward the data bus 14. The CPU unit 12 reads the signal on the data bus 14, learns the virtual state of the specified input/output device 22, uses this information for execution calculations of the user zologram, and displays the data on the monitor.

上述した従来の入出カニニットにあっては次のような問
題があった。入出カニニット20に接続される入出力デ
バイス22は、ユーザが制御目的にあわせて設けるもの
で、デコーダ20の出力端子数分だけ必ず入出力デバイ
ス22が接続される訳ではない。実除の使用態様では、
入出カニニット18に最大点数の入出力デバイス22が
接続されずに、デコーダ20の出力端子になにも接わ、
7さねないことがよくある。
The conventional input/output crab knit described above has the following problems. The input/output devices 22 connected to the input/output crab unit 20 are provided by the user according to the control purpose, and the input/output devices 22 are not necessarily connected to the number of output terminals of the decoder 20. In the usage of actual exclusion,
If the maximum number of input/output devices 22 is not connected to the input/output crab unit 18 and nothing is connected to the output terminal of the decoder 20,
7 I often don't listen.

従来の入出カニニット18では、デコーダ20のある出
力端子に入出力デバイス22が接続されていないと、そ
の入出力デバイス22が接続されるべきデータバス14
の信号線にもなにも接続されない状態となる。そのため
、CPUユニット12がその非使用アドレス(入出力デ
バイス22が接続されていないアドレス)を指定して、
データノ々ス14の信号を読ろ取ると、非使世アドレス
に対応するデータバス14の信号は不確定(フローティ
ング)となる。このデータバス14上の信号不確定状態
は非常に不安定で、CPUユニット12はこれをONま
たはOF 1”と誤って読み込む危険があり、誤った入
出力デ゛−夕に基づいてシーケンス処理を行なったり、
モニタ表示を行なうおそれがあった。
In the conventional input/output crab unit 18, if the input/output device 22 is not connected to a certain output terminal of the decoder 20, the data bus 14 to which the input/output device 22 should be connected
The signal line is not connected to anything. Therefore, the CPU unit 12 specifies the unused address (the address to which the input/output device 22 is not connected) and
When the signal on the data bus 14 is read, the signal on the data bus 14 corresponding to the non-busy address becomes undefined (floating). This signal indeterminate state on the data bus 14 is very unstable, and there is a risk that the CPU unit 12 may mistakenly read it as "ON" or "OF 1", and perform sequence processing based on the incorrect input/output data. or
There was a risk that the display would be displayed on the monitor.

この発明は前述した従来の課題に鈷みなされたものであ
り、その目的は、入出力コルニットに入出力デバイスが
接続されな(ても、その未使用アドレスについてCI)
Uユニットに特定の調理状態を読み込ませることにより
、制御の不安定要素をなくして、信頼性の高い動作が旬
られるようにしたプログラマブルコントローラの入出カ
ニニットを提供することにある。
This invention has been made to solve the above-mentioned conventional problem, and its purpose is to solve the problem of the conventional problem described above.
To provide an input/output crab knit of a programmable controller capable of eliminating unstable elements of control and achieving highly reliable operation by reading a specific cooking state into a U unit.

上記の目的を達成するために、この発明は、人出力デバ
イスの接続されないデコーダの出力i1jに、そのデコ
ード出力を受けて能動となり、データバスに特定の論理
信号を出力するゲートを設けたことを特徴とする。
In order to achieve the above object, the present invention provides the output i1j of the unconnected decoder of the human output device with a gate that becomes active upon receiving the decoded output and outputs a specific logic signal to the data bus. Features.

以下、図面に基づいて本発明の好適な実施例を説明する
Hereinafter, preferred embodiments of the present invention will be described based on the drawings.

第2図はこの発明による入出カニニットを適用したプロ
グラマブルコントローラの人出系統を示している。第2
図において第1図と同一部分にば同一符号を伺し、その
説明は省略する。
FIG. 2 shows the output system of a programmable controller to which the input/output crab knit according to the present invention is applied. Second
In the figure, the same parts as in FIG. 1 are denoted by the same reference numerals, and their explanation will be omitted.

第2図において、l1lnはデコーダ20の多数のデコ
ード出力端子のうちの1つを示し、この出力端子Tn以
外には入出力デバイス22が接続されているが、端子T
nには入出力デノ々イスが接続されていない。この発明
の入出カニニット18においては、入出力デバイス22
に接続されて(・ないデコーダ20の出力端子l1ln
に、例えばオープコレクタ型のゲート24の入力端が接
続されており、このゲート24の出力@llは他の入出
力デバイス22と同様にデータノ々ス14に結合される
ようになっている。
In FIG. 2, l1ln indicates one of the many decode output terminals of the decoder 20, and input/output devices 22 are connected to other terminals other than this output terminal Tn.
No input/output device is connected to n. In the input/output crab knit 18 of this invention, the input/output device 22
(not the output terminal l1ln of the decoder 20)
For example, an input terminal of an open collector type gate 24 is connected to the input terminal 24, and the output @ll of this gate 24 is coupled to the data node 14 in the same manner as the other input/output devices 22.

したがって、CP Uユニット12から非使用アドレス
が指定された場合、デコーダ20のデコード出力が上記
ゲート24に入力され、これによってゲート24が能動
となり、データノ々ス14の対応信号線に例えはOF 
F (論理O)という確定した特定の論理信号を出力す
る。そのため、CPUユニット12は剃りなく確定した
論理信号を読み取り、従来のような不安定要素かなくな
る。
Therefore, when an unused address is designated from the CPU unit 12, the decoded output of the decoder 20 is input to the gate 24, which becomes active, and the corresponding signal line of the data node 14 is connected to the OF signal line.
Outputs a determined specific logic signal F (logic O). Therefore, the CPU unit 12 reads the determined logic signal without any hesitation, and there is no unstable element as in the prior art.

以上詳細に説明したように、この発明に係るプログラマ
ブルコントローラの入出カニニットによれは、入出力デ
バイスが一部接続されな(でも、そのことか原因でCP
 Uユニットによる制御の信頼性が低下することがなく
なり、常に所期の動作を実状することができる。
As explained in detail above, due to the input/output crab unit of the programmable controller according to the present invention, some of the input/output devices are not connected (but this may be due to the CP
The reliability of the control by the U unit does not deteriorate, and the desired operation can always be achieved.

【図面の簡単な説明】 第1図は従来のプログラマブルコントローラの入出力系
統のブロック図、第2図はこの発明の一実施例によるプ
ログラマブルコントローラの入出力系統のブロック図で
ある。 各図中同一部材には同一符号を伺し、10はCPU、1
2はCPUユニット、14はデータバス、16はアドレ
スノ々ス、18は人出刃ユニット、20はデコーダ、2
2は入出カデノ々イス、24はゲートである。 代理人 弁理士  葛 野 信 − (外1名) 第1図
BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram of an input/output system of a conventional programmable controller, and FIG. 2 is a block diagram of an input/output system of a programmable controller according to an embodiment of the present invention. The same parts in each figure are given the same reference numerals, 10 is the CPU, 1 is
2 is a CPU unit, 14 is a data bus, 16 is an address bus, 18 is a human blade unit, 20 is a decoder, 2
2 is the entrance/exit gate, and 24 is the gate. Agent: Patent attorney Shin Kuzuno - (1 other person) Figure 1

Claims (1)

【特許請求の範囲】[Claims] (1)cptyユニットからのアドレス信号をデコーダ
でデコードし、そのデコード出力で対応する入出力デバ
イスを指定して、その入出力デバイスの論理状態をデー
タノ々スに出力させて上記CPUユニットに11するプ
ログラマブルコントローラの入出カニニットにおいて、
上記入出力デノ々イスの接続されない上記デコーダのデ
コード出力側に、そのデコード出力を受けて能動となり
、上記データバスに特定の論理信号を出力するゲートを
設けたことを%9とするプログラマブルコントローラの
入出カニニット。
(1) Decode the address signal from the cpty unit with a decoder, specify the corresponding input/output device with the decoded output, output the logical state of the input/output device to the data node, and send it to the CPU unit. In the programmable controller input/output crab knit,
A programmable controller characterized in that %9 is provided with a gate on the decode output side of the decoder to which the input/output device is not connected, which becomes active upon receiving the decode output and outputs a specific logic signal to the data bus. Crab knit in and out.
JP21581182A 1982-12-09 1982-12-09 Input/output unit for programmable controller Pending JPS59105109A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP21581182A JPS59105109A (en) 1982-12-09 1982-12-09 Input/output unit for programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP21581182A JPS59105109A (en) 1982-12-09 1982-12-09 Input/output unit for programmable controller

Publications (1)

Publication Number Publication Date
JPS59105109A true JPS59105109A (en) 1984-06-18

Family

ID=16678645

Family Applications (1)

Application Number Title Priority Date Filing Date
JP21581182A Pending JPS59105109A (en) 1982-12-09 1982-12-09 Input/output unit for programmable controller

Country Status (1)

Country Link
JP (1) JPS59105109A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2675603A1 (en) * 1991-04-16 1992-10-23 Hewlett Packard Co Process and device for testing a circuit of a computer system
FR2675921A1 (en) * 1991-04-24 1992-10-30 Hewlett Packard Co METHOD AND DEVICE FOR TESTING A CARD OF A COMPUTER SYSTEM.

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2675603A1 (en) * 1991-04-16 1992-10-23 Hewlett Packard Co Process and device for testing a circuit of a computer system
FR2675921A1 (en) * 1991-04-24 1992-10-30 Hewlett Packard Co METHOD AND DEVICE FOR TESTING A CARD OF A COMPUTER SYSTEM.
US5436856A (en) * 1991-04-24 1995-07-25 Hewlett-Packard Company Self testing computer system with circuits including test registers

Similar Documents

Publication Publication Date Title
JPS59105109A (en) Input/output unit for programmable controller
TW381210B (en) An apparatus for resetting a modem with a variety of additional functions
JPS5875239A (en) Electronic equipment
JPS603747A (en) Program selecting control system
JPS578853A (en) Digital computer
JP3066063U (en) Flash memory with recovery capability
JPS6347831A (en) Microcomputer
JPS6269354A (en) Information processing system
KR950007107B1 (en) Computer w/additional microprocessor
JP2609685B2 (en) Reset circuit
JPS63180103A (en) Method for setting signal of input/output terminal of programmable controller
JPS61141038A (en) Microprogram control processor
JPH09274611A (en) Microcomputer
JPH01116736A (en) Input/output port system for one-chip microcomputer
JPH0315776A (en) Mode setting circuit
JPS62143142A (en) Microprocessor test circuit
JPH0250781A (en) Microcomputer
JPH02224123A (en) Information processor
JPH02213987A (en) Semiconductor integrated circuit
JPH04170616A (en) Information processor
JPH04177539A (en) Custom lsi
JPS63129426A (en) Timer module for data flow type computer
JPH09297636A (en) Initial setting circuit for arithmetic unit
JPS6089250A (en) One-chip microcomputer
JPH02189612A (en) Output interface device