KR930005709B1 - Rack addressline multi-function operating system of plc - Google Patents

Rack addressline multi-function operating system of plc Download PDF

Info

Publication number
KR930005709B1
KR930005709B1 KR1019900022443A KR900022443A KR930005709B1 KR 930005709 B1 KR930005709 B1 KR 930005709B1 KR 1019900022443 A KR1019900022443 A KR 1019900022443A KR 900022443 A KR900022443 A KR 900022443A KR 930005709 B1 KR930005709 B1 KR 930005709B1
Authority
KR
South Korea
Prior art keywords
signal
output
read
slot connector
input
Prior art date
Application number
KR1019900022443A
Other languages
Korean (ko)
Other versions
KR920013061A (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 KR1019900022443A priority Critical patent/KR930005709B1/en
Publication of KR920013061A publication Critical patent/KR920013061A/en
Application granted granted Critical
Publication of KR930005709B1 publication Critical patent/KR930005709B1/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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/11Plc I-O input output
    • G05B2219/1131I-O connected to a bus

Landscapes

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

Abstract

The duplex rack address line communicates data between a programmable logic controller and special I/O cards having CPU and common RAM. The system includes a chip selection signal generator (10) for combining address signals (A13-A15) of a CPU to generate chip selection signal, a slot connector for interfacing chip selection signal, a read/write signal generator (17) for combining read/write signal, chip selection signal (CS0), byte signal (BY2) and data signal to generate read/write control signal, an I/O processing CPU (19) for controlling an I/O cards according to interrupt signal (INT) and fine (FIN) signal generated by the read/write signal generator (17), a common RAM (21) for storing I/ O data of the CPU (19), a transmitter/receiver (18) for transmitting output data of the CPU (19), a transmitter/receiver (18) for transmitting output data of the CPU (19) to the slot connector (11), and a multiplexer (20) for storing address signals (A0-A13), and read/write signal on the common RAM (21).

Description

PLC의 랙 어드레스라인 복수기능 구현 시스템PLC's rack address line multi-function system

제1도는 종래 PLC의 랙의 개략 구성도.1 is a schematic configuration diagram of a rack of a conventional PLC.

제2도는 제1도의 컨넥터의 내삽되는 종래의 메인 CPU 카트 구성도.2 is a diagram of a conventional main CPU cart in which the connector of FIG. 1 is interpolated.

제3도는 제1도의 컨넥터에 내삽되는 종래의 입,출력 카드 구성도.3 is a block diagram of a conventional input / output card inserted into the connector of FIG.

제4도는 본 발명 PLC의 랙의 개략 구성도.4 is a schematic configuration diagram of a rack of the present invention PLC.

제5도는 제4도의 컨넥터에 내삽되어 본 발명의 메인 CPU 카드 구성도.5 is a block diagram of the main CPU card of the present invention inserted into the connector of FIG.

제6도는 제4도의 컨넥터에 내삽되는 본 발명의 특수 입, 출력 카드 구성도.Figure 6 is a block diagram of a special input and output card of the present invention interpolated to the connector of Figure 4.

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

1 : 메인랙 2 : 증설랙1: Main Rack 2: Expansion Rack

3 : 메인 중앙처리장치 4 : 프로그램롬3: Main CPU 4: Program ROM

5 : 램 10 : 칩선택신호 발생부5: RAM 10: Chip select signal generator

11 : 슬로트 컨넥터 17 : 판독/기록신호 발생부11 slot connector 17 read / write signal generator

18 : 송수신부 19 : 입출력 중앙처리장치18: transceiver 19: input and output central processing unit

본 발명은 프로그램 로직제어기(PLC)에서 랙(rack)에 깔리는 한정된 어드레스라인의 활용에 관한 것으로, 특히 랙에 내삽이 될 특수 입출력 카드(I/O card)에 자체적으로 CPU와 공용램이 내장되어 있는 경우에 원활한 정보교환이 가능하도록 하기 위한 PLC의 랙 어드레스라인 복수기능 구현 방식에 관한 것이다.The present invention relates to the use of a limited address line installed in a rack in a programmable logic controller (PLC). In particular, a CPU and a common RAM are embedded in a special input / output card (I / O card) to be inserted into a rack. The present invention relates to a rack address line plural function implementation method of a PLC for enabling a smooth exchange of information when there is.

종래 PLC의 랙은 첨부된 되면 제1도에 도시된 바와같이, 메인랙(1)과 증설랙(2)으로 나누어지고, 메인랙(1)에는 14개의 어드레스라인(A0-A13)으로 된 다수의 컨넥터(1a-1j)가 순차적으로 접속되고, 컨넥터(1b)에는 디코더부(1k)가 접속되어 그 컨넥터(1b)로부터 출력되는 데이타를 디코딩하여 상기 각각의 켠넥터(1c-1j)를 선택 인에이블 시키게 된다.As shown in FIG. 1, the rack of the conventional PLC is divided into a main rack 1 and an expansion rack 2, and the main rack 1 includes a plurality of 14 address lines A0-A13. The connectors 1a-1j are sequentially connected, and the decoder 1k is connected to the connector 1b to decode the data output from the connector 1b to select the respective on connectors 1c-1j. It will be enabled.

또한 상기 증설랙(2)에는 14개의 드레스라인(A0-A13)으로 된 다수의 컨넥터(2a-2j)가 순차적으로 접속되고, 컨넥터(2b)에는 상기 다수 컨넥터(2c-2j)를 인에이블 시키는 디코더부(2k)가 접속된과 아울러 그 디코더부(2k)를 선택하는 멀티플랙서(21)가 접속되어 있으며, 증설랙(2)의 컨넥터(2b)는 상기 메인랙(1)의 컨넥터(1a)와 접속되어 있다.In addition, a plurality of connectors (2a-2j) of 14 dress lines (A0-A13) are sequentially connected to the expansion rack (2), and the connectors (2b) enable the plurality of connectors (2c-2j). The decoder section 2k is connected and a multiplexer 21 for selecting the decoder section 2k is connected, and the connector 2b of the expansion rack 2 is connected to the connector of the main rack 1. It is connected with 1a).

