KR910008823Y1 - Programmable controller - Google Patents

Programmable controller Download PDF

Info

Publication number
KR910008823Y1
KR910008823Y1 KR2019890012046U KR890012046U KR910008823Y1 KR 910008823 Y1 KR910008823 Y1 KR 910008823Y1 KR 2019890012046 U KR2019890012046 U KR 2019890012046U KR 890012046 U KR890012046 U KR 890012046U KR 910008823 Y1 KR910008823 Y1 KR 910008823Y1
Authority
KR
South Korea
Prior art keywords
output
input
signal
circuit
driver circuits
Prior art date
Application number
KR2019890012046U
Other languages
Korean (ko)
Other versions
KR910004797U (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 KR2019890012046U priority Critical patent/KR910008823Y1/en
Publication of KR910004797U publication Critical patent/KR910004797U/en
Application granted granted Critical
Publication of KR910008823Y1 publication Critical patent/KR910008823Y1/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

내용 없음.No content.

Description

프로그래머블 로직 컨트롤러(PLC)Programmable Logic Controllers (PLCs)

제1도는 본 고안에 의한 PLC의 개략적인 전체회로 블럭도.1 is a schematic overall circuit block diagram of a PLC according to the present invention.

제2도는 본 고안을 설명하기 위한 입, 출력 데이타 신호흐름도.2 is a flow chart of input and output data for explaining the present invention.

제3도는 본 고안에 적용된 입력 드라이브 회로도.3 is an input drive circuit diagram applied to the present invention.

제4도는 본 고안에 적용된 출력 드라이브 회로도.4 is an output drive circuit diagram applied to the present invention.

제5도는 본 고안이 실시된 증설유니트와의 관계도.5 is a relationship with the expansion unit in which the present invention is implemented.

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

10 : 중앙제어장치 11 : 주변기기 인터페이스10: central control unit 11: peripheral interface

12 : 리셋트회로 13 : 감시제어부12: reset circuit 13: supervisory control unit

14 : 발진 및 분주회로 15 : 램(RAM)14: oscillation and division circuit 15: RAM

16 : EP-롬 17, 18 : 입, 출력 인터페이스16: EP-ROM 17, 18: input and output interface

19, 19', 19" : 어드레스 디코더부 20, 20', 20" : 보상회로(가산기)19, 19 ', 19 ": address decoder 20, 20', 20": compensation circuit (adder)

21 : 낸드게이트 22 : 양방향성 버스 트랜시버21: NAND Gate 22: Bidirectional Bus Transceiver

23, 24, 25 : 입, 출력데이타버퍼 26-33 : 출력 드라이버 회로23, 24, 25: input and output data buffer 26-33: output driver circuit

34-41, 42-49 : 입력 드라이버 회로 50, 51, 52 : 신호증폭기34-41, 42-49: Input driver circuit 50, 51, 52: Signal amplifier

53 : RC필터회로 54 : 브릿지 정류회로53: RC filter circuit 54: bridge rectifier circuit

55 : 입력단자대 56 : 출력회로55: input terminal block 56: output circuit

57 : 트라이액 구동회로 58 : 출력단자대57: triac drive circuit 58: output terminal block

100 : 기본 유니트 200, n : 증설유니트100: basic unit 200, n: expansion unit

R1-R9 : 저항 LED1-LED5 : 발광소자R1-R9: resistance LED1-LED5: light emitting element

PT1-PT3 : 포토 커플러 C1-C7 : 콘덴서PT1-PT3: Photocoupler C1-C7: Condenser

D1-D2 : 다이오드 PD1 : 포토트라이액D1-D2: Diode PD1: Phototriac

TR1AC : 트라이액 Ry1, Ry1a : 릴레이 및 접점TR1AC: Triacs Ry1, Ry1a: Relays and Contacts

X1-X16 : 입력단자 Y1-Y8 : 출력단자X1-X16: Input terminal Y1-Y8: Output terminal

COM : 컴몬단자COM: Common terminal

본 고안은 모우터, 솔레노이드 밸브등과 같은 출력측의 부하를 프로그램된 순서에 의해 순차제어되게 한 프로그램어블 로직 컨트롤러에 관한 것으로서, 입력 데이타를 읽어 드리는 입력 드라이버 회로가 16개, 이들의 입력데이타가 중앙제어장치에 의해 처리되어 순차로 출력되게하는 출력드라이버 회로가 8개로 이루어져 중앙제어장치로부터 명령된 신호에 의해 자기자신의 입, 출력 디코더가 수행되며, 이 디코더된 로직신호에 의해 양방향성 트랜시버 동작으로 입, 출력 방향이 결정되게 하고, 증설시 순서에 제한없이 프리로케이션 방식으로 연결 가능케한 프로그래머블 로직 컨트롤러를 제공하려는 것이다.The present invention relates to a programmable logic controller in which an output load such as a motor, a solenoid valve, and the like is sequentially controlled according to a programmed sequence, and includes 16 input driver circuits for reading input data, and their input data are centered. There are eight output driver circuits that are processed by the controller and output sequentially, and the own input and output decoders are executed by signals commanded from the central controller. The goal is to provide a programmable logic controller that allows the output direction to be determined and allows connection in a pre-location manner without restriction in order of expansion.

일반적으로 자동화 시스템을 위한 시켄스 제어회로는 제어동작의 완료를 일일이 확인하여 그 결과에 따른 다음 동작을 선정하게 하는등 미리 정해진 순서에 따라 각 단계의 제어됨이 순차적으로 이루어지도록 한 제어회로로서, 통상 릴레이의 코일과 각종 스위치의 접점으로 구성되어지는 바, 이는 사용자가 설치방법에 대한 각종 스위치의 배치결합된 상태에 따라 회로를 바꾸어 설정하게 될 경우 그에 합당한 조건에 맞도록 새로운 회로배선을 실시해야 하는 불편한 번거로움이 뒤따르게 되고, 또 이상과 같이 회로 배선을 한다해도 그에 따른 회로 보수유지와, 신뢰성 및 장기적인 안목에서 정밀성이 결여되므로서 실제 사용함에 있어 많은 곤란이 있었던 것이다.In general, a sequence control circuit for an automation system is a control circuit which performs control of each step sequentially according to a predetermined order such as confirming completion of a control operation and selecting the next operation according to the result. Composed of relay coil and contacts of various switches, this means that if the user changes the circuit according to the arrangement and combination of various switches for the installation method, new circuit wiring should be performed to meet the proper conditions. Inconvenient hassle is followed, and even if the circuit wiring as described above, there was a lot of difficulties in the actual use because of the lack of circuit maintenance, reliability and precision in the long term.

이를 위한 최근에는 하나의 박스타입으로 형성된 프로그래머블 컨트롤러가 다수 출현되어진바, 이들이 갖는 공통적인 기능수단을 살펴보면, 각종 스위치가 서로 부터 입력된 신호가 입, 출력 포트부를 통해 중앙연산처리장치와 EP-롬 및 램을 동작시켜 키보오드등에서 입력되는 프로그램 및 정보에 따라 출력측의 모우터와 실린더 및 릴레이등을 동작시켜 주게 된다.Recently, a large number of programmable controllers formed in one box type have been introduced. Looking at common functional means, various switches input signals from each other through the central processing unit and the EP-ROM. And the RAM to operate the motor, cylinder and relay on the output side according to the program and information input from the keyboard.

그러면서 입력, 출력 접점장치의 포인트 수를 상호 상대적으로 수용한 하나의 프로그래머블 컨트롤러를 갖고 해당 자동제어시스템 규모가 적은 곳에 적용되어 질때에는 적절하게 사용할수 있었으나, 그러나 비교적 제어 시스템이 큰 규모일때에는 상기와 동일한 프로그래머블 로직 컨트롤러를 다수개 설치하여 종합적으로 사용해 왔던 것으로 이들 간에 서로 주고 받는 데이타 정보 교환동작이 원만하게 이루어지기 위해서는 각자의 구분자 정보를 포함하고 있어야 하며, 또 제어대상의 제어상황에 따라 기본유니트 뿐 아니라 증설 유니트에도 고유번지를 인지 설정해 주어야 한다.In addition, it was possible to use one programmable controller that accommodated the number of points of input and output contact devices relatively, and to use it when it is applied to a small scale of the automatic control system, but when the control system is large, The same programmable logic controller has been installed and used in a comprehensive way. In order to facilitate the exchange of data information between them, each of the delimiter information must be included, and only the basic unit can be used depending on the control situation of the control object. In addition, unique address should be set in extension unit.

그러므로 이것은 증설시에 물리적인 스위칭 동작에 기본 유니트의 자기자신에 대한 구분자 정보를 설정하게 되거나, 기본유니트내 중앙제어 장치의 약속된 번지로서 지정하게 되므로 인해 항상 모든 증설유니트의 고유번호를 일일이 인지해야 하는등 구성에도 많은 불편한 문제가 있었다.Therefore, it is necessary to be aware of the unique numbers of all the expansion units at all times because it sets the delimiter information about itself of the basic unit in the physical switching operation at the time of expansion or as the designated address of the central control unit in the basic unit. There was a lot of uncomfortable problems in the configuration.

따라서 본 고안은 상기와 같은 점을 감안하여 안출된 것으로, 하나의 기본유니트내에 어드레스 디코더를 포함하되 중앙제어장치로부터 어드레스 신호를 받아 디코더한후 자기자신의 번지임을 확인하여 자신의 번지이면 입력신호에 따른 출력포트를 차례로 디코더하고, 자기의 번지가 아니면 선택된 모우드에 따라 유니트 설정 함수부에서 설정된 함수값이 가산작용(보상)에 의해 출력으로 되돌리게 하여 다음으로 증설된 유니트를 순차 지정할 수 있도록 하며, 특히 제어시스템 및 사용자 요구사항에 따라 입력점을 교류 또는 직류를 사용할 수 있는 16개의 입력 드라이버 회로가 포함되고, 출력점은 릴레이나 트랜지스터 또는 포토트라이액(SSR)으로 분류된 8개의 출력 드라이버 회로를 유효적절하게 단독 또는 복수구성으로 선택 적용하게 하여 자동제어 시스템의 제어수단을 합리적으로 유도함에 그 목적이 있는 것이다.Therefore, the present invention was conceived in view of the above, and includes an address decoder in one basic unit, but after receiving an address signal from the central control unit and decoding the address, it is determined that it is its own address. Decode the output ports accordingly, and if it is not your address, the function value set in the unit setting function unit returns to the output by addition (compensation) according to the selected mode, so that the next extended unit can be designated sequentially. Specifically, it includes 16 input driver circuits that can use alternating current or direct current depending on the control system and user requirements. The output points include eight output driver circuits classified as relays, transistors, or phototriacs (SSRs). Automatically by selecting and applying in a single or multiple configuration as appropriate The aim is that the rational induces the control unit of the system.

이를 달성하기 위한 본 고안의 구성을 첨부된 도면과 관련되어 보다 상세하게 설명하면 다음과 같다.The configuration of the present invention for achieving this in more detail with reference to the accompanying drawings as follows.

제1도는 본 고안에 의한 전체 회로 블럭도로서, 중앙제어장치(10) 동작 상태감지부(13)와, 리셋트회로(12) 및 발진 클럭분주회로(14)를 기본적으로 수용하는 중앙제어장치(10) 중심으로 외부 주변기기를 수용하는 주변기기 인터페이스(11)와, 중앙제어장치(10)가 입, 출력 데이타를 통제하기 위해 자기 실행 프로그램을 수록한 EP-롬(16)과, 제어시스템의 데이타 입력 정보를 일시적으로 격납하는 램(15) 및 입, 출력 인터페이스(17), (18)를 상호 어드레스, 데이타, 제어버스로 연결하고, 상기 입, 출력 인터페이스(17)에는 입력과 출력측의 데이타 흐름 방향을 전환하게 되는 양방향성 버스 트랜시버(22)가 연결되어 상기 중앙제어장치(10)의 데이타와 입, 출력측 데이타를 상호 1바이트(8비트)로 주고 받게 되며, 상기 디코더부(19)로부터 디코더된 신호를 입력원으로 하는 낸드게이트(21)의 로직신호가 상기 양방향성 버스 랜시버(22)의 (G)단자로 인가되게 연결하고, 이의 제어단자(DIR)에는 중앙제어장치(10)로부터 제공된 제어신호에 따라 상기 입, 출력측의 데이타 흐름방향을 전환케 하는 아이오리드(IORD), 아이오라이트(IOWR)호가 인기되게 연결하며, 상기 다른 입, 출력 인터페이스(18)에는 증설유니트를 위한 가산회로(20)가 연결된 디코더부(19)를 어드레스 제어버스로 연결하되, 이 디코더부(19)의 출력측에는 양방향성 버스트랜시버(22)이 다른 측에는 입, 출력 데이타 버퍼(23-25)가 어드레스(A0-A6) 데이타(D0-D7)버스로 연결되며, 각각의 입력 데이타 버퍼(24), (25)에는 다링턴으로 접속한 하나의 드라이브 회로(미도시)가 8개로 구성된 신호증폭기(50), (51)가 연결되고 하나의 신호증폭기(50)에는 제3도 도시한 제3a도, 제3b도와 같은 하나의 교류접점 또는 집류접점 입력신호만을 수용하는 입력드라이버 회로(34)가 연결되어지되, 이의 입력드라이버 회로(34)와 동일하게 구성된 8개의 입력드라이버 회로(34-41)를 수용하며, 다른 신호증폭기(51)도 전술한 구성과 동일하게 이루어져 전체 입력 데이타를 읽기 위한 전체1포인트의 입력 드라이버회로(34-41), (42-49)가 인결되어지고, 또한 출력측 데이타 버퍼(23)에는 입력측 신호증폭기(50), (51)와 같은 신호증폭기(52)를 통해 제4도에 도시한 제4a도, 제4b도, 제4c도와 같은 구동점을 릴레이 트라이액 또는 트랜지스터로 선택 구성할 수 있도록 8개의 동일한 출력 드라이버 회로(26-33)가 연결되어진다.FIG. 1 is an overall circuit block diagram according to the present invention, and basically includes a central controller 10 operation state sensing unit 13, a reset circuit 12, and an oscillation clock divider circuit 14. As shown in FIG. (10) Peripheral device interface (11) for accommodating external peripherals at its center, EP-ROM (16) containing self-executing program for controlling input and output data by central controller 10, and data of control system RAM 15, which temporarily stores input information, and input and output interfaces 17 and 18 are connected to mutual addresses, data, and control buses, and the input and output interfaces 17 have input and output data flows. The bidirectional bus transceiver 22 for changing the direction is connected to transmit and receive data of the central controller 10 and input / output data in one byte (8 bits), and decoded from the decoder 19. As a signal source The logic signal of the NAND gate 21 is connected to be applied to the (G) terminal of the bidirectional bus transceiver 22, and the control terminal DIR is connected to the input and output signal according to the control signal provided from the central controller 10. An IORD and an IOWR that connect the data flow direction on the output side are popularly connected, and the other input and output interface 18 has a decoder unit connected to an addition circuit 20 for an expansion unit. 19 is connected to the address control bus, and the input and output data buffers 23-25 are provided on the output side of the decoder 19 on the other side, and the address (A0-A6) data (D0-D7). Each of the input data buffers 24 and 25 is connected to each of the signal amplifiers 50 and 51, which is composed of eight drive circuits (not shown) connected to Darlington. The signal amplifier 50 has the same configuration as those of FIGS. 3A and 3B shown in FIG. An input driver circuit 34 for receiving only an AC contact or a collecting contact input signal is connected, and accommodates eight input driver circuits 34-41 configured in the same way as the input driver circuit 34 thereof, and another signal amplifier. (51) also has the same configuration as described above, and the input driver circuits 34-41 and 42-49 of all one point for reading the entire input data are concluded, and the input side signal is output to the output side data buffer 23. Signal amplifiers 52, such as amplifiers 50 and 51, enable the drive points such as FIGS. 4A, 4B, and 4C shown in FIG. 4 to be selectively configured as relay triacs or transistors. Four identical output driver circuits 26-33 are connected.

상기에 적용된 16개의 입력드라이버 회로(34-4), (42-49) 중 하나의 입력 드라이버 회로(34)는 제3a도, 제3b도에 도시한 바와같이 하나의 직류입력 신호원(X1)이 인가되는 입력단자대(73)로부터 발광소자(LED1)와 포토커플러(PT1)가 연결되며, 이의 출력측 에비터에는 저항(R4-R6)과 콘덴서(C4)로 된 RC필터회로(53)를 연결시켜 이루어진 것이며, 또한 제3b도와 같이 하나의 교류 접점신호가 인가되는 입력단자대(73)의 입력신호단자(X1)와 컴몬단자(COM)는 저항(R7, R8)과 콘덴서(C5)를 통한 브릿지 정류회로(54)가 연결되어지며, 이의 정, 부극성 양단에는 저항(R9)을 병렬로한 포토커플러(PT2)를 연결하고, 이의 출력측 에미터단자에는 일측이 접지된 발광소자(LED2)에 직렬로 연결된 저항(R10)이 연결되며, 또 저항(R11-R13)과 콘덴서(C6)로 된 RC필터 회로(53)가 연결되어 구성된다.One of the sixteen input driver circuits 34-4 and 42-49 applied to the above is provided with one DC input signal source X1 as shown in FIGS. 3A and 3B. The light emitting element LED1 and the photocoupler PT1 are connected to the input terminal block 73 to be applied, and an RC filter circuit 53 made of a resistor R4-R6 and a capacitor C4 is connected to the output side aviator thereof. The input signal terminal X1 and the common terminal COM of the input terminal block 73 to which one AC contact signal is applied as shown in FIG. 3B are bridged through the resistors R7 and R8 and the capacitor C5. A rectifier circuit 54 is connected, and a photocoupler PT2 having a resistor R9 in parallel is connected to both positive and negative ends thereof, and an emitter terminal of the output side thereof is connected to a light emitting device LED2 having one side grounded. A resistor R10 connected in series is connected, and an RC filter circuit 53 composed of resistors R11-R13 and a capacitor C6 is connected.

또한 상기에 적용된 8개의 출력드라이버 회로(26-33) 중 하나의 출력 드라이버 회로(26)는 제4a도, 제4b도, 제4c도에 도시한 바와같이 신호증폭기(52)의 출력에 직류 24V로 구동되는 릴레이(Ry1)와 발광소자(LED3)가 연결되며, 이 릴레이(Ry1)의 접점(Ry1a) 단자에는 (R14)과 콘덴서(C7)가 연결되어 구성한다.In addition, one output driver circuit 26 of the eight output driver circuits 26 to 33 applied above is provided with a direct current of 24V at the output of the signal amplifier 52 as shown in FIGS. 4A, 4B, and 4C. The relay Ry1 and the light emitting device LED3 driven by are connected to each other, and the contact point Ry1a of the relay Ry1 is connected to the capacitor R14 and the capacitor C7.

다른예로서 상기 신호증폭기(52)의 출력측에 직류 5V로 구동되는 발광소자(LED4)와 저항(R15) 및 포토커플러(PT3)가 차례로 연결되며, 이의 출력측에 미터는 저항(R16)과 트랜지스터(Q1) 및 다이오드(D1, D2)로 된 출력회로(56)를 연결시켜 이루어진 출력 드라이브 회로(26)를 적용할 수 있다.As another example, the light emitting device LED4 driven by DC 5V, the resistor R15 and the photocoupler PT3 are sequentially connected to the output side of the signal amplifier 52, and the meter is connected to the resistor R16 and the transistor ( The output drive circuit 26 formed by connecting Q1) and the output circuit 56 composed of the diodes D1 and D2 can be applied.

또 다른 예로서, 상기 신호증폭기(52)의 출력측에 상기의 포토커플러(PT3)대신 포토트라이액(PD1)을 적용한 이의 출력측 양단에는 저항(R18, R19)와 콘덴서(C8) 및 트라이액(TRIAC)으로된 트라이액 구동회로(57)를 연결시켜 이루어진 출력드라이브 회로(26)를 선택 적용할 수 있다.As another example, the resistors R18 and R19, the capacitors C8 and the triacs TRIAC are applied to both ends of the output amplifier of the signal amplifier 52, on which the phototricoupler PD1 is applied instead of the photocoupler PT3. The output drive circuit 26 formed by connecting the triac driving circuit 57 consisting of < RTI ID = 0.0 >

미설명 부호(Y1-Y8)은 출력단자이며, (58)은 출력단자대, (X1-X16)는 입력단자이다.Reference numerals Y1-Y8 denote output terminals, 58 denote output terminal blocks, and X1-X16 denote input terminals.

이상과 같은 계통적 신호흐름에 의해서 동작하는 본 고안을 첨부된 제1도 내지 제2도에 의해 구체적인 회로 동작에 입각하여 설명하면 다음과 같다.The present invention, which operates according to the systematic signal flow as described above, will be described with reference to FIG. 1 to FIG.

본 고안의 프로그래머블 로직 컨트롤러를 사용하기 위해 먼저 교류전원을 공급하게 되면, 이 전원은 미도시된 정류기를 통해 리셋트 회로(12)를 포함한 각회로부에 필요한 직류 구동전원으로 공급된다.When the AC power is first supplied to use the programmable logic controller of the present invention, the power is supplied to the DC driving power required for each circuit part including the reset circuit 12 through a rectifier (not shown).

이와같을 때 각 회로부에서는 리세트회로에 의해 초기상태로 되어지며, 발진된 주파수가 클럭분주된 신호로 중앙 제어장치에 공급되므로서 사용자 프로그램을 수록한 EP-롬 모듈에 따라 중앙제어장치(10)는 프로그램을 시작하게 된다.In this case, each circuit section is reset to the initial state by the reset circuit, and the oscillated frequency is supplied to the central control unit as a clock-divided signal, so that the central control unit 10 according to the EP-ROM module containing the user program. Will start the program.

즉, 각 회로가 리셋트되어 프로그래머블 로직 컨트롤러를 사용하기 위한 초기상태로 되므로서 입력단자대(55)에 연결된 각종스위치와 센서등의 접점상태를 각 입력드라이버회로(34-41), (42-49)에 의해 감지되어 중앙제어장치(10)의 통제하에 출력단자대(58)와 연결된 모우터나 실린더 및 릴레이등을 동작시키게 될 프로그램이 실행되어진다.That is, since each circuit is reset to the initial state for using the programmable logic controller, the contact states of various switches and sensors connected to the input terminal block 55 can be set to the respective input driver circuits (34-41), (42-49). A program that will be sensed by) and operate a motor, cylinder, relay, etc. connected to the output terminal block 58 under the control of the central control unit 10 is executed.

