KR0127877Y1 - Communication system with rs-485/rs-232 converter - Google Patents

Communication system with rs-485/rs-232 converter

Info

Publication number
KR0127877Y1
KR0127877Y1 KR2019930003557U KR930003557U KR0127877Y1 KR 0127877 Y1 KR0127877 Y1 KR 0127877Y1 KR 2019930003557 U KR2019930003557 U KR 2019930003557U KR 930003557 U KR930003557 U KR 930003557U KR 0127877 Y1 KR0127877 Y1 KR 0127877Y1
Authority
KR
South Korea
Prior art keywords
transmission
inverted
signal
plc
transmission path
Prior art date
Application number
KR2019930003557U
Other languages
Korean (ko)
Other versions
KR940023702U (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 KR2019930003557U priority Critical patent/KR0127877Y1/en
Publication of KR940023702U publication Critical patent/KR940023702U/en
Application granted granted Critical
Publication of KR0127877Y1 publication Critical patent/KR0127877Y1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/544Setting up communications; Call and signalling arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/56Circuits for coupling, blocking, or by-passing of signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Communication Control (AREA)

Abstract

RS-232의 규격을 따르는 통신장치와 RS-485의 규격을 따르는 통신장치가 혼합되어 있는 통신 시스템에 RS-485와 RS-232의 규격에 따르는 통신장치 사이 혹은 RS-232와 RS-485의 규격에 따르는 통신장치 사이의 연결을 가능하게 하기 위하여, RS-232의 규격에 따르는 통신장치와 RS-485의 규격에 따르는 통신장치가 혼합되어 있는 PLC 통신 네트워크에 있어서, 데이터 처리장치에서 입력된 전송신호를 신호변환하고 신호의 전송효율을 높이기 위해 반전과 비반전의 전송신호(RS-485(+), RS-485(-))를 CRS-485측 전송로상으로 출력시키거나 RS-485측 전송로에서 입력된 반전과 비반전의 전송신호(RS-485(+), (RS-485(-))를 신호변환하여 데이터 처리장치로 출력시키는 RS-485 드라이버부(10)와; 상기 RS-485측 전송로에서 입력된 반전과 비반전 전송신호(RS-485(+), (RS-485(-))를 신호변환하여 RS-232측 전송로로 출력시키거나 상기 RS-232측 전송로에서 입력된 전송신호를 반전과 비반전 전송신호로 신호 변환하여 상기 RS-485측 전송로로 출력시키는 RS-485 드라이버부(21)와 RS-232 드라이버부(22)로 구성된 컨버터부(20)와; 상기 RS-232측 전송로에서 입력된 전송신호를 신호변환하여 데이터 처리장치로 출력시키거나 데이터 처리장치로부터 입력된 전송신호를 신호변환하여 상기 RS-232측 전송로로 출력시키는 RS-232 드라이버부(30)로 구성되어짐을 특징으로 하는 RS-485/RS-232 컨버터를 구비한 PLC 통신 네트워크에 관한 것.In a communication system where a communication device conforming to the specification of RS-232 and a communication device conforming to the specification of RS-485 are mixed, between the communication device conforming to the specification of RS-485 and RS-232 or the specification of RS-232 and RS-485 In a PLC communication network in which a communication device conforming to the RS-232 standard and a communication device conforming to the RS-485 standard are mixed in order to enable a connection between the communication devices conforming to the present invention, a transmission signal input from the data processing device. In order to convert the signal and improve the transmission efficiency of the signal, output the inverted and non-inverted transmission signals (RS-485 (+), RS-485 (-)) on the CRS-485 side transmission path or transmit the RS-485 side. RS-485 driver unit 10 for converting the inverted and non-inverted transmission signals (RS-485 (+), (RS-485 (-))) inputted from the furnace into signals and outputting them to the data processing apparatus; RS-232 by converting the inverted and non-inverted transmission signals (RS-485 (+), (RS-485 (-))) input from the 485 side transmission path RS-485 driver 21 and RS- outputting to a transmission path or converting a transmission signal input from the RS-232 transmission path into an inverted and non-inverted transmission signal and outputting the signal to the RS-485 transmission path. A converter unit 20 comprising a 232 driver unit 22 and converting the transmission signal input from the RS-232 transmission path to be output to a data processing apparatus or by converting the transmission signal input from the data processing apparatus And an RS-232 driver unit (30) for outputting the transmission path to the RS-232 side.

Description

알에스-485/알에스-232 컨버터를 구비한 피엘씨 통신 네트워크PRC communication network with RS-485 / RS-232 converter

제1도는 이 고안의 실시예에 RS-485/RS-232 컨버터를 구비한 PLC 통신 네트워크의 구성 블록도이고,1 is a configuration block diagram of a PLC communication network having an RS-485 / RS-232 converter in an embodiment of the present invention,

제2도는 이 고안의 실시예에 따른 RS-485/RS-232 컨버터를 구비한 PLC 통신 네트워크의 각 부분 동작파형도이다.2 is a partial waveform diagram of each part of a PLC communication network having an RS-485 / RS-232 converter according to an embodiment of the present invention.

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

10 : PLC측 RS-485 드라이버부 20 : 컨버터부10: PLC side RS-485 driver part 20: converter part

30 : 컴퓨터측 RS-232 드라이버부 21 : RS-485 드라이버부30: computer side RS-232 driver section 21: RS-485 driver section

22 : RS-232 드라이버부 1 : 출력드라이브22: RS-232 driver unit 1: output drive

2 : 입력 리시브 3 : 출력 드라이브2: input receive 3: output drive

4 : 입력 리시브4: input receive

이 고안은 산업용 제어기기인 PLC(Programmable Logic Controller)의 통신장치에 관한 것으로, 더욱 상세하게 말하자면 알에스-485(이하 'RS-485'라 한다)의 규격을 따르는 통신장치와 알에스-232(이하 'RS-232'라 한다)의 규격을 따르는 통신장치를 연결하여 서로 통신할 수 있도록 하는 RS-485/RS-232 컨버터를 구비한 PLC 통신 네트워크에 관한 것이다.The present invention relates to a communication device of a PLC (Programmable Logic Controller), which is an industrial control device. The present invention relates to a PLC communication network having an RS-485 / RS-232 converter that connects communication devices conforming to the specification of RS-232) to communicate with each other.

산업용 제어기기로 사용되고 있는 PLC는 입출력장치와, 입력된 프로그램과 피드백으로 기계나 프로세서 작업을 제어하는 장치이다. 상기의 동작을 하는 PLC는 외부의 컴퓨터로부터 프로그램이나 기타 제어명령을 읽어들이거나 다른 PLC에 제어명령을 전달할 목적으로 PLC의 중앙처리장치(Central Processing Unit) 모듈내에 외부와의 통신을 위한 통신장치를 가지고 있다.The PLC used as an industrial controller is an input / output device and a device that controls a machine or a processor by input and program. The above-described PLC operates a communication device for communication with the outside in the central processing unit module of the PLC for reading a program or other control command from an external computer or transferring the control command to another PLC. Have.

상기한 PLC가 외부와의 통신을 위하여 많이 사용하고 있는 장치중에 RS-232드라이버(Driver)와 RS-485 드라이버가 있다. 통상적으로 상기한 PLC가 외부의 컴퓨터 또는 터미널장치와 프로그램과 기타 데이터를 입출력할 목적을 가질 때에는 RS-232의 규격에 따른 드라이버를 주로 사용하고, 다른 PLC와 데이터를 통신할 목적을 가질 때에는 RS-485의 규에 따른 드라이버를 주로 사용한다.Among the devices that the PLC uses for communication with the outside are RS-232 driver and RS-485 driver. Normally, when the PLC has the purpose of inputting / outputting an external computer or terminal device, programs and other data, the driver mainly uses the RS-232 standard. When the PLC has the purpose of communicating data with another PLC, RS- Mainly use driver according to the specification of 485.

한편, 상기한 RS-232와 RS-485는 통신규격이 서로 다르기 때문에 사용자가 외부의 호스트 컴퓨터에 의해 제어되는 PLC 네트워크를 구현하기 위해서는, 각각의 PLC내에 각 PLC가 호스트 컴퓨터와 통신하기 위한 RS-232 드라이버와 PLC 간의 통신을 위한 RS-485 드라이버를 모두 구비해야 한다.On the other hand, since RS-232 and RS-485 have different communication standards, in order for a user to implement a PLC network controlled by an external host computer, RS-232 for each PLC to communicate with the host computer in each PLC may be used. All RS-485 drivers for communication between the 232 driver and the PLC should be provided.

그러나, RS-232 드라이버는 RS-485 드라이버에 비해 가격이 높기 때문에 이를 고려해야 할 필요가 있다. 즉, 상기와 같이 RS-232와 RS-485 드라이버를 모두 구비한 PLC는 두 드라이버중에서 하나의 드라이버만 필요로 하는 사용자에게는 비용이 많이 드는 단점이 있다.However, RS-232 drivers are more expensive than RS-485 drivers and need to be considered. That is, a PLC having both RS-232 and RS-485 drivers as described above has a disadvantage in that a user who needs only one driver among the two drivers is expensive.

그리고, 이미 RS-485의 규격에 따라 구성된 통신 네트워크에 RS-232의 규격에 따르는 통신장치를 접목하거나 RS-232의 규격에 따라 구성된 통신 네트워크에 RS-485의 규격에 따르는 통신장치를 접목시킬 필요가 있는 경우에 그 설치가 용이하지 않다.In addition, it is necessary to connect a communication device conforming to the RS-232 standard to a communication network already configured according to the RS-485 standard or to connect a communication device conforming to the RS-485 standard to a communication network configured according to the RS-232 standard. If there is an installation is not easy.

그러므로, 이 고안의 목적은 종래의 단점을 해결하기 위한 것으로 RS-232의 규격에 따른 통신장치와 RS-485의 규격에 따르는 통신장치가 혼합되어 있는 통신 네트워크에 RS-485와 RS-232의 규격에 따르는 통신장치 사이 혹은 RS-232와 RS-485의 규격에 따르는 통신장치 사이의 연결을 가능하게 하는 RS-485/RS-232 컨버터를 구비한 통신시스템을 제공하고자 하는데 있다.Therefore, the object of the present invention is to solve the disadvantages of the prior art, and the RS-485 and RS-232 standards in a communication network in which a communication device according to the RS-232 standard and a communication device according to the RS-485 standard are mixed. It is an object of the present invention to provide a communication system having an RS-485 / RS-232 converter that enables connection between communication devices according to the present invention or between communication devices conforming to the standards of RS-232 and RS-485.

상기의 목적을 달성하고자 하는 이 고안의 구성은,The constitution of this invention to achieve the above object,

RS-232의 규격에 따른는 통신장치와 RS-485의 규격에 따르는 통신장치가 혼합되어 있는 PLC 통신 네트워크에 있어서,In a PLC communication network in which a communication device according to the standard of RS-232 and a communication device according to the standard of RS-485 are mixed,

데이터 처리장치에서 입력된 전송신호를 신호변환하고 신호의 전송효율을 높이기 위해 반전과 비반전의 전송신호(RS-485(+), CRS-485(-))를 RS-485측 전송로상으로 출력시키거나 RS485측 전송로에서 입력된 반전과 비반전의 전송신호(RS-485(+), RS-485(-))를 신호변환하여 데이터 처리장치로 출력시키는 RS-485 드라이버부(10)와;Inverting and non-inverting transmission signals (RS-485 (+), CRS-485 (-)) are transferred onto the RS-485 transmission path to convert the signals transmitted from the data processing device and improve the transmission efficiency of the signals. RS-485 driver unit 10 for outputting or converting the inverted and non-inverted transmission signals (RS-485 (+), RS-485 (-)) input from the RS485-side transmission path and outputting them to the data processing device Wow;

상기 RS-485측 전송로에서 입력된 반전과 비반전 전송신호CRS-485(+), RS-485(-))를 신호변환하여 RS-232측 전송로로 출력시키거나 상기 RS-232측 전송로에서 입력된 전송신호를 반전과 비반전 전송신호롤 신호변환하여 상기 RS-485측 전송로로 출력시키는 RS-485 드라이버부(21)와 RS-232 드라이버부(22)로 구성된 컨버터부(20)와;Transmit the inverted and non-inverted transmission signals CRS-485 (+) and RS-485 (-) input from the RS-485 transmission path and output them to the RS-232 transmission path or transmit the RS-232 transmission Converter unit 20 composed of an RS-485 driver 21 and an RS-232 driver 22 for converting the transmission signal input from the furnace into a reverse and non-inverted transmission signal and outputting the signal to the RS-485 transmission path. )Wow;