제2도는 메인 CPU 카드 구성도로서, 상기 메인랙(1)의 컨넥터(1b)와 접속되어 테이타를 인터페이스하는 슬로트 컨넥터(9)와, 상기 슬로트 컨넥터(9)의 데이타를 버퍼링하는 버퍼부(8)와, 상기 버퍼부(8)의 출력 데이타를 디코딩하는 디코더부(7)와, 상기 슬로트 켠넥터(9)의 출력 데이타를 버퍼링하는 버퍼부(6)와, 상기 버퍼부(6) 및 디코더부(7)의 출력데이타를 프로그램롬(4)의 프로그램 수행에 따라 램(5)에 저장함과 아울러 시스템 전체를 제어하는 중앙처리장치(3)으로서 구성되어 있다.2 is a configuration diagram of the main CPU card. The slot connector 9 is connected to the connector 1b of the main rack 1 to interface data, and the buffer unit buffers data of the slot connector 9. (8), a decoder unit 7 for decoding the output data of the buffer unit 8, a buffer unit 6 for buffering the output data of the slot-connected connector 9, and the buffer unit 6 And the output data of the decoder unit 7 are stored in the RAM 5 in accordance with the program execution of the program ROM 4, and the central processing unit 3 controls the entire system.

제3도는 종래 입,출력 카드 구성도로서, 상기 메인랙(1) 및 증설랙(2)의 콘넥터(1c-1j),(2c-2j)와 접속되어 데이타를 인터페이스하는 슬로트 컨넥터(10)와, 상기 슬로트 켄넥터(10)의 데이타를 디코딩하는 디코더부(11)와, 상기 디코더부(11)의 출력데이타를 래치하는 래치부(12-15)로서 구성되어 있다.FIG. 3 is a conventional I / O card configuration diagram. The slot connector 10 connected to the connectors 1c-1j and 2c-2j of the main rack 1 and the expansion rack 2 to interface data. And a decoder unit 11 for decoding the data of the slot connector 10 and a latch unit 12-15 for latching the output data of the decoder unit 11.

