KR100257596B1 - Method for communicating using 3 state switch buffer and 3 state switch buffer circuit for performing the same - Google Patents

Method for communicating using 3 state switch buffer and 3 state switch buffer circuit for performing the same Download PDF

Info

Publication number
KR100257596B1
KR100257596B1 KR1019970060755A KR19970060755A KR100257596B1 KR 100257596 B1 KR100257596 B1 KR 100257596B1 KR 1019970060755 A KR1019970060755 A KR 1019970060755A KR 19970060755 A KR19970060755 A KR 19970060755A KR 100257596 B1 KR100257596 B1 KR 100257596B1
Authority
KR
South Korea
Prior art keywords
signal
data
stage switch
external device
control signal
Prior art date
Application number
KR1019970060755A
Other languages
Korean (ko)
Other versions
KR19990040395A (en
Inventor
유연식
Original Assignee
전주범
대우전자주식회사
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 전주범, 대우전자주식회사 filed Critical 전주범
Priority to KR1019970060755A priority Critical patent/KR100257596B1/en
Publication of KR19990040395A publication Critical patent/KR19990040395A/en
Application granted granted Critical
Publication of KR100257596B1 publication Critical patent/KR100257596B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • G06F13/4286Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus using a handshaking protocol, e.g. RS232C link
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Buffering arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/24Negotiation of communication capabilities

Abstract

PURPOSE: A method of communications with a three state switch is provided to separate command codes of external devices from data coming through a single line, and to provide a circuit conducting this process. CONSTITUTION: In a method of communications with a three state switch, a three state switch(200) receives an RS232 signal(110) sent through a transmission terminal(Tx) of a personal computer(100). The three state switch(200) divides, bypasses, and sends the RS232 signal(110) to a data converter(300). The external device command of the RS232 signal is sent to the external device(400) and the external device conducts the command. When the personal computer(100) receives data, the three state switch(200) receives a transmission data(A) and a switch control signal(C) from the data converter(300) and an external device command(B) from the external device. If the switch control signal is 0, the transmission data(C) of the data converter(300) is switched to the receiving terminal(Rx) of the personal computer(100). If the switch control signal is 1, the external device command(B) from the external device is switched to the receiving terminal(Rx) of the personal computer(100).

Description

3단 스위치 버퍼를 사용한 통신 방법 및 이를 수행하기 위한 회로Communication method using 3-stage switch buffer and circuit for performing the same

본 발명은 3단 스위치 버퍼를 사용한 통신 방법 및 이를 수행하기 위한 회로에 관한 것으로, 보다 상세하게는 RS232가 내장한 개인용 컴퓨터가 제어 신호에 의해 데이터 변환기 및 외부 장치와 통신하기 위해 3단 스위치부를 사용하여 동시에 송수신하기 위한 3단 스위치 버퍼를 사용한 통신 방법 및 이를 수행하기 위한 회로에 관한 것이다.The present invention relates to a communication method using a three-stage switch buffer and a circuit for performing the same. More specifically, a personal computer having RS232 uses a three-stage switch unit to communicate with a data converter and an external device by a control signal. The present invention relates to a communication method using a three-stage switch buffer for simultaneous transmission and reception, and a circuit for performing the same.

도 1a 내지 1b는 종래의 RS232와 RS485신호의 경로를 나타낸 도면이다.1A to 1B are diagrams showing paths of conventional RS232 and RS485 signals.

종래의 RS232는 대잡음 특성이 나쁘므로, 이를 차동 증폭기를 사용하여 개선한 것이 RS422 혹은 RS485이다. 상기 RS-232C는 도 1a에 도시한 바와 같이 접지(GND)가 송수신 공통으로 되어 있으나, RS422 혹은 RS485는 도 1b에 도시한 바와 같이 양자 모두 차동형으로 되어 있으므로 입력되는 차동 신호 전압의 차이만이 의미를 가지게 되므로 대잡음 특성이 크게 개선된다. 이에 따라, 최대 전송 거리도 길어져서 RS232의 경우는 약 30m 정도이나 RS422 혹은 RS485의 경우는 1.5Km 정도로 된다. 또한, RS232는 주로 실내 통신용으로 일대일(Point-to-point) 통신에 사용되고 RS422 혹은 RS485는 원거리 통신용의 일대다(Point-to-multipoint) 통신에 사용된다.Since conventional RS232 has a large noise characteristic, it is RS422 or RS485 which is improved by using a differential amplifier. In the RS-232C, as shown in FIG. 1A, the ground (GND) is common to transmit and receive. However, since RS422 or RS485 are both differential types as shown in FIG. Since it has a large noise characteristic is greatly improved. As a result, the maximum transmission distance is also long, which is about 30 m for RS232 and about 1.5 km for RS422 or RS485. In addition, RS232 is mainly used for point-to-point communication for indoor communication and RS422 or RS485 is used for point-to-multipoint communication for telecommunication.

종래의 RS232를 사용하는 시스템은 컴퓨터에서 프린터간에 비동기(Asynchronous) 데이타 통신을 하는 일대일 통신과 컴퓨터에서 터미널간의 RS232를 이용한 예에 적용하여 컴퓨터로부터 나온 디지털 데이타를 프린터 혹은 단말기로 데이타를 일대일로 통신한다. RS232는 컴퓨터에서 프린터로 데이타를 주고 받을 때 혹은 컴퓨터와 터미널 사이에 RS232를 사용하여 데이타를 전송한다.Conventional RS232 system uses one-to-one communication with asynchronous data communication between printers in a computer and RS232 between terminals in a computer, and digital data from the computer communicates data one-to-one to a printer or a terminal. . RS232 uses RS232 to transfer data from a computer to a printer or between a computer and a terminal.

RS232와 RS485는 컴퓨터 통신의 표준 프로토콜인 OSI(Open System Interconnection) 7 계층 중에 최하위인 1 계층의 물리 계층(Physical Layer)에 해당하며 컴퓨터 등의 데이타 터미널 장비(DTE : Data Terminal Equipment) 및 모뎀 등의 데이타 통신 장비(DCE : Data Communication Equipment)와 데이타 통신 기능을 수행한다. 상기 RS232C의 일반적인 특징은 표 1과 같이 도시된다.RS232 and RS485 correspond to the Physical Layer (Layer 1), the lowest of the 7 standard OSI (Open System Interconnection) layers, which are standard protocols for computer communication, and include Data Terminal Equipment (DTE) such as computers and modems. It performs data communication function with data communication equipment (DCE). General features of the RS232C are shown in Table 1.

내용/ 구분Content / Category RS-232CRS-232C 발표 년도Announcement year 1969. 8(1981. 6개정)Aug. 1969 (August 1981 revised) 기계적 스펙Mechanical specifications IS 2110 (not Rec)IS 2110 (not Rec) 전기적 스펙Electrical specification CCITT V.28호환CCITT V.28 compatible 논리적 스펙Logical specification CCITT V.24CCITT V.24 모 드mode Single-endedSingle-ended driver 수driver number 1 개One receiver 수receiver number 1 개One pin 수pin number 25 pin25 pin 최대 전송 속도Transmission speed 20 Kbps20 Kbps 최대 전송 거리Transmission distance 20 ft(15 m)∼30m20 ft (15 m) to 30 m 신호 레벨Signal level +3 ∼ +25V-3 ∼ -25V+3 to + 25V-3 to -25V

따라서, 상기한 종래의 개인용 컴퓨터의 수신 단자(Rx)에서 개인용 컴퓨터 주변장치인 외부 장치와 RS232와 RS485 데이터 변환기간의 송신을 적절하게 제어하여 데이터 송수신이 어려운 문제점이 존재한다.Accordingly, there is a problem that data transmission and reception are difficult by appropriately controlling transmission between an external device as a personal computer peripheral device and an RS232 and RS485 data converter at the reception terminal Rx of the conventional personal computer.

본 발명은 상기한 점을 감안하여 종래 기술의 문제점을 개선하기 위해 안출한 것으로, 본 발명의 제1 목적은 개인용 컴퓨터로부터 같은 라인으로 들어오는 외부 장치 명령 코드와 데이타의 분리 인식하기 위한 3단 스위치 버퍼의 통신 방법을 제공하는 것이다.SUMMARY OF THE INVENTION In view of the above, the present invention has been made to solve the problems of the prior art, and a first object of the present invention is a three-stage switch buffer for separating and recognizing external device command codes and data coming into the same line from a personal computer. It is to provide a communication method.

본 발명의 제2 목적은 상기한 방법을 수행하는데 특히 적합한 3단 스위치 버퍼를 이용한 회로를 제공하는 것이다.It is a second object of the present invention to provide a circuit using a three stage switch buffer which is particularly suitable for carrying out the above method.

도 1a 내지 1b는 종래의 RS232와 RS485신호의 경로를 나타낸 도면이다.1A to 1B are diagrams showing paths of conventional RS232 and RS485 signals.

도 2a 내지 2b는 본 발명의 일 실시예에 따른 개인용 컴퓨터, RS232를 RS485로 변환하는 데이터 변환기 및 외부 장치간의 3단 스위치를 사용한 통신 회로 및 3단 스위치부의 기능을 나타낸다.2A to 2B illustrate the functions of a three-stage switch unit and a communication circuit using a three-stage switch between a personal computer, a data converter for converting RS232 to RS485, and an external device according to an embodiment of the present invention.

<도면의 주요부분에 대한 부호의 설명><Description of the symbols for the main parts of the drawings>

Tx : 송신 단자 Rx : 수신 단자Tx: Transmit Terminal Rx: Receive Terminal

100 : RS232를 내장한 개인용 컴퓨터 200 : 3단 스위치부100: personal computer with RS232 200: 3-stage switch unit

210 : 제1 3단 스위치(Three State Switch) 220 : 인버터(Inverter)210: first three-state switch 220: inverter

230 : 제2 3단 스위치 400 : 외부 장치230: second three-stage switch 400: external device

300 : RS232를 RS485 신호로 변환하는 데이터 변환기300: data converter to convert RS232 to RS485 signal

상기한 본 발명의 제1 목적을 실현하기 위하여, 본 발명은In order to realize the first object of the present invention described above, the present invention

(a) 송신시 송신 단자로부터 RS232 신호의 데이타를 제공하고, 수신시 수신 단자에서 같은 라인으로 외부 장치 명령과 데이터를 입력받기 위한 단계;(a) providing data of an RS232 signal from a transmitting terminal at the time of transmission and receiving external device commands and data on the same line at the receiving terminal at the time of reception;

(b) 수신시 상기 RS232 신호의 데이터를 입력받아 분기 및 바이패스하여 상기 RS232 신호의 데이터를 제공하고, 송신시 송신 데이터, 0 또는 1의 3단 스위치 제어 신호 및 외부 장치 명령을 입력받아 상기 3단 스위치 제어 신호가 0이면 3단 스위칭되어 상기 송신 데이터를 출력하고, 상기 3단 스위치 제어 신호가 1이면 3단 스위칭되어 상기 외부 장치 명령을 출력하는 단계;(b) When receiving, the data of the RS232 signal is input and branched and bypassed to provide the data of the RS232 signal, and when transmitting, the transmission data, a three-stage switch control signal of 0 or 1, and an external device command are received. Outputting the transmission data by three-stage switching when the switch control signal is 0 and outputting the external device command by three-stage switching when the three-stage switch control signal is 1;

(c) 수신시 상기 RS232 신호의 데이타를 수신 단자에서 입력받아 RS232신호를 RS485신호로 변환하여 RS485 신호를 제공하고, 송신시 RS485신호가 RS232 신호로 역변환되어 송신 단자로부터 송신 데이터 및 0 또는 1의 상기 3단 스위칭 제어 신호를 제공하기 위한 RS232신호를 RS485신호로 변환하는 기능을 수행하는 단계; 및(c) When receiving, the data of the RS232 signal is inputted from the receiving terminal to convert the RS232 signal into an RS485 signal to provide an RS485 signal, and when transmitting, the RS485 signal is inversely converted into an RS232 signal to transmit data and 0 or 1 from the transmitting terminal. Converting an RS232 signal into an RS485 signal for providing the three-stage switching control signal; And

(d) 수신시 상기 RS232 신호의 데이터를 수신 단자에서 입력받아 해당 명령을 실행하고, 송신시 송신 단자로부터 외부 장치 명령을 제공하는 단계로 이루어지는 것을 특징으로 하는 3단 스위치 버퍼를 사용한 통신 방법을 제공한다.(d) receiving the data of the RS232 signal at a receiving terminal when receiving and executing a corresponding command, and providing an external device command from a transmitting terminal when transmitting, providing a communication method using a three-stage switch buffer. do.

상기한 본 발명의 제2 목적을 실현하기 위하여, 본 발명은In order to realize the second object of the present invention described above, the present invention

송신시 송신 단자(Tx)로부터 RS232 신호의 데이타(110)를 제공하고, 수신시 수신 단자(Rx)에서 같은 라인으로 외부 장치 명령과 데이터를 입력받기 위한 RS232가 내장된 개인용 컴퓨터(100);A personal computer 100 having built-in RS232 for providing data 110 of an RS232 signal from a transmitting terminal Tx at the time of transmission and receiving external device commands and data on the same line at the receiving terminal Rx at the time of reception;

수신시 상기 RS232 신호의 데이터(110)를 입력받아 분기 및 바이패스하여 상기 RS232 신호의 데이터(110)를 제공하고, 송신시 송신 데이터(A), 0 또는 1의 3단 스위치 제어 신호(C) 및 외부 장치 명령(B)을 입력받아 상기 3단 스위치 제어 신호(C)가 0이면 3단 스위칭되어 상기 송신 데이터(A)를 출력하고, 상기 3단 스위치 제어 신호(C)가 1이면 3단 스위칭되어 상기 외부 장치 명령(B)을 출력하기 위한 3단 스위치부(200);When receiving, the data 110 of the RS232 signal is input and branched and bypassed to provide the data 110 of the RS232 signal, and when transmitting, the transmission data A, a three-stage switch control signal C of 0 or 1 And an external device command (B) is input, and when the three-stage switch control signal (C) is 0, three stages are switched to output the transmission data (A), and when the three-stage switch control signal (C) is one, three stages. A three-stage switch unit 200 that is switched to output the external device command B;

수신시 상기 RS232 신호의 데이타(110)를 수신 단자(Rx)에서 입력받아 RS232신호를 RS485신호로 변환하여 RS485 신호(301)를 제공하고, 송신시 RS485신호가 RS232 신호로 역변환되어 송신 단자(Tx)로부터 송신 데이터(A) 및 0 또는 1의 상기 3단 스위칭 제어 신호(C)를 제공하기 위한 RS232신호를 RS485신호로 변환하는 기능을 수행하는 데이타 변환기(300); 및When receiving, the data 110 of the RS232 signal is inputted from the receiving terminal Rx to convert the RS232 signal into an RS485 signal to provide an RS485 signal 301, and during transmission, the RS485 signal is converted into an RS232 signal in reverse to transmit the terminal Tx. A data converter 300 for converting an RS232 signal for providing transmission data A and the three-stage switching control signal C of 0 or 1 into an RS485 signal; And

수신시 상기 RS232 신호의 데이터(110)를 수신 단자(Rx)에서 입력받아 해당 명령을 실행하고, 송신시 송신 단자(Tx)로부터 외부 장치 명령(B)을 제공하기 위한 프린터, 키보드, 마우스, 스캐너 등의 개인용 컴퓨터의 주변 장치로 구성된 외부 장치(400)로 이루어지는 것을 특징으로 하는 3단 스위치 버퍼를 사용한 통신 회로를 제공한다.Printer, keyboard, mouse, scanner to receive the data 110 of the RS232 signal from the receiving terminal (Rx) to execute the command, and to provide an external device command (B) from the transmitting terminal (Tx) at the time of transmission. Provided is a communication circuit using a three-stage switch buffer comprising an external device 400 configured as a peripheral device of a personal computer.

본 발명에 의하면, 개인용 컴퓨터에서 데이타 송신시 개인용 컴퓨터 송신 단자(Tx)로부터 전송된 상기 RS232 신호의 데이터를 3단 스위치부에서 입력받아 분기 및 바이패스하여 상기 RS232 신호의 데이터는 데이터 변환기로 제공하고, 상기 RS232 신호의 외부 장치 명령은 외부 장치로 제공하며, 데이터 수신시 3단 스위치부에서 송신 데이터, 0 또는 1의 3단 스위치 제어 신호 입력받고 외부 장치에서 외부 장치 명령을 입력받아 상기 3단 스위치 제어 신호가 0이면 3단 스위칭되어 데이터 변환기의 송신 데이터를 개인용 컴퓨터의 수신 단자(Rx)로 제공하고, 상기 3단 스위치 제어 신호가 1이면 3단 스위칭되어 외부 장치로부터 입력된 상기 외부 장치 명령을 상기 개인용 컴퓨터의 수신 단자(Rx)로 제공한다.According to the present invention, when transmitting data in a personal computer, the data of the RS232 signal transmitted from the personal computer transmission terminal (Tx) is input from the three-stage switch unit, branched and bypassed, and the data of the RS232 signal is provided to the data converter. The external device command of the RS232 signal is provided to an external device, and when the data is received, the three-stage switch receives a data transmission signal, a three-stage switch control signal of 0 or 1, and receives an external device command from an external device. If the control signal is 0, it is switched in three stages to provide transmission data of the data converter to the receiving terminal Rx of the personal computer. If the three-stage switch control signal is one, it is switched in three stages to receive the external device command inputted from an external device. It is provided to the receiving terminal Rx of the personal computer.

따라서, 개인용 컴퓨터의 수신 단자로 같은 라인으로 들어오는 RS232와 RS485 신호의 데이타 변환기의 데이터와 외부 장치 명령 코드를 3단 스위치부를 사용하여 분리 인식하여 개인용 컴퓨터에서 정확한 데이터를 처리할 수 있다.Accordingly, the data of the data converters of the RS232 and RS485 signals and the external device command codes coming into the same line as the receiving terminal of the personal computer can be separated and recognized using the three-stage switch unit, so that the personal computer can process the correct data.

이하, 첨부한 도면을 참조하여 본 발명의 일 실시예를 통해 본 발명을 보다 상세하게 설명한다.Hereinafter, the present invention will be described in more detail with reference to the accompanying drawings.

도 2a 내지 2b는 본 발명의 일 실시예에 따른 개인용 컴퓨터, RS232를 RS485로 변환하는 데이터 변환기 및 외부 장치간의 3단 스위치를 사용한 통신 회로 및 3단 스위치부의 기능을 나타낸다.2A to 2B illustrate the functions of a three-stage switch unit and a communication circuit using a three-stage switch between a personal computer, a data converter for converting RS232 to RS485, and an external device according to an embodiment of the present invention.

도 2a의 상기 개인용 컴퓨터와 데이타 변환기와 회로도는 개인용 컴퓨터(100), 3단 스위치부(200), 데이터 변환기(300) 및 외부 장치(400)로 구성된다.The personal computer, data converter, and circuit diagram of FIG. 2A include a personal computer 100, a three-stage switch unit 200, a data converter 300, and an external device 400.

상기 개인용 컴퓨터(100)는 RS232가 내장된 개인용 컴퓨터로서 송신시 송신 단자(Tx)로부터 RS232 신호의 데이타(110)를 제공하고, 수신시 수신 단자(Rx)에서 같은 라인으로 외부 장치 명령(B)과 데이터(A)를 입력받는다.The personal computer 100 is a personal computer with a built-in RS232, which provides data 110 of an RS232 signal from a transmitting terminal Tx at the time of transmission, and receives an external device command B on the same line at the receiving terminal Rx when receiving. And data (A) are input.

상기 3단 스위치부(200)는 제1 3단 스위치(210), 인버터(220) 및 제2 3단 스위치로 구성된다.The three stage switch unit 200 includes a first three stage switch 210, an inverter 220, and a second three stage switch.

상기 3단 스위치부(200)는 수신시 상기 RS232 신호의 데이터(110)를 입력받아 분기 및 바이패스하여 상기 RS232 신호의 데이터(110)를 제공하고, 송신시 송신 데이터(A), 0 또는 1의 3단 스위치 제어 신호(C) 및 외부 장치 명령(B)을 입력받아 상기 3단 스위치 제어 신호(C)가 0이면 3단 스위칭되어 상기 송신 데이터(A)를 출력하고, 상기 3단 스위치 제어 신호(C)가 1이면 3단 스위칭되어 상기 외부 장치 명령(B)을 출력한다.The three-stage switch unit 200 receives the data 110 of the RS232 signal upon reception and branches and bypasses the data 110 to provide the data 110 of the RS232 signal, and transmits data A, 0 or 1 when transmitting. When the three-stage switch control signal (C) and the external device command (B) of the three-stage switch control signal (C) is 0, the three-stage switching to output the transmission data (A), the three-stage switch control If the signal C is 1, it is switched in three stages to output the external device command B.

상기 제1 3단 스위치(210)는 상기 송신 데이터(A) 및 상기 3단 스위치 제어 신호(C)를 입력받아 상기 3단 스위치 제어 신호(C)가 0이면 상기 송신 데이터(A)를 제공하고, 상기 3단 스위치 제어 신호가 1이면 하이 임피던스가 되어 데이터를 통과시키지 않는다.The first three-stage switch 210 receives the transmission data A and the three-stage switch control signal C and provides the transmission data A when the three-stage switch control signal C is 0. When the three-stage switch control signal is 1, the signal is high impedance and data is not passed.

상기 인버터(220)는 상기 3단 스위치 제어 신호(C)를 입력받아 상기 3단 스위치 제어 신호가 0이면 1로, 1이면 0으로 인버팅하여 인버팅된 3단 스위치 제어 신호를 제공한다.The inverter 220 receives the three-stage switch control signal C and inverts the three-stage switch control signal to 1 if 0 and to 0 if 1 to provide an inverted three-stage switch control signal.

상기 제2 3단 스위치(230)는 상기 인버팅된 3단 스위치 제어 신호 및 상기 외부 장치 명령을 입력받아 상기 제1 3단 스위치(210)로 제공되는 3단 스위치 제어 신호의 반대값이 제공되어 상기 인버팅된 3단 스위치 제어 신호가 0이면 하이 임피던스가 되어 상기 외부 장치 명령(B)을 통과시키지 않고, 상기 인버팅된 3단 스위치 제어 신호가 1이면 상기 외부 장치 명령(B)을 제공한다.The second three-stage switch 230 receives the inverted three-stage switch control signal and the external device command and is provided with an opposite value of the three-stage switch control signal provided to the first three-stage switch 210. If the inverted three-stage switch control signal is 0, it becomes high impedance and does not pass the external device command B. If the inverted three-stage switch control signal is 1, the external device command B is provided. .

상기 데이타 변환기(300)는 수신시 상기 RS232 신호의 데이타(110)를 수신 단자(Rx)에서 입력받아 RS232신호를 RS485신호로 변환하여 RS485 신호(301)를 제공하고, 송신시 RS485신호가 RS232 신호로 역변환되어 송신 단자(Tx)로부터 송신 데이터(A) 및 0 또는 1의 상기 3단 스위칭 제어 신호(C)를 제공하기 위한 RS232신호를 RS485신호로 변환하는 기능을 수행한다.The data converter 300 receives the data 110 of the RS232 signal at the receiving terminal Rx and converts the RS232 signal into an RS485 signal to provide an RS485 signal 301 when receiving the RS485 signal. And converts the RS232 signal to the RS485 signal for providing the transmission data A and the three-stage switching control signal C of 0 or 1 from the transmission terminal Tx.

상기 외부장치부(400)는 수신시 상기 RS232 신호의 데이터(110)를 수신 단자(Rx)에서 입력받아 해당 명령을 실행하고, 송신시 송신 단자(Tx)로부터 외부 장치 명령(B)을 제공하기 위한 프린터, 키보드, 마우스, 스캐너 등의 개인용 컴퓨터의 주변 장치로 구성된다.The external device unit 400 receives the data 110 of the RS232 signal from the receiving terminal Rx when receiving, executes a corresponding command, and provides an external device command B from the transmitting terminal Tx when transmitting. It consists of peripheral devices for personal computers such as printers, keyboards, mice, scanners.

결과적으로, 개인용 컴퓨터(100)에서 데이타 송신시 개인용 컴퓨터(100)의 송신 단자(Tx)로부터 전송된 상기 RS232 신호의 데이터(110)를 3단 스위치부(200)에서 입력받아 분기 및 바이패스하여 상기 RS232 신호의 데이터(110)는 데이터 변환기(300)로 제공하고, 상기 RS232 신호의 외부 장치 명령은 외부 장치(400)로 제공하여 해당 기능을 수행하고, 개인용 컴퓨터(100)에서 데이터 수신시 3단 스위치부(200)에서 송신 데이터(A), 0 또는 1의 3단 스위치 제어 신호(C)를 상기 데이터 변환기(300)에서 입력받고 외부 장치(400)에서 외부 장치 명령(B)을 입력받아 상기 3단 스위치 제어 신호(C)가 0이면 3단 스위칭되어 데이터 변환기(300)의 송신 데이터(C)를 개인용 컴퓨터(100)의 수신 단자(Rx)로 제공하고, 상기 3단 스위치 제어 신호(C)가 1이면 3단 스위칭되어 외부 장치(400)로부터 입력된 상기 외부 장치 명령(B)을 상기 개인용 컴퓨터(100)의 수신 단자(Rx)로 제공한다.As a result, the data 110 of the RS232 signal transmitted from the transmitting terminal Tx of the personal computer 100 is received from the three-stage switch unit 200 when the data is transmitted from the personal computer 100, and branched and bypassed. The data 110 of the RS232 signal is provided to the data converter 300, and the external device command of the RS232 signal is provided to the external device 400 to perform a corresponding function, and when receiving data from the personal computer 100, However, the switch unit 200 receives the transmission data A, the three-stage switch control signal C of 0 or 1 from the data converter 300, and receives the external device command B from the external device 400. When the three-stage switch control signal C is 0, the three-stage switch is switched to provide the transmission data C of the data converter 300 to the receiving terminal Rx of the personal computer 100, and the three-stage switch control signal ( If C) is 1, three-stage switching is input from the external device 400. Provides the external device the command (B) to a receiving terminal (Rx) of the personal computer 100.

따라서, 상기 구성에 의하면 개인용 컴퓨터로부터 같은 라인으로 들어오는 RS232와 RS485 신호의 데이타 변환기의 데이터와 외부 장치 명령 코드를 분리 인식하여 개인용 컴퓨터에서 정확한 데이터를 처리할 수 있다.Therefore, according to the above configuration, the data of the data converters of the RS232 and RS485 signals coming from the personal computer on the same line and the external device command codes can be separately recognized to process the correct data in the personal computer.

상술한 바와 같이, 본 발명에 의하면, 개인용 컴퓨터로부터 같은 라인으로 들어오는 RS232와 RS485 신호의 데이타 변환기의 데이터와 외부 장치 명령을 분리 인식하여 3단 스위치를 사용하여 동시에 같은 라인으로 데이터를 받아 송수신할 수 있게 된다.As described above, according to the present invention, the data and the external device command of the data converter of RS232 and RS485 signals coming from the personal computer on the same line can be separately recognized to receive and transmit data on the same line at the same time using a three-stage switch. Will be.

상기에서는 본 발명의 바람직한 실시예를 참조하여 설명하였지만, 해당 기술 분야의 숙련된 당업자는 하기의 특허 청구의 범위에 기재된 본 발명의 사상 및 영역으로부터 벗어나지 않는 범위내에서 본 발명을 다양하게 수정 및 변경시킬 수 있음을 이해할 수 있을 것이다.Although the above has been described with reference to a preferred embodiment of the present invention, those skilled in the art will be variously modified and changed within the scope of the present invention without departing from the spirit and scope of the invention described in the claims below. I can understand that you can.

Claims (3)

(a) 송신시 송신 단자로부터 RS232 신호의 데이타를 제공하고, 수신시 수신 단자에서 같은 라인으로 외부 장치 명령과 데이터를 입력받기 위한 단계;(a) providing data of an RS232 signal from a transmitting terminal at the time of transmission and receiving external device commands and data on the same line at the receiving terminal at the time of reception; (b) 수신시 상기 RS232 신호의 데이터를 입력받아 분기 및 바이패스하여 상기 RS232 신호의 데이터를 제공하고, 송신시 송신 데이터, 0 또는 1의 3단 스위치 제어 신호 및 외부 장치 명령을 입력받아 상기 3단 스위치 제어 신호가 0이면 3단 스위칭되어 상기 송신 데이터를 출력하고, 상기 3단 스위치 제어 신호가 1이면 3단 스위칭되어 상기 외부 장치 명령을 출력하는 단계;(b) When receiving, the data of the RS232 signal is input and branched and bypassed to provide the data of the RS232 signal, and when transmitting, the transmission data, a three-stage switch control signal of 0 or 1, and an external device command are received. Outputting the transmission data by three-stage switching when the switch control signal is 0 and outputting the external device command by three-stage switching when the three-stage switch control signal is 1; (c) 수신시 상기 RS232 신호의 데이타를 수신 단자에서 입력받아 RS232신호를 RS485신호로 변환하여 RS485 신호를 제공하고, 송신시 RS485신호가 RS232 신호로 역변환되어 송신 단자로부터 송신 데이터 및 0 또는 1의 상기 3단 스위칭 제어 신호를 제공하기 위한 RS232신호를 RS485신호로 변환하는 기능을 수행하는 단계; 그리고(c) When receiving, the data of the RS232 signal is inputted from the receiving terminal to convert the RS232 signal into an RS485 signal to provide an RS485 signal, and when transmitting, the RS485 signal is inversely converted into an RS232 signal to transmit data and 0 or 1 from the transmitting terminal. Converting an RS232 signal into an RS485 signal for providing the three-stage switching control signal; And (d) 수신시 상기 RS232 신호의 데이터를 수신 단자에서 입력받아 해당 명령을 실행하고, 송신시 송신 단자로부터 외부 장치 명령을 제공하는 단계로 이루어지는 것을 특징으로 하는 3단 스위치 버퍼를 사용한 통신 방법.(d) receiving the data of the RS232 signal from a receiving terminal at the time of reception, executing a corresponding command, and providing an external device command from the transmitting terminal at the time of transmission; 송신시 송신 단자(Tx)로부터 RS232 신호의 데이타(110)를 제공하고, 수신시 수신 단자(Rx)에서 같은 라인으로 외부 장치 명령과 데이터를 입력받기 위한 RS232가 내장된 개인용 컴퓨터(100);A personal computer 100 having built-in RS232 for providing data 110 of an RS232 signal from a transmitting terminal Tx at the time of transmission and receiving external device commands and data on the same line at the receiving terminal Rx at the time of reception; 수신시 상기 RS232 신호의 데이터(110)를 입력받아 분기 및 바이패스하여 상기 RS232 신호의 데이터(110)를 제공하고, 송신시 송신 데이터(A), 0 또는 1의 3단 스위치 제어 신호(C) 및 외부 장치 명령(B)을 입력받아 상기 3단 스위치 제어 신호(C)가 0이면 3단 스위칭되어 상기 송신 데이터(A)를 출력하고, 상기 3단 스위치 제어 신호(C)가 1이면 3단 스위칭되어 상기 외부 장치 명령(B)을 출력하기 위한 3단 스위치부(200);When receiving, the data 110 of the RS232 signal is input and branched and bypassed to provide the data 110 of the RS232 signal, and when transmitting, the transmission data A, a three-stage switch control signal C of 0 or 1 And an external device command (B) is input, and when the three-stage switch control signal (C) is 0, three stages are switched to output the transmission data (A), and when the three-stage switch control signal (C) is one, three stages. A three-stage switch unit 200 that is switched to output the external device command B; 수신시 상기 RS232 신호의 데이타(110)를 수신 단자(Rx)에서 입력받아 RS232신호를 RS485신호로 변환하여 RS485 신호(301)를 제공하고, 송신시 RS485신호가 RS232 신호로 역변환되어 송신 단자(Tx)로부터 송신 데이터(A) 및 0 또는 1의 상기 3단 스위칭 제어 신호(C)를 제공하기 위한 RS232신호를 RS485신호로 변환하는 기능을 수행하는 데이타 변환기(300); 및When receiving, the data 110 of the RS232 signal is inputted from the receiving terminal Rx to convert the RS232 signal into an RS485 signal to provide an RS485 signal 301, and during transmission, the RS485 signal is converted into an RS232 signal in reverse to transmit the terminal Tx. A data converter 300 for converting an RS232 signal for providing transmission data A and the three-stage switching control signal C of 0 or 1 into an RS485 signal; And 수신시 상기 RS232 신호의 데이터(110)를 수신 단자(Rx)에서 입력받아 해당 명령을 실행하고, 송신시 송신 단자(Tx)로부터 외부 장치 명령(B)을 제공하기 위한 프린터, 키보드, 마우스, 스캐너 등의 개인용 컴퓨터의 주변 장치로 구성된 외부 장치(400)로 이루어지는 것을 특징으로 하는 3단 스위치 버퍼를 사용한 통신 회로.Printer, keyboard, mouse, scanner to receive the data 110 of the RS232 signal from the receiving terminal (Rx) to execute the command, and to provide an external device command (B) from the transmitting terminal (Tx) at the time of transmission. A communication circuit using a three-stage switch buffer comprising an external device (400) configured as a peripheral device of a personal computer. 제2항에 있어서, 3단 스위치부(200)는The method of claim 2, wherein the three-stage switch unit 200 상기 송신 데이터(A) 및 상기 3단 스위치 제어 신호(C)를 입력받아 상기 3단 스위치 제어 신호(C)가 0이면 상기 송신 데이터(A)를 제공하고, 상기 3단 스위치 제어 신호가 1이면 하이 임피던스가 되어 데이터를 통과시키지 않는 제1 3단 스위치(210);When the three-stage switch control signal (C) is received and the three-stage switch control signal (C) is 0, the transmission data (A) is provided. A first three stage switch 210 that becomes high impedance and does not pass data; 상기 3단 스위치 제어 신호(C)를 입력받아 상기 3단 스위치 제어 신호가 0이면 1로, 1이면 0으로 인버팅하여 인버팅된 3단 스위치 제어 신호를 제공하기 위한 인버터(220); 그리고An inverter (220) for receiving the three-stage switch control signal (C) and providing an inverted three-stage switch control signal by inverting the three-stage switch control signal to 1 if it is 0 and to 0 if it is 1; And 상기 인버팅된 3단 스위치 제어 신호 및 상기 외부 장치 명령을 입력받아 상기 제1 3단 스위치(210)로 제공되는 3단 스위치 제어 신호의 반대값이 제공되어 상기 인버팅된 3단 스위치 제어 신호가 0이면 하이 임피던스가 되어 상기 외부 장치 명령(B)을 통과시키지 않고, 상기 인버팅된 3단 스위치 제어 신호가 1이면 상기 외부 장치 명령(B)을 제공하기 위한 제2 3단 스위치(230)로 이루어지는 것을 특징으로 하는 3단 스위치 버퍼를 사용한 통신 회로.An inverted value of the three-stage switch control signal provided to the first three-stage switch 210 by receiving the inverted three-stage switch control signal and the external device command is provided to provide the inverted three-stage switch control signal. 0 means high impedance and does not pass the external device command B. If the inverted 3-step switch control signal is 1, the second 3-step switch 230 provides the external device command B. Communication circuit using a three-stage switch buffer, characterized in that.
KR1019970060755A 1997-11-18 1997-11-18 Method for communicating using 3 state switch buffer and 3 state switch buffer circuit for performing the same KR100257596B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970060755A KR100257596B1 (en) 1997-11-18 1997-11-18 Method for communicating using 3 state switch buffer and 3 state switch buffer circuit for performing the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970060755A KR100257596B1 (en) 1997-11-18 1997-11-18 Method for communicating using 3 state switch buffer and 3 state switch buffer circuit for performing the same

Publications (2)

Publication Number Publication Date
KR19990040395A KR19990040395A (en) 1999-06-05
KR100257596B1 true KR100257596B1 (en) 2000-06-01

Family

ID=19524958

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970060755A KR100257596B1 (en) 1997-11-18 1997-11-18 Method for communicating using 3 state switch buffer and 3 state switch buffer circuit for performing the same

Country Status (1)

Country Link
KR (1) KR100257596B1 (en)

Also Published As

Publication number Publication date
KR19990040395A (en) 1999-06-05

Similar Documents

Publication Publication Date Title
CA2219360A1 (en) Single-chip software configurable transceiver for asymmetric communication system
KR100463886B1 (en) Bidirectional signal transmission system and interface device
GB2302467A (en) Optical communications link
KR100257596B1 (en) Method for communicating using 3 state switch buffer and 3 state switch buffer circuit for performing the same
KR20010047406A (en) Communication device using infrared ray for mobile communication system
JPH06224976A (en) Interface conversion circuit for half duplex serial transmission
CN217821324U (en) Communication circuit
KR200331434Y1 (en) Matching Device in Bus for High Speed Digital Signal
KR100352851B1 (en) voice subscriber unit of the FLC transferring system
JPH06338778A (en) Bidirectional optical coupler
KR950002114Y1 (en) Interface circuit
CN207976877U (en) Data transmission system
KR920006553B1 (en) Data communications system
JP2000232412A (en) Optical transmission system/method
KR19990027760A (en) Data preparation signal control method of data converter between RS232 and RS485
KR20030049153A (en) Antenna switch
KR100336511B1 (en) Apparatus for data terminal in ISDN
KR100234056B1 (en) Modem-embeded-typed cordless telephone system
KR100202993B1 (en) Conjunction apparatus between two connectors
KR810002002Y1 (en) Power transmitter of two lines and binary data
KR0181132B1 (en) Signal switching apparatus
KR20230094483A (en) EHF wireless data communication control system
KR950003902Y1 (en) Port interface circuit using in two or more ways
KR20020082645A (en) Apparatus for transferring data of an ic card device
KR19990048034A (en) Transceiver using radio frequency system

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20110302

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee