JPH01140302A - I/o module for programmable controller - Google Patents

I/o module for programmable controller

Info

Publication number
JPH01140302A
JPH01140302A JP29898287A JP29898287A JPH01140302A JP H01140302 A JPH01140302 A JP H01140302A JP 29898287 A JP29898287 A JP 29898287A JP 29898287 A JP29898287 A JP 29898287A JP H01140302 A JPH01140302 A JP H01140302A
Authority
JP
Japan
Prior art keywords
circuit
input
output
gate
output circuit
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
JP29898287A
Other languages
Japanese (ja)
Inventor
Masashi Kato
昌司 加藤
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.)
Meidensha Corp
Meidensha Electric Manufacturing Co Ltd
Original Assignee
Meidensha Corp
Meidensha Electric Manufacturing 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 Meidensha Corp, Meidensha Electric Manufacturing Co Ltd filed Critical Meidensha Corp
Priority to JP29898287A priority Critical patent/JPH01140302A/en
Publication of JPH01140302A publication Critical patent/JPH01140302A/en
Pending legal-status Critical Current

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

PURPOSE:To smoothly operate an internal logic circuit by enabling an input/ output circuit to be switched to an input circuit and an output circuit by a means to switch the input/output circuit, and inputting the switching state of the circuit to a host logic circuit. CONSTITUTION:A gate control circuit 9 which switches plural input/output circuits 6,... which perform input and output between the outside to the input circuits or the output circuits by receiving the setting of a switch 8 and also, controls the transfer of data between an internal bus 4 and respective part, and a status input circuit 10 which sends the switching state of the input/output circuit 6 to a CPU1 are provided. Therefore, it is possible to combine the input/ output circuit freely, and to report the switching state of the circuit to the host logic circuit. In such a way, the host logic circuit can discriminate the setting state of the gate circuit easily, and performs its operation smoothly.

Description

【発明の詳細な説明】 A 産業上の利用分野 本発明は、任意の入出力回路を出力回路にら入力回路に
も自由自在にかつ内部論理回路がスムーズに動作するよ
うに切り換えることが可能なプログラマブル・コントロ
ーラのI10モジュールに関するものである。
[Detailed Description of the Invention] A. Industrial Field of Application The present invention is capable of freely switching any input/output circuit from an output circuit to an input circuit so that the internal logic circuit operates smoothly. It concerns the I10 module of the programmable controller.

B1発明の概要 本発明は、ユーザーによりプログラミングされた動作シ
ーケンスや機能に従って外部との入出力を行うプログラ
マブル・コントローラのI10モノニールにおいて、 入力回路と出力回路の双方に切り換え可能なゲート回路
と、設定により上記ゲート回路を人ツノ回路または出力
回路に切り換える手段と、上記切り換えろ手段による切
り換え状態を上位論理回路へ報告する手段とを備え、上
位論理回路がゲート回路の設定状態を容易に判別可能に
することにより、入出力回路を自由自在に組み合わせて
構成することができるとともに、上位論理回路がその組
み合わせに対応してスムーズに動作できるようにしたも
のである。
B1 Overview of the Invention The present invention is a programmable controller I10 monoyl that performs input/output with the outside according to operation sequences and functions programmed by the user. A means for switching the gate circuit to a human horn circuit or an output circuit, and a means for reporting the switching state by the switching means to an upper logic circuit, so that the upper logic circuit can easily determine the setting state of the gate circuit. This allows input/output circuits to be freely combined and constructed, and the upper logic circuit can operate smoothly in response to the combination.

C1従来の技術 従来より、制御対象をコントロールするために、ユーザ
ーが手元において任意の動作シーケンスや機能をプログ
ラミングすることができるプログラマブル・コントロー
ラが知られている。プログラマブル・コントローラは、
一般に、制御対象などに対して入出力を行うI10モジ
ュールを備えている。従来のI10モジュールは、出力
モジュールと入力モジュールとを有し、その内部論理回
路はそれぞれ異なった回路構成であった。
C1 Prior Art Conventionally, programmable controllers have been known that allow a user to program arbitrary operating sequences and functions at hand in order to control a controlled object. The programmable controller is
Generally, it is equipped with an I10 module that performs input/output to and from a controlled object. A conventional I10 module has an output module and an input module, each of which has a different internal logic circuit configuration.