이와 같이 구성된 종래 PLC 랙은 먼저 메인 CPU 카드의 슬로트 컨넥터(9)를 메인랙(1)의 컨넥터(1b)에 접속하고, 입,출력 카드의 슬로트 켠넥터(10)를 메인랙(1) 및 증설랙92)의 컨넥터(1c-1j)(2c-2j)에 선택하여 접속하게 되면 PLC 메인랙(1) 및 증설랙(2)에 접속되는 슬로트 컨넥터(9)(10)의 어드레스라인(A0-A13)의 사용 용도는 어드레스라인(A0-A13) 일부선을 오로지 증설랙(2)에 구성된 컨넥터(2c-2j)의 인에이블 신호 또는 메인 CPU 카드 및 입,출력 카드의 인에이믈 신호등으로 사용하기 때문에 막상 제어하고자 하는 카드가지 어드레스라인(A0-A13)이 도달했을때에는 전체 어드레스라인(A0-A13)수의 일부분 즉, 어드레스라인(A0-A13)중 3개의 어드레스라인만 남기 대문에 입,출력 카드의 접점을 직접 제어할 수 밖에 없다. 즉 제1도에서와 같이 디코더부(1k)(2k)를 이용하여 메인랙(1) 및 증설랙(2)에 있는 8개의 컨넥터(1c-1j)(2c-2j)중 한개를 선택하는데에 있어서 어드레스라안(A3)(A4)(A5)이 사용되며, 제2도에서도 디코더부(7)를 이용하여 메인랙(1) 및 증설랙(2)을 선택하기 위해 어드레스라인(A7-A13)이 모든 컨넥터(1c-1j)(1c-2j)에 접속이 된다. 그러므로 결국 어드레스라인(A0-A13)만 메인랙(1) 및 증설랙(2)에 접속하였다고 생각할때 어드레스라인 (A0)(A1)(A2)(A6)만 알아내고자 할때 쓰이므로 결국은 어드레스라인(A0-A2)만이 어느 특정카드에서 자유로운 바이트(byte)선택이 가능하게 된다.In the conventional PLC rack configured as described above, the slot connector 9 of the main CPU card is first connected to the connector 1b of the main rack 1, and the slot on connector 10 of the input / output card is connected to the main rack (1). ) And slots 9 and 10 connected to the PLC main rack 1 and the expansion rack 2 when connected to the connectors 1c-1j and 2c-2j of the expansion rack 92. The purpose of using the lines A0-A13 is to enable the enable signal of the connector 2c-2j configured in the expansion rack 2 or the main CPU card and the input / output card only on a part of the address lines A0-A13. Since it is used as a signal lamp, when the address line (A0-A13) of the card branch to be controlled is reached, only a part of the total number of address lines (A0-A13), that is, three address lines of the address lines (A0-A13) remain. As a result, you have no choice but to directly control the contacts of the input and output cards. That is, as shown in FIG. 1, the decoder unit 1k and 2k are used to select one of the eight connectors 1c-1j and 2c-2j in the main rack 1 and the expansion rack 2. In this case, the address lines A3, A4 and A5 are used, and in FIG. 2, the address line A7-A13 is used to select the main rack 1 and the expansion rack 2 by using the decoder unit 7 in FIG. All of these connectors 1c-1j and 1c-2j are connected. Therefore, it is used to find out only the address lines A0 (A1) (A2) (A6) when it is assumed that only the address lines (A0-A13) are connected to the main rack (1) and the expansion rack (2). Only lines A0-A2 allow free byte selection on any particular card.

그러나 이와 같은 종래 PLC의 랙 어드레스라인 사용방식은 어드레스 접속만으로 사용하였기 때문에 특수 입,출력 카드와 같은 경우 더욱 많은 데이터를 메인 CPU와 교환해야 될 필요성이 있는 경우에 이를 활용할 수 없는 문제점이 있었다.However, since the conventional method of using a rack address line of a PLC is used only as an address connection, there is a problem in that it is not possible to use it when there is a need to exchange more data with the main CPU in the case of a special input / output card.

본 발명은 이와 같은 종래의 문제점을 감안하여 메인 CPU에서 일반 입,출력 접점의 루트는 우선 이용하여 특수 입,출력 카드내의 공용램 사용요구신호를 보내고, 특수 입,출력 카드쪽에 있는 중앙처리장치는 이 신호를 받아서 원래하던 동작수행을 보류시키고 메인 중앙처리장치쪽으로 일반 입, 출력 접점의 루크를 통하여 사용허가 신호를 보냄과 동시에 공용램의 사용이 메인 중앙처리장치에서 가능하도록 하여 PLC 랙의 어드레스라인의 복수기능을 수행하도록 창안한 것으로, 이하 본 발명을 첨부된 도면에 의거 상세히 설명하면 다음과 같다.In view of the conventional problems, the present invention transmits a request signal for using a common RAM in a special input / output card by using a route of a general input / output contact in a main CPU first, and a central processing unit located on a special input / output card side. Receiving this signal, it suspends the original operation and sends a permission signal to the main central processing unit through the lock of the general input and output contacts, and at the same time enables the use of the common RAM in the main central processing unit. Invented to perform a plurality of functions of, when described in detail below with reference to the accompanying drawings of the present invention.

제4도는 본 발명 PLC 랙의 개략구성도로서, 여기서 랙은 메인랙(1)과 증설랙(2)으로 나누어지고, 메인랙(1)에는 14개의 어드레스라인(A0-A13)과 2개의 칩선택단자(CS0)(CS1)로 된 다수의 컨넥터(1a-1j)를 순차적으로 접속하고, 컨넥터(1b)에는 디코더부(1k)를 접속하여 그 컨넥터(1b)로부터 출력되는 어드레스라인(A3-A5)을 조합한 후 8개의 컨넥터(1c-1j)를 디코드하도록 구성하고, 또한 상기 증설랙(2)에는 14개의 어드레스라인(A0-A13)과 2개의 칩선택단자(CS0-CS1)로 된 다수의 컨넥터(2a-2j)를 순차적으로 접속하고, 컨넥터(2b)에는 디코더부(2k)를 접속하여 그 컨넥터(2b)로부터 출력되는 어드레스라인(A3-A5)을 조합한 후 8개의 컨넥터(2c-2i)를 디코드하도록 구성함과 아울러 그 디코더부(2k)를 칩인에이블 시키는 멀티플렉서(21)를 컨넥터(2b)에 접속하고, 증설랙(2)의 컨넥터(2b)는 상기 메인랙(1)의 컨넥터(1a)와 접속하여 구성한다.4 is a schematic configuration diagram of a PLC rack according to the present invention, in which a rack is divided into a main rack 1 and an expansion rack 2, and the main rack 1 has 14 address lines A0-A13 and two chips. A plurality of connectors 1a-1j of the selection terminals CS0 and CS1 are sequentially connected, and the decoder 1k is connected to the connector 1b, and the address line A3- is outputted from the connector 1b. After combining A5), eight connectors 1c-1j are decoded, and the expansion rack 2 has 14 address lines A0-A13 and two chip select terminals CS0-CS1. A plurality of connectors 2a-2j are sequentially connected, and a decoder 2k is connected to the connector 2b, and the address lines A3-A5 outputted from the connector 2b are combined, and then eight connectors ( 2c-2i) is decoded, and a multiplexer 21 for chip-enableing the decoder 2k is connected to the connector 2b, and the connector 2b of the expansion rack 2 is connected to the top. Forms in connection with the connector (1a) of the main rack (1).

