JP2525185B2 - Interface circuit - Google Patents

Interface circuit

Info

Publication number
JP2525185B2
JP2525185B2 JP62140977A JP14097787A JP2525185B2 JP 2525185 B2 JP2525185 B2 JP 2525185B2 JP 62140977 A JP62140977 A JP 62140977A JP 14097787 A JP14097787 A JP 14097787A JP 2525185 B2 JP2525185 B2 JP 2525185B2
Authority
JP
Japan
Prior art keywords
signal
circuit
output
input
interface 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
JP62140977A
Other languages
Japanese (ja)
Other versions
JPS63304748A (en
Inventor
隆一 塩原
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP62140977A priority Critical patent/JP2525185B2/en
Publication of JPS63304748A publication Critical patent/JPS63304748A/en
Application granted granted Critical
Publication of JP2525185B2 publication Critical patent/JP2525185B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はインターフェース回路に関する。The present invention relates to an interface circuit.

〔従来の技術〕[Conventional technology]

従来の技術では,回路Aと回路Bを接続するための回
路A内のインターフェース回路において,回路B側の出
力信号線で,非動作時にOFF信号を示し,動作時にON信
号である信号線については,回路Aと回路Bが接続時に
は,回路A内のインターフェース回路において,回路B
側信号に従い,未接続時(すなわち入力が開放であると
き)には,OFF信号が入力されているとみなしてOFF信号
を受信する(入力端子にプルダウン抵抗を付ける)とい
うのが一般的である.そして,OFF信号の受信中は回路A
内の処理は停止され,処理の続行あるいは開始が出来な
いというのが一般的である. 〔発明が解決しようとする問題点〕 回路Aに相当する物として端末を,回路Bに相当する
物としてモデムを考えた場合を考える. ほぼ同等の機能を有するモデムは多数存在しており,
それ等はRS-232Cインターフェース回路を利用している
場合が多いが,モデムの機種によっては,使用している
RS-232C制御信号線が異なり,ある端末にとって必要な
制御信号線を必ずしも出力していない場合がある.ま
た、たとえ必要な制御信号線を出力していても,処理上
のタイミングが合致せず,端末側ではON信号を出力して
いなければ処理の続行不可能であるタイミングでOFF信
号を出力してしまうモデムもある. このようなモデムは,その端末の推奨モデムとほぼ同
等の処理シーケンスとほぼ同等の機能を有するにもかか
わらず,一部の制御信号線の不具合のために,その端末
に使用することは不可能であるという問題点が有る. 〔問題点を解決するための手段〕 本願発明のインターフェース回路は、第1の回路に第
2の回路を接続するための第1の回路に設けたインター
フェース回路において、 前記第2の回路は、非動作時にOFF信号を出力し動作
時にON信号を出力する複数の出力信号線を備えており、 前記第1の回路の所定の入力信号線に接続されるべき
前記第2の回路の所定の出力信号線が存在しない場合に
はON信号を発生し、前記所定の入力信号線と前記所定の
出力信号線の接続時には前記第2の回路からの出力信号
に従った信号を発生する信号変換手段と、 前記信号変換手段の前段に配され、前記第2の回路か
らの出力信号を遮断または通過させるためのスイッチ手
段とを備えたことを特徴とする。
In the conventional technique, in the interface circuit in the circuit A for connecting the circuit A and the circuit B, the output signal line on the circuit B side shows an OFF signal when not in operation and a signal line which is ON signal when operating. , When the circuit A and the circuit B are connected, the circuit B in the interface circuit in the circuit A
According to the side signal, when not connected (that is, when the input is open), it is generally assumed that the OFF signal is input and receives the OFF signal (attach a pull-down resistor to the input terminal). . And while receiving the OFF signal, the circuit A
It is general that the processing inside is stopped and cannot be continued or started. [Problems to be Solved by the Invention] Consider a case where a terminal is considered as an object equivalent to the circuit A and a modem is considered as an object equivalent to the circuit B. There are many modems that have almost the same functions,
In many cases, they use an RS-232C interface circuit, but depending on the model of the modem, it is used.
The RS-232C control signal lines are different, and the control signal lines required for a certain terminal may not always be output. Even if the required control signal line is output, the OFF signal is output at a timing at which processing cannot continue unless the processing timing is matched and the terminal does not output the ON signal. Some modems do. Although such a modem has almost the same processing sequence and almost the same function as the recommended modem of the terminal, it cannot be used for the terminal due to a defect of some control signal lines. There is a problem that is. [Means for Solving Problems] An interface circuit according to the present invention is an interface circuit provided in a first circuit for connecting a second circuit to a first circuit, wherein the second circuit is A plurality of output signal lines that output an OFF signal during operation and output an ON signal during operation are provided, and a predetermined output signal of the second circuit to be connected to a predetermined input signal line of the first circuit. Signal conversion means for generating an ON signal when there is no line, and for generating a signal according to the output signal from the second circuit when the predetermined input signal line and the predetermined output signal line are connected, Switch means arranged before the signal conversion means for blocking or passing an output signal from the second circuit.

〔実施例〕〔Example〕

以下に,本発明の実施例を示し説明する. 第1図は,本発明のインターフェース回路を含む機器
A(端末)と他の機器B(モデム)との接続例である.1
0が機器A(端末)11が機器B(モデム)であり,12が機
器Aと機器Bとを接続するためのインターフェース回路
であり,Bと接続するための接続用ケーブル15を接続する
コネクタ13を持つ.同様にB側にもコネクタ14がある.
このようにAとBを接続することにより相互の信号変換
をおこなうことが可能となる.また,適正な信号を送信
して,受信するのがインターフェース回路の機能であ
る. 第2図は,第1図のA内のインターフェース回路でRS
-232Cインターフェース回路の例で有り,図はその一部
である. 20は第1図のコネクタ13に対応し,21〜23は本インタ
ーフェース回路から外部機器への出力信号線を、24〜26
は外部機器からの入力信号線を示す.24〜26の入力信号
線はそれぞれ33〜35の信号変換部を経て44〜45の信号線
により50の信号処理部へ入力される.一方,50の信号処
理部の出力線40〜42は信号変換部30〜32を経て21〜23の
信号線となり外部への出力信号線となる.RS-232Cインタ
ーフェース回路の場合21〜23の出力信号線としては,送
信データ線(SD),送信要求(RS),端末レディイ(E
R)などがあり,24〜26の入力信号線としては,受信デー
タ(RD),送信要求(CS),受信キャリア検出(CD)な
どがある.30〜32の信号変換部は50の信号処理部の出力
論理がONのとき,+Vrsとなり,OFFのとき−Vrsとなる
(但し5V≦Vrs≦15V).一方,33〜35の信号変換部は,24
〜26の信号線に接続される相手側機器(第1図の場合の
B(モデム))が,+Vrsをを出力している場合には,50
の信号処理部の入力論理がONとなる信号を,−Vrsを出
力している場合はOFFである信号を入力に応じて出力
し,かつ,入力が電気的に開放状態である場合にはONで
ある信号を出力する機能を持つ. このような回路構成であると,特定の制御線が相手側
装置(モデム)から出力されていない場合であっても,
端末側のインターフェース回路では該当する信号は開放
入力となり,ON信号を受信することになる.この結果,OF
F信号を受信した場合,処理を中断あるいは中止するよ
うな端末側処理シーケンスになっている場合でも,制御
線がOFF信号受信しないので処理を開始,続行可能であ
る. 第3図が第2図の34,35の信号変換部のより具体的な
実施例である.34,35にあたるのが60であり,26の入力線
が63.45の出力線が65である.63の入力線は,62の入力線
制御部を通り,61の信号変換部へ入力される.62の入力線
制御部の機能は入力信号線の切替えを行なうもので,入
力信号を61へそのまま伝えるか,遮断するかの切替えを
行なうもので有り,機器的手段や電気的手段などの多く
の方法が考えられ,切替えの方向は容易に選択可能であ
る. 61の回路は,入力63は72の抵抗により76へ接続され77
のインバータ(入力の閾値はVcc/2とする)に接続され
る.77の入力である76と70のグランドとの間には71のダ
イオードが接続され,75の電源Vccとの間には74のダイオ
ードと73の抵抗が接続されている.61の信号変換部の機
能は,63の入力レベルが+Vrsである場合には,65の論理
がONとなる信号(この場合はGNDレベル)を,−Vrsであ
る場合はOFFである論理信号(この場合はVccレベル(=
5V))を入力に応じて出力し,かつ,入力が電気的に開
放状態である場合にはONである論理信号(この場合はGN
Dレベル)を出力する機能である(この実施例の場合65
の論理は負論理であるものとする). 具体的に説明すると,63の入力が開放である場合と62
の入力線制御部で信号遮断が選択されているときは,76
の電気レベルは73のプルアップ抵抗があるために(Vcc
−(74のダイオードドロップ電圧))となり77の出力は
GNDレベル(ON)となる.従来の技術では,73のプルアッ
プ抵抗は無く,70のGNDとの間にプルダウン抵抗が有り,
入力が開放である場合77の出力はVccレベル(OFF)であ
った.一方,62の切替え部が連結を選択されている場合
については,63が+Vrsであると76も+Vrsとなり77の出
力はGNDレベル(ON)になり,63の入力が−Vrsであると,
70から72の抵抗を通じて電流が流れるため76はGNDレベ
ルとなり77の出力はVccレベル(OFF)になる.以上で先
の機能が実現される. 第4図は,第2図のインターフェース回路を内蔵した
端末A(50)と51,52,53のモデムB1,B2,B3との接続時に
おける考察説明図である.B1〜B3の各モデムはRS-232Cの
コネクタを持ち,RS-232Cに準拠したインターフェース回
路を内蔵しておりほぼ同等の処理ができるモデムであ
る.B1は50の端末Aの推奨モデムであり,54のケーブルを
55のコネクタに接続すると,正常な動作が可能である.
これに対し,52,53のモデムB2,B3は55のコネクタでは出
力されている制御線の内の数本が未出力であったり,51
のB1モデムと若干その処理シーケンスが異なり,制御線
の内数本が,本来B1ではON信号を出力していなければな
らないようなタイミングで一時的にOFF信号を出した
り,あるいはOFF信号出力状態が継続してしまう処理シ
ーケンスを持つモデムであるために,本発明によるイン
ターフェース回路を持たないと処理が中断,停止となる
ような異常動作をしてしまうモデムである. この様なモデムであっても、本発明によるインターフ
ェース回路を端末側に使用することにより、一時的なあ
るタイミングやある状態においては第3図の62の入力線
制御部で外部信号を遮断したり、あるいは特定のモデム
を使用する場合では、定常的に遮断して使用することに
より、端末側は該当する制御線はONであると認められる
ため、端末側は処理を続行、開始可能となるなど、B2、
B3のモデムも使用可能となるなど、B2、B3のモデムも使
用可能になる効果がある。
Examples of the present invention will be described below. FIG. 1 shows an example of connection between a device A (terminal) including the interface circuit of the present invention and another device B (modem).
0 is a device A (terminal) 11 is a device B (modem), 12 is an interface circuit for connecting the devices A and B, and a connector 13 for connecting a connection cable 15 for connecting B have. Similarly, there is a connector 14 on the B side as well.
By connecting A and B in this way, mutual signal conversion can be performed. The function of the interface circuit is to send and receive appropriate signals. Figure 2 shows the interface circuit in A of Figure 1 with RS
This is an example of a -232C interface circuit, and the figure is a part of it. 20 corresponds to the connector 13 in FIG. 1, 21 to 23 are output signal lines from this interface circuit to external equipment, and 24 to 26.
Shows the input signal lines from the external equipment. The input signal lines 24 to 26 are input to the signal processing unit 50 through the signal conversion units 33 to 35 and the signal lines 44 to 45, respectively. On the other hand, the output lines 40 to 42 of the signal processing unit of 50 become the signal lines of 21 to 23 via the signal converting units 30 to 32 and become the output signal lines to the outside.The output of 21 to 23 in the case of the RS-232C interface circuit As signal lines, send data line (SD), send request (RS), terminal ready (E
R) etc., and the input signal lines of 24 to 26 include reception data (RD), transmission request (CS), reception carrier detection (CD), etc. The signal conversion unit of 30 to 32 processes 50 signals. When the output logic of the part is ON, it becomes + Vrs, and when it is OFF, it becomes −Vrs (however, 5V ≦ Vrs ≦ 15V). On the other hand, the signal converters 33 to 35 are
If the partner device (B (modem) in Fig. 1) connected to the ~ 26 signal line outputs + Vrs, 50
Outputs a signal that turns ON the input logic of the signal processing part of the signal in response to the input when -Vrs is output, and turns it ON when the input is electrically open. It has a function to output a signal. With such a circuit configuration, even when the specific control line is not output from the partner device (modem),
In the interface circuit on the terminal side, the corresponding signal becomes an open input and an ON signal is received. As a result, OF
When the F signal is received, even if the terminal side processing sequence is such that the processing is interrupted or stopped, the control line does not receive the OFF signal, so the processing can be started and continued. FIG. 3 is a more specific embodiment of the signal conversion units 34 and 35 in FIG. 2. References 34 and 35 are 60, 26 input lines are 63.45 and output lines are 65. 63 The input line of is passed through the input line control unit of 62 and is input to the signal conversion unit of 61. The function of the input line control unit of 62 is to switch the input signal line and transmit the input signal to 61 as it is. It is a switch to switch on or off, and many methods such as instrumental means and electrical means are conceivable, and the switching direction can be easily selected. In the circuit of 61, the input 63 is connected to 76 by the resistance of 72.
It is connected to the inverter of (the input threshold is Vcc / 2). The diode of 71 is connected between the 76 input of 77 and the ground of 70, and 74 is connected between the power supply of 75 and Vcc. The diode of 73 and the resistor of 73 are connected.The function of the signal conversion unit of 61 is that when the input level of 63 is + Vrs, the signal that turns on the logic of 65 (GND level in this case) If it is −Vrs, the logic signal is OFF (in this case, Vcc level (=
5V)) according to the input, and is ON when the input is electrically open (GN in this case).
D level) output function (65 in this embodiment)
The logic of is negative logic). To be more specific, when 63 inputs are open and 62 inputs are open.
When signal cutoff is selected in the input line control section of
The electrical level of 73 has a pull-up resistance of 73 (Vcc
-(74 diode drop voltage)) and the output of 77 is
It becomes GND level (ON). In the conventional technology, there is no pull-up resistor for 73, and there is a pull-down resistor between 70 and GND.
When the input was open, the output of 77 was at Vcc level (OFF). On the other hand, when the switching unit of 62 is selected to be connected, when 63 is + Vrs, 76 also becomes + Vrs, the output of 77 becomes GND level (ON), and the input of 63 is −Vrs,
Since current flows through the resistors from 70 to 72, 76 becomes GND level and 77 output becomes Vcc level (OFF). The above functions are realized. Fig. 4 is a diagram for explaining the consideration when the terminal A (50) incorporating the interface circuit of Fig. 2 and the modems B1, B2, B3 of 51, 52, 53 are connected. It is a modem that has an RS-232C connector and has a built-in RS-232C-compliant interface circuit and can perform almost the same processing. B1 is the recommended modem for terminal A of 50, and the cable of 54 is
Normal operation is possible when connected to the 55 connector.
On the other hand, the modems B2 and B3 of 52 and 53 are not outputting some of the control lines output from the connector of 55,
The processing sequence is slightly different from that of the B1 modem, and some of the control lines temporarily output the OFF signal at the timing when the B1 should have been outputting the ON signal, or the OFF signal is output. Since it is a modem having a processing sequence that continues, it is a modem that operates abnormally such that processing is interrupted or stopped without the interface circuit according to the present invention. Even in such a modem, by using the interface circuit according to the present invention on the terminal side, the external signal is cut off by the input line control unit 62 in FIG. 3 at a temporary certain timing or in a certain state. Or, when using a specific modem, by constantly shutting off and using it, the terminal side recognizes that the corresponding control line is ON, so the terminal side can continue and start processing etc. , B2,
As the B3 modem can be used, the B2 and B3 modems can be used.