상기 RS-232측 전송로에서 입력된 전송신호를 신호변환하여 데이터 처리장치로 출력시키거나 데이터 처리장치로서 입력된 전송신호를 신호변환하여 상기 RS-232측 전송로로 출력시키는 RS-232 드라이버부(30)로 이루어진다.RS-232 driver unit converts the transmission signal input from the RS-232 side transmission path and outputs the signal to a data processing device or converts the transmission signal input as a data processing device and outputs the signal to the RS-232 side transmission path. It consists of 30.

상기 구성에 의한 이 고안을 용이하게 실시할 수 있는 바람직한 실시예를 첨부된 도면을 참조로 하여 설명하면 다음과 같다.When described with reference to the accompanying drawings a preferred embodiment that can easily implement this invention by the above configuration as follows.

제1도는 이 고안에 따른 RS-485/RS-232 컨버터를 구비한 통신시스템의 실시예의 구성 블록도이다.1 is a block diagram of an embodiment of a communication system having an RS-485 / RS-232 converter according to the present invention.

제1도에 도시되어 있듯이 RS-485/RS-232 컨버터를 구비한 통신시스템의 구성은, PLC의 중앙처리장치와 입출력하며 외부의 전송로와 입출력하는 PLC측 RS-485 드라이버부(10)와; 상기 PLC측 전송로와 입출력하는 RS-485 드라이버부(21)와 상기 드라이버부(21)와 내부적으로 입출력하며 외부의 컴퓨터측 전송로와 입출력하는 RS-232 드라이버부(22)로 조합된 컨버터부(20)와; 상기 컴퓨터측의 전송로와 입출력하며 컴퓨터의 중앙처리장치와 입출력하는 컴퓨터측 RS-232 드라이버부(30)로 이루어진다.As shown in FIG. 1, a communication system including an RS-485 / RS-232 converter includes a PLC-side RS-485 driver unit 10 which inputs and outputs to and from an external transmission path and inputs and outputs to and from a central processing unit of a PLC. ; Converter unit combined with RS-485 driver unit 21 for input / output with the PLC side transmission path and RS-232 driver unit 22 with input / output with the external computer side transmission path 20; It consists of a computer-side RS-232 driver unit 30 for inputting and outputting to and from the transmission path of the computer side and the computer central processing unit.