제5도는 본 발명의 메인 CPU 카드 구성도로서, 상기 메인랙(1)의 컨넥터(1b)와 접속되어 데이타를 인터페이스하는 슬로트 컨넥터(9)와, 입력되는 어드레스신호(A13-A15)()를 조합하여 상기 슬로트 컨넥터(9)에칩선택신호(CS0)(CS1)를 발생하는 앤드게이트(AN1-AN3)로 된 칩선택신호 발생부(1)와, 프로그램롬(4)의 프로그램의 수행에 따라 램(5)에 데이타를 저장함과 아울러 시스템 전체를 제어하는 메인 중앙처리장치(3)와, 상기 메인 중앙처리장치(3)로부터 출력되는 어드레스신호(A0-A15)를 디코딩하는 디코어부(7)와, 상기 메인 중앙처리장치(3) 및 디코더부(7)를 통한 어드레스신호(A0-A15)를 각각 버퍼링하고 조합하여 상기 슬로트 컨넥터(9)에 입력시키는 버퍼부(6)(8)로서 구성한다. 제6도는 본 발명 특수 입,출력 카드 구성도로서, 이에 도시한 바와 같이, 상기 메이너랙(1) 및 증설객(2)의 컨넥터(1c-1j)(2c-2j)에 접속되어 데이타를 인터페이스하는 슬로트 커넥터(11)와, 상기 슬로트 컨넥터(11)로부터 출력되는 어드레스신호(A0-A2)를 디코딩하여 래치부(13-16)를 인에이블시키는 디코더부(12)와, 상기 슬로트 컨넥터(11)로부터 출력되는 판독/기록신호(RD)(WR), 칩선택신호(CS0) 및 바이트신호(BY3)를 조합하여 제어신호를 출력하는 오아게이트(OR1-OR4), 버퍼(B1) 및 플립플롭(FF1)으로 된 판독/기록신호 발생부(17)와, 상기 판독/기록신호 발생부(17)로부터 출력된 인터럽트신호(INT) 및 파인신호(FIN)에 따라 입,출력 카드의 시스템 전체를 제어함과 아울러 프로그램롬(23)의 어드레스신호(A0-A13)와 조합하여 슬로트 컨넥터(11)로 입력시키는 입,출력 중앙처리장치(19)와, 상기 입,출력 중앙처리장치(19)로부터 출력되는 8비트의 데이타(D0-D7)를 송,수신 하는 송수신부(22)와 상기 송수신부(22)로부터 출력되는 데이타(D0-D7)를 저장하는 공용램(21)과, 상기 입,출력 중앙처리장치(19), 판독/기록신호 발생부(17) 및 슬로트 컨넥터(11)로부터 출력되는 승인신호(ACK), 인터럽트신호(INT) 및 칩선택신호(CS1)에 따라 인에이블되어 송수신부(22)로부터 입력되는 데이타(D0-D7) 및 판독신호(RD)를 상기 슬로트컨넥터(11)에 출력하는 플립플롭(18a), 오아게이트(OR5) 및 버퍼(18b)로 된 송,수신부(18)와, 상기 송수신부(18)의 출력제어신호에 의해 칩인에이블 되어 상기 입출력 중앙처리장치(19)의 어드레스(A0-A13), 판독/기록신호(RD)(WR)와 슬로트 컨넥터(11)로 입력되는 메인 중앙처리장치(3)의 어드레스(A0-A13), 판독/기록신호(RD)(WR))를 선택하여 공용램(21)에 저장하는 멀티플렉서(20)로서 구성한다.5 is a configuration diagram of the main CPU card according to the present invention. The slot connector 9 is connected to the connector 1b of the main rack 1 to interface data, and the input address signals A13-A15 ( ) Is combined with the chip select signal generator 1 of the AND gates AN1-AN3 to generate the chip select signals CS0 (CS1) on the slot connector 9 and the program of the program ROM 4. A core unit for storing data in the RAM 5 and controlling the entire system, and decoding the address signals A0-A15 output from the main CPU 3 according to the execution. (7) and a buffer unit 6 for buffering and combining the address signals A0-A15 through the main central processing unit 3 and the decoder unit 7, respectively, and inputting them to the slot connector 9 ( And 8). FIG. 6 is a schematic diagram of a special input / output card of the present invention. As shown in FIG. A slot connector 11, a decoder unit 12 for decoding the address signals A0-A2 output from the slot connector 11 to enable the latch unit 13-16, and the slot OA gates OR1-OR4 and buffers B1 for outputting a control signal by combining the read / write signal RD WR, chip select signal CS0 and byte signal BY3 output from the connector 11; And the read / write signal generator 17 of the flip-flop FF1 and the interrupt signal INT and the fine signal FIN output from the read / write signal generator 17. Input / output central processing plant which controls the whole system and inputs to the slot connector 11 in combination with the address signals A0-A13 of the program ROM 23. (19), the transceiver 22 for transmitting and receiving 8-bit data D0-D7 output from the input / output central processing unit 19, and the data D0 output from the transceiver 22. A common RAM 21 for storing D7, an acknowledgment signal ACK output from the input / output central processing unit 19, the read / write signal generator 17 and the slot connector 11, and an interrupt. A flip-flop which is enabled according to the signal INT and the chip select signal CS1 and outputs the data D0-D7 and the read signal RD input from the transceiver 22 to the slot connector 11. 18a), the transmitter / receiver 18 comprising an OR gate OR5 and the buffer 18b and the output control signal of the transceiver 18 are chip-enabled to address (A0) of the input / output central processing unit 19. -A13), the address (A0-A13) and the read / write signal (RD) WR of the main CPU 3 input to the read / write signal RD WR and the slot connector 11). By selecting common ram (21) It consists of the multiplexer 20 stored in the memory.

