JPH02183354A - Overlap detector - Google Patents
Overlap detectorInfo
- Publication number
- JPH02183354A JPH02183354A JP1003271A JP327189A JPH02183354A JP H02183354 A JPH02183354 A JP H02183354A JP 1003271 A JP1003271 A JP 1003271A JP 327189 A JP327189 A JP 327189A JP H02183354 A JPH02183354 A JP H02183354A
- Authority
- JP
- Japan
- Prior art keywords
- unit
- overlap
- expansion
- signal
- extended
- 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
Links
- 238000001514 detection method Methods 0.000 claims abstract description 12
- 238000010586 diagram Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 2
- 102220423907 c.273C>T Human genes 0.000 description 1
- 210000001072 colon Anatomy 0.000 description 1
- 238000000034 method Methods 0.000 description 1
- 239000004570 mortar (masonry) Substances 0.000 description 1
Abstract
Description
【発明の詳細な説明】
A、産業上の利用分野
本発明は、プログラマブル・コントローラのリモート入
出カシステムなとに用いられるオーバーラツプ検出装置
に関するものである。DETAILED DESCRIPTION OF THE INVENTION A. Field of Industrial Application The present invention relates to an overlap detection device used in a remote input/output system of a programmable controller.
B9発明の概要
複数の拡張ユニットを入出力(以下I10と称す)基本
ユニットに接続するものにおいて、上位の拡張ユニット
よりオーバーラツプ信号を入力し、オーバーラツプ信号
を下位の拡張ユニットに送出すると共に、自ユニットの
オーバーラツプ信号を110基本ユニットに送出するよ
う構成することによって、I10基本ユニットを各拡張
ユニット間を接続する拡張バスの芯数を減少させ、耐ノ
イズ特性を向上させるようにしたものである。B9 Summary of the Invention In an apparatus that connects a plurality of expansion units to an input/output (hereinafter referred to as I10) basic unit, an overlap signal is input from the upper expansion unit, the overlap signal is sent to the lower expansion unit, and the own unit By configuring the I10 basic unit to send an overlap signal to the 110 basic unit, the number of expansion buses connecting the I10 basic units to each expansion unit can be reduced, and the noise resistance characteristics can be improved.
C4従来の技術
プログラマブル・コントローラのリモート人出カンステ
ムなどにおいては、第3図で示すように制御部(CPU
)Iを複数のI10基本ユニット2とをバス3′を介し
て接続しており、更に入出力点数を増やす目的で、1個
のI10基本ユニット2に複数の拡張ユニッ)4(4,
a〜4n)を拡張バス5を介して接続することが行われ
ている。C4 Conventional technology In a programmable controller such as a remote control system, the control unit (CPU
)I is connected to a plurality of I10 basic units 2 via a bus 3', and in order to further increase the number of input/output points, one I10 basic unit 2 is connected to a plurality of expansion units)4 (4,
a to 4n) are connected via an expansion bus 5.
第4図はI10基本ユニット2と拡張ユニット4a〜4
nとを接続する拡張バス5の様子を示した乙のである。Figure 4 shows I10 basic unit 2 and expansion units 4a to 4.
This figure shows the state of the expansion bus 5 that connects the
各拡張ユニット4a〜4nには、夫々各固有のユニット
番号を設定するユニット番号設定回路41と、アドレス
設定値の読み込みを行うためのユニット番号ステータス
・レジスタ42が設けられ、各ステータス・レジスタ4
2と■10基本ユニット2間とはセレクト信号C8I〜
CSnを授受するための芯線によって接続されている。Each expansion unit 4a to 4n is provided with a unit number setting circuit 41 for setting a unique unit number, and a unit number status register 42 for reading address setting values.
Between 2 and ■10 basic unit 2 is the select signal C8I~
They are connected by core wires for transmitting and receiving CSn.
D1発明が解決しようとする課題
各拡張ユニット4a〜4nは、ユニット番号設定回路4
1によって夫々アドレスが設定されるが、その設定が誤
った設定(オーバーラツプ)となることがある。そこで
I10基本ユニット2は、各拡張ユニット4a〜4nに
対して、ステータス・レジスタ42に書き込まれている
アドレスをセレクト信号C91=CSnを用いて読み込
み、オーバーラツプがあるか否かを判別している。とこ
ろが、この方法によると、オーバーラツプを検出するた
めに、C9I−C9n用の芯線が必要となり、この芯線
は拡張ユニット数の増加に応じて対応しなければならず
、また芯線数が多くなればなるほど耐ノイズ特性が低下
して信頼度が悪くなる。更には接続のためのコネクタ間
が同じピン番号で接続することが不可能となって誤接続
の原因ともなるなどの問題点を有している。D1 Problem to be Solved by the Invention Each expansion unit 4a to 4n has a unit number setting circuit 4.
1, each address is set, but the settings may be incorrect (overlap). Therefore, the I10 basic unit 2 reads the address written in the status register 42 for each of the expansion units 4a to 4n using the select signal C91=CSn, and determines whether or not there is an overlap. However, according to this method, in order to detect overlap, a core wire for C9I-C9n is required, and this core wire must be used as the number of expansion units increases, and as the number of core wires increases, Noise resistance characteristics deteriorate and reliability deteriorates. Furthermore, there is a problem in that it is impossible to connect connectors using the same pin number, which may cause erroneous connections.
21課題を解決するための手段
この発明は、I10基本ユニッ)・によって夫々一括し
てユニット番号が書き込まれるユニット番号レジスタと
、このレジスタに書き込まれたユニット番号と夫々設定
されノ、ユニット番号とを比較するユニット番号判別部
を各拡張レジスタに設ける。更に各拡張レジスタには、
上位の拡張ユニットよりオーバーラツプ信号を入力し、
オーバーラツプ検出信号を下位の拡張ユニットに送出す
る。21 Means for Solving the Problems This invention provides a unit number register in which unit numbers are written in a batch by I10 basic unit), and a unit number that is set respectively in the unit number written in this register. A unit number discriminator for comparison is provided in each extension register. Furthermore, each extension register has
Input the overlap signal from the upper expansion unit,
Sends an overlap detection signal to the lower expansion unit.
これと共に自ユニットのオーバーラツプ検出信号をI1
0基本ユニットに送出するよう構成したものである。At the same time, the overlap detection signal of the own unit is
0 basic unit.
F5作用
ユニット番号判定部において、自ユニットが選択された
か否かを判定し、自ユニットが選択され、かつ上位拡張
ユニットが選択されたときオーバーラツプ検出信号を発
生する。The F5 effect unit number determination section determines whether or not the own unit is selected, and generates an overlap detection signal when the own unit is selected and the upper expansion unit is selected.
また、オーバーラツプ信号は、自ユニットが選択されて
なく、かつ上位拡張ユニットが選択されてないときに出
力される。Further, the overlap signal is output when the own unit is not selected and the upper expansion unit is not selected.
G 実施例
第1図は本発明の一実施例を示したもので、IOはI1
0基本ユニッ)・て、このユニットは第3図と同様に複
数個バス3を介して制御部Iに接続されている。20a
〜20nは拡張ユニットで、各ユニットは拡張バス30
を通してI10基本ユニット10に接続されている。な
お、この接続は、データやアドレス、および制御信号の
授受を行うルートと、各拡張ユニッ)・に設置Jられた
論理回路21とI10基本ユニット10の拡張モジュー
ル部11間のルートとがある。G Embodiment FIG. 1 shows an embodiment of the present invention, in which IO is I1
0 basic unit) A plurality of these units are connected to the control section I via the bus 3 as in FIG. 20a
~20n are expansion units, each unit has an expansion bus of 30
I10 is connected to the basic unit 10 through the I10. Note that this connection includes a route for sending and receiving data, addresses, and control signals, and a route between the logic circuit 21 installed in each expansion unit and the expansion module section 11 of the I10 basic unit 10.
第2図は各拡張ユニット20(20a〜20n)のオー
バーラツプ検出回路を示したものである。FIG. 2 shows the overlap detection circuit of each expansion unit 20 (20a to 20n).
22はユニット番号レジスタで、I10基本ユニッI・
10よりのアドレス信号が書き込まれる。22 is a unit number register, I10 basic unit I.
Address signals from 10 are written.
23はユニット番号設定回路て自ユニットの番号を設定
する。24はユニット判別部で、レジスタ22に書き込
まれたアドレスと、ユニット番号設定回路23にて設定
されたユニット番号とが一致したとき信号5ELECT
を論理回路21にI]”レベルの信号を出力する。論理
回路21は、自ユニットよりみて、I10基本ユニット
10又はI10基本ユニット側である上位に接続される
拡張ユニット、例えば自コロニットが20bならば20
aのユニットよりのオーバーラツプ人力0VLPNと自
ユニットの5ELECT信号との論理積をとり、オーバ
ーラツプ出力0VLPOを下位である拡張ユニット20
cに出力するためのゲート部Glと、オーバーラツプ検
出信号0VLAPを■10基本ユニットIOに出力する
ゲート部G2を存している。23 is a unit number setting circuit for setting the number of the own unit. Reference numeral 24 denotes a unit determination unit, which outputs a signal 5ELECT when the address written in the register 22 and the unit number set by the unit number setting circuit 23 match.
to the logic circuit 21.The logic circuit 21 outputs a signal of level I] to the logic circuit 21.The logic circuit 21 outputs a signal of level I] to the logic circuit 21.The logic circuit 21 outputs an I10 basic unit 10 or an expansion unit connected to an upper level on the I10 basic unit side from the perspective of its own unit, for example, if its own colon unit is 20b. Ba 20
The overlap output 0VLPN from the unit a is ANDed with the 5ELECT signal of its own unit, and the overlap output 0VLPO is output from the lower expansion unit 20.
(1) A gate section G1 for outputting the overlap detection signal 0VLAP to the 10 basic units IO.
なお、この論理回路21におけるオーバーラツプを検出
する論理は次表の真理値表による。The logic for detecting overlap in this logic circuit 21 is based on the truth table shown below.
表
以上のように構成された本発明においてその動作を説明
する。The operation of the present invention configured as described above will be explained.
制御部lとI10基本ユニット10間においてはバス3
を介して信号の授受が行われ、I10基本ユニットIO
は制御部lの信号に基づいて、その拡張モジュールを介
して各拡張ユニット20a〜20nと信号の授受が行わ
れろ。Between the control unit l and the I10 basic unit 10, the bus 3
Signals are exchanged via the I10 basic unit IO
Based on signals from the control unit 1, signals are exchanged with each of the expansion units 20a to 20n via the expansion module.
このようなものにおいてオーバーラツプは次のようにし
て検出される。In such a case, overlap is detected as follows.
I10基本ユニット10よりアドレス信号(ユニット番
号)を送出すると、各拡張ユニット202L〜20nの
ユニット番号レジスタ22に一斉に書き込まれる。書き
込まれたユニット番号Aは、ユニット番号判別部24に
おいて前以てユニット番号設定回路23によって設定さ
れた自ユニットの番号Bと比較されA=Bと一致した場
合に自ユニットが選択されたことを示す“H”レベルの
5ELECT信号を論理回路21に出力する。論理回路
21には、オーバーラツプ人力OVLPNが上位の拡張
ユニットより入力され、下位の拡張ユニットにオーバー
ラツプ出力0VLPOが出力されるようOV L P
NとOV L P Oは直列に接続されており、0VL
POは自コ、ニットか置かれている位置より下位の拡張
ユニットに対して現在臼ユニットが選択されているか否
かを連絡する。したがって0VLPNは自ユニットより
」上位のユニットの状態を示す信号となっている。When an address signal (unit number) is sent from the I10 basic unit 10, it is written into the unit number register 22 of each expansion unit 202L to 20n all at once. The written unit number A is compared with the own unit number B set in advance by the unit number setting circuit 23 in the unit number discrimination section 24, and when A=B matches, it is determined that the own unit has been selected. The “H” level 5ELECT signal shown in FIG. The logic circuit 21 receives the overlap human input OVLPN from the upper expansion unit, and inputs the OVLPN so that the overlap output 0VLPO is output to the lower expansion unit.
N and OV L P O are connected in series, 0VL
The PO notifies the extension unit below the position where the knit is placed whether or not the mortar unit is currently selected. Therefore, 0VLPN is a signal indicating the state of a unit higher than its own unit.
そして、この論理回路21におけるオーバーラツプを検
出ずろための論理は、前記した真理値表によるが、OV
L P O信号は自ユニットが選択されてなく、かつ
4−位のユニットか選択されてないときのみ“L”レベ
ルの信号を出力する。The logic for detecting and canceling the overlap in this logic circuit 21 is based on the truth table described above.
The L PO signal outputs an "L" level signal only when the own unit is not selected and the 4th-ranked unit is also not selected.
また、OV L A P信号は、自ユニットが選択され
、かつ」−位のユニットが選択されたときのみ”L ”
レベルの信号を出力ずろ。In addition, the OV L A P signal is "L" only when the own unit is selected and the "-" unit is selected.
Output level signal.
例えば今、拡張ユニット20bが選択されたとすると、
5ELECTは“″I−ルベルとなり、ケートGl、G
2に印加される。ゲートG2は0VLPN信号が“■4
”レベルを条件に選択されノこことを示す“L”レベル
の信号OV L A P ヲI / O基本ユニット番
号に出力するが、ゲートG1は“′H”レベルの信号0
VLPOを下位の拡張ユニットである20cに送出する
。拡張ユニット20Cは20bが選択されたことを条件
に、次に自ユニット20cが選択されると、同様ζこし
て“I、”レベルの信号OV L A PをI10基本
ユニットIOに出力すると同時に、下位の拡張ユニット
20dに対して″H″レベルの信号OV T、 P O
を出力する。For example, if the expansion unit 20b is selected now,
5ELECT becomes “”I-Lebel, Kate Gl, G
2. Gate G2 has 0VLPN signal “■4
The "L" level signal is output to the OVLAP I/O basic unit number indicating that it has been selected based on the "level" condition, but the gate G1 outputs the "'H" level signal 0.
The VLPO is sent to the lower expansion unit 20c. On the condition that 20b is selected, the expansion unit 20C, when its own unit 20c is selected next, similarly outputs a signal OV L A P of "I," level to the I10 basic unit IO, and at the same time, "H" level signals OVT, PO for the lower expansion unit 20d
Output.
以下同様にしてI10基本ユニッ)10は、全拡張ユニ
ット20a〜2Onに対して同時にユニット番号を書き
込み、しかも順次選択ユニット番号を変え、これに対応
して各拡張ユニットから順次選択されたことを知らせる
信号0VLAPが出力されたか否かを判断することによ
りオーバーラツプの検出を行う。Thereafter, in the same manner, the I10 basic unit) 10 simultaneously writes unit numbers to all expansion units 20a to 2On, sequentially changes the selected unit number, and correspondingly notifies each expansion unit that it has been selected sequentially. Overlap is detected by determining whether the signal 0VLAP is output.
I] 発明の効果
以」二本発明に、1れば、オーバーラツプを検出するた
めに拡張バス30に用いられる芯線は、OVL A P
用と0VLPO用の2本でよいため、拡張ユニットの増
減数にかかイっりなく一定で市販の汎用ケーブルがその
まま使用でき、また、芯線数が少数であることから耐ノ
イズ特性が向上して装置の信頼性かMiまろものである
。I] Effects of the Invention [2] According to the present invention, the core wire used in the expansion bus 30 for detecting overlap is an OVL AP.
Since only two cables are required, one for 0VLPO and one for 0VLPO, the number of expansion units is constant regardless of the number of expansion units, and commercially available general-purpose cables can be used as they are.Also, since the number of core wires is small, noise resistance characteristics are improved. The reliability of the device is miraculous.
第1図は本発明の一実施例を示ず構成図、第2図は本発
明の拡張ユニットにおlJるオーバーラツプ検出回路図
、第3図は説明のためのプログラマブル・コントローラ
のリモートI10システ11図、第4図は従来のオーバ
ーラツプ検出回路図である。
l・・・制御部、IO・I10基本ユニット、2゜a〜
2On・・・拡張ユニット、21・論理回路、22・・
・ユニット番号レジスタ、23・・ユニット番号設定回
路、24・・・ユニット判別部。
外2名FIG. 1 is a block diagram of an embodiment of the present invention, FIG. 2 is an overlap detection circuit diagram in an expansion unit of the present invention, and FIG. 3 is a diagram of a remote I10 system 11 of a programmable controller for explanation. 4 are diagrams of conventional overlap detection circuits. l...Control unit, IO/I10 basic unit, 2゜a~
2On...Extension unit, 21, logic circuit, 22...
- Unit number register, 23...Unit number setting circuit, 24...Unit discrimination section. 2 people outside
Claims (1)
トより拡張バスを介して複数の拡張ユニットを接続する
ものにおいて、前記入出力基本ユニットによって夫々一
括してユニット番号が書き込まれるユニット番号レジス
タと、各拡張ユニット固有の番号を設定するユニット番
号設定部と、この設定部によって設定されたユニット番
号と前記ユニット番号レジスタに書き込まれたユニット
番号とを比較判別するユニット番号判別部とを前記各拡
張ユニットに設け、更に上位の拡張ユニットよりオーバ
ーラップ信号を入力し、且つオーバーラップ検出信号を
下位の拡張ユニットに送出すると共に、自ユニットのオ
ーバーラップ検出信号を前記入出力基本ユニットに送出
するための論理回路を各拡張ユニットに夫々設けたこと
を特徴とするオーバーラップ検出装置。(1) In a device that has a control unit and an input/output basic unit, and connects multiple expansion units from this unit via an expansion bus, a unit number register in which the unit number is written to each unit by the input/output basic unit. , a unit number setting section that sets a number unique to each expansion unit, and a unit number determination section that compares and determines the unit number set by this setting section and the unit number written in the unit number register. Provided in the expansion unit, for inputting the overlap signal from the higher-order expansion unit, sending the overlap detection signal to the lower-order expansion unit, and sending the overlap detection signal of the own unit to the input/output basic unit. An overlap detection device characterized in that each expansion unit is provided with a logic circuit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1003271A JPH02183354A (en) | 1989-01-10 | 1989-01-10 | Overlap detector |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1003271A JPH02183354A (en) | 1989-01-10 | 1989-01-10 | Overlap detector |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02183354A true JPH02183354A (en) | 1990-07-17 |
Family
ID=11552784
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1003271A Pending JPH02183354A (en) | 1989-01-10 | 1989-01-10 | Overlap detector |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02183354A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019159381A (en) * | 2018-03-07 | 2019-09-19 | 株式会社デンソー | Communication system |
-
1989
- 1989-01-10 JP JP1003271A patent/JPH02183354A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2019159381A (en) * | 2018-03-07 | 2019-09-19 | 株式会社デンソー | Communication system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6016996Y2 (en) | Address selection device for input/output interface device | |
| JPS61163457A (en) | Peripheral input/output unit | |
| US4412327A (en) | Test circuit for checking memory output state continuously during time window | |
| JP3702605B2 (en) | Transmission system having trigger function and time interval measuring method of input / output signal thereof | |
| JP2864611B2 (en) | Semiconductor memory | |
| JPH0532770B2 (en) | ||
| JPH087442Y2 (en) | Input / output device of programmable controller | |
| JP2613674B2 (en) | Integrated circuit device | |
| JPS626243B2 (en) | ||
| JPS62229452A (en) | Peripheral module access system | |
| JP2583326Y2 (en) | Data bus diagnostic equipment | |
| JPH07120271B2 (en) | Arithmetic logic unit | |
| JP2821123B2 (en) | Microcomputer | |
| JPH054357Y2 (en) | ||
| JP2725680B2 (en) | Bus error detection circuit | |
| JPH06333063A (en) | Microcomputer and its testing method | |
| JPS6278661A (en) | Data transfer equipment | |
| JPH04346145A (en) | Information processor | |
| JPS5816487B2 (en) | Multiple selection detection device in computer system | |
| CS204914B1 (en) | Wiring for data and address transmitter control | |
| JPS63126041A (en) | Signal input device | |
| JPH01191966A (en) | Data processing system | |
| JPS61122744A (en) | Computer device | |
| JPS6293705A (en) | Programmable controller | |
| JPH07141268A (en) | Direct memory access control circuit and data transfer test method in the circuit |