상기 구성에서 PLC측 RS-485 드라이버부(10)와 컨버터부(20)내에 있는 RS-485 드라이버부(21)는TTL(Transistor-Transistor Logic)레벨의 신호를 RS-485레벨로 변환시키는 출력 드라이브(1)와 RS-485 레벨의 신호를 TTL 레벨로 변환시키는 입력 리시브(2)로 조합되며 컨버터부(20)내에 있는 RS-232 드라이버부(22)와 컴퓨터측 RS-232 드라이버부(30)는 TTL 레벨의 신호를 RS-232 레벨로 변환시키는 출력 드라이브(3)와 RS-232 레벨의 신호를 TTL 레벨로 변환시키는 입력 리시브(4)로 조합된다.In the above configuration, the RS-485 driver section 10 in the PLC side and the RS-485 driver section 21 in the converter section 20 convert an output signal of a TTL (Transistor-Transistor Logic) level to an RS-485 level. RS-232 driver section 22 and computer-side RS-232 driver section 30 in the converter section 20 combined with an input receiver 2 for converting a signal of the RS-485 level to a TTL level (1). Is combined with an output drive 3 for converting a TTL level signal to an RS-232 level and an input receiver 4 for converting an RS-232 level signal to a TTL level.

한편, 제1도에서 PLC측 RS-485 드라이버부(10)와 컨버터부(20)내의 RS-485 드라이버부(21)를 구현하기 위한 칩으로 NS(National Semiconductor) 75176이나 TI(Texas Instruments) 75176을 사용하였고, 컨버터부(20)내의 RS-232 드라이버부(22)와 컴퓨터측 RS-232 드라이버부(30)를 구현하기 위한 칩으로 MAX232나 LTC1081을 사용하였으나, 이 고안의 기술적 범위는 여기에 한정하지 않는다.Meanwhile, in FIG. 1, a chip for implementing the RS-485 driver unit 10 in the PLC side and the RS-485 driver unit 21 in the converter unit 20 is NS (National Semiconductor) 75176 or TI (Texas Instruments) 75176. Although the chip is used to implement the RS-232 driver section 22 and the computer-side RS-232 driver section 30 in the converter section 20, the MAX232 or the LTC1081 is used. It is not limited.