이와 같이 구성된 본 발명의 작용, 효과를 설명하면 다음과 같다.Referring to the operation and effects of the present invention configured as described above are as follows.

먼저 프로그램롬(4)의 프로그램의 수행에 따라 메인 중앙처리장치(3)로부터 출력된 어드레스신호(A0-A13)는 버퍼부(6)를 통해 버퍼링되어 슬로트 컨넥터(9)에 입력되고, 어드레스신호(A7-A13)는 디코더부(7)를 통해 디코딩되고 버퍼부(8)를 통해 버퍼링된 후 상기 버퍼부(6)의 출력 어드레스신호(A0-A13)와 조합되어 슬로트 컨넥터(9)에 입력된다. 또한 메인 중앙처리장치(3)로부터 출력된 어드레스신호(A13-A15)()는 칩선택신호 발생부(10)에서 조합되어 칩선택신호(CS0)(CS1)를 슬로트 컨넥터(9)에 출력하게 된다. 따라서 상기 슬로트 컨넥터(9)와 접속된 메인랙(1)의 컨넥터(1b)에서는 칩선택신호(CS0)(CS1)와 어드레스신호(A0-A13)가 출력되어 순차적 컨넥터(1c-1j)에 인가함과 아울러 메인랙(1)의 컨넥터(1a) 및 증설랙(2)의 컨넥터(2a-2j)에 순차적으로 입력되고, 동시에 상기 메인랙(1) 및 증설랙(2)의 컨넥터(1c-1j)(2c-2j)에 접속된 입,출력 카드의 슬로트 컨넥터(11)에 입력된다. 이때 메인랙(1)의 컨넥터(1b)로부터 출력되는 어드레스(A3-A5)는 칩선택신호(Cn1)에 의해 인에이블 되는 디코더부(1k)에서 디코딩되어 8개의 컨넥터(1c-1j)를 선택하게 된다. 또한 증설랙(2)의 컨넥터(2b)로부터 출력되는 어드레스신호(A7-A13)는 멀티플렉서(21)에서 선택을 하여 그 선택된 데이타로 디코더부(2k)를 칩인에이블 시키게 되므로 컨넥터(2b)로부터 출력되는 어드레스신호(A3-A5)가 디코더부(2k)를 통해 디코딩된 후 8개의 컨넥터(2c-2j)를 선택하게 된다.First, as the program of the program ROM 4 is executed, the address signals A0-A13 output from the main CPU 3 are buffered through the buffer unit 6 and input to the slot connector 9. The signals A7-A13 are decoded by the decoder unit 7 and buffered through the buffer unit 8 and then combined with the output address signals A0-A13 of the buffer unit 6 to the slot connector 9. Is entered. In addition, the address signals A13-A15 outputted from the main CPU 3 ( ) Are combined in the chip select signal generator 10 to output the chip select signals CS0 and CS1 to the slot connector 9. Therefore, in the connector 1b of the main rack 1 connected to the slot connector 9, the chip select signals CS0 and CS1 and the address signals A0-A13 are output to the sequential connectors 1c-1j. In addition to being applied, they are sequentially input to the connectors 1a of the main rack 1 and the connectors 2a-2j of the expansion rack 2, and at the same time, the connectors 1c of the main rack 1 and the expansion rack 2 are applied. -1j) is inputted to the slot connector 11 of the input / output card connected to (2c-2j). At this time, the addresses A3-A5 outputted from the connector 1b of the main rack 1 are decoded by the decoder unit 1k enabled by the chip select signal Cn1 to select eight connectors 1c-1j. Done. In addition, since the address signals A7-A13 output from the connector 2b of the expansion rack 2 are selected by the multiplexer 21 and chip-enables the decoder unit 2k with the selected data, they are output from the connector 2b. After the address signals A3-A5 are decoded through the decoder 2k, eight connectors 2c-2j are selected.

