JPH07147581A - Changeover device for input/output module - Google Patents

Changeover device for input/output module

Info

Publication number
JPH07147581A
JPH07147581A JP31580293A JP31580293A JPH07147581A JP H07147581 A JPH07147581 A JP H07147581A JP 31580293 A JP31580293 A JP 31580293A JP 31580293 A JP31580293 A JP 31580293A JP H07147581 A JPH07147581 A JP H07147581A
Authority
JP
Japan
Prior art keywords
power supply
input
pio
terminal
resistor
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.)
Granted
Application number
JP31580293A
Other languages
Japanese (ja)
Other versions
JP2933814B2 (en
Inventor
Hiromoto Goto
浩基 後藤
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.)
Azbil Corp
Original Assignee
Azbil 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 Azbil Corp filed Critical Azbil Corp
Priority to JP31580293A priority Critical patent/JP2933814B2/en
Publication of JPH07147581A publication Critical patent/JPH07147581A/en
Application granted granted Critical
Publication of JP2933814B2 publication Critical patent/JP2933814B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To conduct a control operation or the like between plural input output modules without increasing a load to a bus driver by controlling application of a power supply voltage depending on the information as to whether or not access to the input/output module accesses a back plane bus. CONSTITUTION:When a PIO (process input/output module) is not in use, a CPU sends a '0' level control signal to a terminal D of a register RG. A level of a Q terminal output of the register RG is logical L, a transistor TR 2 is turned off and then a TR 1 is turned off. Thus, a power supply side terminal of the PIO is made open and no power supply voltage Vcc is applied to a pull-up resistor Rp. On the other hand, when the PIO is in use, a level, '1' signal is sent from the CPU to the terminal D of the RG. The Q terminal of the register RG is logical H, the TR 2 is conductive and then the TR 1 is also conductive. Thus, the power supply side terminal is connected to the power supply and the power supply voltage Vcc is applied to the resistor Rp and an OCD is activated.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、オープンコレクタ出力
型ドライバ及びプルアップ抵抗を含む入出力モジュール
を同一のバスに複数接続する場合に用いられる切換装置
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a switching device used when a plurality of input / output modules including open collector output type drivers and pull-up resistors are connected to the same bus.

【0002】[0002]

【従来の技術】プロセスコントローラのような制御装置
においては、1枚のバックプレーン上で複数のプロセス
入出力モジュール(PIO)を接続する構成が一般的で
ある。そのような構成では、図2に示すように、同一の
バックプレーン上の複数のPIO1 〜PIOn 間で情報
の授受を行ったり、或いはあるPIOが他のPIOを制
御したりするために、バックプレーン上にバスBを設
け、各PIOがこのバスBを介して他のPIOにアクセ
スできるようにする場合がある。
2. Description of the Related Art In a control device such as a process controller, it is common to connect a plurality of process input / output modules (PIO) on one backplane. In such a configuration, as shown in FIG. 2, in order to exchange information between a plurality of PIO 1 to PIO n on the same backplane, or one PIO controls another PIO, In some cases, a bus B is provided on the backplane so that each PIO can access another PIO via this bus B.

【0003】[0003]

【発明が解決しようとする課題】ところで、PIOの基
本機能として、あるPIOをバックプレーンから抜き差
しする際には、当該バックプレーン上の他のPIOに影
響を与えてはならないことが要求される。この要求を満
足するために、図2の各PIOにおいてバックプレーン
バスBに接続されるドライバ1には、オープンコレクタ
出力型ドライバ(以下“OCD”という)を用いること
が多い。その理由は、OCDを用いると、バックプレー
ンバスBに対して接続、分離するとき高インピーダンス
状態を保つことができるので、他のPIOに電流が流れ
込んだり過大な電圧が加えられたりすることがないから
である。
By the way, as a basic function of a PIO, when a PIO is inserted into or removed from a backplane, it is required that other PIO on the backplane should not be affected. In order to satisfy this requirement, an open collector output type driver (hereinafter referred to as "OCD") is often used as the driver 1 connected to the backplane bus B in each PIO of FIG. The reason is that when the OCD is used, a high impedance state can be maintained when connecting and disconnecting with respect to the backplane bus B, so that current does not flow into other PIO and excessive voltage is not applied. Because.

【0004】このOCDを用いる場合は、プルアップ抵
抗が必須となるが、その抵抗値が大きいと信号の立ち上
がりがゆるやかになってしまうので、抵抗値の大きさに
は制限がある。
When this OCD is used, a pull-up resistor is indispensable, but if the resistance value is large, the rise of the signal will be gentle, so the size of the resistance value is limited.