상기 구성에 의한 RS-485/RS-232 컨버터를 구비한 통신시스템의 작용은 다음과 같다.The operation of the communication system having the RS-485 / RS-232 converter by the above configuration is as follows.

이 고안의 실시예에 따른 RS-485/RS-232 컨버터를 구비한 통신시스템은 반이중 쌍방향성 통신방식으로서 어느 방향으로나 송수신이 가능하나, 송신과 수신이 동시에 진행될 수는 없다. 따라서 상기 통신시스템은 전송신호를 PLC측 RS-485 드라이버부(10)에서 송신하여 컨버터부(20)를 거쳐 컴퓨터측 RS-232 드라이버부(30)로 전송시키거나 컴퓨터측 RS-232 드라이버부(30)에서 송신하여 컨버터부(20)를 거쳐 PLC측 RS-485 드라이버부(10)로 전송한다.A communication system having an RS-485 / RS-232 converter according to an embodiment of the present invention is a half-duplex bidirectional communication system, which can transmit and receive in any direction, but cannot transmit and receive simultaneously. Therefore, the communication system transmits the transmission signal from the PLC side RS-485 driver unit 10 to the computer side RS-232 driver unit 30 via the converter unit 20 or through the computer side RS-232 driver unit ( 30 is transmitted to the PLC-side RS-485 driver unit 10 via the converter unit 20.

먼저, PLC측 RS-485 드라이버부(10)에서 신호를 송신하는 경우에 대해서 설명하면, PLC의 중앙처리장치에서 출력된 전송신호(DI)는 PLC측 RS-485 드라이버부(10)로 입력되고 상기 입력신호는 제2도의 (c)와 같은 파형을 보인다. 한편, PLC의 중앙처리장치는 전송신호(DI)와 함께 상기 PLC측 RS-485 드라이버부(10)내의 출력 드라이브(1)와 입력 리시브(2)를 제어할 제어신호(RS-485SEL)를 출력한다.First, a case in which a signal is transmitted from the PLC side RS-485 driver unit 10 will be described. The transmission signal DI output from the central processing unit of the PLC is input to the PLC side RS-485 driver unit 10. The input signal shows a waveform as shown in FIG. On the other hand, the central processing unit of the PLC outputs a control signal (RS-485SEL) for controlling the output drive (1) and the input receive (2) in the PLC-side RS-485 driver unit 10 together with the transmission signal (DI). do.

상기 PLC의 중앙처리장치에서 출력하는 제어신호(RS-485SEL)는 PLC측 RS-485 드라이버부(10) 의 출력 드라이브(1)와 입력 리시브(20)를 제어하는 제2도의 (a)의 파형과 컨버터부(20)내의 RS-485 드라이버부(21)의 출력 드라이브(1)와 입력 리시브92) 제어할 제2도의 (b)의 파형이다.The control signal RS-485SEL output from the central processing unit of the PLC is the waveform of FIG. 2A to control the output drive 1 and the input receiver 20 of the PLC-side RS-485 driver unit 10. And (b) of FIG. 2 to control the output drive 1 and the input receive 92 of the RS-485 driver section 21 in the converter section 20. FIG.

