JPH0574109B2 - - Google Patents

Info

Publication number
JPH0574109B2
JPH0574109B2 JP29139387A JP29139387A JPH0574109B2 JP H0574109 B2 JPH0574109 B2 JP H0574109B2 JP 29139387 A JP29139387 A JP 29139387A JP 29139387 A JP29139387 A JP 29139387A JP H0574109 B2 JPH0574109 B2 JP H0574109B2
Authority
JP
Japan
Prior art keywords
board
sub
control terminal
main board
selection 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.)
Expired - Lifetime
Application number
JP29139387A
Other languages
Japanese (ja)
Other versions
JPH01133166A (en
Inventor
Shinji Itami
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 JP29139387A priority Critical patent/JPH01133166A/en
Publication of JPH01133166A publication Critical patent/JPH01133166A/en
Publication of JPH0574109B2 publication Critical patent/JPH0574109B2/ja
Granted legal-status Critical Current

Links

Landscapes

  • Safety Devices In Control Systems (AREA)

Description

【発明の詳細な説明】 〔産業上の利用分野〕 この発明は、ラインコントローラ等における増
設基板上の回路素子を選択する基板選択方式に関
するものである。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a board selection method for selecting circuit elements on an expansion board in a line controller or the like.

〔従来の技術〕[Conventional technology]

第2図は従来の基板選択方式を採用したライン
コントローラの概略構成図である。同図において
主基板1と、2枚の副基板2a,2bとがコネク
タ13a,13bによつて順次接続されている。
ここで主基板1には中央処理装置(以下CPUと
いう)3と、デコーダ4とが装着され、CPU3
がアドレスバス6を介してデコーダにアドレス信
号を送出するようになつている。副基板2aには
インターフエース回路5aと選択回路12aとが
装着され、同様に副基板2bにはインターフエー
ス回路5bと選択回路12bとが装着されてい
る。このうち、インターフエース回路5a,5b
はデータ入出力端子D0〜D7および制御端子を
有し、データ入力出端子はCPU3、デコーダ4
に対してデータバス7によつて接続され、制御端
子は後述する選択回路の出力端子CSに接続さ
れている。また、選択回路12a,12bはデー
タ端子A,Bと制御端子,SEと出力端子CS
とを有し、このうち、データ端子Aがデコーダ4
の出力端子Aから導出される出力ライン8に接続
され、データ端子Bがデコーダ4の出力端子Bか
ら導出される出力ライン9に接続されており、さ
らに制御端子がどちらも接地されている。選
択回路12aの制御端子SEは、ライン10aに
よつて、設定用スイツチ14aのプルアツプ抵抗
接合端に接続され、出力端子CSは、ライン11
aによつて、インターフエース回路5aの制御端
子に接続されている。これと同様に、選択回
路12bの制御端子SEはライン10bによつて、
設定用スイツチ14bのプルアツプ抵抗接合端に
接続され、出力端子CSは、ライン11bによつ
て、インターフエース回路5bの制御端子に
接続されている。
FIG. 2 is a schematic diagram of a line controller employing a conventional board selection method. In the figure, a main board 1 and two sub-boards 2a, 2b are sequentially connected by connectors 13a, 13b.
Here, a central processing unit (hereinafter referred to as CPU) 3 and a decoder 4 are installed on the main board 1.
is adapted to send an address signal to the decoder via the address bus 6. An interface circuit 5a and a selection circuit 12a are mounted on the sub-board 2a, and an interface circuit 5b and a selection circuit 12b are similarly mounted on the sub-board 2b. Of these, interface circuits 5a and 5b
has data input/output terminals D 0 to D 7 and a control terminal, and the data input/output terminals are connected to CPU 3 and decoder 4.
A control terminal is connected to an output terminal CS of a selection circuit, which will be described later. In addition, the selection circuits 12a and 12b have data terminals A and B, a control terminal, SE and an output terminal CS.
Of these, the data terminal A is connected to the decoder 4.
The data terminal B is connected to the output line 8 derived from the output terminal A of the decoder 4, and the data terminal B is connected to the output line 9 derived from the output terminal B of the decoder 4, and both control terminals are grounded. The control terminal SE of the selection circuit 12a is connected to the pull-up resistor junction of the setting switch 14a by line 10a, and the output terminal CS is connected to the line 11.
A is connected to a control terminal of the interface circuit 5a. Similarly, the control terminal SE of the selection circuit 12b is connected to the line 10b.
It is connected to the pull-up resistor junction of the setting switch 14b, and the output terminal CS is connected to the control terminal of the interface circuit 5b by a line 11b.

第3図は主基板1、副基板2a,2bをコネク
タ13a,13bによつて順次接続した状態を示
すもので、主基板1に対して副基板2a,2bの
増設が可能になつている。
FIG. 3 shows a state in which the main board 1 and the sub-boards 2a and 2b are sequentially connected by connectors 13a and 13b, and the sub-boards 2a and 2b can be added to the main board 1.

次の動作について、第4図の真理値を示す図表
をも参照して説明する。CPU3からインターフ
エース回路5aにデータを転送する場合、始めに
CPU3がアドレスバス6上にインターフエース
回路5aを示すアドレスデータを送出する。デコ
ーダ4はインターフエース回路5aのアドレスデ
ータを読込んだとき出力端子Aに接続されている
出力ライン8をアクテイブ「L」にする。
The next operation will be explained with reference to the chart showing truth values in FIG. When transferring data from the CPU 3 to the interface circuit 5a, first
The CPU 3 sends address data indicating the interface circuit 5a onto the address bus 6. When the decoder 4 reads the address data of the interface circuit 5a, it makes the output line 8 connected to the output terminal A active "L".

ここで、選択回路12a,12bは、第4図に
示すように、制御端子SEが「L」のとき入力端
子Aの状態を端子CSに出力し、制御端子SEが
「H」のときは入力端子Bの状態を出力端子CSに
出力するようになつている。
Here, as shown in FIG. 4, the selection circuits 12a and 12b output the state of the input terminal A to the terminal CS when the control terminal SE is "L", and input the state when the control terminal SE is "H". The state of terminal B is output to output terminal CS.

この場合、設定スイツチ14aがオンになつて
おり選択回路12aの制御端子SEは「L」であ
る。また、設定スイツチ14bはオフになつてお
り選択回路12bの制御端子SEは「H」である。
したがつて、選択回路12aはデコーダ4の出力
ライン8の信号を入力して出力端子CSに出力し、
選択回路12bはデコーダ4の出力ライン9の信
号を入力して出力端子CSに出力する。このよう
にして、選択回路12aの出力端子CSが「L」
になると、この信号がインターフエース回路5a
の制御端子に加えられ、このインターフエー
ス回路を動作状態にする。これと同様に、選択回
路12bの出力端子CSが「L」になると、この
信号がインターフエース回路5bの制御端子
に加えられ、このインターフエース回路を動作状
態にする。
In this case, the setting switch 14a is turned on and the control terminal SE of the selection circuit 12a is at "L". Further, the setting switch 14b is turned off, and the control terminal SE of the selection circuit 12b is at "H".
Therefore, the selection circuit 12a inputs the signal of the output line 8 of the decoder 4 and outputs it to the output terminal CS,
The selection circuit 12b receives the signal from the output line 9 of the decoder 4 and outputs it to the output terminal CS. In this way, the output terminal CS of the selection circuit 12a becomes "L".
, this signal is sent to the interface circuit 5a.
is applied to the control terminal of the interface circuit to activate the interface circuit. Similarly, when the output terminal CS of the selection circuit 12b becomes "L", this signal is applied to the control terminal of the interface circuit 5b, putting this interface circuit into an operating state.

上述したように、CPU3がインターフエース
回路5aを示すアドレスデータを送出すると、デ
コーダ4の出力ライン8が「L」になるものの、
出力ライン9は「H」のままであるから、インタ
ーフエース回路5aの制御端子が「L」でイ
ンターフエース回路5bの制御端子CSは「H」
である。したがつて、インターフエース回路5a
のみが動作状態にされ、このインターフエース回
路5aはデータバス7を介してCPU3とでデー
タの授受を行つたり、外部と交信したりすること
ができる。
As mentioned above, when the CPU 3 sends address data indicating the interface circuit 5a, the output line 8 of the decoder 4 becomes "L";
Since the output line 9 remains "H", the control terminal of the interface circuit 5a is "L" and the control terminal CS of the interface circuit 5b is "H".
It is. Therefore, the interface circuit 5a
This interface circuit 5a can exchange data with the CPU 3 via the data bus 7 and communicate with the outside.

一方、CPU3がインターフエース回路5bを
選択する場合には、アドレスバス6上にインター
フエース回路5bのアドレスデータを送出すれ
ば、このデータを入力したデコーダ4は出力端子
Bに接続されている出力ライン9をアクテイブ
「L」にし、選択回路12bのデータ端子Bを
「L」にすることにより、インターフエース回路
5bの制御端子を「L」にしてこれを動作状
態にする。そこで、インターフエース回路5bは
データバス7を介してCPU3とでデータの授受
を行つたり、外部と交信したりすることができ
る。
On the other hand, when the CPU 3 selects the interface circuit 5b, if the address data of the interface circuit 5b is sent onto the address bus 6, the decoder 4 inputting this data will be connected to the output line connected to the output terminal B. 9 is set to active "L" and the data terminal B of the selection circuit 12b is set to "L", thereby setting the control terminal of the interface circuit 5b to "L" and putting it into an operating state. Therefore, the interface circuit 5b can exchange data with the CPU 3 via the data bus 7, and can communicate with the outside.

かくして、このラインコントローラにおいて
は、主基板1に対して増設する副基板のアドレス
データをデコーダ4に送出するだけで所望の基板
を選択してデータの授受および外部との交信が可
能になつている。
Thus, in this line controller, by simply sending the address data of the sub-board to be added to the main board 1 to the decoder 4, it is possible to select the desired board and exchange data and communicate with the outside. .

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

上述した従来の基板選択方式にあつては、増設
基板2a,2bに設定用スイツチ14a,14b
を設け、このうち、設定用スイツチ14aをオン
状態に、設定用スイツチ14bをオフ状態にそれ
ぞれ保持する以外は全て誤動作となり、設定間違
いを起こしやすいという問題点があつた。
In the conventional board selection method described above, the setting switches 14a, 14b are installed on the expansion boards 2a, 2b.
However, there was a problem in that all operations other than keeping the setting switch 14a in the on state and the setting switch 14b in the off state result in malfunctions, and setting errors are likely to occur.

この発明は上記の問題点を解決するためになさ
れたもので、副基板を増設した場合のスイツチの
設定間違い等に起因する誤動作を確実に防止する
ことのできる基板選択方式を得ることを目的とす
る。
This invention was made in order to solve the above problems, and its purpose is to provide a board selection method that can reliably prevent malfunctions caused by incorrect switch settings when adding sub-boards. do.

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

この発明に係る基板選択方式は、主基板に接続
される副基板のそれぞれが選択回路の制御端子に
入力される制御信号を高く保持するプルアツプ手
段を備え、コネクタを介してそれぞれ主基板に接
続したとき、一方の副基板の選択回路の制御端子
のみがプルアツプ状態を解消されるようにしたも
のである。
In the board selection method according to the present invention, each of the sub-boards connected to the main board is provided with a pull-up means for maintaining a high control signal input to the control terminal of the selection circuit, and each sub-board is connected to the main board via a connector. In this case, only the control terminal of the selection circuit on one sub-board is released from the pull-up state.

〔作用〕[Effect]

この発明においては、主基板に対して2枚の副
基板を接続するだけで一方の副基板の選択回路の
制御端子が「L」に、他方の副基板の選択回路の
制御端子が「H」の状態になるため、スイツチの
設定間違い等に起因する誤動作を確実に防止する
ことができる。
In this invention, by simply connecting two sub-boards to the main board, the control terminal of the selection circuit on one sub-board becomes "L", and the control terminal of the selection circuit on the other sub-board becomes "H". This makes it possible to reliably prevent malfunctions caused by incorrect switch settings.

〔実施例〕〔Example〕

第1図はこの発明を実施する装置の構成例であ
り、図中、第2図と同一の符号を付したものはそ
れぞれ同一の要素を示している。そして、第2図
では副基板2a,2b上に、一端が接地され、他
端がプルアツプ抵抗を介して電源の正極に接続さ
れる設定スイツチを設けると共に、この設定スイ
ツチの他端を選択回路に接続していた。これに対
してここでは第1、第2副基板、例えば同一回路
構成となつている副基板15a,15bに装着さ
れた第1、第2選択回路、例えば選択回路12
a,12bの各制御端子SEからライン16a,
16bを導出し、これらのラインにそれぞれ一端
が+5(V)の電源に接続されたプルアツプ抵抗
17a,17bの他端を接続すると共に、コネク
タ13aを介して、副基板15aを主基板1に接
続したときプルアツプ抵抗17aに接続されたラ
イン16aが主基板1の接地点に接続されるが、
コネクタ13bを介して、もう一つの副基板15
bを主基板1に接続してもプルアツプ抵抗17b
に接続されたライン16bは接地されないように
講じられている。尚、選択回路12aの制御端子
SEを第1制御端子と称し、選択回路12bの制
御端子SEを第2制御端子と称する。
FIG. 1 shows an example of the configuration of an apparatus for carrying out the present invention, and in the figure, the same reference numerals as in FIG. 2 indicate the same elements. In Fig. 2, a setting switch is provided on the sub-boards 2a and 2b, one end of which is grounded and the other end connected to the positive pole of the power supply via a pull-up resistor, and the other end of this setting switch is connected to the selection circuit. It was connected. On the other hand, here, the first and second selection circuits, for example, the selection circuit 12 mounted on the first and second sub-boards, for example, the sub-boards 15a and 15b having the same circuit configuration.
From each control terminal SE of a, 12b to line 16a,
16b, and connect pull-up resistors 17a and 17b, one end of which is connected to a +5 (V) power supply, to these lines, and connect the sub-board 15a to the main board 1 via the connector 13a. At this time, the line 16a connected to the pull-up resistor 17a is connected to the ground point of the main board 1, but
Another sub-board 15 via the connector 13b
Even if b is connected to the main board 1, the pull-up resistor 17b
Provision is made so that the line 16b connected to is not grounded. In addition, the control terminal of the selection circuit 12a
SE is referred to as a first control terminal, and control terminal SE of the selection circuit 12b is referred to as a second control terminal.

したがつて、主基板1に副基板15a,15b
を順次接続するだけで選択回路12aの制御端子
SEは「L」レベルの制御信号に保持され、反対
に選択回路12bの制御端子SEは「H」レベル
に保持される。
Therefore, the main board 1 has sub-boards 15a and 15b.
The control terminal of the selection circuit 12a can be changed by simply connecting the
SE is held at the "L" level control signal, and conversely, the control terminal SE of the selection circuit 12b is held at the "H" level.

この結果、CPU3がアドレスバス6上に副基
板15aのアドレスデータを送出し、デコーダ4
が出力ライン8をアクテイブ「L」にするとイン
ターフエース回路5aは動作状態になり、データ
バス7を介してCPU3とのデータの授受や外部
との交信ができる。一方、CPU3がアドレスバ
ス6上に副基板15bのアドレスデータを送出
し、デコーダ4が出力ライン9をアクテイブ
「L」にするとインターフエース回路5bは動作
状態になり、データバス7を介してCPU3との
データの授受や外部との交信が可能になる。
As a result, the CPU 3 sends the address data of the sub-board 15a onto the address bus 6, and the decoder 4
When the interface circuit 5a makes the output line 8 active "L", the interface circuit 5a becomes operational, and can exchange data with the CPU 3 and communicate with the outside via the data bus 7. On the other hand, when the CPU 3 sends the address data of the sub-board 15b onto the address bus 6 and the decoder 4 makes the output line 9 active "L", the interface circuit 5b enters the operating state and communicates with the CPU 3 via the data bus 7. It becomes possible to exchange data and communicate with the outside world.

なお、上記実施例では主基板1に副基板15
a,15bと接続したとき、選択回路12aの制
御端子SEが主基板1の接地点に接続されて「L」
になるように構成したが、一方の副基板の選択回
路の制御端子のみがプルアツプ状態を解消される
ならば、これ以外の手段を採用しても、上述した
と同様な動作を行なわせることができる。
In addition, in the above embodiment, the sub-board 15 is provided on the main board 1.
a, 15b, the control terminal SE of the selection circuit 12a is connected to the ground point of the main board 1 and becomes "L".
However, if only the control terminal of the selection circuit on one sub-board can be released from the pull-up state, the same operation as described above can be performed even if other means are adopted. can.

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

以上の説明から明らかな如く、この発明によれ
ば、主基板に対し全く同一である2枚の副基板を
接続するだけで一方の副基板の選択回路の制御端
子の制御信号が「L」に、他方の副基板の選択回
路の制御端子の制御信号が「H」になるので、ス
イツチの設定間違い等による誤動作を確実に防止
することができるという効果がある。
As is clear from the above description, according to the present invention, simply by connecting two identical sub-boards to the main board, the control signal of the control terminal of the selection circuit of one sub-board becomes "L". Since the control signal at the control terminal of the selection circuit on the other sub-board becomes "H", it is possible to reliably prevent malfunctions due to incorrect switch settings.

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

第1図はこの発明を実施する装置の概略構成
図、第2図は従来の基板選択方式を採用したライ
ンコントローラの概略構成図、第3図はこのライ
ンコントローラの基板組立状態を示す側面図、第
4図は同じくこのラインコントローラの動作を説
明するための真理値を示した図表である。 1……主基板、3……中央処理装置、4……デ
コーダ、5a,5b……インターフエース回路、
12a,12b……選択回路、15a,15b…
…副基板、17a,17b……プルアツプ抵抗、
なお、各図中、同一符号は同一または相当部分を
示す。
FIG. 1 is a schematic configuration diagram of an apparatus implementing the present invention, FIG. 2 is a schematic configuration diagram of a line controller that employs a conventional board selection method, and FIG. 3 is a side view showing the board assembly state of this line controller. FIG. 4 is a chart showing truth values for explaining the operation of this line controller. 1...Main board, 3...Central processing unit, 4...Decoder, 5a, 5b...Interface circuit,
12a, 12b... selection circuit, 15a, 15b...
...Subboard, 17a, 17b...Pull-up resistor,
In each figure, the same reference numerals indicate the same or corresponding parts.

Claims (1)

【特許請求の範囲】 1 デコーダを有する主基板と、上記主基板に接
続されると共に、第1制御端子に印加される制御
信号の論理レベルにより上記デコーダの出力信号
のいずれかを選択的に取り入れ出力する第1選択
回路を有する第1副基板と、上記第1副基板に接
続されると共に、第2制御端子に印加される制御
信号の論理レベルにより上記デコーダの出力信号
のいずれかを選択的に取り入れ出力する第2選択
回路を有する第2副基板とを備え、上記第1副基
板を上記主基板に接続すると共に、上記第2副基
板を上記第1副基板に接続することにより上記第
1制御端子及び上記第2制御端子の制御信号を
夫々相補的な論理レベルにすることを特徴とする
基板選択方式。 2 第1制御端子及び第2制御端子は夫々抵抗器
を介して直流電源の陽極に接続され、第1副基板
を主基板に接続すると共に、第2副基板を上記第
1副基板に接続することにより上記第1制御端子
及び上記第2制御端子のいずれかを上記主基板を
介して接地することを特徴とする特許請求の範囲
第1項記載の基板選択方式。
[Claims] 1. A main board having a decoder, and a main board connected to the main board and selectively taking in any of the output signals of the decoder depending on the logic level of a control signal applied to a first control terminal. a first sub-board having a first selection circuit to output; and a first sub-board connected to the first sub-board and selectively selecting one of the output signals of the decoder depending on the logic level of a control signal applied to a second control terminal. a second sub-board having a second selection circuit for inputting and outputting data into the main board, the first sub-board is connected to the main board, and the second sub-board is connected to the first sub-board. A board selection method characterized in that the control signals of the first control terminal and the second control terminal are set to complementary logic levels. 2 The first control terminal and the second control terminal are each connected to the anode of the DC power supply via a resistor, and connect the first sub-board to the main board and connect the second sub-board to the first sub-board. 2. The board selection method according to claim 1, wherein either the first control terminal or the second control terminal is grounded via the main board.
JP29139387A 1987-11-18 1987-11-18 Substrate selecting system Granted JPH01133166A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29139387A JPH01133166A (en) 1987-11-18 1987-11-18 Substrate selecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29139387A JPH01133166A (en) 1987-11-18 1987-11-18 Substrate selecting system

Publications (2)

Publication Number Publication Date
JPH01133166A JPH01133166A (en) 1989-05-25
JPH0574109B2 true JPH0574109B2 (en) 1993-10-15

Family

ID=17768325

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29139387A Granted JPH01133166A (en) 1987-11-18 1987-11-18 Substrate selecting system

Country Status (1)

Country Link
JP (1) JPH01133166A (en)

Also Published As

Publication number Publication date
JPH01133166A (en) 1989-05-25

Similar Documents

Publication Publication Date Title
US4796294A (en) Electronic telephone exchange and method of connecting ports of the exchange
JP3740746B2 (en) Programmable controller with expansion unit
JP2000330641A (en) Servo controller
JPH0574109B2 (en)
JP2905075B2 (en) Programmable controller and its exclusive control communication method
JPS62105594A (en) Multiple equipment group control system
JP2006174352A (en) Remote I / O module communication device
JPH0785562B2 (en) Failure detection method between communication devices
JPS61112204A (en) Remote process input/output device
JP3200829B2 (en) Control device
JPH0944277A (en) Microcomputer
JPH067658Y2 (en) Remote control device
JPH10105287A (en) Connection system for extension board
JPH0431622Y2 (en)
JP2503463Y2 (en) Peripheral device connection circuit of sequencer controller
JPH0312754A (en) Buffer memory controlling system
JPH1195883A (en) Communication control device and interface cable
JPH036037Y2 (en)
JPH0888673A (en) Line switching device
KR100303299B1 (en) A exchange system and a scsi cable for accommodating a multi-termination form
JPS60225299A (en) Input/output unit
JPS58219626A (en) Redundant output circuit
JPH0644165B2 (en) Electronic copier control device
JPS61187056A (en) Abnormality monitor circuit of transmission unit for multidrop serial bus
JPH0662010A (en) Communication interface adapter