【0005】このようなプルアップ抵抗Rを持つPIO
をn個接続すると、図示しないバスドライバからみたプ
ルアップ抵抗はR/nとなるので、負荷がn倍に増えて
しまい、その結果バスドライバの能力を越えてしまうこ
とがある。例えば、R=1kΩ,n=12とすると、 VCC/(R/n)=5V/(1k/12)=60mA となり、例えばTTLのようなICのドライブ能力は4
0mAであるから、正常な動作ができなくなる。
A PIO having such a pull-up resistor R
When n are connected, the pull-up resistance seen from the bus driver (not shown) becomes R / n, so the load increases n times, and as a result, the capacity of the bus driver may be exceeded. For example, if R = 1 kΩ and n = 12, then V CC / (R / n) = 5 V / (1 k / 12) = 60 mA, and the drive capability of an IC such as TTL is 4
Since it is 0 mA, normal operation cannot be performed.

【0006】そこで、上記の例の場合、12台のPIO
のうち6台しかバックプレーンバスBにアクセスできな
いという制限を設ければ、本来30mAの負荷で済むは
ずである。しかしながら、他の6台も電気的には依然負
荷として残るので、結局60mAの負荷となってしま
う。
Therefore, in the above example, 12 PIOs are used.
If a limit that only 6 of them can access the backplane bus B is set, the load of 30 mA should be sufficient. However, the other six units still remain as loads electrically, so that the load will end up being 60 mA.

【0007】従って、本発明の目的は、OCDを含む複
数の入出力モジュールを同一のバスに接続する場合に、
バックプレーンバスにアクセスしない入出力モジュール
のプルアップ抵抗はバスドライバの負荷とならないよう
に電源供給を制御することにより、バスドライバに対す
る負荷を軽減する切換装置を提供することである。
Therefore, an object of the present invention is to connect a plurality of input / output modules including OCD to the same bus.
A pull-up resistor of an input / output module that does not access the backplane bus controls a power supply so as not to load the bus driver, thereby providing a switching device that reduces the load on the bus driver.

【0008】[0008]

【課題を解決するための手段】本発明は、オープンコレ
クタ出力型ドライバ及びプルアップ抵抗を含む複数の入
出力モジュールを同一のバスに接続する場合に用いられ
る切換装置であって、各入出力モジュールがそれぞれ前
記バスを介して他の入出力モジュールにアクセスするか
否かにより、当該入出力モジュールのプルアップ抵抗の
電源側端子への電源供給を切り換えるように構成され
る。
SUMMARY OF THE INVENTION The present invention is a switching device used when connecting a plurality of input / output modules including an open collector output type driver and pull-up resistors to the same bus. Are configured to switch power supply to the power supply side terminal of the pull-up resistor of the input / output module depending on whether or not to access another input / output module via the bus.

【0009】[0009]

【作用】本発明によれば、入出力モジュールをバックプ
レーンバスにアクセスするかしないかという情報によ
り、電源電圧の供給を制御する。すなわち、バックプレ
ーンバスにアクセスしない入出力モジュールのプルアッ
プ抵抗の電源側端子には電源電圧を供給せず、オープン
とし、他方、バックプレーンバスにアクセスする入出力
モジュールのプルアップ抵抗の電源側端子には電源電圧
を供給する。
According to the present invention, the supply of the power supply voltage is controlled by the information as to whether the input / output module accesses the backplane bus. That is, the power supply side terminal of the pull-up resistor of the I / O module that does not access the backplane bus is opened without supplying the power supply voltage, while the power supply side terminal of the pull-up resistor of the I / O module that accesses the backplane bus is opened. Supply the power supply voltage.

【0010】これにより、バックプレーンバスに接続す
べき入出力モジュールが多数あっても、バスドライバに
対する負荷を増大させずに複数の入出力モジュールを同
一のバックプレーン上でサポートできる。
As a result, even if there are many input / output modules to be connected to the backplane bus, a plurality of input / output modules can be supported on the same backplane without increasing the load on the bus driver.

【0011】[0011]

【実施例】図1は、オープンコレクタ出力型ドライバ
(OCD)を含むPIOに対して本発明を適用した実施
例の回路構成を示す。
DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows a circuit configuration of an embodiment in which the present invention is applied to a PIO including an open collector output type driver (OCD).