PLC측 RS-485 드라이버부(10)는 상기 제2도의 (a)의 파형을 나타내는 제어신호에 의해 출력 드라이브(1)는 구동시키고 입력 리시브(2)는 구동시키지 않는다. 따라서, 전송신호는 상기 출력 드라이브(1)에 의해 RS-485의 전송로로 출력되는데 이때 출력 드라이브는(1)는 신호의 전송효율을 높이기 위해 반전과 비반전의 신호(RS-485(+), RS-485(-))를 출력시킨다.The PLC-side RS-485 driver unit 10 drives the output drive 1 and does not drive the input receiver 2 by the control signal representing the waveform of Fig. 2A. Therefore, the transmission signal is output to the transmission path of the RS-485 by the output drive (1), where the output drive (1) is the inverted and non-inverted signal (RS-485 (+) to increase the transmission efficiency of the signal) , RS-485 (-)) is outputted.

PLC측 RS-485 드라이버부(10)의 출력 드라이브(1)가 출력시키는 반전과 비반전의 전송신호(RS-485(+), RS-485(-))는 제2도의 (d)와 (e)의 파형으로서 상기 출력 드라이브(1)에 의해 TTL레벨에서 RS-485 레벨로 신호변환된 신호이다.The inverted and non-inverted transmission signals RS-485 (+) and RS-485 (-) output by the output drive 1 of the PLC-side RS-485 driver unit 10 are shown in FIGS. The waveform of e) is the signal signal-converted from the TTL level to the RS-485 level by the output drive 1.

컨버터부(20)내의 RS-485 드라이버부(21)는 전송신호와 함께 입력된 제2도의 (b)의 제어신호에 의해 제어되는데, 입력 리시브(2)는 구동되고 출력 드라이브(1)는 구동되지 않는다. 따라서, 컨버터부(20)내의 상기 입력 리시브(2)는 입력받은 RS-485 레벨의 전송신호를 TTL 레벨로 신호변환하여 RS-232 드라이버부(22)의 출력 드라이브(3)에 출력시킨다. 상기 입력 리시브(2)에 의해 출력되는 파형은 제2도의 (f)와 같다.The RS-485 driver 21 in the converter section 20 is controlled by the control signal of Fig. 2 (b) input together with the transmission signal, where the input receiver 2 is driven and the output drive 1 is driven. It doesn't work. Accordingly, the input receiver 2 in the converter unit 20 converts the received RS-485 level transmission signal into a TTL level and outputs the signal to the output drive 3 of the RS-232 driver unit 22. The waveform output by the input receiver 2 is as shown in FIG.