D0発明が解決しようとする問題点 しかしながら、上記従来の技術におけるプログラマブル
・コントローラのI10モジュールでは、入力モジュー
ルと出力モジュールとの回路構成が異なるため、1つの
モジュール内においてその内部回路を入力回路にも出力
回路にも自由自在に設定することは非常に困難であった
Problems to be Solved by the D0 Invention However, in the I10 module of the programmable controller according to the above-mentioned conventional technology, the input module and the output module have different circuit configurations. It was extremely difficult to freely set the output circuit.

本発明は、上記問題点を解決するために創案されたもの
で、入出力回路を自由自在に組み合わせて構成すること
ができるとともに、上位論理回路かその組み合わせに対
応してスムーズに動作できるようにしたプログラマブル
・コントローラの■10モジュールを提供することを目
的とする。
The present invention was devised to solve the above-mentioned problems, and it is possible to configure input/output circuits by freely combining them, and to operate smoothly in accordance with higher-level logic circuits or their combinations. The purpose is to provide 10 modules of programmable controllers.

E1問題点を解決するための手段 上記の目的を達成するための本発明のプログラマブル・
コントローラのI10モジュールの構成は、 入力回路と出力回路の双方に切り換え可能なゲート回路
と、 設定により上記ゲート回路を入力回路または出力回路に
切り換える手段と、 上記切り換える手段による切り換え状態を上位論理回路
へ報告する手段とを備えたことを特徴とする。
Means for Solving the E1 Problems The programmable computer of the present invention achieves the above objects.
The configuration of the I10 module of the controller includes: a gate circuit that can be switched to both an input circuit and an output circuit; a means for switching the gate circuit to either an input circuit or an output circuit according to settings; and a means for transmitting the switching state by the switching means to the upper logic circuit. It is characterized by having a means for reporting.

F 作用 本発明は、設定により入力回路と出力回路の双方に切り
換え可能なゲート回路を備えて、自由自在な入出力回路
の組み合わせを可能にし、上記の切り換えの状態を上位
論理回路に報告することによって、上位論理回路がゲー
ト回路の設定状態を容易に判別し、その動作をスムーズ
に行うことを可能にする。
F. Effect The present invention is equipped with a gate circuit that can be switched between an input circuit and an output circuit according to a setting, thereby making it possible to freely combine input and output circuits, and reporting the above switching state to a higher-level logic circuit. This enables the higher-level logic circuit to easily determine the setting state of the gate circuit and to perform its operation smoothly.

G、実施例 以下、本発明の実施例を図面に基づいて詳細に説明する
G. EXAMPLES Hereinafter, examples of the present invention will be described in detail based on the drawings.

第1図は本発明の一実施例を示すブロック図である。本
実施例は、上位論理回路としてプロセッサ(以下CPU
と記す)lを用い、CPU1の110バス2を通してそ
のCPUIに接続されるI10モジュールを示している
。このI10モジュールは、I10バス2とはレシーバ
3を介して形成される内部バス4により接続される。
FIG. 1 is a block diagram showing one embodiment of the present invention. In this embodiment, a processor (hereinafter referred to as CPU) is used as the upper logic circuit.
110 bus 2 is used to indicate the I10 module connected to the CPU1 through the 110 bus 2 of the CPU1. This I10 module is connected to the I10 bus 2 by an internal bus 4 formed via a receiver 3.

I10モジュールは、CPUIからの出力データを内部
バス4から受は取るレジスタ5と、外部と人出力を行う
複数の入出力回路(Ilo、〜l10n)6.  ・・
と、外部から入力された人力デ−夕をCPUIへ内部バ
ス4を通して送出する入力バッファ7と、各入出力回路
6をスイッチ8の設定を受けて入力回路または出力回路
に切り換えるとともに内部バス4と各部のデータ授受を
コントロールするゲートコントロール回路9と、入出力
回路6の切り換え状態をCPU1へ送出するステータス
入力回路IOなどから成る。
The I10 module includes a register 5 that receives and receives output data from the CPUI from the internal bus 4, and a plurality of input/output circuits (Ilo, to I10n) that perform output to the outside.6.・・・
, an input buffer 7 that sends manual data input from the outside to the CPUI via the internal bus 4, and an input buffer 7 that switches each input/output circuit 6 to an input circuit or an output circuit according to the setting of a switch 8, and connects the internal bus 4. It consists of a gate control circuit 9 that controls data transfer between each part, a status input circuit IO that sends the switching status of the input/output circuit 6 to the CPU 1, and the like.