이러한 프로그램을 수행하는 중앙제어장치(10)에서 먼저 입력데이타를 읽을것인가 또는 출력할것인가를 결정하기 위해 일단 양방향성 버스 트랜시버(22)의 진로방향을 결정해야한다.In order to determine whether to read or output the input data, the central control unit 10 that executes such a program must first determine the direction of the direction of the bidirectional bus transceiver 22.

즉, 중앙제어장치(10)에서 송출된 제어신호의 아이오리드(IORD)가 어드레스 디코더부(19)에 인가되면서 동시에 낸드게이트(21)에 의해 하이신호로 발전되어 이 "하이"의 아이오리드 신호가 전달될 때 이 신호에 의해 양방향성 버스 트랜시버(22)는 입력 데이타를 받을 수 있도록 한 게이트 소자가 입, 출력 인터페이스(17)방향으로 개방되어진다. 이때, 입력단자대(55)로부터 입력되는 각각의 스위치 접점신호가 각각의 입력드라이버 회로(34-41), (42-49)와 신호증폭기(50), (51) 및 입력데이타 버퍼(24), (25)를 통해 16점 단위로 1채널씩 지정되게한 데이타 버스의 8비트로서 형성되어 그 데이타 신호가 양방향성 버스 트랜시버(22)와 입, 출력 인터페이스(17)를 통해 중앙제어장치(10)와 시스템롬 및 램(15)에 입력 저장되어진다.In other words, the IORD of the control signal sent from the central control unit 10 is applied to the address decoder unit 19 and simultaneously developed into a high signal by the NAND gate 21 to generate the high signal. This signal causes the bidirectional bus transceiver 22 to open its gate element toward the input and output interface 17 to receive input data. At this time, each switch contact signal input from the input terminal block 55 is input driver circuit (34-41), (42-49) and signal amplifiers (50), (51) and input data buffer (24), The data signal is formed as 8 bits of a data bus that is designated one channel by 16 points in units of 25, and the data signal is connected to the central controller 10 through the bidirectional bus transceiver 22 and the input / output interface 17. The input is stored in the system ROM and the RAM 15.