컨버터부(20)내의 RS-485 드라이버부(21)에서 출력하는 신호를 입력받는 RS-232 드라이버부(22)는 내부의 출력 드라이브(3)에 의해 TTL 레벨의 전송신호를 RS-232 레벨로 변환하여 RS-232의 전송로 상으로 출력시킨다. 상기 출력 드라이브(3)에 의해 출력되는 파형은 제2도의 (f)와 같다.The RS-232 driver 22 receiving the signal output from the RS-485 driver 21 in the converter 20 converts the TTL level transmission signal to the RS-232 level by the internal output drive 3. It is converted and output on the transmission line of RS-232. The waveform output by the output drive 3 is as shown in FIG.

컨버터부(20)에서 출력된 전송신호는 RS-232의 전송로를 통해 컴퓨터측 RS-232 드라이브부(31)의 입력 리시브(4)에 입력된다. 상기 입력 리시브(4)는 RS-232 레벨의 전송신호를 TTL 레벨로 신호변환하는데 그 파형은 제2도의 (h)와 같다.The transmission signal output from the converter unit 20 is input to the input receiver 4 of the computer-side RS-232 drive unit 31 through the RS-232 transmission path. The input receiver 4 converts the transmission signal of the RS-232 level to the TTL level, the waveform of which is as shown in FIG.

이상으로, PLC측 RS-485 드라이버부(10)에서 출력된 신호가 컴퓨터측 RS-232 드라이버부(30)로 전송되는 것을 살펴보았고 다음은 반대의 전송과정에 대하여 알아보겠다.As described above, the signal output from the PLC side RS-485 driver unit 10 is transmitted to the computer side RS-232 driver unit 30. Next, the reverse transmission process will be described.

먼저, 컴퓨터측에서 신호를 보내기 전에 PLC의 중앙처리장치에서 PLC측 RS-485 드라이버부(10)와 컨버터부(20)의 RS-485 드라이버부(21)를 제어하기 위한 제어신호(RS-485SEL)를 생성하여 출력시키는데, 그 제어신호는 제2도의 (a)와 (b)의 파형과 같다.First, the control signal RS-485SEL for controlling the RS-485 driver unit 10 of the PLC side and the RS-485 driver unit 21 of the converter unit 20 in the central processing unit of the PLC before sending a signal from the computer side. ) Is generated and outputted, the control signal being the same as the waveforms of (a) and (b) of FIG.

컴퓨터에서 보내고자 하는 전송신호(TD)는 제2도의 (c)와 같은 파형인데, 상기 전송신호는 컴퓨터측 RS-232 드라이버부(30)의 출력 드라이브(3)에 입력되어 상기 출력 드라이브(3)에 의해 TTL레벨에서 RS-232레벨로 신호변환되어 RS-232의 전송로로 출력된다. 이때의 출력 파형은 제2도의 (d)와 같다.The transmission signal TD to be sent from the computer is a waveform as shown in (c) of FIG. 2, and the transmission signal is inputted to the output drive 3 of the computer-side RS-232 driver unit 30, and the output drive 3 ) Is converted from TTL level to RS-232 level and output to RS-232 transmission path. The output waveform at this time is as shown in FIG.

상기 RS-232의 전송로를 통해 전송된 신호는 컨버터부(20)의 RS-232 드라이버부(22)내의 입력 리시브(4)에 입력된다. 상기 입력 리시브(4)는 입력된 RS-232 레벨의 전송신호를 TTL레벨로 신호변환하여 컨버터부(20)내의 RS-485 드라이버부(21)에 출력하는데 그 출력파형은 제2도의 (e)와 같다.The signal transmitted through the transmission path of the RS-232 is input to the input receiver 4 in the RS-232 driver section 22 of the converter section 20. The input receiver 4 converts the input transmission signal of the RS-232 level into the TTL level and outputs the signal to the RS-485 driver 21 in the converter 20. The output waveform is shown in FIG. Same as

컨버터부(20)내의 RS-485 드라이버부(21)는 PLC에서 입력받은 제어신호에 따라 제어되며 그 제어신호는 제2도의 (b)의 파형이다. 상기 제어신호에 따라 RS-485 드라이버부(21)의 출력 드라이브(1) 구동되고 입력 리시브(2)는 구동되지 않는다.The RS-485 driver 21 in the converter unit 20 is controlled according to the control signal input from the PLC, and the control signal is the waveform of FIG. In response to the control signal, the output drive 1 of the RS-485 driver unit 21 is driven and the input receiver 2 is not driven.