ゲートコントロール回路9は、内部バス4に接続され、
CPUIからの指示により、レジスタ5の書き込み信号
WRと、入力バッファ7の読み出し信号RDと、ステー
タス入力回路10の読み出し信号GSとを作成するとと
もに、スイッチ8の設定状態により入出力回路6を出力
回路として動作させるための出力ゲート信号GW、〜G
Wnと、入力回路として動作させるための入力ゲート信
号G R+〜GRnを入出力回路6へ送出する。また、
スイッチ8の設定状態は、ゲートコントロール回路9か
らステータス入力回路IOにステータスとして送出され
る。
The gate control circuit 9 is connected to the internal bus 4,
In response to instructions from the CPU, a write signal WR for the register 5, a read signal RD for the input buffer 7, and a read signal GS for the status input circuit 10 are created, and the input/output circuit 6 is changed to an output circuit depending on the setting state of the switch 8. Output gate signal GW, ~G to operate as
Wn and input gate signals GR+ to GRn for operating as an input circuit are sent to the input/output circuit 6. Also,
The setting state of the switch 8 is sent as a status from the gate control circuit 9 to the status input circuit IO.

レジスタ5は、各入出力回路6(Ilo、〜l10n)
対応するアドレス毎に出力データを記憶可能に構成され
、内部バス4に接続されて、CPU1から指定される上
記アドレスに、そのときの出力データを書き込み信号W
Rによって書き込む。
The register 5 is connected to each input/output circuit 6 (Ilo, ~l10n)
It is configured to be able to store output data for each corresponding address, is connected to the internal bus 4, and writes the output data at that time to the above address designated by the CPU 1 with a signal W.
Write by R.

入力回路6は、出力用の3ステートバツフア61と、入
力用の3ステートバツフア62を備え、3ステートバツ
フア61の出力側と3ステートバツフア62の入力側と
は同一のビット番号同士が接続されてコネクタ63に接
続される。出力用の3ステートバツフア61の入力側は
レジスタ5の対応するアドレスの出力に接続される。入
力用の3ステートバツフア62の出力側は、他の入出力
回路6の同一ビット番号と互いに接続されて入力バッフ
ァ7に接続される。3ステートバツフ761のゲート入
力には出力ゲート信号G W 、〜GW。
The input circuit 6 includes a 3-state buffer 61 for output and a 3-state buffer 62 for input, and the output side of the 3-state buffer 61 and the input side of the 3-state buffer 62 have the same bit numbers. is connected to the connector 63. The input side of the three-state buffer 61 for output is connected to the output of the register 5 at the corresponding address. The output side of the 3-state buffer 62 for input is connected to the same bit numbers of other input/output circuits 6 and then to the input buffer 7 . The gate input of the 3-state buffer 761 receives output gate signals GW, ~GW.

が接続され、3ステートバツフア62のゲート人力には
人力ゲート信号GR,〜GWnが入力される。
is connected, and human-powered gate signals GR, -GWn are input to the human-powered gates of the 3-state buffer 62.

各バッファ61.62は、これらのゲート信号が入力さ
れたとき、出力側へ入力側の信号に従った出力が可能に
なり、ゲート信号が無いときには出力側がフローティン
グ状態となって、他のバッファ回路の入出力に影響を与
えない。入出力回路6は、さらに外部との入出力を直接
行うための入力回路64または出力回路64′のいずれ
かを備える。この入力回路64または出力回路64′は
前述のコネクタ63に嵌合するコネクタ65を有し、ス
イッチ8の設定に応じて着脱自在に構成するのが好適で
ある。
When each of the buffers 61 and 62 receives these gate signals, it is possible to output to the output side according to the signal on the input side, and when there is no gate signal, the output side becomes a floating state, and the other buffer circuits does not affect input/output. The input/output circuit 6 further includes either an input circuit 64 or an output circuit 64' for directly performing input/output with the outside. This input circuit 64 or output circuit 64' has a connector 65 that fits into the aforementioned connector 63, and is preferably configured to be detachable depending on the setting of the switch 8.

以上のように構成した実施例の作用を述べる。The operation of the embodiment configured as above will be described.

