JPS6243407Y2 - - Google Patents

Info

Publication number
JPS6243407Y2
JPS6243407Y2 JP1983137476U JP13747683U JPS6243407Y2 JP S6243407 Y2 JPS6243407 Y2 JP S6243407Y2 JP 1983137476 U JP1983137476 U JP 1983137476U JP 13747683 U JP13747683 U JP 13747683U JP S6243407 Y2 JPS6243407 Y2 JP S6243407Y2
Authority
JP
Japan
Prior art keywords
input
circuit
scanning
signal
memory
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
Application number
JP1983137476U
Other languages
Japanese (ja)
Other versions
JPS6047056U (en
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 filed Critical
Priority to JP13747683U priority Critical patent/JPS6047056U/en
Publication of JPS6047056U publication Critical patent/JPS6047056U/en
Application granted granted Critical
Publication of JPS6243407Y2 publication Critical patent/JPS6243407Y2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Information Transfer Systems (AREA)
  • Programmable Controllers (AREA)
  • Input From Keyboards Or The Like (AREA)
  • Bus Control (AREA)

Description

【考案の詳細な説明】 《考案の分野》 この考案は、プログラマブル・コントローラの
中央処理装置と外部入力信号源を結ぶインターフ
エイスとなる入力装置に関する。
[Detailed Description of the Invention] <<Field of the Invention>> This invention relates to an input device that serves as an interface between a central processing unit of a programmable controller and an external input signal source.

《考案の背景》 従来のプログラマブル・コントローラの入力装
置では、各入力端子と共通端子間にそれぞれ一点
ずつの外部入力信号源(リミツトスイツチや光電
スイツチなど)を接続する構成となつており、印
加される入力信号を2値化するとともに、後段回
路のバツフアとなる入力回路が各入力端子に対応
して1つずつ内蔵されている。従つて、例えば64
個の入力信号源が接続可能な入力装置では、64個
の入力端子と通常8個の共通端子の合計72個の端
子を有し、また内部に64個の入力回路を備えてい
る。
<<Background of the invention>> Conventional input devices for programmable controllers have a configuration in which one external input signal source (limit switch, photoelectric switch, etc.) is connected between each input terminal and a common terminal. Input circuits that binarize input signals and serve as buffers for subsequent circuits are built in, one for each input terminal. Therefore, for example 64
An input device to which 2 input signal sources can be connected has 64 input terminals and usually 8 common terminals, for a total of 72 terminals, and is also internally equipped with 64 input circuits.

このような従来装置では、端子数が多いことか
ら端子盤が大型で大きな面積を占めるため、装置
ハウジングを小形化するのが困難になる。つまり
接続可能な入力信号源の数が多い装置では、内部
回路の大きさからではなくて、端子盤の大きさか
ら装置ハウジングの寸法が決められてしまい、非
常に大型の装置にならざるを得ない。また、端子
盤の数や入力回路の数は装置コストに大きく影響
し、これらがコスト低減の大きな障害要因であつ
た。
In such conventional devices, the terminal board is large and occupies a large area due to the large number of terminals, making it difficult to downsize the device housing. In other words, for devices with a large number of connectable input signal sources, the dimensions of the device housing are determined not by the size of the internal circuitry but by the size of the terminal board, resulting in a very large device. do not have. Furthermore, the number of terminal boards and the number of input circuits greatly affect the device cost, and these have been a major obstacle to cost reduction.

《考案の目的》 この考案は前述した従来の問題点に鑑みなされ
たものであり、その目的は、端子数より遥かに多
くの入力信号源を接続することができ、接続可能
点数に対して端子数および入力回路数が少なく、
装置の小形化および低コスト化が容易なプログラ
マブル・コントローラの入力装置を提供すること
にある。
<<Purpose of the invention>> This invention was devised in view of the conventional problems mentioned above.The purpose of this invention is to be able to connect far more input signal sources than the number of terminals, and to reduce the number of terminals compared to the number of connectable points. number and input circuits are small.
An object of the present invention is to provide an input device for a programmable controller that can easily be made smaller and lower in cost.

《考案の構成と効果》 上記の目的を達成するために、この考案は、N
×M個の入力信号源がN行×M列のマトリクス回
路を構成するように外部接続されるN個の入力端
子およびM個の走査端子と、上記N×M個の入力
信号源からの入力信号を記憶するための1ワード
Nビツトのメモリと、このメモリに与えるアドレ
ス信号を順次サイクリツクに発生するアドレス発
生回路と、このアドレス発生回路に同期して上記
M個の走査端子に順次サイクリツクにかつ択一的
に走査信号を印加する走査回路と、上記走査信号
に応動して上記N個の入力端子に印加される入力
信号を受け、その入力信号を上記メモリの上記ア
ドレス発生回路で指定されているアドレスに書込
む入力回路と、プログラマブル・コントローラの
中央処理装置側から供給されるセレクト信号を受
けて、上記アドレス発生回路・走査回路・入力回
路による上記メモリへの入力信号書込み動作を禁
止し、同時に上記中央処理装置側から供給される
アドレス信号で上記メモリのデータを読み出して
上記中央処理装置側に供給する書込み/読出し切
替回路とを備えたことを特徴とする。
《Structure and effects of the invention》 In order to achieve the above purpose, this invention
N input terminals and M scanning terminals that are externally connected so that ×M input signal sources constitute a matrix circuit of N rows × M columns, and inputs from the above N × M input signal sources. A memory of 1 word and N bits for storing signals, an address generation circuit that sequentially and cyclically generates an address signal to be applied to this memory, and an address signal that sequentially and cyclically generates an address signal to the M scanning terminals in synchronization with the address generation circuit. a scanning circuit that selectively applies a scanning signal; and a scanning circuit that receives an input signal that is applied to the N input terminals in response to the scanning signal, and receives the input signal as specified by the address generation circuit of the memory. receives a select signal supplied from an input circuit for writing to an address in the programmable controller and a central processing unit side of the programmable controller, and inhibits the address generation circuit, scanning circuit, and input circuit from writing input signals to the memory; At the same time, the present invention is characterized by comprising a write/read switching circuit that reads data from the memory using an address signal supplied from the central processing unit and supplies the read data to the central processing unit.

この構成によれば、N+M個の端子にこれより
遥かに多くのN×M個の外部入力信号源を接続す
ることができる。従つて、入力信号源の接続可能
点数が同じ従来の装置と比べると、この考案の装
置では端子盤は遥かに小形になり、従つて装置ハ
ウジングを大幅に小形化することができる。また
端子数および入力回路数が従来より大幅に少なく
なるので、コストの面でも有利である。
According to this configuration, a much larger number of N×M external input signal sources can be connected to the N+M terminals. Therefore, compared to conventional devices having the same number of connectable input signal sources, the device of this invention has a much smaller terminal board, and therefore the device housing can be made much smaller. Furthermore, since the number of terminals and input circuits are significantly reduced compared to the conventional method, it is also advantageous in terms of cost.

《実施例の説明》 図に示す実施例は、8+8=16の端子に対し、
8+8=64個の入力信号源を接続することができ
る入力装置である。つまりこの入力装置は、8個
の入力端子IN1〜IN8と8個の走査端子T1〜
T8を備え、入力端子IN1〜IN8に接続された
8本の入力線と走査端子T1〜T8に接続された
8本の走査線で構成される8行×8列のマトリク
ス回路の各交点に64個の入力信号源S1〜S64
が外部接続される。
<<Explanation of the embodiment>> The embodiment shown in the figure has 8+8=16 terminals,
This is an input device to which 8+8=64 input signal sources can be connected. In other words, this input device has eight input terminals IN1 to IN8 and eight scanning terminals T1 to
64 at each intersection of an 8 row x 8 column matrix circuit consisting of 8 input lines connected to input terminals IN1 to IN8 and 8 scanning lines connected to scanning terminals T1 to T8. input signal sources S1 to S64
is connected externally.

またこの装置は、上記64個の入力信号源S1〜
S64からの入力信号を一時記憶するための1ワ
ード8ビツトのメモリ1を有し、このメモリ1を
介してプログラマブル・コントローラの中央処理
装置(以下CPUと称す)のデータバスDBに入力
信号が伝えられる。後述するように、CPUが入
力信号を読取るときには、アドレスバスABから
供給されるアドレス信号がアドレス切替回路5を
介してメモリ1に入力され、それ以外の期間は、
カウンタ4から発生するアドレス信号がアドレス
切替回路5を介してメモリ1に入力される。
In addition, this device has the above 64 input signal sources S1 to
It has a memory 1 of 8 bits per word for temporarily storing the input signal from the S64, and the input signal is transmitted to the data bus DB of the central processing unit (hereinafter referred to as CPU) of the programmable controller via this memory 1. It will be done. As will be described later, when the CPU reads an input signal, the address signal supplied from the address bus AB is input to the memory 1 via the address switching circuit 5, and during other periods,
An address signal generated from the counter 4 is input to the memory 1 via the address switching circuit 5.

カウンタ4は、クロツク発生回路2からゲート
回路3を介して入力される所定周期のクロツク信
号を計数することにより、メモリ1を走査するア
ドレス信号を順次サイクリツクに発生する。カウ
ンタ4から出力されるアドレス信号はデコーダ6
にも入力される。このデコーダ6は上記外部接続
されたマトリクス回路を走査する走査回路であ
り、順次サイクリツクに変化するアドレス信号を
デコードすることにより、8個の走査端子T1〜
T8に順次サイクリツクにかつ択一的に走査信号
を印加する。
The counter 4 sequentially and cyclically generates address signals for scanning the memory 1 by counting clock signals of a predetermined period inputted from the clock generating circuit 2 via the gate circuit 3. The address signal output from counter 4 is sent to decoder 6
is also entered. This decoder 6 is a scanning circuit that scans the externally connected matrix circuit, and by decoding the address signal that changes sequentially and cyclically, it scans the eight scanning terminals T1 to T1.
Scanning signals are sequentially and selectively applied to T8.

ある走査線に走査信号が印加されると、その走
査線に接続された8個の入力信号源のオン・オフ
に対応する入力信号が入力端子IN1〜IN8に印
加される。これら入力信号は8点分の回路を含ん
だ入力回路7で波形整形・2値化・レベル変換さ
れ、ゲート回路8を介してメモリ1のデータ入力
端に印加される。この入力信号は、メモリ1にお
けるカウンタ4の出力で指定されたアドレスに書
込まれる。
When a scanning signal is applied to a certain scanning line, input signals corresponding to the on/off states of the eight input signal sources connected to that scanning line are applied to the input terminals IN1 to IN8. These input signals are waveform-shaped, binarized, and level-converted by an input circuit 7 including circuits for eight points, and are applied to the data input terminal of the memory 1 via a gate circuit 8. This input signal is written to the address specified by the output of the counter 4 in the memory 1.

CPUからのチヤンネルセレクタ信号CSが供給
されていない間は、上述のゲート回路3およびゲ
ート回路8が開かれているとともに、アドレス切
替回路5がカウンタ4側に選択されており、上述
したメモリ1に対する入力信号の書込み動作が繰
り返される。つまり、64個の入力信号源S1〜S
64が8個づつ順番に繰り返し走査され、それら
の入力信号がメモリ1に繰り返し更新されながら
記憶される。これでメモリ1には常に最新の入力
信号が記憶されている。
While the channel selector signal CS from the CPU is not supplied, the gate circuit 3 and gate circuit 8 described above are open, and the address switching circuit 5 is selected to the counter 4 side, so that the The input signal write operation is repeated. In other words, 64 input signal sources S1 to S
64 are repeatedly scanned one by one in sequence, and their input signals are stored in the memory 1 while being repeatedly updated. With this, the latest input signal is always stored in the memory 1.

CPUからチヤンネルセレクト信号CSが供給さ
れると、ゲート回路3および8が禁止されるとと
もに、アドレス切替回路5がアドレスバスAB側
に選択され、上述したメモリ1への入力信号の書
込み動作が停止する。同時にCPUからアドレス
バスBにアドレス信号が送出され、そのアドバイ
ス信号が切替回路5を介してメモリ1に入力さ
れ、メモリ1からそのアドレスの記憶データが読
み出され、データバスDBに送出される。このよ
うにして、CPUは入力装置から各入力信号源S
1〜S64の入力信号を取込む。
When the channel select signal CS is supplied from the CPU, the gate circuits 3 and 8 are inhibited, the address switching circuit 5 is selected to the address bus AB side, and the above-mentioned writing operation of the input signal to the memory 1 is stopped. . At the same time, an address signal is sent from the CPU to the address bus B, the advice signal is input to the memory 1 via the switching circuit 5, and the stored data at that address is read from the memory 1 and sent to the data bus DB. In this way, the CPU receives each input signal source S from the input device.
Take in the input signals of 1 to S64.

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

図はこの考案に係るプログラマブル・コントロ
ーラの入力装置の一実施例を示すブロツク図であ
る。 1……メモリ、4……カウンタ(アドレス発生
回路の要部)、5……アドレス切替回路、6……
デコーダ(走査回路)、7……入力回路、IN1〜
IN8……入力端子、T1〜T8……走査端子、
S1〜S64……入力信号源、DB……データバ
ス、AB……アドレスバス、CS……チヤンネルセ
レクト信号。
The figure is a block diagram showing one embodiment of an input device for a programmable controller according to this invention. 1...Memory, 4...Counter (main part of address generation circuit), 5...Address switching circuit, 6...
Decoder (scanning circuit), 7...Input circuit, IN1~
IN8...Input terminal, T1-T8...Scanning terminal,
S1 to S64...Input signal source, DB...Data bus, AB...Address bus, CS...Channel select signal.

Claims (1)

【実用新案登録請求の範囲】[Scope of utility model registration request] N×M個の入力信号源がN行×M列のマトリク
ス回路を構成するように外部接続されるN個の入
力端子およびM個の走査端子と、上記N×M個の
入力信号源からの入力信号を記憶するための1ワ
ードNビツトのメモリと、このメモリに与えるア
ドレス信号を順次サイクリツクに発生するアドレ
ス発生回路と、このアドレス発生回路に同期して
上記M個の走査端子に順次サイクリツクにかつ択
一的に走査信号を印加する走査回路と、上記走査
信号に応動して上記N個の入力端子に印加される
入力信号を受け、その入力信号を上記メモリの上
記アドレス発生回路で指定されているアドレスに
書込む入力回路と、プログラマブル・コントロー
ラの中央処理装置側から供給されるセレクト信号
を受けて、上記アドレス発生回路・走査回路・入
力回路による上記メモリへの入力信号書込み動作
を禁止し、同時に上記中央処理装置側から供給さ
れるアドレス信号で上記メモリのデータを読み出
して上記中央処理装置側に供給する書込み/読出
し切替回路とを備えたことを特徴とするプログラ
マブル・コントローラの入力装置。
N input terminals and M scanning terminals are externally connected so that the N x M input signal sources constitute a matrix circuit of N rows x M columns, and A memory of 1 word and N bits for storing an input signal, an address generation circuit that sequentially and cyclically generates an address signal to be applied to this memory, and a memory that sequentially and cyclically generates an address signal to be applied to the M scanning terminals in synchronization with this address generation circuit. and a scanning circuit that selectively applies a scanning signal; and a scanning circuit that receives an input signal that is applied to the N input terminals in response to the scanning signal, and that input signal is designated by the address generation circuit of the memory. In response to the select signal supplied from the input circuit for writing to the address in the programmable controller and the central processing unit side of the programmable controller, the input signal writing operation to the memory by the address generation circuit, scanning circuit, and input circuit is prohibited. An input device for a programmable controller, comprising: a write/read switching circuit that simultaneously reads data from the memory using an address signal supplied from the central processing unit and supplies the read/write switching circuit to the central processing unit.
JP13747683U 1983-09-05 1983-09-05 Programmable controller input device Granted JPS6047056U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP13747683U JPS6047056U (en) 1983-09-05 1983-09-05 Programmable controller input device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP13747683U JPS6047056U (en) 1983-09-05 1983-09-05 Programmable controller input device

Publications (2)

Publication Number Publication Date
JPS6047056U JPS6047056U (en) 1985-04-02
JPS6243407Y2 true JPS6243407Y2 (en) 1987-11-11

Family

ID=30308777

Family Applications (1)

Application Number Title Priority Date Filing Date
JP13747683U Granted JPS6047056U (en) 1983-09-05 1983-09-05 Programmable controller input device

Country Status (1)

Country Link
JP (1) JPS6047056U (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57120107A (en) * 1981-01-17 1982-07-27 Koyo Denshi Kogyo Kk Sequence controller

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS57120107A (en) * 1981-01-17 1982-07-27 Koyo Denshi Kogyo Kk Sequence controller

Also Published As

Publication number Publication date
JPS6047056U (en) 1985-04-02

Similar Documents

Publication Publication Date Title
JPS63146298A (en) Variable work length shift register
KR910003382B1 (en) Semiconductor memory device with register
JPH0612863A (en) Dual port dram
KR960019715A (en) Semiconductor device
JPH0514358B2 (en)
JPS58196671A (en) Semiconductor storage element
KR930017025A (en) Multiserial Access Memory
JPS6243407Y2 (en)
JPS5633769A (en) Control method for writing to buffer memory device
JPS56156978A (en) Memory control system
JP2659222B2 (en) Memory circuit
KR920004414B1 (en) Communication method between processor and coprocessor
KR0145538B1 (en) Method of integrating the gas on peripheral processor hardware block in full ess
JP2507103B2 (en) Memory system
JPH04232700A (en) Semiconductor storage device
EP0217348A2 (en) Memory connected state detecting circuit
JPH0376094A (en) Semiconductor memory
JPH0757459A (en) Semiconductor memory
JPH01112449A (en) Speed converting memory device
JPS60113392A (en) Semiconductor memory device
JPS58150184A (en) Storage device
JPH0294094A (en) Data memory
JPS61118793A (en) Memory integrated circuit
JPH06131519A (en) Ic card
JPS626500A (en) Semiconductor device