즉, 이러한 과정에 의해 상기 입력단자대(73)로부터 입력되는 각각의 스위치 접점신호가 각각의 입력 드라이버 회로(34-41), (42-49)에 인가될 때 그 입력 드라이버 회로(34)는 제2도 및 제3도에 도시한 바와같이, 직류 입력 접점으로 받을때에는 외부 단자대(55)의 접점단자(X1)와 컴몬단자(COM)에 단락시켜 이에 직류전원급 신호로 제공하고, 교류입력 접점으로 받을때에는 외부 단자대(55)의 접점단자(X1)와 컴몬단자(COM) 사이에 교류전원을 공급하면, 포토커플러(PT1)로 연결된 전달신호는 다링톤 트랜지스터가 어레이로된 신호증폭기(50), (51)에 의해 증폭되어 그 증폭된 신호를 입력측 데이타 버퍼(24), (25)로 보내게 된다.That is, when each switch contact signal input from the input terminal block 73 is applied to each of the input driver circuits 34-41 and 42-49 by this process, the input driver circuit 34 has a first effect. As shown in FIG. 2 and FIG. 3, when receiving as a DC input contact, it short-circuits the contact terminal (X1) and the common terminal (COM) of the external terminal block 55 and provides it as a DC power supply signal, and the AC input contact point. When receiving AC power supply between the contact terminal (X1) and the common terminal (COM) of the external terminal block 55, the transmission signal connected to the photocoupler (PT1) is a signal amplifier (50) in which the array of Darlington transistors And amplified by (51), and the amplified signal is sent to input data buffers (24) and (25).