【0012】図に示されたPIOは、OCDを構成する
トランジスタと、そのコレクタ端子に一端を接続し、他
端を外部電源VCC(例えば5ボルト)に接続したプルア
ップ抵抗RP とを含んで構成され、トランジスタのベー
ス端子にディジタル信号が入力されると、その“H”,
“L”に応じてトランジスタがオン、オフすることによ
り、そのコレクタ端子から前述のバックプレーンバスへ
の出力信号を発生する。このようなPIOは、従来と同
様である。
The PIO shown in the figure includes a transistor forming an OCD, and a pull-up resistor R P having one end connected to its collector terminal and the other end connected to an external power supply V CC (for example, 5 V). When a digital signal is input to the base terminal of the transistor, its "H",
When the transistor is turned on and off according to "L", an output signal from the collector terminal to the backplane bus is generated. Such PIO is the same as the conventional one.

【0013】本発明によれば、上記のPIOに対し、そ
のプルアップ抵抗RP の電源側端子への電源供給を切り
換える切換装置が設けられる。この切換装置は、電源と
プルアップ抵抗RP の電源側端子との間に設けられた第
1のトランジスタTr1と、そのベース端子に一端を接続
した第1の抵抗R1 と、この抵抗R1 の他端とアースと
の間に設けられた第2のトランジスタTr2と、そのベー
ス端子に一端を接続した第2の抵抗R2 と、この抵抗R
2 の他端に接続したレジスタRGとで構成されている。
According to the present invention, the above PIO is provided with a switching device for switching the power supply to the power supply side terminal of the pull-up resistor R P. This switching device includes a first transistor Tr1 provided between a power source and a power source side terminal of a pull-up resistor R P , a first resistor R1 having one end connected to its base terminal, and another resistor R1. A second transistor Tr2 provided between the end and the ground, a second resistor R2 having one end connected to its base terminal, and this resistor R2.
2 and the register RG connected to the other end.

【0014】上記レジスタRGは、プロセス等の制御装
置或いはPIOの上位装置のCPUから送られる制御信
号に応じて、第2のトランジスタTr2をオン、オフす
る。このようなレジスタRGとしては、例えばDQフリ
ップフロップが用いられる。この場合、DQフリップフ
ロップのD端子が上記CPUに接続される一方、Q端子
が抵抗R2 を介して第2のトランジスタTr2のベース端
子に接続される。また、CPUからDQフリップフロッ
プのCK(クロック)端子に、立ち上がりでラッチする
信号が入力される。
The register RG turns on and off the second transistor Tr2 in response to a control signal sent from a control device such as a process or a CPU of a PIO host device. As such a register RG, a DQ flip-flop is used, for example. In this case, the D terminal of the DQ flip-flop is connected to the CPU, while the Q terminal is connected to the base terminal of the second transistor Tr2 via the resistor R2. Further, the signal latched at the rising edge is input from the CPU to the CK (clock) terminal of the DQ flip-flop.

【0015】上記制御信号は、例えば、PIOをバック
プレーンバスにアクセスするとき“1”、PIOをバッ
クプレーンバスにアクセスしないとき“0”となるディ
ジタル信号である。
The control signal is, for example, a digital signal which becomes "1" when the PIO accesses the backplane bus and becomes "0" when the PIO does not access the backplane bus.

【0016】従って、PIOを使用しない場合には、C
PUからDQフリップフロップのD端子に“0”の制御
信号を送る。これにより、DQフリップフロップのQ端
子出力は“L”となり、第2のトランジスタTr2はオ
フ、従って第1のトランジスタTr1もオフとなる。この
ため、PIOの電源側端子はオープンとなる。すなわ
ち、バックプレーンバスにアクセスしないPIOのプル
アップ抵抗RP の電源側端子には、電源電圧VCCが供給
されない。
Therefore, when PIO is not used, C
A control signal of "0" is sent from PU to the D terminal of the DQ flip-flop. As a result, the Q terminal output of the DQ flip-flop becomes "L", the second transistor Tr2 is turned off, and therefore the first transistor Tr1 is also turned off. Therefore, the power supply side terminal of the PIO is open. That is, the power supply voltage V CC is not supplied to the power supply side terminal of the pull-up resistor R P of the PIO that does not access the backplane bus.

【0017】一方、PIOを使用する場合は、CPUか
らDQフリップフロップのD端子に“1”の制御信号を
送る。これにより、DQフリップフロップのQ端子出力
は“H”となり、第2のトランジスタTr2がオン、従っ
て第1のトランジスタTr1もオンとなる。このため、P
IOの電源側端子は電源に接続した状態となる。すなわ
ち、バックプレーンバスにアクセスするPIOのプルア
ップ抵抗RP の電源側端子に、電源電圧VCCが供給され
る。
On the other hand, when using PIO, the CPU sends a control signal of "1" to the D terminal of the DQ flip-flop. As a result, the Q terminal output of the DQ flip-flop becomes "H", the second transistor Tr2 is turned on, and therefore the first transistor Tr1 is also turned on. Therefore, P
The IO power supply side terminal is connected to the power supply. That is, the power supply voltage V CC is supplied to the power supply side terminal of the pull-up resistor R P of the PIO that accesses the backplane bus.