따라서, RS-232 드라이버부(22)에서 RS-485 드라이버부(21)로 입력된 전송신호는 상기 출력 드라이브(1)에 의해 TTL 레벨에서 RS-485 레벨로 신호변환되어 출력되는데, 이때 출력 드라이브(10)는 신호의 전송효율을 높이기 위해 반전과 비반전의 신호(RS-485(+), RS-485(-))를 출력한다. 그 출력신호는 각각 제2도의 (f)와 (g)의 파형을 보인다.Accordingly, the transmission signal input from the RS-232 driver unit 22 to the RS-485 driver unit 21 is signal-transformed from the TTL level to the RS-485 level by the output drive 1 and outputted. 10 outputs inverted and non-inverted signals RS-485 (+) and RS-485 (-) to increase the transmission efficiency of the signals. The output signal shows the waveforms of (f) and (g) in FIG. 2, respectively.

PLC측 RS-485 드라이버부(10)도 PLC의 중앙처리장치에서 출력된 제어신호에 의해 제어되는데, 그 제어신호는 제2도의 (a)와 같은 파형이다. 상기 제어신호에 의해 PLC측 RS-485 드라이버부(10)의 입력 리시브(2)는 구동되고 출력 드라이브(1)는 구동되지 않는다.The PLC-side RS-485 driver section 10 is also controlled by a control signal output from the central processing unit of the PLC, and the control signal is a waveform as shown in FIG. By the control signal, the input receiver 2 of the PLC-side RS-485 driver unit 10 is driven and the output drive 1 is not driven.

따라서, RS-485의 전송로를 통해 PLC측 RS-485 드라이버부(10)로 전송된 반전과 비반전의 전송신호(RS-485(+), RS-485(-))는 상기 입력 리시브(2)에 의해 RS-485의 레벨에서 TTL레벨로 신호변환하여 PLC의 중앙처리장치로 출력된다. 그리고 그 출력신호(RO)는 제2도의 (h)와 같은 파형을 보인다.Therefore, the inverted and non-inverted transmission signals RS-485 (+) and RS-485 (-) transmitted to the PLC-side RS-485 driver unit 10 through the transmission path of RS-485 are connected to the input receiver ( 2) converts the signal from RS-485 level to TTL level and outputs it to the central processing unit of PLC. The output signal RO shows a waveform as shown in FIG.

이상과 같이 살펴본 RS-485/RS-232 컨버터를 구비한 통신시스템의 실시예에서, 상기 통신시스템은 RS-485의 규격을 따르는 통신장치와 RS-232의 규격을 따르는 통신장치 사이의 통신을 가능하게 된다.In an embodiment of a communication system having an RS-485 / RS-232 converter as described above, the communication system enables communication between a communication device conforming to the RS-485 standard and a communication device conforming to the RS-232 standard. Done.

따라서, 이 고안에 따른 RS-485/RS-232 컨버터를 구비한 통신시스템은 PLC의 중앙처리장치내에 RS-485의 규격에 따른 드라이버부나 RS-232의 규격에 따른 드라이버부중에 하나만 장치하면, 통신이 가능하도록 하여 PLC 사용자로 하여금 경비를 절감하도록 하며, RS-485 혹은 RS-232만의 단일 규격에 따른 통신 네트워크에 각각 RS-232나 RS-485의 규격에 따른 통신장치를 부가시키고자 할 경우에 그 설치를 간편하게 하며, 상기 통신시스템내의 RS-485/RS-232 컨버터의 회로구현을 간단하게 하여 상품화하기 용이한 효과를 제공한다.Therefore, a communication system equipped with an RS-485 / RS-232 converter according to the present invention requires only one of the driver unit according to the RS-485 standard and the driver unit according to the RS-232 standard installed in the central processing unit of the PLC. This enables PLC users to reduce costs and to add a communication device according to RS-232 or RS-485 standard to a communication network based on a single standard of RS-485 or RS-232 only. The installation is simplified, and the circuit implementation of the RS-485 / RS-232 converter in the communication system is simplified to provide an effect that is easy to commercialize.

Claims (1)