이때 주 프로그램을 수록한 EP-롬(16)에 의해 프로그램이 수행되어 중앙제어장치(10)로부터 어드레스(A0)가 "로우"이고, 입력제어 아이오리드(IORD) 신호가 "하이"로서 어드레스 디코더부(19)에 (A), (B)단자에 송출하면 이의 출력단자 (Y2)에서는 "로우"신호가 출력되어 이 신호와 관련된 데이타버퍼(24)가 선택되고, 이로부터 입력되는 데이타가 입, 출력 인터페이스(17)를 향해 데이타 버스상에 실려 전달하게 되며, 또한 양방향성 버스 트랜시버(22)의 제어단자(DIR)에는 중앙제어장치(10)로부터 트랜시버(22)의 제어단자(DIR)에는 중앙제어장치(10)로부터 송출된 아이오리드(IORD)의 "하이"신호가 입력되므로, 상기 입, 출력측 데이타버퍼(24), (25)에 실린 입력데이타는 중앙제어장치(10)로 입력된다.At this time, the program is executed by the EP-ROM 16 containing the main program so that the address A0 is "low" from the central control unit 10 and the input control IORD signal is "high". When it is sent to the terminals (A) and (B), the "low" signal is output from the output terminal (Y2), and the data buffer 24 associated with this signal is selected, and data input therefrom is inputted. Then, it is carried on the data bus toward the output interface 17, and from the control terminal DIR of the bidirectional bus transceiver 22 to the control terminal DIR of the transceiver 22 to the control terminal DIR of the bidirectional bus transceiver 22. Since the "high" signal of the IORD output from the control device 10 is input, the input data loaded on the input and output data buffers 24 and 25 is input to the central control device 10.