なお、本発明の実施例として端末とモデムを例として
RS-232Cインターフェースについて説明したが、本発明
が各種のインターフェースに対しても適用可能であるこ
とは申すまでもない。
As an example of the present invention, a terminal and a modem are taken as an example.
Although the RS-232C interface has been described, it goes without saying that the present invention can be applied to various interfaces.

〔発明の効果〕〔The invention's effect〕

以上詳細に説明したように、本発明のインターフェー
ス回路によると、第2の回路の制御信号に未出力のもの
があったり、第2の回路の出力制御信号が第1の回路の
処理を中断・停止させるような制御信号であっても、第
1の回路の異常動作を防ぐことができるという効果があ
る。また、第1の回路と第2の回路を接続するための接
続ケーブルは、複数の第2の回路に対して共通のもので
よいという効果がある。
As described in detail above, according to the interface circuit of the present invention, the control signal of the second circuit may not be output, or the output control signal of the second circuit may interrupt the processing of the first circuit. Even with the control signal for stopping, there is an effect that the abnormal operation of the first circuit can be prevented. Further, there is an effect that the connection cable for connecting the first circuit and the second circuit may be common to the plurality of second circuits.

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

第1図は本発明を説明するための模式図. 第2図は、第1図のA内のRS-232Cインターフェース回
路のブロック図。 第3図は第2図の34,35の信号変換部のより具体的な例
を示した回路図. 第4図は,第2図のインターフェース回路を内蔵した端
末A(50)とモデムとの接続時における考察説明図であ
る. 10……機器A(端末など) 11……機器B(モデムなど) 34,35……信号変換部 61……信号変換器 62……入力線制御部
FIG. 1 is a schematic diagram for explaining the present invention. FIG. 2 is a block diagram of the RS-232C interface circuit in A of FIG. FIG. 3 is a circuit diagram showing a more specific example of the signal conversion units 34 and 35 in FIG. FIG. 4 is a diagram for explaining consideration when connecting the terminal A (50) incorporating the interface circuit of FIG. 2 to the modem. 10 …… Device A (terminal etc.) 11 …… Device B (modem etc.) 34,35 …… Signal converter 61 …… Signal converter 62 …… Input line controller

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】第1の回路に第2の回路を接続するための
第1の回路に設けたインターフェース回路において、 前記第2の回路は、非動作時にOFF信号を出力し動作時
にON信号を出力する複数の出力信号線を備えており、 前記第1の回路の所定の入力信号線に接続されるべき前
記第2の回路の所定の出力信号線が存在しない場合には
ON信号を発生し、前記所定の入力信号線と前記所定の出
力信号線の接続時には前記第2の回路からの出力信号に
従った信号を発生する信号変換手段と、 前記信号変換手段の前段に配され、前記第2の回路から
の出力信号を遮断または通過させるためのスイッチ手段
とを 備えたことを特徴とするインターフェース回路。
1. An interface circuit provided in a first circuit for connecting a second circuit to a first circuit, wherein the second circuit outputs an OFF signal when not operating and an ON signal when operating. When a plurality of output signal lines for outputting are provided, and the predetermined output signal line of the second circuit to be connected to the predetermined input signal line of the first circuit does not exist,
A signal conversion unit that generates an ON signal and generates a signal according to the output signal from the second circuit when the predetermined input signal line and the predetermined output signal line are connected; An interface circuit which is provided and which switches means for blocking or passing the output signal from the second circuit.
JP62140977A 1987-06-05 1987-06-05 Interface circuit Expired - Lifetime JP2525185B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62140977A JP2525185B2 (en) 1987-06-05 1987-06-05 Interface circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62140977A JP2525185B2 (en) 1987-06-05 1987-06-05 Interface circuit