한편 메인 CPU 카드의 슬로트 컨넥터(9)가 특수 입,출력 카드가 접속되어 있는 슬로트 컨넥터(11)에 어드레스신호(A0-A13), 기록신호(WR) 및 칩선택신호(S0)를 출력하게 되면 어드레스신호(A0-A3)는 특수 입,출력 카드에 구성된 디코더부(12)에서 디코딩되어 바이트신호(BY0-BY3)가 각기 래치부(13-16)를 칩인에이블 시키게 되고, 또한 슬로트 컨넥터(11)로부터 출력된 기록신호(WR)와 칩선택신호(CS0) 및 데이타(D4)가 판독/기록신호 발생부(17)에 구성된 오아게이트(OR1)(OR2) 및 플립플롭(FF1)에 인가되면 그 플립플롭(FF1)의 출력단자(Q1)에서는 하이신호가 출력되어 송수신부(18)의 플립플롭(18a)의 리센트단자에 인가되므로 그 플립플롭(18a)의 출력단자(Q2)에 로우신호가 출력되어 멀티플렉서(20)를 칩인에이블시키게 된다. 따라서 상기 멀티플렉서(20)는 메인 중앙처리장치(3)로부터 출력된 어드레스신호(A0-A13)을 선택하여 공용램(21)에 기록하게 된다. 또한 메인 중앙처리장치(3)는 특수 입,출력 카드에 구성되어 있는 바이트(BY3)를 판독/기록신호 발생부(17)의 오아게이트(OR1-OR4)에서 조합하고, 버퍼(B1)를 통해 데이터(D5)를 모니터링하여 "1"이 읽혀 들어 올때까지 즉, 입출력 중앙처리장치(19)로부터 승인신호(ACK)를 받을때까지 자체동작을 멈추게 되고, 입출력 중앙처리장치(19)로부터 승인신호(ACK)가 출력되면 송,수임부(18)의 출력단자(Q2)에서 하이신호가 출력되어 멀티플렉서(18a)가 칩인에이블되고, 출력단자()에서는 로우신호가 출력되어 송수신부(18)의 버퍼(18b)를 인에이블 시키게 된다. 따라서 메인 중앙처리장치(3)로부터 출력된 어드레스신호(A0-A13), 기록신호(WR) 및 판독신호(RD)가 멀티플렉서(20)를 통해 공용램(21)의 어드레스를 지정하게 되므로 공용램(21)에 저장된 데이타(D0-D7)가 송수신부(18)의 버퍼(18b)를 통해 메인 중앙처리장치(3)로 입력된다. 이후 메인 중앙처리장치(3)가 특수 입출력 카드에 있는 공용램(21)의 사용을 마쳤을 경우 사용완료신호 즉, 판독/기록신호 발생부(17)의 플립플롭(FF1)의 출력단자()에서는 하이신호 즉, 파인신호(FIN)을 입,출력 중앙처리장치(19)에 인가하게 되고, 따라서 입,출력 중앙처리장치(19)는 송수신부(18)로부터 출력되는 인터럽트신호(INT)에 의해 공용램(21)의 사용을 중지시킴과 아울러 플립플롭(18a)에 승인신호(ACK)를 출력하게 되므로써 그 플립플롭(18a)의 출력단자(Q2)가 하이신호 즉, 승인신호(ACK)를 출력하게 되고 또한 입,출력 중앙처리장치(19)는 플립플롭(18a)의 출력단자()에서 출력되는 공용램(21)의 사용마침신호 즉, 파인신호(FIN)을 모니터링하여 인터럽트에서 해제된다.On the other hand, the slot connector 9 of the main CPU card outputs an address signal A0-A13, a write signal WR, and a chip select signal S0 to the slot connector 11 to which a special input / output card is connected. In this case, the address signals A0-A3 are decoded by the decoder unit 12 configured in the special input / output card so that the byte signals BY0-BY3 chip enable the latch units 13-16, respectively, and also slots. The write signal WR, the chip select signal CS0 and the data D4 output from the connector 11 are configured in the read / write signal generator 17 and the OR gate OR1 OR2 and the flip-flop FF1. When applied to the output terminal Q1 of the flip-flop FF1, a high signal is outputted to the receive terminal of the flip-flop 18a of the transceiver 18. Since a low signal is output to the output terminal Q2 of the flip-flop 18a, the multiplexer 20 is chip-enabled. Therefore, the multiplexer 20 selects the address signals A0-A13 output from the main CPU 3 and writes them to the common RAM 21. In addition, the main CPU 3 combines the bytes BY3 configured in the special input / output card by the OR gates OR1 to OR4 of the read / write signal generator 17 and through the buffer B1. Monitoring of data D5 stops its operation until " 1 " is read in, i.e., until it receives an acknowledgment signal ACK from the I / O central processing unit 19, and the acknowledgment signal from the I / O central processing unit 19. When (ACK) is output, a high signal is output from the output terminal Q2 of the transmitter / receiver 18 so that the multiplexer 18a is chip-enabled, and the output terminal ( ), A low signal is output to enable the buffer 18b of the transceiver 18. Therefore, the address signals A0-A13, the write signal WR, and the read signal RD output from the main CPU 3 designate the addresses of the common RAM 21 through the multiplexer 20. Data (D0-D7) stored in (21) are input to the main CPU 3 through the buffer 18b of the transceiver unit 18. Then, when the main CPU 3 finishes using the common RAM 21 in the special input / output card, the use completion signal, that is, the output terminal of the flip-flop FF1 of the read / write signal generator 17 ( In this case, the high signal, that is, the fine signal (FIN) is applied to the input / output central processing unit 19, and thus the input / output central processing unit 19 receives the interrupt signal INT output from the transceiver unit 18. By stopping the use of the common RAM 21 and outputting the acknowledgment signal (ACK) to the flip-flop (18a), the output terminal (Q2) of the flip-flop (18a) is a high signal, that is, the acknowledgment signal (ACK) ) And the input / output central processing unit 19 outputs the output terminal of the flip-flop 18a ( The end signal of the common RAM 21 outputted from the signal, i.e., the fine signal FIN, is monitored and released from the interrupt.

이상에서 상세히 설명한 바와 같이 본 발명은 메인 중앙처리에서 일반 입출력 접점의 루트를 우성이용하여 특수 입,출력 카드내의 공용램 사용요구신호를 보내고, 특수 입,출력 카드쪽에 있는 중앙처리장치는 이 신호를 받아서 원래하던 동작수행을 보FB시키고 메인 중앙처리장치쪽으로 일반 입,출력 접점의 루트를 통하여 사용승인신호를 보냄과 동시에 공용램의 사용이 메인 중앙처리장치에서 사용가능하도록 특수 입,출력 카드안에 있는 플립플롭 출력을 원하는 신호가 되도록 해준다. 그리고 메인 중앙처리장치의 특수 입출력 카드안의 공용램 사용이 완료되면 같은 방법으로 정상루틴으로 돌려보내어 PLC의 특수 입출력 카드의 데이타 처리양을 배가시키게 하는 특징이 있다.As described in detail above, the present invention transmits a common RAM use request signal in a special input / output card by using a dominant route of general input / output contacts in the main central processing, and the central processing unit at the special input / output card side sends this signal. It sends the approved signal to the main central processing unit through the route of general input / output contacts to the main central processing unit, and at the same time, it is located in the special input / output card so that the use of the common ram can be used in the main central processing unit. Make the flip-flop output the desired signal. When the common RAM in the special I / O card of the main CPU is completed, it returns to the normal routine in order to double the data processing amount of the special I / O card of the PLC.

Claims (1)

다수의 컨넥터가 순차적으로 접속되어 메인 중앙처리장치(3)로부터 출력되는 어드레스신호에 의해 인에이블되는 메인랙(1) 및 증설랙(2)에 있어서, 상기 메인 중앙처리장치(3)의 어드레스신호(A13-A15)()를 조합하여 슬로트 컨넥터(9)로 칩선택신호(CS0)(CS1)를 출력하는 칩선택신호 발생부(10)와, 상기 슬로트 컨넥터(9)에 접속되어 데이타를 인터페이스하는 슬로트 컨넥터(11)와, 상기 슬로트 컨넥터(11)의 판독/기록신호(RD)(WR), 칩선택신호(CS0)(CS1)를 출력하는 칩선택신호 발생부(10)와, 상기 슬로트 컨넥터(9)에 접속되어 데이타를 인터페이스하는 슬로트 컨넥터(11)와, 상기 슬로트 컨넥터(11)의 판독/기록신호(RD)(WR), 칩선택신호(CS0), 바이트신호(BY2) 및 데이타(D4)를 조합하여 그에 다른 제어신호를 출력하는 판독/기록신호 발생부(17)와, 상기 판독/기록신호 발생부(17)의 인터럽트신호(INT) 및 파인신호(FIN)에 따라 입출력 카드의 시스템 전체를 제어함과 아울러 프로그램롬(23)의 어드레스신호와 조합하여 슬로트 컨넥터(11)로 입력시키는 입출력 중앙처리장치(19)와, 상기 입출력 중앙처리장치(19)의 출력데이타를 송수신하는 송수신부(22)와, 상기 송수신부(22)의 출력데이타를 저장하는 공용램(21)과, 상기 입출력 중앙처리장치(19), 판독/기록신호 발생부(17) 및 슬로트 컨넥터(11)로부터 출력되는 승인신호(ACK), 인터럽트신호(INT) 및 칩선택신호(CS1)에 따라 인에이블되어 송수신부(22)로부터 입력되는 데이터를 슬로트 컨넥터(11)에 출력하는 송수신부(18)와, 상기 송수신부(18)의 출력신호에 의해 칩인에이블되어 입,출력 중앙처리장치(19) 및 메인 중앙처리장치(3)의 어드레스신호(A0-A13), 판독/기록신호(RD)(WR)를 선택하여 공용램(21)에 저장하는 멀티플렉서(20)로 구성함을 특징으로 한 PLC의 랙 어드레스라인 복수기능 구현 시스템.In the main rack 1 and the expansion rack 2, in which a plurality of connectors are sequentially connected and enabled by an address signal output from the main CPU 3, the address signals of the main CPU 3 are (A13-A15) ( ), A chip select signal generator 10 for outputting the chip select signals CS0 and CS1 to the slot connector 9, and a slot connector connected to the slot connector 9 to interface data. (11), a chip select signal generator 10 for outputting read / write signals RD WR and chip select signals CS0 and CS1 of the slot connector 11, and the slot connector A slot connector 11 connected to (9) to interface data, a read / write signal RD WR, a chip select signal CS0, a byte signal BY2, and the slot connector 11; Read / write signal generator 17 for combining the data D4 and outputting another control signal, and input / output according to the interrupt signal INT and the fine signal FIN of the read / write signal generator 17. An input / output central processing unit 19 which controls the entire system of the card and inputs the slot signal 11 in combination with the address signal of the program ROM 23; A transmission / reception unit 22 for transmitting and receiving output data of the input / output central processing unit 19, a common RAM 21 for storing the output data of the transmission / reception unit 22, the input / output central processing unit 19, and reading Data which is enabled according to the acknowledgment signal ACK, the interrupt signal INT, and the chip select signal CS1 output from the recording signal generator 17 and the slot connector 11 and input from the transceiver 22. To the slot connector 11, and the chip is enabled by the output signal of the transceiver 18, the address of the input and output central processing unit 19 and the main central processing unit (3) A system for implementing multiple functions of a rack address line of a PLC, characterized by comprising a multiplexer 20 for selecting signals A0-A13 and read / write signals RD WR and storing them in the common RAM 21.
KR1019900022443A 1990-12-29 1990-12-29 Rack addressline multi-function operating system of plc KR930005709B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019900022443A KR930005709B1 (en) 1990-12-29 1990-12-29 Rack addressline multi-function operating system of plc

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019900022443A KR930005709B1 (en) 1990-12-29 1990-12-29 Rack addressline multi-function operating system of plc

Publications (2)

Publication Number Publication Date
KR920013061A KR920013061A (en) 1992-07-28
KR930005709B1 true KR930005709B1 (en) 1993-06-24

Family

ID=19308946

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019900022443A KR930005709B1 (en) 1990-12-29 1990-12-29 Rack addressline multi-function operating system of plc

Country Status (1)

Country Link
KR (1) KR930005709B1 (en)

Also Published As

Publication number Publication date
KR920013061A (en) 1992-07-28

Similar Documents

Publication Publication Date Title
US4156932A (en) Programmable communications controller
KR890002330B1 (en) Multi processor sytem
US4348725A (en) Communication line service interrupt technique for a communications processing system
US4261033A (en) Communications processor employing line-dedicated memory tables for supervising data transfers
US20030097511A1 (en) Fieldbus interface board
US5375218A (en) DMA channel control apparatus capable of assigning independent DMA transfer control line to respective expansion slots
KR920003270B1 (en) Block accessing device and microprocessor using cache memory
US4336588A (en) Communication line status scan technique for a communications processing system
KR930005709B1 (en) Rack addressline multi-function operating system of plc
JPH0227696B2 (en) JOHOSHORISOCHI
US5823871A (en) Interface control device for use with TV game equipment
US4472773A (en) Instruction decoding logic system
JPH0715670B2 (en) Data processing device
KR0153537B1 (en) Signal processing structure preselecting memory address data
KR960016271B1 (en) Exchange riset -out circuit
KR940006833B1 (en) Apparatus for controlling the request on common resources
JP2552025B2 (en) Data transfer method
KR940007479Y1 (en) Data transmission circuit between processors
JPH0773140A (en) Circuit structure of shared register and its data transmission method
SU976437A1 (en) Device for interfacing computer with peripheral devices
KR900005421B1 (en) Bus system for selective communication of data
KR920003479Y1 (en) Data transmission circuit of graphic card for p.c.
KR920009452B1 (en) Data electrical transmission circuit
KR970008526B1 (en) Interface device for holding the system data in common
KR940004729B1 (en) Interfacing apparatus for 8 bit and 16 bit

Legal Events

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

Payment date: 20100330

Year of fee payment: 18

EXPY Expiration of term