한편, 중앙제어장치(10)로부터 어드레스(A0)가 "하이"이고, 입력제어 아이오리드(IORD) 신호가 "하이"로서 어드레스 디코더부(19)에 인가되면 이의 출력단자(Y3) 역시 "로우"신호가 출력되어 이신호와 관련된 데이타버퍼(25)가 선택되고, 그로부터 입력되는 데이타가 입, 출력인터페이스(17)를 향해 데이타 버스상에 실려 전달됨과 동시에 상기의 경우와 마찬가지로 양방향성 버스 트랜시버(22)의 단자(DIR)에 아이오리드(IORD)의 "하이"신호가 입력되므로 상기 입, 출력측 데이타 버퍼(26)에 실린 데이타는 중앙제어장치(10)에 입력되어진다.On the other hand, if the address A0 is "high" from the central control unit 10 and the input control IORD signal is applied to the address decoder unit 19 as "high", its output terminal Y3 is also "low". "The signal is output and the data buffer 25 associated with this signal is selected, and the data input therefrom is carried on the data bus toward the input and output interface 17, and at the same time, the bidirectional bus transceiver 22 Since the " high " signal of the IORD is input to the terminal DIR, the data loaded in the input / output data buffer 26 is input to the central controller 10.

이후, 중앙제어장치(10)의 아이오리드(IORD)신호에 의해 각각으로 할당된 입력측 데이타버퍼(24), (25)의 입력데이타를 다 읽은후 중앙제거장치(10)는 EP-롬(16)의 프로그램 명령에 의해 출력을 시킬것인가 결정하여 입력 처리된 데이타의 어드레스 신호와 아이오라이트(IOWR)신호를 입, 출력 인터페이스(17), (18)를 통해 양방향성 버스 트랜시버(22)와 어드레스 디코더부(19)로 보내게 된다.Subsequently, after the input data of the input data buffers 24 and 25 respectively allocated by the IORD signal of the central controller 10 are read out, the central elimination device 10 reads the EP-ROM 16. It decides whether to output by the program command, and inputs the address signal and IOWR signal of the input processed data, and through the output interface 17, 18, the bidirectional bus transceiver 22 and the address decoder Will be sent to (19).