RS-232의 규격에 따르는 통신장치와 RS-485의 규격에 따르는 통신장치가 혼합되어 있는 PLC 통신 네트워크에 있어서, 데이터 처리장치에서 입력된 전송신호를 신호변환하고 신호의 전송효율을 높이기 위해 반전과 비반전의 전송신호(RS-485(+), RS-485(-))를 RS-485측 전송로상으로 출력시키거나 RS-485측 전송로에서 입력된 반전과 비반전의 전송신호(RS-485(+), RS-485(-))를 신호변환하여 데이터 처리장치로 출력시키는 RS-485 드라이버부(10)와; 상기 RS-485측 전송로에서 입력된 반전과 비반전 전송신호(RS-485(+), RS-485(-))를 신호변환하여 RS-232측 전송로로 출력시키거나 상기 RS-232측 전송로에서 입력된 전송신호를 반전과 비반전 전송신호로 신호변환하여 상기 RS-485측 전송로로 출력시키는 RS-485 드라이버부(21)와 RS-232 드라이버부(22)로 구성된 컨버터부(20); 상기 RS-232측 전송로에서 입력된 전송신호를 신호변환하여 데이터 처리장치로 출력시키거나 데이터 처리장치로부터 입력된 전송신호를 신호변환하여 상기 RS-232측 전송로로 출력시키는 RS-232 드라이버부(30)로 구성되어짐을 특징으로 하는 RS-485/RS-232 컨버터를 구비한 PLC 통신 네트워크.In a PLC communication network in which a communication device conforming to the RS-232 standard and a communication device conforming to the RS-485 standard are mixed, a signal is converted in order to convert the transmission signal input from the data processing device and to increase the transmission efficiency of the signal. Non-inverted transmission signal (RS-485 (+), RS-485 (-)) is output on the RS-485 side transmission path or inverted and non-inverted transmission signal (RS) RS-485 driver unit 10 for converting the signal -485 (+), RS-485 (-)) to the data processing device; The inverted and non-inverted transmission signals (RS-485 (+), RS-485 (-)) input from the RS-485 side transmission path are converted into signals and output to the RS-232 side transmission path or the RS-232 side Converter unit consisting of RS-485 driver unit 21 and RS-232 driver unit 22 for converting the transmission signal input from the transmission path into the inverted and non-inverted transmission signal to output to the RS-485 side transmission path ( 20); RS-232 driver unit converts the transmission signal input from the RS-232 side transmission path to a data processing device or converts the transmission signal input from the data processing device to the RS-232 transmission path PLC communication network with an RS-485 / RS-232 converter, characterized in that it consists of (30).
KR2019930003557U 1993-03-11 1993-03-11 Communication system with rs-485/rs-232 converter KR0127877Y1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR2019930003557U KR0127877Y1 (en) 1993-03-11 1993-03-11 Communication system with rs-485/rs-232 converter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR2019930003557U KR0127877Y1 (en) 1993-03-11 1993-03-11 Communication system with rs-485/rs-232 converter

Publications (2)

Publication Number Publication Date
KR940023702U KR940023702U (en) 1994-10-22
KR0127877Y1 true KR0127877Y1 (en) 1998-11-02

Family

ID=19351896

Family Applications (1)

Application Number Title Priority Date Filing Date
KR2019930003557U KR0127877Y1 (en) 1993-03-11 1993-03-11 Communication system with rs-485/rs-232 converter

Country Status (1)

Country Link
KR (1) KR0127877Y1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101065657B1 (en) * 2011-02-08 2011-09-19 주식회사 한국씨씨에스 Lens control converter and lens control system having the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101065657B1 (en) * 2011-02-08 2011-09-19 주식회사 한국씨씨에스 Lens control converter and lens control system having the same

Also Published As

Publication number Publication date
KR940023702U (en) 1994-10-22

Similar Documents

Publication Publication Date Title
JPH09224390A (en) Motor control network
US5978877A (en) Translating SCSI bus control and/or data signals between differential and single-ended formats
KR0127877Y1 (en) Communication system with rs-485/rs-232 converter
US5694557A (en) Time multiplexing address and data on an existing PC parallel port
JPH0669911A (en) Data transmission circuit
KR940008106B1 (en) Multi-station transmitting converter
JPH03255515A (en) Signal converter
KR940006651Y1 (en) Internal modem apparatus
JPS61147332A (en) Code converter
JP3091011B2 (en) Signal line connection device
KR100493267B1 (en) PSTN, ISDN common interface device
JPH01118903A (en) Nc device
KR100218363B1 (en) Data line sharing circuit
KR920008607A (en) Computer system with interface of selector board for system expansion function
KR930009006B1 (en) Signal transmission device of elevator
KR970014001A (en) I ^ 2C protocol communication apparatus
KR0123720B1 (en) Data printing method
KR950010948B1 (en) Apparatus and method for relaying data in vesa local system
KR200156564Y1 (en) Serial communication device
KR910002172A (en) Multiple Communication Methods and Circuits for Unfixed Master / Slave Systems
JPH0643519U (en) Encoder
KR20080020018A (en) System on chip for controlling power line communication
JPS6121658A (en) Connection system of terminal equipment
JPH0638569A (en) Encorder signal transmitter
JP2000201199A (en) Serial line terminating device

Legal Events

Date Code Title Description
A201 Request for examination
N231 Notification of change of applicant
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
REGI Registration of establishment
FPAY Annual fee payment

Payment date: 20070724

Year of fee payment: 10

EXPY Expiration of term