KR19990069766A - PLC communication device - Google Patents
PLC communication device Download PDFInfo
- Publication number
- KR19990069766A KR19990069766A KR1019980004214A KR19980004214A KR19990069766A KR 19990069766 A KR19990069766 A KR 19990069766A KR 1019980004214 A KR1019980004214 A KR 1019980004214A KR 19980004214 A KR19980004214 A KR 19980004214A KR 19990069766 A KR19990069766 A KR 19990069766A
- Authority
- KR
- South Korea
- Prior art keywords
- converter
- communication
- connector
- plc
- central processing
- Prior art date
Links
Landscapes
- Programmable Controllers (AREA)
- Communication Control (AREA)
Abstract
본 발명은 PLC의 통신장치에 관한 것으로, 중앙처리장치의 메인 콘트롤러에 전환스위치를 거쳐 RS232변환기와 RS485변환기에 병렬로 연결하고,The present invention relates to a communication device of a PLC, and connected in parallel to the RS232 converter and RS485 converter via a switch to the main controller of the central processing unit,
전환스위치를 통해 메인 콘트롤러에 선택적으로 연결되는 상기 RS232변환기와 RS485변환기의 타측은 컨넥터의 단자에 각각 연결하여 컨넥터에 외부 컨넥터를 접속시키는 상태에 의해 전환스위치가 전환접속되면서 RS232변환기를 이용한 통신이나 RS485변환기를 이용한 통신을 선택하도록 한 것이다.The other side of the RS232 converter and the RS485 converter, which are selectively connected to the main controller through the changeover switch, is connected to the terminal of the connector and connects an external connector to the connector. It is to select the communication using the converter.
Description
본 발명은 중앙처리장치와 입/출력 모듈 등으로 구성된 PLC에서의 통신장치에 관한 것으로, 특히 중앙처리장치의 통신포트에서 전환스위치를 통하여 RS232에 의한 통신이나 RS485에 의한 통신을 선택적으로 가능하도록 하여 통신방식을 외부 컨넥터에 의해 선택할 수 있도록 한 PLC의 통신장치에 관한 것이다.The present invention relates to a communication device in a PLC consisting of a central processing unit and an input / output module, and more particularly, to selectively enable communication by RS232 or communication by RS485 through a switch in the communication port of the central processing unit. The present invention relates to a communication device of a PLC that allows a communication method to be selected by an external connector.
일반적으로 PLC(Programable Logic Controller, 프로그램 가능 논리제어, 프로그램 가능 제어장치)는 입력, 출력, 기억, 연산 제어부를 갖추어 컴퓨터와 유사한 기능을 수행하는 시퀸스 제어장치이다.In general, a programmable logic controller (PLC) is a sequence control device that performs a function similar to a computer with an input, an output, a memory, and an operation control unit.
그리고 상기의 PLC는 산업용 제어업무에 사용되는 장치로서 높은 신뢰성과 간편한 제어 소프트웨어, 유지 보수의 간편성, 저렴한 가격 등의 특징을 갖고 있기 때문에 많은 분야에서 이용하고 있으며, 그 적용 분야로는 대, 중, 소규모의 공장자동화나 송유관 가스관의 감시제어, 각종 시퀸스제어 등에 사용되고 있다.In addition, the PLC is used in many industrial fields because it is a device used for industrial control tasks and has high reliability, simple control software, ease of maintenance, and low price. It is used for small scale factory automation, monitoring and control of oil pipeline gas pipe, and various sequence control.
즉 종래에는 도 1에 도시한 것과 같이 제어 및 연산을 수행하는 중앙처리장치(1)와,That is, the central processing unit (1) for performing the control and operation as shown in Figure 1,
외부의 입출력장치로 부터의 입력 또는 상기 중앙처리장치(1)로 부터의 출력을 인터페이스하는 입출력 인터페이스(3)와,An input / output interface 3 for interfacing input from an external input / output device or output from the central processing unit 1;
사용자의 프로그램을 입력시키기 위한 프로그램 입력장치(4)와,A program input device 4 for inputting a user program,
상기 중앙처리장치(1)로 부터의 제어신호에 따라 입출력 데이터를 저장하였다가 출력하는 메모리(2)들로 구성하여 중앙처리장치(1)에서 프로그램 입력장치(4)를 통해 입력되는 사용자 프로그램을 메모리(2)의 저장영역에 저장시킨 후 입출력 인터페이스(3)를 통해 입력되는 데이터를 메모리(2)에 저장하면서 이에 대한 연산을 수행한 후 이를 콘트롤하기 위한 제어신호를 입출력 인터페이스(3)를 통해 출력하도록 하였다.The memory 2 stores and outputs input and output data according to the control signal from the central processing unit 1, and the user program inputted through the program input device 4 in the central processing unit 1 is configured. After storing the data input through the input / output interface 3 in the storage area of the memory 2 and performing the operation on the memory 2, the control signal for controlling it through the input / output interface 3 Output.
그리고 상기 PLC의 중앙처리장치(1)는 외부의 컴퓨터에서 PLC를 프로그래밍 또는 모니터링을 하기 위한 통신포트를 연결하여 RS232나 RS485를 선택적으로 사용하고 있다.The central processing unit 1 of the PLC selectively uses RS232 or RS485 by connecting a communication port for programming or monitoring the PLC from an external computer.
그러나 상기와 같은 종래의 PLC에 의하여서는 중앙연산처리장치(1)에서 상위기기와 데이터를 전송하거나 전송받기 위한 통신포트가 RS232에 의한 통신이나 RS485에 의한 통신을 사용하는 경우에 하나의 포트에서 한가지 방식의 통신 방식만이 허용되었기 때문에 사용자의 필요에 따라 PLC에서 지원되지 않는 통신 방식으로 통신하고자 할 때는 별도의 변환장치를 PLC 외부에 부가하여야 하였고, 이 경우에는 변환장치를 추가하는 데에 따른 추가 비용이 발생함은 물론 전체 미관에도 영향을 미치며, 검증되지 않은 변환장치를 사용함에 의해 통신의 질이 저하되는 등의 단점이 있었다.However, according to the conventional PLC as described above, when the communication port for transmitting or receiving data with the host device in the central processing unit 1 uses communication by RS232 or communication by RS485, one port is used. Since only the communication method of the method is allowed, if a user wants to communicate with a communication method that is not supported by the PLC, a separate converter must be added outside the PLC. In this case, an additional converter is added. There are disadvantages such as incurring costs and affecting the overall aesthetics, and deteriorating the communication quality by using an unproven converter.
이에 따라 본 발명은 중앙처리장치의 통신포트에서 전환스위치를 통하여 RS232에 의한 통신이나 RS485에 의한 통신을 선택적으로 가능하도록 하여 통신방식의 선택을 외부 컨넥터를 통한 제어에 의해 통신방식의 선택할 수 있도록 한 PLC의 통신장치를 제공하는 것을 그 목적으로 한다.Accordingly, the present invention is to enable the communication by RS232 or RS485 communication via the switch in the communication port of the central processing unit to selectively select the communication method by the control through the external connector. It is an object to provide a communication device of a PLC.
이와 같은 목적을 달성하기 위한 본 발명은 중앙처리장치의 메인 콘트롤러에 전환스위치를 거쳐 RS232변환기와 RS485변환기에 병렬로 연결하고,The present invention for achieving the above object is connected in parallel to the RS232 converter and RS485 converter via a switch to the main controller of the central processing unit,
전환스위치를 통해 메인 콘트롤러에 선택적으로 연결되는 상기 RS232변환기와 RS485변환기의 타측은 컨넥터의 단자에 각각 연결하여 컨넥터에 외부 컨넥터를 접속시키는 상태에 의해 전환스위치가 전환접속되면서 RS232변환기를 이용한 통신이나 RS485변환기를 이용한 통신을 선택하도록 한 것이다.The other side of the RS232 converter and the RS485 converter, which are selectively connected to the main controller through the changeover switch, is connected to the terminal of the connector and connects an external connector to the connector. It is to select the communication using the converter.
도 1은 종래 PLC의 구성을 개략적으로 도시한 블럭도.1 is a block diagram schematically showing the configuration of a conventional PLC.
도 2는 본 발명의 전체적인 구성을 개략적으로 도시한 블럭도.Figure 2 is a block diagram schematically showing the overall configuration of the present invention.
도 3은 본 발명의 통신장치의 구성을 도시한 블럭도.3 is a block diagram showing the configuration of the communication apparatus of the present invention.
도 4의 (가)(나)는 본 발명의 실시예에 따른 외부 컨넥터의 구성을 나타낸Figure 4 (a) (b) shows the configuration of the external connector according to an embodiment of the present invention
개략도.schematic.
* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings
10 : 중앙처리장치 11 : 메인 콘트롤러10: central processing unit 11: main controller
12 : 베이스 플레이트 15 : 중앙처리장치측 인터페이스부12: base plate 15: central processing unit side interface
19 : 통신부 21 : 전환스위치19: communication unit 21: switching switch
22 : RS232 변환기 23 : RS485 변화기22: RS232 Converter 23: RS485 Transducer
24 : 컨넥터24: Connector
이하 본 발명을 첨부 도면에 의거 상세히 기술하여 보면 다음과 같다.Hereinafter, the present invention will be described in detail with reference to the accompanying drawings.
도 2은 전체적인 구성을 개략적으로 도시한 것으로서,Figure 2 schematically shows the overall configuration,
중앙처리장치(10)에서 메인 콘트롤러(11)의 제어를 받는 베이스 플레이트(12)는 입/출력 모듈(13)의 입/출력신호 변환부(14)에 데이터를 줄 때에는 중앙처리장치측 인터페이스부(15)를 통하여 이중화 래치(16)에 데이터를 쓰거나 읽도록 하고,The base plate 12, which is controlled by the main controller 11 in the central processing unit 10, transmits data to the input / output signal conversion unit 14 of the input / output module 13. Write or read data to the redundancy latch 16 via 15;
상기 입/출력신호 변환부(14)에서 데이터를 받을 경우에는 입/출력 모듈측 인터페이스부(17)를 통하여 이중화 래치(16)에 데이터를 쓰거나 읽도록 하고,When receiving data from the input / output signal conversion unit 14, the data is written or read in the redundant latch 16 through the input / output module side interface unit 17,
사용자의 선택에 따른 제어신호를 전달받는 타입 설정부(18)에 의해 이중화 래치(16)의 데이터의 흐름 방향이 결정되도록 하고,The data flow direction of the redundancy latch 16 is determined by the type setting unit 18 receiving the control signal according to the user's selection,
상기 중앙처리장치(10)의 메인 콘트롤러(11)의 통신포트에 연결된 통신부(19)를 통하여 외부와 양방향성 통신을 수행하도록 한 것이다.The bidirectional communication with the outside is performed through the communication unit 19 connected to the communication port of the main controller 11 of the central processing unit 10.
도 3은 통신장치의 구성을 나타낸 것으로,3 shows the configuration of a communication device,
상기 메인 콘트롤러(11)의 통신포트에 공통단자(c)가 연결된 전환스위치(21)의 일측단자(a)에는 RS232 변환기(22)의 일측을 연결하고,One side of the RS232 converter 22 is connected to one terminal a of the changeover switch 21 in which the common terminal c is connected to the communication port of the main controller 11,
상기 전환스위치(21)의 타측단자(b)는 RS485 변환기(23)의 일측에 연결하고,The other terminal (b) of the changeover switch 21 is connected to one side of the RS485 converter 23,
상기 RS232 변환기(22)와 RS485 변환기(23)에 일측이 연결된 컨넥터(24)의 타측을 통해 외부와 신호를 상호 전달하도록 하고,Through the other side of the connector 24 is connected to the RS232 converter 22 and the RS485 converter 23, one side to mutually transmit a signal to the outside,
상기 컨넥터(24)에서는 상기 전환스위치(21)에 전환 접속을 위한 외부 컨넥터(25)(26)를 선택적으로 접속하도록 한 것이다.The connector 24 selectively connects the external connectors 25 and 26 for the switching connection to the changeover switch 21.
이와 같이 구성한 본 발명의 PLC의 통신장치는 중앙처리장치(10)에서 입/출력 모듈(13)로 데이터를 전달하거나, 입/출력 모듈(13)에서 중앙처리장치(10)로 데이터를 전달하는 중에 메인 콘트롤러(11)의 하나의 통신포트를 통하여 외부의 RS232에 의한 통신이나 RS485에 의한 통신을 선택적으로 수행하도록 한 것으로서,The communication device of the PLC of the present invention configured as described above transfers data from the central processing unit 10 to the input / output module 13 or transfers data from the input / output module 13 to the central processing unit 10. It is to selectively perform communication by external RS232 or communication by RS485 through one communication port of the main controller (11),
상기의 데이터를 송,수신하는 중에 상기 RS232 변환기(22)를 통한 통신을 수행하고자 할 경우에는 컨넥터(24)에 도 4의 (가)에 도시한 것과 같은 외부 컨넥터(25)를 점속하면 전환스위치(21)의 제 1 선택단자가 컨넥터(24) 및 외부 컨넥터(25)의 1번 단자와 6번 단자를 거쳐 그라운드되면서 전환스위치(21)에 일측단자(a)로 전환접속되도록 하여 메인 콘트롤러(11)의 통신포트를 통해 출력되는 통신 데이터가 전환스위치(21)의 공통단자(c)와 일측단자(a)를 거쳐 RS232 변환기(22)로 전달되어 이에 의한 통신이 수행되면서 컨넥터(24)의 2번단자를 통하여 외부와 통신을 수행하도록 하는 한편,In order to perform communication through the RS232 converter 22 while transmitting and receiving the data, when the external connector 25 as shown in FIG. The first selection terminal of (21) is grounded via the first and sixth terminals of the connector 24 and the external connector 25, and is connected to the changeover switch 21 to one side terminal a so as to be connected to the main controller ( The communication data output through the communication port of 11) is transferred to the RS232 converter 22 through the common terminal c and the one side terminal a of the changeover switch 21 to perform communication by the connector 24. While communicating with the outside through terminal 2,
RS485 변환기(23)를 통한 통신을 수행하고자 할 경우에는 컨넥터(24)에 도 4의 (나)에 도시한 것과 같은 외부 컨넥터(26)를 접속하면 전환스위치(21)의 제 2 선택단자가 컨넥터(24) 및 외부 컨넥터(26)의 5번 단자와 6번 단자를 거쳐 그라운드되면서 전환스위치(21)에 타측단자(b)로 전환접속되도록 하여 메인 콘트롤러(11)의 통신포트를 통해 출력되는 통신 데이터가 전환스위치(21)의 공통단자(c)와 타측단자(b)를 거쳐 RS485 변환기(23)로 전달되어 이에 의한 통신이 수행되면서 컨넥터(24)의 3번단자와 4번단자를 통하여 외부와 통신을 수행하도록 한다.In order to perform communication through the RS485 converter 23, when the external connector 26 shown in FIG. 4B is connected to the connector 24, the second selection terminal of the changeover switch 21 is connected to the connector. (24) and the communication output through the communication port of the main controller 11 by being grounded via the 5 and 6 terminals of the external connector 26 to be switched connected to the other terminal (b) to the changeover switch 21 Data is transferred to the RS485 converter 23 through the common terminal c and the other terminal b of the changeover switch 21, and communication is performed therefrom, thereby externally communicating through terminals 3 and 4 of the connector 24. Communicate with.
따라서 본 발명의 PLC의 통신장치에 의하여서는 중앙처리장치의 메인 콘트롤러에 전환스위치를 거쳐 RS232변환기와 RS485변환기에 병렬로 연결하고,Therefore, the communication device of the PLC of the present invention is connected in parallel to the RS232 converter and the RS485 converter via a switch to the main controller of the central processing unit,
전환스위치를 통해 메인 콘트롤러에 선택적으로 연결되는 상기 RS232변환기와 RS485변환기의 타측은 컨넥터의 단자에 각각 연결하여 컨넥터에 외부 컨넥터를 접속시키는 상태에 의해 전환스위치가 전환접속되면서 RS232변환기를 이용한 통신이나 RS485변환기를 이용한 통신을 선택하도록 한 것이다.The other side of the RS232 converter and the RS485 converter, which are selectively connected to the main controller through the changeover switch, is connected to the terminal of the connector and connects an external connector to the connector. It is to select the communication using the converter.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019980004214A KR19990069766A (en) | 1998-02-12 | 1998-02-12 | PLC communication device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019980004214A KR19990069766A (en) | 1998-02-12 | 1998-02-12 | PLC communication device |
Publications (1)
Publication Number | Publication Date |
---|---|
KR19990069766A true KR19990069766A (en) | 1999-09-06 |
Family
ID=65893757
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019980004214A KR19990069766A (en) | 1998-02-12 | 1998-02-12 | PLC communication device |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR19990069766A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100759480B1 (en) * | 2006-03-16 | 2007-09-20 | 엘에스산전 주식회사 | Serial communication transformation method of plc and transformation system thereof |
KR101309650B1 (en) * | 2012-04-26 | 2013-09-17 | 주식회사 하이드로넷 | Method of communicating with a sensor having a certain communication protocol and control apparatus using the same method |
-
1998
- 1998-02-12 KR KR1019980004214A patent/KR19990069766A/en not_active Application Discontinuation
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100759480B1 (en) * | 2006-03-16 | 2007-09-20 | 엘에스산전 주식회사 | Serial communication transformation method of plc and transformation system thereof |
KR101309650B1 (en) * | 2012-04-26 | 2013-09-17 | 주식회사 하이드로넷 | Method of communicating with a sensor having a certain communication protocol and control apparatus using the same method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4689736A (en) | Distributed process control system | |
US5479618A (en) | I/O module with reduced isolation circuitry | |
JPH04195500A (en) | Field bus system and virtual field equipment | |
US7058461B2 (en) | Page back system and method for remote paging in a control system | |
KR100905874B1 (en) | Programmable Logic Controller | |
US6812871B2 (en) | Extension unit for PLC system and I/O controller thereof | |
CN101630156B (en) | Programmable music fountain control system | |
KR19990069766A (en) | PLC communication device | |
US4718003A (en) | Method and apparatus for exchanging data between data processing units | |
KR100262864B1 (en) | Communication protocol of plc | |
KR100759480B1 (en) | Serial communication transformation method of plc and transformation system thereof | |
JP3516607B2 (en) | Programmable display device | |
JP4844383B2 (en) | Plant control device | |
KR19990069761A (en) | PLC | |
KR102244297B1 (en) | Plc analog module with hart pass-through interface | |
JPS61112204A (en) | Input/output for remote process | |
JPH11338515A (en) | Programmable controller and programmable controller system using the same | |
JPH08123503A (en) | Plant controller | |
KR19990069762A (en) | PLC data input / output device | |
JPS6190204A (en) | Linking method of programmable controller | |
KR930007081B1 (en) | Interface board of field-bus | |
JP3635810B2 (en) | Sequencer I / O switching device | |
KR100191024B1 (en) | Data acquisition system in plc | |
JP2807406B2 (en) | Remote I / O device | |
SU1262511A1 (en) | Interface for linking two electronic computers |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
WITB | Written withdrawal of application |