즉, 양방향성버스 트랜시버(22)이 신호(DIR)에는 제어신호의 아이오리드(IORD) "로우"신호가 입력하게 되어 중앙제어장치(10)측 데이타 버스의 데이타 입, 출력 인터페이스(17)에 실리게 된다.That is, the bidirectional bus transceiver 22 inputs an IORD " low " signal of the control signal to the signal DIR, and is thus mounted on the data input / output interface 17 of the data bus of the central controller 10 side. It becomes.

이때 어드레스 디코더부(19)의 (A)단자에는 어드레스(A0) 신호가 "하이", (C) 단자에는 아이오라이트(IOWR)제어신호가 "하이"로서 입력될 때 이의 출력단자(Y5)에는 "로우"신호가 출력되고, 이 로우신호가 상승엣지 시점에서 양방향성 버스 트랜시버(22)의 게이트 방향은 입력에서 출력측으로 전환하게 됨과 동시에 출력측 데이타 버퍼(23)에 인가대기된 데이타 신호가 출력측 데이타 버스상에 실려 신호증폭기(52)로 전달되며, 전달된 출력신호는 신호증폭기(52)에 의해 증폭된 후 출력드라이버 회로(26-33)로 보내게 된다.At this time, when the address A0 signal is "high" at terminal (A) of the address decoder 19 and the IOWR control signal is "high" at the (C) terminal, the output terminal Y5 is connected to the output terminal Y5. A low signal is output, and when the low signal rises, the gate direction of the bidirectional bus transceiver 22 is switched from input to output, and at the same time, the data signal applied to the output data buffer 23 is output to the output data bus. The signal is delivered to the signal amplifier 52, which is then amplified by the signal amplifier 52 and then sent to the output driver circuits 26-33.

이때 프로그래머블 로직 컨트롤러 회로 구성시 최초 사양조건에 따라 입력접점 신호와 알맞는 구동점을 릴레이(Ry1)로 설정하였다면, 증폭된 인가신호에 의해 릴레이(Ry1)로 코일이 여자되어 이의 접점(Ry1a)이 닫히게 되고, 또한 입력 접점신호와 알맞는 구동점을 포토 커플러(PT3)로 설정되었다면 상기 신호증폭기(52)로부터 증폭된 신호가 포토커플러(PT3)에 의해 절연되어 출력회로(56)를 통해 출력단자대(58)로 출력하게된다.At this time, if the driving point suitable for the input contact signal is set as the relay Ry1 according to the initial specification condition when configuring the programmable logic controller circuit, the coil is excited to the relay Ry1 by the amplified applied signal and its contact Ry1a is excited. If the driving point corresponding to the input contact signal is closed and is set to the photo coupler PT3, the signal amplified from the signal amplifier 52 is insulated by the photocoupler PT3 and is outputted through the output circuit 56. Output to 58.

또한 상기의 수단과 마찬가지로, 신호증폭기(52)로부터 증폭된 신호가 트라이액 구동회로(57)에 인가됨과 동시에 트라이액(TRIAC)을 트리거시켜 출력단자대(58)로 출력하게 된다.In addition, as in the above means, the signal amplified from the signal amplifier 52 is applied to the triac driving circuit 57, and at the same time triggers the triac (TRIAC) to output to the output terminal block (58).

한편 상기의 어드레스 디코더부(19)에서는 자기 자신의 입, 출력 접점 데이타만 지정하는 것이 아니라, 전술한 구성과 작용이 동일한 별도의 다른 프로그래머블 로직 컨트롤러(이하 증설유니트라 함)가 다수개 순차 증설되었을 때, 제5도에 도시한 바와같이 중앙제어장치(10)에서 보낸 구분자 정보, 즉 어드레스 신호(A0-A6)와 제어신호(IORD, IOWR)를 입, 출력 인터페이스(18)로 받게 한 다음 어드레스 디코더부(19)로 보내면, 일단 자기 자신의 번지임을 확인하게 되며, 자기 자신의 번지로 인식되며 전술한 과정이 수행되어 입, 출력 데이타를 송, 수신하게 되고, 자기자신의 번지가 아닐 경우 기본유니트(100)(본 고안의 프로그래머블 로직 컨트롤러를 말함)에 적용된 입, 출력 데이타 버퍼(23), (24), (25)수를 부상회로(일명 가산기와 동일)(20)로 보내어 중앙제어장치(10) 구분자 정보와 합산시키게 되고, 합산된 기본 유니트(100)의 출력을 제공받는 첫 번째 증설된 유니트(200)로부터 자기자신의 번지임을 확인하게 되고, 이 또한 증설유니트(200)에 해당된 번지이면 자체적으로 관련된 입, 출력을 실행하게 되며, 아니면 이 유니트(200)가 사용한 입, 출력 포트수(23'), (24'), (25')를 가산기(20')로 보내져 증설된 유니트(200)의 출력정보와 합산되어 그 다음 증설된 유니트(n)의 입력용으로 출력된다.On the other hand, the address decoder 19 does not specify only its own input and output contact data, but a plurality of other programmable logic controllers (hereinafter referred to as expansion units) having the same configuration and operation as described above may be sequentially added. At this time, as shown in FIG. 5, the identifier information sent from the central controller 10, that is, the address signals A0-A6 and the control signals IORD and IOWR are received by the input and output interface 18, and then the address is received. Once sent to the decoder 19, it is confirmed that it is its own address, it is recognized as its own address, and the above-described process is performed to transmit and receive the input and output data, and if it is not its own address, The central control unit sends the input and output data buffers 23, 24 and 25 applied to the unit 100 (programmable logic controller of the present invention) to the floating circuit (same as the adder) 20. (One 0) It is added to the delimiter information, it is confirmed that the address of their own from the first extended unit 200 that is provided with the output of the aggregated basic unit 100, this also the address corresponding to the expansion unit 200 Then, the related input / output is executed by itself. Otherwise, the number of input / output ports 23 ', 24', and 25 'used by this unit 200 is sent to the adder 20' and the expanded unit. It is added with the output information of 200 and then output for input of the enlarged unit n.