Publications (2)

Publication Number Publication Date
JPS63304748A JPS63304748A (en) 1988-12-13
JP2525185B2 true JP2525185B2 (en) 1996-08-14

Family

ID=15281251

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62140977A Expired - Lifetime JP2525185B2 (en) 1987-06-05 1987-06-05 Interface circuit

Country Status (1)

Country Link
JP (1) JP2525185B2 (en)

Also Published As

Publication number Publication date
JPS63304748A (en) 1988-12-13

Similar Documents

Publication Publication Date Title
US5672917A (en) Semiconductor power switch system
US6775438B1 (en) Electrical insulation device with optocoupler for bidirectional connecting lines
JPS6047531A (en) Fail-safe circuit of multiple signal transmission system
JPH08265308A (en) Method and device for fully bidirectional communication and programmable controller using the same
JP2525185B2 (en) Interface circuit
CA1270576A (en) Ic device compatible with input signals in the formats for two-line and four-line type bus lines
JP2001134346A (en) Remote power supply control circuit
US7437448B1 (en) Method and device for function selection of a control unit
JPS63304749A (en) Interface circuit
JPS58154026A (en) Error processing system of information processor
JP3045748B2 (en) Power supply switching method
JPS59202757A (en) Serial signal transmitter between electronic controllers
JPS63157615A (en) Distributed electric source system
JP2591862B2 (en) Power control signal converter
JPS62233820A (en) Termination control system
JPS6220586B2 (en)
JPH03270341A (en) Bus connection circuit
JP2708497B2 (en) Misplacement detection device for electrical components
JPH0625976B2 (en) Abnormality monitoring circuit for transmission unit for multidrop serial bus
JPS62299138A (en) Electric connecting condition selection system for data interface device
JPH01183720A (en) Control signal checking circuit
JPH05145390A (en) Photoelectric switch
JPS60178557A (en) Input and output controller
JPH0667247B2 (en) Motor abnormality signal transmission method
JPS608668B2 (en) data transmission circuit

Legal Events

Date Code Title Description
EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080531

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080531

Year of fee payment: 12