まず出力動作では、上位cputから!10バス2にて
、本!10モジュールのレシーバ3を介し、内部バス4
を通ってレジスタ5内の該当するアドレスへ、ゲートコ
ントロール回路9の書き込み信号WRにより、出力デー
タを書き込む。スイッチ8は、Ilo、、l10x、 
・ 、Ilo、の入出力回路6が入力回路であるか、そ
れとも出力回路であるかを設定するためにあり、例えば
■10.の出力回路6が出力回路として設定された場合
、ゲートコントロール回路9により、3ステートバツフ
ア61を出力ゲート信号GR,で開け、3ステートバッ
ファ62を入力ゲート信号GR,で閉める事で、l10
1の入出力回路6は出力回路として動作する。また、■
10.の入出力回路6が入力回路として設定された場合
、ゲートコントロール回路9により、3ステートバツフ
ア61を出力ゲート信号G W tで閉め、3ステート
バツフア62を人力ゲート信号でGR,で開ける事で、
Ilo。
First, in the output operation, start from the upper cput! Book on 10 bus 2! Internal bus 4 via receiver 3 of 10 modules
The output data is written to the corresponding address in the register 5 through the write signal WR of the gate control circuit 9. The switch 8 is Ilo,, l10x,
- It is for setting whether the input/output circuit 6 of , Ilo, is an input circuit or an output circuit, for example, ■10. When the output circuit 6 of is set as an output circuit, the gate control circuit 9 opens the 3-state buffer 61 with the output gate signal GR, and closes the 3-state buffer 62 with the input gate signal GR.
The input/output circuit 6 of No. 1 operates as an output circuit. Also, ■
10. When the input/output circuit 6 is set as an input circuit, the gate control circuit 9 closes the 3-state buffer 61 with the output gate signal GWt, and opens the 3-state buffer 62 with the manual gate signal GR. in,
Ilo.

の入出力回路6は入力回路として動作する。従って、先
に述べた、出力データは、スイッチ8によって設定され
た出力回路のアドレスへ書き込む必要がある。
The input/output circuit 6 operates as an input circuit. Therefore, the output data mentioned above needs to be written to the address of the output circuit set by the switch 8.

次に、人力動作では、I10バス2から該当するアドレ
スの入力データを要求されると、ゲートコントロール回
路9により、そのアドレスの入力ゲート信号GR,,G
R,,・・・、GRl、を1つだけ出力して1つの入力
用の3ステートバツフア62を開け、次に読み出し信号
RDにて入力バッファ7を開ける事で、I10バス2上
に入力データを送出する。この場合においてもCPUI
は、スイッチ8で設定された入力回路のアドレスに対し
、入力データの要求を発する必要がある。
Next, in the manual operation, when input data of a corresponding address is requested from the I10 bus 2, the gate control circuit 9 generates input gate signals GR, , G of that address.
By outputting only one signal R,,..., GRl to open the 3-state buffer 62 for one input, and then opening the input buffer 7 with the read signal RD, the input on the I10 bus 2 is Send data. In this case as well, the CPU
needs to issue a request for input data to the address of the input circuit set by the switch 8.

ステータス入力動作では、ステータス入力回路IOがス
イッチ8の設定状態即ち本I10モジュールの入出力状
況(入出力回路t10+、  l10f。
In the status input operation, the status input circuit IO indicates the setting state of the switch 8, that is, the input/output status of the I10 module (input/output circuit t10+, l10f).

・・・、  l10nが入力回路であるか出力回路であ
るか)を読み出し信号GSにより、レシーバ3. 11
0バス2を介して上位CPUIに入力し、これによりC
PU1が該当するアドレスへデータを書き込み、また、
読み込むことを可能にする。
..., whether l10n is an input circuit or an output circuit) is read out by the receiver 3. 11
0 bus 2 to the upper CPUUI, thereby
PU1 writes data to the corresponding address, and
enable loading.

なお、上記実施例において3ステートバツフア61.6
2はゲート回路の例であり、スイッチ8゜ゲートコント
ロール回路9はゲート回路を入力回路または出力回路に
切り換える手段の例であり、ステータス入力回路10が
切り換え状態を上位論理回路へ報告する手段の例である
。これらは上記実施例に限定されるものではなく、その
主旨に沿って種々に応用され、種々の実施態様を取り得
るしのである。
In addition, in the above embodiment, the 3-state buffer 61.6
2 is an example of a gate circuit, switch 8, gate control circuit 9 is an example of means for switching the gate circuit to an input circuit or an output circuit, and status input circuit 10 is an example of means for reporting the switching state to the upper logic circuit. It is. These are not limited to the above-mentioned embodiments, but can be applied in various ways according to the spirit thereof, and can be implemented in various ways.