결국 증설유니트(n)의 첫 번째 입, 출력 데이타 버퍼(23"), (24"), (25")지정번지는 기본유니트(100)이 사용포트수와 증설유니트(200)의 사용포트수를 합산하는 방식으로서 입, 출력 포트수가 여러가지 형태로된 유니트를 자유자재로 연결하여도 어드레스 번호는 중앙제어장치는(10) 다음 유니트로 부터 순차적으로 부여되어 이루어지게 된다.In the end, the first input, output data buffers (23 "), (24") and (25 ") designated addresses of the expansion unit (n) are used by the basic unit 100 and the number of ports used by the expansion unit 200. In this way, even if a unit having various input / output port numbers is freely connected, the address number is assigned to the central control unit 10 sequentially from the next unit.

이상에서 설명한 바와같이 입력점을 16개, 출력점을 8개로 이루어진 본 고안의 프로그래머블 로직 컨트롤러는 입, 출력 구성회로에 따라 직류, 교류 입력과 릴레이 출력, 트랜지스터 및 트라이액으로 선택구성할 수 있는 특징이 있을뿐 아니라, 어드레스 디코딩 방식에 의해 이루어지게 함으로서 증설유니트를 순서나 점수에 관계없이 증설할수 있는 효과가 있는 것이다.As described above, the programmable logic controller of the present invention consists of 16 input points and 8 output points, and can be configured by DC, AC input, relay output, transistor, and triac according to input and output configuration circuits. Not only this, but also by the address decoding method, it is possible to increase the expansion unit regardless of the order or score.

Claims (6)