【0018】[0018]

【発明の効果】以上のように、本発明によれば、入出力
モジュールがバックプレーンバスにアクセスするかしな
いかという情報により、電源電圧の供給を制御するよう
にしたので、バックプレーンバスに接続すべき入出力モ
ジュールが複数あっても、バスドライバに対する負荷を
増大させずに、複数の入出力モジュールを同一バックプ
レーン上で接続し、それら入出力モジュール間での送受
信や制御動作を実行できる。
As described above, according to the present invention, the supply of the power supply voltage is controlled based on the information as to whether the input / output module accesses the backplane bus. Even if there are a plurality of input / output modules to be processed, a plurality of input / output modules can be connected on the same backplane and transmission / reception and control operations can be performed between the input / output modules without increasing the load on the bus driver.

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

【図1】本発明の実施例の構成を示す回路図。FIG. 1 is a circuit diagram showing a configuration of an embodiment of the present invention.

【図2】複数の入出力モジュールを接続する場合の従来
の構成を示す図。
FIG. 2 is a diagram showing a conventional configuration when connecting a plurality of input / output modules.

【符号の説明】[Explanation of symbols]

OCD…オープンコレクタ出力型ドライバ、RP …プル
アップ抵抗、Tr ,Tr1,Tr2…トランジスタ、RG…
レジスタ。
OCD ... Open collector output type driver, R P ... Pull-up resistor, Tr, Tr1, Tr2 ... Transistor, RG ...
register.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】オープンコレクタ出力型ドライバ及びプル
アップ抵抗を含む複数の入出力モジュールを同一のバス
に接続する場合に用いられる切換装置であって、各入出
力モジュールがそれぞれ前記バスを介して他の入出力モ
ジュールにアクセスするか否かにより、当該入出力モジ
ュールのプルアップ抵抗の電源側端子への電源供給を切
り換えるように構成したことを特徴とする入出力モジュ
ールの切換装置。
1. A switching device used when a plurality of input / output modules including an open collector output type driver and a pull-up resistor are connected to the same bus, wherein each input / output module is connected to another via the bus. The input / output module switching device is configured to switch power supply to a power supply side terminal of a pull-up resistor of the input / output module depending on whether or not to access the input / output module.
JP31580293A 1993-11-24 1993-11-24 I / O module switching device Expired - Lifetime JP2933814B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31580293A JP2933814B2 (en) 1993-11-24 1993-11-24 I / O module switching device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31580293A JP2933814B2 (en) 1993-11-24 1993-11-24 I / O module switching device

Publications (2)

Publication Number Publication Date
JPH07147581A true JPH07147581A (en) 1995-06-06
JP2933814B2 JP2933814B2 (en) 1999-08-16

Family

ID=18069734

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31580293A Expired - Lifetime JP2933814B2 (en) 1993-11-24 1993-11-24 I / O module switching device

Country Status (1)

Country Link
JP (1) JP2933814B2 (en)

Also Published As

Publication number Publication date
JP2933814B2 (en) 1999-08-16

Similar Documents

Publication Publication Date Title
US5732027A (en) Memory having selectable output strength
US5969543A (en) Input signal interface with independently controllable pull-up and pull-down circuitry
US6690191B2 (en) Bi-directional output buffer
US5894238A (en) Output buffer with static and transient pull-up and pull-down drivers
US5600271A (en) Input signal interface with independently controllable pull-up and pull-down circuitry
US5739715A (en) Digital signal driver circuit having a high slew rate
US5361005A (en) Configurable driver circuit and termination for a computer input/output bus
US4432049A (en) Programmable mode select by reset
US5577195A (en) Semiconductor data storage device with means for protecting data upon external power supply connection and disconnection
US4236087A (en) Programmable bus driver isolation
JPH0114739B2 (en)
EP0193459B1 (en) Ttl tristate output device
US5426432A (en) IC card
US6759874B2 (en) Electronic circuit with a driver circuit
JP2933814B2 (en) I / O module switching device
US6191607B1 (en) Programmable bus hold circuit and method of using the same
EP0060851B1 (en) Non-dissipative memory system
JP2500100Y2 (en) Output data control circuit
JPH05291932A (en) Electronic circuit
KR960009050Y1 (en) Circuit for selecting floppy disk driver of computer
JPH07321627A (en) Ttl circuit
JP2530969Y2 (en) Protection circuit
JPH06149429A (en) Pull-up resistor switching circuit
JPS6027223A (en) Driver circuit
JPH0537332A (en) Buffer circuit