I] 発明の効果 以上の説明で明らかなように、本発明のプログラマブル
・コントローラのI10モジュールによれば、入出力回
路を切り換える手段で入力回路にも出力回路にも切り換
え可能にし、その切り換え状態をCPUなどの上位論理
回路へ入力できるようにしたので、上位論理回路は入出
力回路の設定状況が容易に判別でき、内部論理回路をス
ムーズに動作させることができる。このため、簡単な切
り換えの操作でプログラマブル・コントローラ全体の操
作が極めてスムーズに行えるとともに、入出力回路の組
み合わせが自由自在に行えるという効果が得られる。
I] Effects of the Invention As is clear from the above explanation, according to the I10 module of the programmable controller of the present invention, the means for switching the input/output circuit can be used to switch between the input circuit and the output circuit, and the switching state can be changed. Since the information can be input to a higher-level logic circuit such as a CPU, the higher-level logic circuit can easily determine the setting status of the input/output circuit, and the internal logic circuit can operate smoothly. Therefore, the entire programmable controller can be operated extremely smoothly with simple switching operations, and input/output circuits can be freely combined.

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

第1図は本発明の一実施例を示すブロック図である。 !・・・CPU、9・・・ゲートコントロール回路、I
O・・・ステータス入力回路、61.62・・・3ステ
ートバツフア。
FIG. 1 is a block diagram showing one embodiment of the present invention. ! ...CPU, 9...Gate control circuit, I
O...Status input circuit, 61.62...3 state buffer.

Claims (1)

【特許請求の範囲】 入力回路と出力回路の双方に切り換え可能なゲート回路
と、 設定により上記ゲート回路を入力回路または出力回路に
切り換える手段と、 上記切り換える手段による切り換え状態を上位論理回路
へ報告する手段とを備えたことを特徴とするプログラマ
ブル・コントローラのI/Oモジュール。
[Scope of Claims] A gate circuit that can be switched to both an input circuit and an output circuit, means for switching the gate circuit to an input circuit or an output circuit according to settings, and reporting a switching state by the switching means to a higher-order logic circuit. An I/O module of a programmable controller, comprising means.
JP29898287A 1987-11-27 1987-11-27 I/o module for programmable controller Pending JPH01140302A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29898287A JPH01140302A (en) 1987-11-27 1987-11-27 I/o module for programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29898287A JPH01140302A (en) 1987-11-27 1987-11-27 I/o module for programmable controller

Publications (1)

Publication Number Publication Date
JPH01140302A true JPH01140302A (en) 1989-06-01

Family

ID=17866702

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29898287A Pending JPH01140302A (en) 1987-11-27 1987-11-27 I/o module for programmable controller

Country Status (1)

Country Link
JP (1) JPH01140302A (en)

Similar Documents

Publication Publication Date Title
JPH01140302A (en) I/o module for programmable controller
US6034545A (en) Macrocell for data processing circuit
JPH02130662A (en) Information processing system
JPH05334234A (en) High speed dma transferring device
JP3210939B2 (en) Process control device with PIO simulation memory
JPH0329003A (en) I/o control unit
JP2692469B2 (en) Data controller
KR100606698B1 (en) Interface device
JPH0143328B2 (en)
JPS62173557A (en) Microprocessor
JPH0435941Y2 (en)
JPS6269348A (en) Data transfer device
JPH02207321A (en) Bidirectional fifo memory
JP2563807B2 (en) Direct memory access control circuit
JP2504511B2 (en) DMA controller
JPH0293852A (en) Computer system
JPH0543142B2 (en)
JPS61233859A (en) Programmable controller
JPH0594404A (en) Direct memory access controller
JPS62280923A (en) disk controller
JPH02196316A (en) Common bus connecting device
JPH06243109A (en) Dma data transfer method for information processor
JPS63196968A (en) Input/output controller
JPS62262170A (en) Data transfer system
JPH05159042A (en) Picture processor