EP-롬(16)과 램(15) 및 중앙제어장치(10)로된 수뇌부의 프로그램에 의해 입, 출력데이타를 교환하게되는 통상의 프로그래머블 로직 컨트롤러에 있어서, 상기 중앙제어장치(10)로부터 제공된 구분자 정보(어드레스, 제어, 데이타신호)가 입, 출력인터페이스(18)과 어드레스 디코더부(19)를 통해 자기자신의 입, 출력 데이타 버퍼(23), (24), (25)선택함과 아울러 보상회로(가산기)(20)를 통해 증설유니트(200), (n)가 선택될 수 있는 구분자 정보를 포함하며, 상기 중앙제어장치(10)에 연결된 입, 출력 인터페이스(17)에는 양방향성 버스(22)를 통해 입, 출력 데이타버퍼(23), (24), (25)를 어드레스 데이타 제어버스로 연결되며, 상기 양방향성 버스 트랜시버(22)의 제어신호 입력단자(DIR)와 (G)단자에는 상기 중앙제어장치(10)의 아이오리드(IORD)신호와, 어드레스신호(A0)가 인가되도록 연결되고, 상기 입, 출력 데이타버퍼(23), (24), (25)에는 다링턴으로 접속한 트랜지스터를 한조로 하여 어레이된 신호증폭기(50), (51), (52)가 각각 연결되며, 각각의 신호증폭기(50), (51), (52)에는 하나의 입력 드라이버 회로(34)가 8개 2조로 하여 16개의 입력드라이버 회로(26)가 8개 2조로 하여 전체 6개의 입력드라이버 회로(34-41), (42-49)와 하나의 출력드라이버 회로(26)가 8개 1조로 하여 전체 8개의 출력 드라이버 회로(26-33)를 분할되게 연결 구성하여 이루어지는 것을 특징으로 한 프로그래머블 로직 컨트롤러.In the conventional programmable logic controller which exchanges input and output data by the program of the brain part composed of the EP-ROM 16, the RAM 15, and the central controller 10, provided from the central controller 10. The identifier information (address, control, data signal) is selected through the input and output interface 18 and the address decoder 19 to select their own input and output data buffers 23, 24, and 25. The expansion units 200 and (n) may be selected through the compensation circuit (adder) 20 and selector information may be selected. The input / output interface 17 connected to the central control unit 10 may include a bidirectional bus ( 22) input / output data buffers 23, 24, and 25 are connected to the address data control bus, and the control signal input terminals DIR and G of the bidirectional bus transceiver 22 are connected to each other. Even if an IORD signal and an address signal A0 of the central controller 10 are applied. The input and output data buffers 23, 24, and 25 are connected to the signal amplifiers 50, 51, and 52 which are arrayed using a transistor connected by Darlington as a pair. In each of the signal amplifiers 50, 51, and 52, one input driver circuit 34 is composed of eight two pairs, and sixteen input driver circuits 26 are composed of eight two pairs of six input drivers. Programmable, characterized in that the circuit (34-41), (42-49) and one output driver circuit 26 is composed of eight pairs of all eight output driver circuits (26-33) are divided and configured Logic controller. 제1항에 있어서, 입력드라이버회로(34-41), (42-49)는 입력 상태를 표시하는 발광소자(LED1)와 포토커플러(PT1) 및 RC필터회로(53)로 구성하여 절연된 신호를 신호증폭기(50) 또는 (51)로 전달해 주도록 직류접점신호 입력용 드라이버회로(34)를 선택 포함할 수 있는 것을 특징으로 한 프로그래머블 로직 컨트롤러.The signal of claim 1, wherein the input driver circuits (34-41) and (42-49) are composed of a light emitting element (LED1) indicating an input state, a photocoupler (PT1), and an RC filter circuit (53). Programmable logic controller, characterized in that it can include a driver circuit (34) for direct current contact signal input to deliver the to the signal amplifier (50) or (51). 제1항에서, 상기 입력드라이버회로(34-41), (42-49)는 교류전원을 직류로 정류하는 정류기(54)와 포토커플러(PT2) RC 필터 및 입력상태를 표시하는 발광소자(LED2)로 구성하여 교류접점 신호를 직류로 정류한 다음 절연된 신호로 신호증폭기(50), (51)에 전달해 주도록 선택 포함할 수 있는 것을 특징으로 한 프로그래머블 로직 컨트롤러.2. The input driver circuits (34-41) and (42-49) are rectifiers (54) for rectifying AC power to DC, photocoupler (PT2) RC filters, and light emitting elements (LED2) for indicating an input state. Programmable logic controller, characterized in that it can be configured to rectify the AC contact signal to a direct current, and then to transmit to the signal amplifier (50), 51 as an isolated signal. 제1항에 있어서, 출력 드라이버 회로(26-33)는 출력 상태를 표시하는 발광소자(LED3)와 릴레이(Ry1) 및 접점(Ry1a)으로 이루어져 신호증폭기(52)로부터 출력된 증폭신호에 의해 릴레이(Ry1)가 구동되어 출력단자대(58)에 연결된 부하측이 동작되도록 선택포함할 수 있는 것을 특징으로 한 프로그래머블 로직 컨트롤러.2. The output driver circuit (26-33) according to claim 1, wherein the output driver circuits (26-33) consist of a light emitting element (LED3) indicating an output state, a relay (Ry1), and a contact (Ry1a) to be relayed by an amplified signal output from the signal amplifier 52. A programmable logic controller, characterized in that (Ry1) is driven to select to operate the load side connected to the output terminal block (58). 제1항에 있어서, 상기 출력 드라이버회로(26-33)는 출력상태를 표시하는 발광소자(LED4)와 포토커플러(PT3) 및 저항(R16), 트랜지스터(Q1), 다이오드(D1-D2)로된 출력회로(56)로 이루어져 신호증폭기(52)에서 출력된 증폭기 신호가 포토커플러(PT3)로 절연되게하여 출력단자대(58)에 연결된 부하측이 동작되도록 선택 포함할 수 있는 것을 특징으로 한 프로그래머블 로직 컨트롤러.2. The output driver circuit 26-33 of claim 1, wherein the output driver circuits 26-33 include a light emitting element LED4, a photocoupler PT3, a resistor R16, a transistor Q1, and a diode D1-D2 indicating an output state. Programmable logic, characterized in that the amplifier circuit output from the signal amplifier 52 consisting of the output circuit 56 is isolated to the photocoupler (PT3) can be selected to operate the load side connected to the output terminal block (58) controller. 제1항에 있어서, 상기 출력 드라이버 회로(26-33)는 출력 상태를 표시하는 발광소자(LED5)와 포토트라이액(PD1) 및 트라이액 구동회로(57)로 이루어져 신호증폭기(52)로부터 출력된 증폭신호의 구동점을 트라이액(TRIAC)로 트리고하여 출력단자대(58)에 연결된 부하측이 동작되도록 선택포함할 수 있는 것을 특징으로 한 프로그래머블 로직 컨트롤러.The output driver circuit 26-33 includes a light emitting element LED5 indicating an output state, a phototriac PD1, and a triac driving circuit 57. The output driver circuits 26 to 33 output the signal from the signal amplifier 52. And a triac (TRIAC) driving point of the amplified signal, the load side connected to the output terminal block 58 may be selected to operate.
KR2019890012046U 1989-08-16 1989-08-16 Programmable controller KR910008823Y1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR2019890012046U KR910008823Y1 (en) 1989-08-16 1989-08-16 Programmable controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR2019890012046U KR910008823Y1 (en) 1989-08-16 1989-08-16 Programmable controller

Publications (2)

Publication Number Publication Date
KR910004797U KR910004797U (en) 1991-03-19
KR910008823Y1 true KR910008823Y1 (en) 1991-11-08

Family

ID=19289190

Family Applications (1)

Application Number Title Priority Date Filing Date
KR2019890012046U KR910008823Y1 (en) 1989-08-16 1989-08-16 Programmable controller

Country Status (1)

Country Link
KR (1) KR910008823Y1 (en)

Also Published As

Publication number Publication date
KR910004797U (en) 1991-03-19

Similar Documents

Publication Publication Date Title
US5274767A (en) Programmable controller with module identification and diagnostic mechanism
US5802389A (en) Expansion module address method and apparatus for a programmable logic controller
KR900003122B1 (en) Linking system for programmable controller
US4365297A (en) Industrial control system with distributed computer implemented logic
US4682294A (en) Electric energy distributing devices comprising microprocessors
KR100631262B1 (en) Welding system
US5218679A (en) Programmable controller with input/output signal converting circuit for variably setting a number of inputs and/or outputs
KR890015142A (en) Direct Memory Access Control
US4720810A (en) Electronic control arrangement for controlling a plurality of outputs in accordance with the electrical state of a plurality of inputs
GB2046476A (en) Programmable logic controllers
KR910008823Y1 (en) Programmable controller
US5687052A (en) Flexible variable pole-count relay output circuit for controlling multiple relays
KR910008824Y1 (en) Programmable controller
US4206507A (en) Field programmable read only memories
CA1042555A (en) Programmable solid state control for machine tool or process control systems
KR0135895B1 (en) Interface device using integrated device electronics port
KR0138441Y1 (en) I / O unit control system of PSI controller
KR910008822Y1 (en) Programmable controller
US6964045B1 (en) Multiple program storage within a programmable logic controller system
JPS61112204A (en) Input/output for remote process
US3320589A (en) Sequentially operable automatic control systems
JPH029372Y2 (en)
KR910008253Y1 (en) I/o device of programmable logic controller
KR0170266B1 (en) Multi-robot communication control system
JPS63187749A (en) Circuit connection system

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
REGI Registration of establishment
FPAY Annual fee payment

Payment date: 20021018

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee