KR970005037Y1 - Gate allay for i/o card of plc - Google Patents

Gate allay for i/o card of plc Download PDF

Info

Publication number
KR970005037Y1
KR970005037Y1 KR2019940029056U KR19940029056U KR970005037Y1 KR 970005037 Y1 KR970005037 Y1 KR 970005037Y1 KR 2019940029056 U KR2019940029056 U KR 2019940029056U KR 19940029056 U KR19940029056 U KR 19940029056U KR 970005037 Y1 KR970005037 Y1 KR 970005037Y1
Authority
KR
South Korea
Prior art keywords
data
bit data
input
output
signal
Prior art date
Application number
KR2019940029056U
Other languages
Korean (ko)
Other versions
KR960018606U (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 KR2019940029056U priority Critical patent/KR970005037Y1/en
Publication of KR960018606U publication Critical patent/KR960018606U/en
Application granted granted Critical
Publication of KR970005037Y1 publication Critical patent/KR970005037Y1/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
    • G05B19/054Input/output
    • 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/12Programme control other than numerical control, i.e. in sequence controllers or logic controllers using record carriers

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Electronic Switches (AREA)

Abstract

내용없음.None.

Description

피엘씨의 입출력카드용 게이트어레이PLC's Gate Array

제1도는 종래 피엘씨의 입출력카드용 게이트어레이 블럭도.1 is a block diagram of a conventional IC card gate array.

제2도는 본 고안 피엘씨의 입출력카드용 게이트어레이 블럭도.2 is a gate array block diagram of an input / output card of the present invention PLC.

제3도는 제2도에 있는 제1출력구동반전기에 대한 상세도.3 is a detailed view of the first output drive reversal in FIG.

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

201 : 데이터버퍼부 202 : 데이타선택부201: data buffer section 202: data selection section

203 : 데이터전달부 204 : 출력구동반전부203: data transfer unit 204: output drive inverting unit

204a : 제1출력구동반전기 204b : 제2출력구동반전기204a: first output driver relay 204b: second output driver relay

204c : 제3출력구동반전기 204d : 제4출력구동반전기204c: third output driver relay 204d: fourth output driver relay

205 : 선택신호발생부 206 : 클럭발생부205: selection signal generator 206: clock generator

207 : 출력인에이블부 MUX7 : 메인멀티플랙셔207: output enable unit MUX7: main multiplexer

본 고안은 피엘씨(PLC : Programmable Logic Controller)의 입출력카드용 게이트 어레이(gate array)에 관한 것으로, 특히 실장공간의 큰 증가없이 간단한 모드설정으로 피엘씨에 대해 8비트 데이터와 16비트 데이터를 모두 입출력할 수 있는 피엘씨의 입출력카드용 게이트어레이에 관한 것이다.The present invention relates to a gate array for an input / output card of a PLC (PLC: Programmable Logic Controller). Especially, 8-bit data and 16-bit data can be stored for a PLC with a simple mode setting without a large increase in mounting space. The present invention relates to a gate array for PLC's input / output card capable of inputting / outputting.

일반적으로 '피엘씨의 입출력카드용 게이트어레이'란 피엘씨의 입출력카드(I/O Card)에 사용되는 게이트어레이로서, 데이터의 라이트(write, 이하같다)시에는 외부로부터 입력되는 데이터를 피엘씨에 라이트하고, 데이터의 리드(read, 이하같다)시에는 피엘씨의 데이터를 외부로 전달하는 장치를 말하며, 이러한 피엘씨의 입출력카드용 게이트어레이는 피엘씨의 데이터운영방식에 따라 8비트 데이터용과 16비트 데이터용이 있다.In general, 'PLC's input / output card gate array' is a gate array used for PLC's I / O card. When data is written, the data is input from outside. When the data is read and read, it refers to a device that transmits the data of the PL to the outside. The gate array for the I / O card of the PL is used for 8-bit data according to the data management method of the PL. It is for 16-bit data.

제1도는 종래 피엘씨의 입출력카드용 게이트어레이(8비트 데이터용)에 대한 구성을 블럭화하여 보인 것으로, 데이터 라이트시에는 외부로부터 입력되는 8비트 데이터(XDO-XD7)를 전달하고, 데이터 라이트시에는 피엘씨(미도시)쪽으로부터 입력되는 8비트 데이터를 외부로 출력하는 제1양방향버퍼(IOBU1)와; 상기 제1양방향버퍼(IOBU1)가 전달하는 외부로부터의 8비트 데이터(XDO-XD7)를 8비트씩 도합 32비트 데이터를 전달하는 제1디플립플롭(DFF1) 내지 제4디플립플롭(DFF4)과; 데이터 라이트시에는 상기 제1디플립플롭(DFF1) 내지 제4디플립플롭(DFF4)이 전달하는 32비트 데이터를 피엘씨에 라이트하고, 데이터 리드시에는 피엘씨의 32비트 데이터를 전달하는 제2양방향버퍼(IOBU2)와; 상기 제2양방향버퍼(IOBU2)가 전달하는 32비트 데이터를 8비트씩 상기 제1양방향버퍼(IOBU1)에 입력하는 제1버퍼(BIFF1) 내지 제4버퍼(BUFF4)로 구성된다.FIG. 1 shows a block diagram of a conventional PLC IC gate array (for 8-bit data). When data is written, 8-bit data (XDO-XD7) input from the outside is transferred, and data is written. The first bidirectional buffer (IOBU1) for outputting the 8-bit data input from the PLC (not shown) to the outside; First to fourth flip-flops DFF1 to DFF4 for transferring 32-bit data of 8-bit data XDO-XD7 from the outside transferred by the first bidirectional buffer IOBU1 by 8 bits. and; The second bit which writes the 32-bit data transmitted by the first dip-flop (DFF1) to the fourth dip-flop (DFF4) to the PLC when data is written, and the 32-bit data of the PLC when the data is read. A bidirectional buffer IOBU2; The first buffer BIFF1 to the fourth buffer BUFF4 input 32-bit data transmitted by the second bidirectional buffer IOBU2 to the first bidirectional buffer IOBU1 by 8 bits.

이러한 구성을 가지는 종래 피엘씨의 입출력카드용 게이트어레이의 작용을 설명한다.The operation of the conventional PLC input / output card gate array having such a configuration will be described.

피엘씨의 데이터 라이트시에, 제1양방향버퍼(IOBU1)는 라이트될 8비트 데이터(XDO-XD7)를 외부로부터 입력받아서 제1디플립플롭(DFF1) 내지 제4디플립플롭(DFF4)에 입력한다.When writing data of the PLC, the first bidirectional buffer IOBU1 receives the 8-bit data XDO-XD7 to be written from the outside and inputs it to the first flip-flop DFF1 to the fourth flip-flop DFF4. do.

제1디플립플롭(DFF1) 내지 제4디플립플롭(DFF4)은 제1양방향버퍼(IOBU1)로부터 입력되는 각각의 8비트 데이터(XDO-XD7)를 출력포트(Q)를 통해 출력하여 도합 32비트 데이터로 제2양방향버퍼(IOBU2)에 입력한다.The first deflected flop DFF1 to the fourth deflected flop DFF4 output 8 bit data XDO-XD7 inputted from the first bidirectional buffer IOBU1 through the output port Q in total. The bit data is input to the second bidirectional buffer IOBU2.

제2양방향버퍼(IOBU2)는 입력받은 32비트 데이터를 피엘씨에 라이트한다.The second bidirectional buffer IOBU2 writes the received 32-bit data to the PLC.

피엘씨의 데이터를 리드하는 경우에, 제2양방향버퍼(IOBU2)는 피엘씨로부터 32비트 데이터를 입력받아서 8비트씩 제1버퍼(BUFF1) 내지 제4버퍼(BFF4)를 통해 제1양방향버퍼(IOBU1)에 입력하면 제1양방향버퍼(IOBU1)는 입력받은 8비트 데이터를 외부로 출력한다.In the case of reading the data of PLC, the second bidirectional buffer IOBU2 receives 32 bits of data from the PLC and transmits the first bidirectional buffer (8) through the first buffer BUFF1 to the fourth buffer BFF4 by 8 bits. When input to IOBU1, the first bidirectional buffer IOBU1 outputs the received 8-bit data to the outside.

이러한 구성과 작용을 가지는 종래 피엘씨의 입출력카드용 게이트어레이에서 문제점은, 피엘씨에 대해 8비트 데이터(또는, 16비트 데이터)만을 입출력하도록 되어 있기 때문에 16비트 데이터(또는, 8비트 데이터)를 입출력 하기 위해서는 별도로 16비트 데이터(또는, 8비트 데이터)용 게이트어레이를 더 구비하여야 하고, 또 데이터를 반전시켜서 입출력할 수 없도록 설계되었기 때문에 데이터를 반전시며 출력하고자 할 때에는 별도의 반전장치를 추가설치해야 하므로, 실장 공간이 크게 증가한다는 것이다.The problem with the conventional PLC IC gate array having such a configuration and operation is that only 8-bit data (or 16-bit data) is input and output to the PLC. In order to input and output, a 16-bit data (or 8-bit data) gate array must be additionally provided, and it is designed not to input / output by inverting data. As a result, the mounting space is greatly increased.

본 고안은 이러한 종래 피엘씨의 입출력카드용 게이트 어러이의 문제점을 감안하여 안출된 것이다.The present invention has been devised in view of the problems of the conventional PL array of input and output cards.

본 고안의 목적은, 실장공간의 큰 증가없이 간단한 모드설정으로 피엘씨에 대해 8비트 데이터와 16비트 데이터를 모두 입출력할 수 있는 피엘씨의 입출력카드용 게이트어레이를 제공하는 것이다.It is an object of the present invention to provide a gate array for a PLC input / output card capable of inputting and outputting both 8-bit data and 16-bit data to the PLC with a simple mode setting without a large increase in the mounting space.

본 고안의 다른 목적은 실장공간의 큰 증가없이 데이터를 반전시켜서 입출력할 수 있는 피엘씨의 입출력카드용 게이트어레이를 제공하는 것이다.Another object of the present invention is to provide a gate array for PLC's input / output card that can input and output by inverting data without a large increase in mounting space.

상기 목적에 따른 본 고안 피엘씨의 입출력카드용 게이트어레이는 외부로부터 입력되는 어드레스신호에 따라 데이터선택신호와 버퍼인에이블신호를 출력하는 선택신호발생부와, 외부로부터 입력되는 비트선택신호에 따라 8비트 데이터모드에서는 외부로부터의 8비트 데이터를 선택하고, 16비트 데이터모드에서는 외부로부터의 16비트 데이터를 선택하는 데이터선택부와, 상기 선택신호발생부의 데이터선택신호에 따라 클럭신호를 발생하는 클럭발생부와; 상기 클럭발생부의 클럭신호에 따라 외부로부터 입력된 또는 상기 데이터선택부에 의해서 선택된 8비트 데이터 또는 16비트 데이터를 전달하는 데이터전달부와; 출력인에이블신호를 발생하는 출력인에이블부와; 데이터 라이트시 외부로부터 입력되는 인버젼신호와 상기 출력인에이블부의 출력인에이블신호에 따라 상기 데이터전달부가 전달하는 8비트 데이터 또는 16비트 데이터를 피엘씨에 라이트하고, 데이터 리드시 피엘씨의 8비트 데이터 또는 16비트 데이터를 상기 인버젼신호에 따라 그대로 또는 반전시켜서 전달하는 출력구동반전부와; 상기 선택신호발생부의 데이터선택신호와 상기 인버젼신호에 따라 상기 출력구동반전부가 전달하는 8비트 데이터와 16비트 데이터중 어느 하나를 선택하는 메인멀티플랙서와, 상기 메인멀티플렉셔가 선택하는 8비트 데이터 또는 16비트 데이터를 외부로 출력하는 데이터버퍼부로 구성된다.The gate array for the input / output card of the present invention according to the above object is a selection signal generator for outputting a data selection signal and a buffer enable signal according to an address signal input from the outside, and a bit selection signal input from the outside. In the bit data mode, a data selector for selecting 8-bit data from the outside and 16-bit data from the external in the 16-bit data mode, and a clock generation for generating a clock signal according to the data select signal of the select signal generator. Wealth; A data transfer unit transferring 8-bit data or 16-bit data input from the outside or selected by the data selection unit according to the clock signal of the clock generation unit; An output enable section for generating an output enable signal; 8-bit data or 16-bit data transmitted by the data transfer unit is written to the PLC according to the inversion signal input from the outside during data writing and the output enable signal of the output enable unit. An output driving inverting unit for transferring data or 16-bit data as it is or inverted according to the inversion signal; A main multiplexer for selecting any one of 8-bit data and 16-bit data transmitted by the output driver inverting unit according to the data selection signal and the inversion signal of the selection signal generator, and 8-bit selected by the main multiplexer It is composed of a data buffer unit for outputting data or 16-bit data to the outside.

이와 같이 구성된 본 고안 피엘씨의 입출력카드용 게이트어레이에 대하여 하나의 구체적 실시예를 나타낸 제2도 및 제3도를 참조하여 본 고안의 작용 및 효과를 상세히 설명한다.The operation and effects of the present invention will be described in detail with reference to FIGS. 2 and 3 showing one specific embodiment of the PL array of the present invention.

본 구체적 실시예에서 본 고안 피엘씨의 입출력카드용 게이트어레이의 데이터버퍼부는, 제2도에서 도면부호 '201'로 나타낸 바와 같이 제1양방향버퍼(IOBU1)와 제2양방향버퍼(IOBU2)로 된 병렬구조와, 제2양방향버퍼(IOBU2)의 인에이블단자(G)에 출력측이 연결된 앤드게이트(AND1)와, 앤드게이트(AND1)의 일측입력단자에 연결되는 낫게이트(NOT)로 구성된다.In this specific embodiment, the data buffer portion of the gate array for the input / output card of the present invention is composed of the first bidirectional buffer IOBU1 and the second bidirectional buffer IOBU2, as indicated by reference numeral 201 in FIG. The parallel structure includes an AND gate AND1 having an output side connected to the enable terminal G of the second bidirectional buffer IOBU2, and a sickgate NOT connected to one input terminal of the AND gate AND1.

데이터선택부는 도면부호 '202'로 나타낸 바와 같이, 제1, 제2입력포트(A), (B)를 통해 외부로부터 4비트 데이터를 입력받아서 외부로부터 입력되는 비트선택신호(Bit_S)에 따라 상기 제1, 제2입력포트(A), (B)중 어느 하나를 선택하여 각각의 출력포트(Y)를 통해 출력하는 제1멀티플랙셔(MUX1) 내지 제4멀티플랙셔(MUX4)로 구성된다.As shown by reference numeral '202', the data selection unit receives 4-bit data from the outside through the first and second input ports A and B and according to the bit selection signal Bit_S input from the outside. Composed of the first multiplexer (MUX1) to the fourth multiplexer (MUX4) to select any one of the first, second input port (A), (B) to output through each output port (Y) do.

데이터전달부는 도면부호 '203'으로 나타낸 바와 같이 데이터입력단자(D)를 통해 입력되는 데이터를 입력되는 클럭신호(CK1-CK4)에 따라 출력하는 제1디플립플롭(DFF1) 내지 제4디플립플롭(DFF4)으로 구성된다.As shown by reference numeral 203, the data transfer unit outputs the data input through the data input terminal D according to the input clock signals CK1-CK4. It consists of a flop (DFF4).

이때 제1디플립플롭(DFF1) 내지 제4디플립플롭(DFF4)은 외부로부터 클리어단자(CLR)에 입력되는 리세트신호(RST)에 따라 클리어된다.At this time, the first deflected flop DFF1 to the fourth deflected flop DFF4 are cleared according to the reset signal RST input from the outside to the clear terminal CLR.

출력구동반전부는, 도면부호 '204'로 나타낸 바와 같이, 데이터 라이트시 상기 데이터전달부(203)로부터 입력되는 데이터를 외부로부터 입력되는 인버젼신호(INVO), (INV1)에 따라 그대로 또는 반점시켜서 피엘씨(미도시)에 라이트하고 데이터 리드시 피엘씨의 데이터를 그대로 또는 반전시켜서 메인멀티플랙셔(MUX7)에 입력하는 제1출력구동반전기(204a) 내지 제4출력구동반전기(204d)로 구성된다.As shown by the reference numeral '204', the output driving inverting unit causes the data inputted from the data transfer unit 203 at the time of data writing to be intact or spotted according to the inversion signals INVO and INV1 inputted from the outside. The first output driver 204a to the fourth output driver 204d that writes to the PLC (not shown) and inputs the PLC data to the main multiplexer MUX7 as it is or inverted when the data is read. It consists of.

클럭발생부는, 도면부호 '206'으로 나타낸 바와 같이 선택신호발생부(205)로부터 여러개의 데이터선택신호를 입력받아 외부로부터 입력되는 비트선택신호(Bit_S)에 따라 그 데이터선택신호를 선택하는 제5멀티플랙셔(MUX5)와; 일측은 상기 제5멀티플랙셔(MUX5)의 출력측에 연결되고, 일측은 외부로부터의 라이트인 에이블신호(WR_)가 입력되는 오아게이트(OR)로 구성된다.The clock generation unit receives a plurality of data selection signals from the selection signal generation unit 205 and selects the data selection signals according to the bit selection signal Bit_S input from the outside, as indicated by reference numeral 206. Multiplexer (MUX5); One side is connected to an output side of the fifth multiplexer MUX5, and the other side is configured as an oragate OR to which an enable signal WR_, which is a light from the outside, is input.

출력인에이블부는, 도면부호 '207'로 나타낸 바와 같이 외부로부터의 비트선택신호(Bit_S)와 1비트데이터(XD14)를 앤드조합하는 앤드게이트(AND2)와 상기 앤드게이트(AND2)의 출력에 따라 외부로부터의 입력되는 데이터(XD10-XD13)와 출력인에이블신호(out_ENO, 1)중에서 어느 하나를 선택하여 출력인에이블신호(out_ENO-out_EN3)를 만들어내는 제6멀티플랙셔(MUX6)로 구성된다.As shown by reference numeral 207, the output enable portion is connected to the AND gate AND2 and the output of the AND gate AND2 which AND-combines the bit selection signal Bit_S and the 1-bit data XD14 from the outside. And a sixth multiplexer MUX6 that selects one of the data XD10-XD13 input from the outside and the output enable signal out_ENO, 1 to generate the output enable signal out_ENO-out_EN3. .

이때, 선택신호발생부(205) 또는 메인멀티플랙셔(MUX7)에 입력되는 'CS-'는 칩선택신호이고, 'STB'는 게이트어레이 2개를 병렬로 사용할 때 이용되는 인에이블신호이며, 'A0-A3'는 어드레스신호이고, 'XD15'는 입력데이터이다.In this case, 'CS-' input to the selection signal generator 205 or the main multiplexer MUX7 is a chip selection signal, and 'STB' is an enable signal used when two gate arrays are used in parallel. 'A0-A3' is an address signal and 'XD15' is input data.

이러한 구성에서, 외부로부터의 8비트 데이터와 16비트 데이터를 피엘씨에 라이트하는 경우를 먼저 살펴본다.In this configuration, a case of writing the 8-bit data and 16-bit data from the outside to the PLC will be described first.

피엘씨에 데이터를 라이트하는 경우에는, 외부로부터 피엘씨에 라이트될 하위 8비트 데이터(XD0-XD7)와 상위 8비트 데이터(XD8-XD15)가 입력되어서, 상기 하위 8비트 데이터(XD0-XD7)의 하위 4비트 데이터(XD0-XD13)는 데이터선택부(202)의 제1, 제3멀티플랙셔(MUX1), (MUX3)의 제1입력포트(4)에 입력되고 상위 4비트 데이터(XD4-XD7)는 데이터선택부(20)의 제2, 제4멀티플랙셔(MUX2), (MUX4)의 제1입력포트(4)에 입력된다.When data is written to the PLC, the low-order 8-bit data (XD0-XD7) and the high-order 8-bit data (XD8-XD15) to be written to the PLC are input from the outside, and the low-order 8-bit data (XD0-XD7) is inputted. The lower 4 bit data of XD0-XD13 is input to the first input port 4 of the first, third multiplexer (MUX1) and the (MUX3) of the data selector 202 and the upper 4 bit data (XD4). -XD7 is input to the first input port 4 of the second, fourth multiplexer MUX2, and MUX4 of the data selector 20.

그리고 상기 상위 8비트 데이터(XD8-XD15)의 하위 4비트 데이터(XD8-XD11)는 상기 제1, 제3멀티플랙셔(MUX1), (MUX3)의 제2입력포트(B)에 입력되고 상위 4비트 데이트(XD12-XD15)는 제2, 제4멀티플랙셔(MUX2), (MUX3)의 제2입력포트(B)에 입력된다.The lower 4-bit data XD8-XD11 of the upper 8-bit data XD8-XD15 are input to the second input port B of the first, third multiplexer MUX1, MUX3, and higher. The 4-bit data XD12-XD15 are input to the second input port B of the second, fourth multiplexer MUX2, and MUX3.

이하 8비트 데이터모드와 16비트 데이터모드를 구분하여 설명한다.Hereinafter, the 8-bit data mode and the 16-bit data mode will be described separately.

8비트 데이터모인 때에는 피엘씨의 입출력카드용 게이트어레이의 외부로부터 들어와서 선택신호발생부(205), 데이터선택부(202)등에 입력되는 비트선택신호(Bit_s)가 '로우'로 된다In the case of 8-bit data collection, the bit selection signal Bit_s input from the outside of the gate array for the input / output card of PLC and input to the selection signal generation unit 205, the data selection unit 202, etc. becomes 'low'.

이와 같이 비트선택신호(Bit_s)가 '로우'로 됨에 따라 데이터선택부(202)의 제1멀티플랙셔(MUX1)는 제1입력포트(A)에 입력된 하위 4비트 데이터(XD0-XD3)를 선택하고 제2멀티플랙셔(MUX2)는 제1입력포트(A)에 입력된 상위 4비트 데이터(XD4-XD7)를 선택하며, 제3멀티플랙셔(MUX3)는 제1입력포트(A)에 입력된 하위 4비트 데이터(XD0-XD3)를 선택하고 제4멀티플랙셔(MUX4)는 제1입력포트(A)에 입력된 상위 4비트 데이터(XD4-XD7)를 선택한다.As the bit select signal Bit_s becomes 'low' as described above, the first multiplexer MUX1 of the data selector 202 receives the lower four-bit data XD0-XD3 input to the first input port A. FIG. Is selected, the second multiplexer (MUX2) selects the upper 4-bit data (XD4-XD7) input to the first input port (A), and the third multiplexer (MUX3) is the first input port (AUX). ) Selects the lower 4-bit data (XD0-XD3) and the fourth multiplexer (MUX4) selects the upper 4-bit data (XD4-XD7) input to the first input port (A).

이 선택으로 데이터선택부(202)의 제1, 제2멀트플랙셔(MUX1), (MUX2)의 출력포트(Y)에서 출력되는 하위 4비트 데이터(XD0-XD3)와 상위 4비트 데이터(XD4-XD7) 합쳐져서 8비트 데이터(XD0-XD7)로 되어서 데이터전달부(203)의 제2디플립플롭(DFF2)의 데이터입력단자(D)에 입력되고, 데이터선택부(202)의 제3, 제4멀트플랙셔(MUX3), (MUX4)의 출력포트(Y)에서 출력되는 하위 4비트 데이터(XD0-XD3)와 상위 4비트 데이터(XD4-XD7) 합쳐져서 역시 8비트 데이터(XD0-XD7)로 되어서 데이터전달부(203)의 제4디플립플롭(DFF4)의 데이터입력단자(D)에 입력된다.With this selection, the lower four-bit data XD0-XD3 and the upper four-bit data XD4 output from the output port Y of the first, second multiplexer MUX1, and MUX2 of the data selection unit 202. -XD7) are combined into 8-bit data (XD0-XD7) and input to the data input terminal (D) of the second flip-flop (DFF2) of the data transfer unit (203). The lower 4-bit data (XD0-XD3) and the upper 4-bit data (XD4-XD7) output from the output port (Y) of the fourth multiplexer (MUX3) and (MUX4) are also 8-bit data (XD0-XD7). The data input terminal D is input to the data input terminal D of the fourth flip-flop DFF4 of the data transfer unit 203.

이때, 데이터전달부(203)의 제1디플립플롭(DFF1)과 제3디플립플롭(DFF3)의 데이터입력단자(D)에는 외부로부터의 하위 8비트 데이터(XD0-XD7)가 데이터선택부(202)를 통하지 않고 바로 입력된다.At this time, the lower 8-bit data (XD0-XD7) from the outside is included in the data input terminal (D) of the first and second flip-flops (DFF1) and (DFF3) of the data transfer unit (203). It is input directly without passing through 202.

한편, 선택신호발생부(205)는 피엘씨의 입출력카드용 게이트어레이의 외부로부터 입력되는 3개의 어드레스신호(A0-A2)에 따라 데이터선택신호(DECO0-4, 6)중 어느 하나를 만들어내서, 데이터선택신호(DECO0), 데이터선택신호(DECO2), 데이터선택신호(DECO4) 또는 데이터선택신호(DECO6)는 클럭발생부의 제5멀티플랙셔(MUX5)의 제1입력포트(A)에 입력하고, 데이터선택신호(DECO0) 또는 데이터선택신호(DECO2)는 상기 제5멀티플랙셔(MUX5)의 제2입력포트(B)에 입력한다.On the other hand, the selection signal generator 205 generates one of the data selection signals DECO0-4 and 6 according to the three address signals A0-A2 input from the outside of the gate array for the input / output card of PL. The data selection signal DECO0, the data selection signal DECO2, the data selection signal DECO4, or the data selection signal DECO6 are input to the first input port A of the fifth multiplexer MUX5 of the clock generator. The data selection signal DECO0 or the data selection signal DECO2 is input to the second input port B of the fifth multiplexer MUX5.

클럭발생부(206)의 제5멀티플랙셔(MUX5)는, 앞서 언급한 바와 같이, 비트선택신호(Bit_s)가 '로우'이므로 제1입력포트(A)를 선택해서 그 제1입력포트(A)에 입력되어 있는 데이터선택신호에 따라 클럭신호를 출력한다.As described above, the fifth multiplexer MUX5 of the clock generator 206 selects the first input port A and selects the first input port A because the bit select signal Bit_s is 'low'. The clock signal is output in accordance with the data selection signal input to A).

즉, 제1입력포트(A)에 데이터선택신호(DECO0)가 입력되어 있으면, 제5멀티플랙셔(MUX5)는 출력포트(Y)를 통해 제1클릭신호(CK1)를 출력하여 오아게이트(OR)를 통해 데이터전달부(203)의 제1디플립플롭(DFF1)의 클럭단자(CLK)에 입력한다.That is, when the data selection signal DECO0 is input to the first input port A, the fifth multiplexer MUX5 outputs the first click signal CK1 through the output port Y to generate an oragate ( OR is input to the clock terminal CLK of the first dip-flop DFF1 of the data transfer unit 203.

이때 오아게이트(OR)는 외부로부터의 라이트인에이블신호(WR_)와 제5멀티플랙셔(MUX5)의 출력을 앤드 조합한다.At this time, the OR gate OR combines the write enable signal WR_ from the outside with the output of the fifth multiplexer MUX5.

제1클럭신호(CK1)를 입력받은 데이터전달부(203)의 제1디플립플롭(DFF1)은 데이터입력단자(D)에 입력된 하위 8비트 데이터(XD0-XD7)를 출력단자(Q)를 통해 출력하여 출력구동반전부(204)의 제1출력구동반전기(204a)에 입력한다.The first flip-flop DFF1 of the data transfer unit 203 receiving the first clock signal CK1 outputs the lower 8-bit data XD0-XD7 input to the data input terminal D. Output through and input to the first output drive inverter 204a of the output drive inverter 204.

하위 8비트 데이터(XD0-XD7)를 입력받은 상기 제1출력구동반전기(204a)는 그 하위 8비트 데이터(XD0-XD7)를 그대로 또는 반전시켜서 출력하여 피엘씨에 라이트한다.The first output driver reversal 204a, which has received the lower 8-bit data XD0-XD7, outputs the lower 8-bit data XD0-XD7 as it is or inverted and writes the data to PLC.

즉, 제1출력구동반전기(204a)의 상세블럭을 나타낸 제3도를 참조하면, 입력된 하위 8비트 데이터(XD0-XD7)의 1비트 데이터(XD0)는 제1출력구동반전기(204a)의 제1배타적오아게이트(XOR1)와 3상태버퍼(B1)를 통해 출력되어 피엘씨에 라이트되며, 이때, 3상태버퍼(B1)에 입력되는 출력인에이블신호(out_ENO)는 '하이'이고 제1배타적오아게이트(XOR1)의 일측입력단자에 입력되는 인버젼신호(INVO)는 '로우'이어야 한다.That is, referring to FIG. 3 showing a detailed block of the first output driver relay 204a, one bit data XD0 of the input lower 8-bit data XD0-XD7 is the first output driver relay 204a. Is output through the first exclusive or gate (XOR1) and the three-state buffer (B1) of the) and is written to the PLC, wherein the output enable signal (out_ENO) input to the three-state buffer (B1) is 'high' The inversion signal INVO input to one input terminal of the first exclusive or gate XOR1 should be 'low'.

만약에, 1비트 데이터(XD0)를 반전시켜서 피엘씨에 라이트하고자 하는 경우에는 인버젼신호(INVO)를 '하이'로 하면 되며 이에 따라 제1배타적오아게이트(XOR1)에 배타적오아연산에 의해 상기 1비트 데이터(XD0)는 반전되어 3상태버퍼(B1)를 통해 피엘씨에 라이트된다.If the 1-bit data XD0 is to be inverted and written to the PLC, the inversion signal INVO may be set to 'high'. Accordingly, the exclusive exclusive operation is performed on the first exclusive oragate XOR1. The 1-bit data XD0 is inverted and written to the PLC through the tri-state buffer B1.

하위 8비트 데이터(XD0-XD7)중 다른 1비트 데이터들도 상기 1비트 데이터(XD0)와 마찬가지로 출력인에이블신호(out_ENO)가 하이인 상태에서 인버젼신호(INVO)의 레벨에 따라 그대로 또는 반전되어서 피엘씨에 라이트된다.Other 1-bit data among the lower 8-bit data XD0-XD7 are also inverted or inverted according to the level of the inversion signal INVO while the output enable signal out_ENO is high, similarly to the 1-bit data XD0. Then it is written to PI.

한편, 클럭발생부(206)의 제5멀티플랙셔(MUX5)의 제1입력포트(A)에 데이터선택신호(DECO2)가 입력되어 있으면 제5멀티플랙셔(MUX5)는 출력포트(Y)를 통해 제2클럭신호(CK2)를 출력하여 오아게이트(OR)를 통해 데이터전달부(203)의 제2디플립플롭(DFF2)의 클럭단자(CLK)에 입력한다.On the other hand, if the data selection signal DECO2 is input to the first input port A of the fifth multiplexer MUX5 of the clock generator 206, the fifth multiplexer MUX5 is the output port Y. The second clock signal CK2 is output through the input signal, and is input to the clock terminal CLK of the second flip-flop DFF2 of the data transfer unit 203 through the OR gate OR.

제2클럭신호(CK2)를 입력받은 데이터전달부(D)에 입력된 제2디플립플롭(DFF2)은 제1, 제2멀트플랙셔(MUX1), (MUX2)로부터 데이터 입력단자에(D)에 입력된 하위 8비트 데이터(XD0-XD7)를 출력단자(Q)를 통해 출력하여 출력구동반전부(204)의 제2출력구동반전기(204b)에 입력한다.The second flip-flop DFF2 input to the data transfer unit D receiving the second clock signal CK2 is connected to the data input terminal D from the first and second multiplexer MUX1 and MUX2. ) And outputs the lower 8-bit data XD0-XD7 inputted through the output terminal Q and inputs it to the second output drive inverter 204b of the output drive inverter 204.

제1출력구동반전기(204a)와 동일한 구성을 가지는 상기 제2출력구동반전기(204b)는, 편의상 제3도에 도시하지 않았지만, 앞서 제1출력구동반전기(204a)에서와 마찬가지로, 인버젼신호(INVO)가 로우이면 그대로 출력하여 피엘씨에 라이트하고, 하이이면 반전시켜서 피엘씨에 라이트한다.Although not shown in FIG. 3 for convenience, the second output driver 204b having the same configuration as the first output driver 204a is similar to that of the first output driver 204a. If the version signal INVO is low, the signal is output as it is and written to the PLC.

한편, 클럭발생부(206)의 제5멀티플랙셔(MUX5)의 제1입력포트(A)에 데이터선택신호(DECO4) 또는 데이터선택신호(DECO6)가 입력되어 있는 경우에, 클럭발생부(206), 데이터전달부(203) 및 출력구동반전부(204)의 동작은 앞서 데이터선택신호(DECO0) 또는 데이터선택신호(DEXO2)가 입력되어 있는 경우에서와 마찬가지다.On the other hand, when the data selection signal DECO4 or the data selection signal DECO6 is input to the first input port A of the fifth multiplexer MUX5 of the clock generation unit 206, the clock generation unit ( 206, the operations of the data transfer unit 203 and the output drive inverting unit 204 are the same as in the case where the data selection signal DECO0 or the data selection signal DEXO2 has been previously input.

다음에, 8비트 데이터모드에서 피엘씨의 데이터를 리드하여 외부로 출력하는 경우를 살펴본다.Next, a case where the data of the PLC is read and output to the outside in the 8-bit data mode will be described.

피엘씨의 데이터를 리드하여 외부로 출력할 때에는, 피엘씨의 8비트 데이터(XIO0-XIO7), (XIO8-XIO15), (XIO16-XIO23), (XIO24-XIO31)가 출력구동반전부(204)에 입력된다.When the PLC data is read out and output to the outside, PLC's 8-bit data (XIO0-XIO7), (XIO8-XIO15), (XIO16-XIO23), and (XIO24-XIO31) are output drive inverting units 204. Is entered.

즉, 피엘씨의 8비트 데이터(XIO0-XIO7)는 출력구동반전부(204)의 제1출력구동반전기(204a)에 입력된다.That is, the 8-bit data (XIO0-XIO7) of PLC is inputted to the first output drive inverter 204a of the output drive inverter 204.

8비트 데이터(XIO0-XIO7)를 입력받은 제1출력구동반전부(204a)는 제3도를 참조하면, 그 8비트 데이터(XIO0-XIO7)중 1비트 데이터(XIO0)를 제2배타적오아게이트(XIO2)의 일측입력단자에 입력받아서, 인버젼신호(INVO)가 '로우'일 때에는 그대로 메인멀티플랙셔(MUX7)에 입력하고 인버젼신호(INVO)가 '하이'일때에는 반전시켜서 메인멀티플랙셔(MUX7)에 입력한다.Referring to FIG. 3, the first output driver inverting unit 204a receiving 8-bit data (XIO0-XIO7) receives a second exclusive oragate of 1-bit data (XIO0) among the 8-bit data (XIO0-XIO7). When the inversion signal INVO is 'low', it is input as it is to the main multiplexer MUX7, and when the inversion signal INVO is 'high', the signal is inverted. Enter in flexure (MUX7).

다른, 8비트 데이터(XIO0-XIO7)중의 다른 1비트 데이터의 경우도 위의 1비트 데이터(XIO0)의 경우와 마찬가지다.The other 1-bit data among other 8-bit data (XIO0-XIO7) is the same as the case of the 1-bit data (XIO0) above.

그리고, 피엘씨의 8비트 데이터는(XIO8-XIO15)는 출력구동반전부(204)의 제2출력구동반전기(204b)에 입력되고 피엘씨의 8비트 데이터(XIO16-XIO23)는 출력구동반전부(204)의 제3출력구동반전기(204c)에 입력되며, 피엘씨의 8비트 데이터는(XIO24-XIO31)는 출력구동반전부(204)의 제4출력구동반전기(204d)에 각각 입력되고, 앞서 8비트 데이터는(XIO0-XIO7)의 경우에서와 마찬가지로 메인멀티플랙셔(MUX7)에 입력된다.The 8-bit data of the PLC (XIO8-XIO15) is inputted to the second output drive inverter 204b of the output drive reversing unit 204, and the 8-bit data of the PLC (XIO16-XIO23) is output drive board. The third output driver relay 204c of the whole 204 is inputted, and the 8-bit data of PLC (XIO24-XIO31) are respectively input to the fourth output driver relay 204d of the output driver inverter 204. The 8-bit data is input to the main multiplexer MUX7 as in the case of (XIO0-XIO7).

8비트 데이트(XIO0-XIO7), (XIO8-XIO15), (XIO16-XIO23), (XIO24-XIO31)를 입력받은 메인멀티플랙셔(MUX7)는 선택신호발생부(205)로부터 입력되는 데이터선택신호(DECO0, 2, 4, 6)와 외부로부터 입력되는 인버젼신호(INVO.1)에 따라 출력구동반전부(204)의 제1출력구동반전기(204a)로부터 입력된 8비트 데이터(XIO0-XIO7)를 선택해서 제1출력포트(Y)를 통해 출력하여 데이터버퍼부(201)의 제1양방향버퍼(IOBU1)에 입력한다.The main multiplexer (MUX7) receiving 8-bit data (XIO0-XIO7), (XIO8-XIO15), (XIO16-XIO23), and (XIO24-XIO31) receives the data selection signal input from the selection signal generator 205. 8-bit data (XIO0-) input from the first output drive inverter 204a of the output drive inverter 204 according to (DECO0, 2, 4, 6) and the inversion signal INVO.1 input from the outside. XIO7 is selected and output through the first output port Y and input to the first bidirectional buffer IOBU1 of the data buffer unit 201.

피엘씨의 8비트 데이터는(XIO0-XIO7)를 입력받은 데이터버퍼부(201)의 제1양방향버퍼(IOBU1)는 선택신호발생부(205)로부터 입력되는 '하이'의 버퍼인 에이블신호(BF_EN_)에 의해 인에이블되므로 그 8비트 데이터(XIO0-XIO7)를 출력포트(Y)를 통해 외부로 출력하여 리드동작을 마친다.The 8-bit data of PLC (XIO0-XIO7) receives the first two-way buffer IOBU1 of the data buffer unit 201, which is a buffer of 'high' inputted from the selection signal generator 205, the signal BB_EN_. Since 8-bit data (XIO0-XIO7) is output through the output port (Y) to the outside, the read operation is completed.

이때, 비트선택신호(Bit_S)는 '로우'이므로(8비트모드이기에), 제2양방향버퍼(IOBU2)는 디스에이블상태이다.At this time, since the bit select signal Bit_S is 'low' (because of the 8-bit mode), the second bidirectional buffer IOBU2 is in a disabled state.

즉, 로우인 비트선택신호(Bit_S)가 낫게이트(NOT)에 의해 반전되어 하이로 되고 이것과 하이의 버퍼인에이블신호(BF_EN_)가 앤드게이트(AND1)로 앤드조합되어서 결국에 하이신호가 제2양방향버퍼(IOBU2)의 인에이블단자(G)에 입력되므로, 제2양방향버퍼(IOBU2)는 디스에이블된다.That is, the bit select signal Bit_S that is low is inverted by the not gate NOT and becomes high, and this and the high buffer enable signal BF_EN_ are AND-combined with the AND gate AND1, so that the high signal is finally zeroed. Since it is input to the enable terminal G of the two-way buffer IOBU2, the second two-way buffer IOBU2 is disabled.

이제, 16비트 데이터모드에서 외부의 데이터를 피엘씨에 라이트하는 경우이다.Now, in the 16-bit data mode, the external data is written to PLC.

16비트 데이터모드의 경우에는, 피엘씨의 입출력카드용 게이트어레이의 외부로부터 입력되는 비트선택신호(Bit_S)는, 8비트 데이터모드의 경우와는 반대로 '하이'로 된다.In the case of the 16-bit data mode, the bit selection signal Bit_S input from the outside of the gate array for the PIC input / output card is 'high' as opposed to the case of the 8-bit data mode.

이에 따라, 데이터선택부(202)의 제1멀티플랙셔(MUX1)는 제2입력포트(B)에 입력되는 상위 8비트 데이터(XD8-XD15)의 하위 4비트 데이터(XD8-XD11)를 선택하고, 제2멀티플랙셔(MUX2)는 제2입력포트(B)에 입력되는 상위 8비트 데이터(XD8-XD15)의 상위 4비트 데이터(XD12-XD15)를 선택하며, 제3멀티플랙셔(MUX3)는 제2입력포트(B)에 입력되는 상위 8비트 데이터(XD8-XD15)의 하위 4비트 데이터(XD8-XD11)를 선택하고, 제4멀티플랙셔(MUX4)는 제2입력포트(B)에 입력되는 상위 8비트 데이터(XD8-XD15)의 상위 4비트 데이터(XD12-XD15)를 선택한다.Accordingly, the first multiplexer MUX1 of the data selector 202 selects the lower 4 bit data XD8-XD11 of the upper 8 bit data XD8-XD15 input to the second input port B. FIG. The second multiplexer MUX2 selects the upper 4 bit data XD12-XD15 of the upper 8 bit data XD8-XD15 input to the second input port B, and the third multiplexer MUX2. The MUX3 selects the lower 4-bit data XD8-XD11 of the upper 8-bit data XD8-XD15 input to the second input port B, and the fourth multiplexer MUX4 selects the second input port B. The upper 4-bit data XD12-XD15 of the upper 8-bit data XD8-XD15 inputted to B) is selected.

이 선택으로, 제1, 제2멀티플랙셔(MUX1), (MUX2)의 출력포트(Y)에서 각각 출력되는 하위 4비트 데이터(XD8-XD11)와 상위 4비트 데이터(XD12-XD15)가 합쳐져서 8비트 데이터(XD8-XD15)로 되어서 데이터 전달부(203)의 제2디플립플롭(DFF2)의 데이터입력단자(D)에 입력되고, 제3, 제4멀티플랙셔(MUX3), (MUX4)의 출력포트(Y)에서 각각 출력되는 하위 4비트 데이터(XD8-XD11)와 상위 4비트 데이터(XD12-XD15)가 합쳐져서 역시 8비트 데이터(XD8-XD15)로 되어서 데이터전달부(203)의 제4디플립플롭(DFF4)의 데이터입력단자(D)에 입력된다.By this selection, the lower 4-bit data (XD8-XD11) and the upper 4-bit data (XD12-XD15) respectively output from the output ports Y of the first and second multiplexers MUX1 and MUX2 are combined. The 8-bit data XD8-XD15 are input to the data input terminal D of the second flip-flop DFF2 of the data transfer unit 203, and the third and fourth multiplexers MUX3 and MUX4. The lower 4 bit data (XD8-XD11) and the upper 4 bit data (XD12-XD15) respectively output from the output port (Y) of the N1 are combined to become 8 bit data (XD8-XD15). The data is input to the data input terminal D of the fourth flip-flop DFF4.

그리고, 데이터전달부(203)의 제1디플립플롭(DFF1)과 제3디플립플롭(DFF3)의 데이터입력단자(D)에는 외부로부터의 하위 8비트 데이터(XD0-XD7)가 바로 입력된다.The lower 8-bit data XD0-XD7 from the outside is directly input to the data input terminal D of the first flip-flop DFF1 and the third flip-flop DFF3 of the data transfer unit 203. .

이때, 선택신호발생부(205)는 피엘씨의 입출력카드용 게이트어레이의 외부로부터 입력되는 3개의 어드레스신호(A0-A2)에 따라 발생된 데이터선택신호(DECO0) 또는 데이터선택신호(DECO2)를 클럭발생부(206)의 제5멀티플랙셔(MUX5)의 제2입력포트(B)에 입력한다.At this time, the selection signal generator 205 receives the data selection signal DECO0 or the data selection signal DECO2 generated according to the three address signals A0-A2 input from the outside of the gate array for the input / output card of PL. It is input to the second input port B of the fifth multiplexer MUX5 of the clock generator 206.

이때, 클럭발생부(206)의 제5멀티플랙셔(MUX5)는, 앞서 언급한 바와 같이, 비트선택신호(Bit_S)가 '하이'이므로 제2입력포트(B)를 선택해서 그 제2입력포트(B)에 데이터선택신호(DECO0)가 입력되어 있으면, 출력포트(Y)를 통해 제1, 제2클럭신호(CK1), (CK2)를 출력하여 오아게이트(OR)를 통해 데이터전달부(203)의 제1, 제2플립플롭(DFF1), (DFF2)의 클럭단자(CLK)에 각각 입력한다.At this time, as described above, the fifth multiplexer MUX5 of the clock generator 206 selects the second input port B and selects the second input because the bit select signal Bit_S is 'high'. When the data selection signal DECO0 is input to the port B, the first and second clock signals CK1 and CK2 are output through the output port Y to transmit the data through the oragate OR. Inputs are made to clock terminals CLK of the first and second flip-flops DFF1 and DFF2 of 203, respectively.

제1클럭신호(CK1)를 입력받은 데이터전달부(203)의 제1디플립플롭(DFF1)은 데이터입력단자(D)에 입력된 하위 8비트 데이터(XD0-XD7)를 출력단자(Q)를 통해 출력하여 출력구동반전부(204)의 제1출력구동반전기(204a)에 입력하고, 동시에 제2클럭신호(CK2)를 입력받은 데이터전달부(203)의 제2디플립플롭(DFF2)은 데이터입력단자(D)에 입력된 상위 8비트 데이터(XD8-XD15)를 출력단자(Q)를 통해 출력하여 출력구동반전부(204)의 제2출력구동반전기(204b)에 입력한다.The first flip-flop DFF1 of the data transfer unit 203 receiving the first clock signal CK1 outputs the lower 8-bit data XD0-XD7 input to the data input terminal D. The second deflip flop DFF2 of the data transfer unit 203 which is output through the first output drive inverter 204a of the output drive inverter 204 and at the same time receives the second clock signal CK2. ) Outputs the upper 8-bit data (XD8-XD15) input to the data input terminal (D) through the output terminal (Q) and inputs it to the second output driving relay (204b) of the output driving inverter (204). .

제1, 제2출력구동반전기(204a), (204b)는 앞서 8비트 데이터모드에서와 마찬가지로 동작하여, 외부로부터 입력되는 인버젼신호(INVO)가 '로우'이면 입력되는 8비트데이트(XD0-XD7), (XD8-XD15), 도합 16비트 데이터(XD0-XD15)를 그대로 출력하여 피엘씨에 라이트하고, 인버젼신호(INVO)가 '하이'이면 입력되는 16비트 데이터(XD0-XD15)를 반전시켜서 출력하여 피엘씨에 라이트한다.The first and second output driver relays 204a and 204b operate in the same manner as in the 8-bit data mode. When the inversion signal INVO input from the outside is 'low', the 8-bit data XD0 is input. -XD7), (XD8-XD15) and 16-bit data (XD0-XD15) are output as it is and written to PLC, and 16-bit data (XD0-XD15) input when the inversion signal (INVO) is 'high'. Invert the output and write it to PI.

한편, 클럭발생부(206)의 제5멀티플랙셔(MUX5)의 제2입력포트(B)에 데이터선택신호(DECO2)가 입력되어 있으면, 제5멀티플랙셔(MUX5)는 제3, 제4클럭신포(CK3), (CK4)를 출력하여 제3클럭신호(CK3), (CK4)를 출력하여 제3클럭신호(CK3)는 데이터 전달부(203)의 제3디플립플롭(DFF3)에 입력하고, 제4클럭신호(CK4)는 데이터전달부(203)의 제4디플립플롭(DFF4)에 입력한다.On the other hand, when the data selection signal DECO2 is input to the second input port B of the fifth multiplexer MUX5 of the clock generator 206, the fifth multiplexer MUX5 is configured to be the third and the third. The fourth clock signal CK3 and CK4 are output to output the third clock signals CK3 and CK4 so that the third clock signal CK3 is the third dip flip-flop DFF3 of the data transfer unit 203. The fourth clock signal CK4 is input to the fourth flip-flop DFF4 of the data transfer unit 203.

이에 따라 제3디플립플롭(DFF3)에 입력된 8비트 데이터(XD0-XD7)와 제4디플립플롭(DFF4)에 입력된 8비트 데이터(XD8-XD15)는 앞서, 제1, 제2디플립플롭(DFF1), (DFF2)에 입력된 8비트 데이터(XD0-XD7), (XD8-XD15)와 마찬가지로 출력구동반전부(204)에서 그대로 또는 반전되어서 피엘씨에 라이트된다.Accordingly, the 8-bit data XD0-XD7 input to the third flip-flop DFF3 and the 8-bit data XD8-XD15 input to the fourth deflip-flop DFF4 have been previously described. Similar to the 8-bit data XD0-XD7 and XD8-XD15 inputted to the flip-flops DFF1 and DFF2, they are written in or out of the output drive inverting unit 204 as they are or are inverted.

다음에, 16비트 데이터모드에서 피엘씨의 데이터를 리드하여 외부로 출력하는 경우이다.Next, the PLC data is read and output to the outside in the 16-bit data mode.

피엘씨의 16비트 데이터를 리드하는 때에는 출력구동반전부(204)에 피엘씨의 16비트 데이터가 입력된다.When the 16-bit data of the PLC is read, the 16-bit data of the PLC is input to the output drive inverting unit 204.

즉, 피엘씨의 하위 8비트 데이터는(XIO0-XIO7)는 출력구동반전부(204)의 제1출력구동반전기(204a)에 입력되고, 피엘씨의 상위 8비트 데이터는(XIO8-XIO15)는 출력구동반전부(204)의 제2출력구동반전기(204b)에 입력된다.That is, the lower 8-bit data of PLC (XIO0-XIO7) is inputted to the first output drive inverter 204a of the output drive inverter 204, and the upper 8-bit data of PLC is (XIO8-XIO15). Is input to the second output drive inverter 204b of the output drive inverter 204.

피엘씨로부터 하위 8비트 데이터(XIO0-XIO7)를 입력받은 제1출력구동반전기(204a)는 제3도에서 그 하위 8비트 데이터(SIO0-XIO7)중 1비트 데이터(XIO0)를 제2배타적오아게이트(XOR2)의 일측에 입력받아서 인버젼신호(INVO)가 '로우'일 때에는 그대로 메인멀티플랙셔(MUX7)에 입력하고, 인버젼신호(INVO)가 '하이'일 때에는 반전시켜서 메인멀티플랙셔(MUX7)에 입력한다.The first output drive relay 204a receiving the lower 8-bit data (XIO0-XIO7) from the PLC is second exclusive of the 1-bit data (XIO0) among the lower 8-bit data (SIO0-XIO7) in FIG. When the inversion signal INVO is 'low', the input signal is input to the main multiplexer MUX7 as it is, and when the inversion signal INVO is 'high', the signal is inverted when the inversion signal INVO is 'high'. Enter in flexure (MUX7).

다른 1비트 데이터의 경우에도 위와 마찬가지다.The same is true for other 1-bit data.

그리고 피엘씨로부터 상위 8비트 데이터(XIO8-XIO15)를 입력받은 제2출력구동반전기(204b)도 상기 제1출력구동반전기(204a)와 마찬가지로 상위 8비트 데이터(XIO0-XIO15)를 그대로 또는 반전시켜서 메인멀티플랙셔(MUX7)에 입력한다.The second output driver 204b, which has received the upper 8 bit data (XIO8-XIO15) from the PLC, also holds the upper 8 bit data (XIO0-XIO15) as it is or the first output driver 204a. Invert it and input it to the main multiplexer (MUX7).

한편, 피엘씨의 다른 하위 8비트 데이터(XIO8-XIO15)는 출력구동반전부(204)의 제3출력구동반전기(204c)에 입력되고, 피엘씨의 다른 상위 8비트 데이터(XIO24-XIO31)는 출력구동반전부(204)의 제4출력구동반전기(204d)에 입력되며 앞서 하위 8비트 데이터(XIO0-XIO7)와 상위 8비트 데이터(XIO8-XIO15)의 경우와 마찬가지로 메인멀티플랙셔(MUX7)에 입력된다.Meanwhile, other lower 8-bit data (XIO8-XIO15) of the PLC are inputted to the third output drive inverter 204c of the output driving inverting unit 204, and the other upper 8-bit data (XIO24-XIO31) of the PLC. Is input to the fourth output driver reversal 204d of the output driver reversal unit 204, and the main multiplexer (XIO8-XIO15) is the same as in the case of the lower 8-bit data (XIO0-XIO7) and the upper 8-bit data (XIO8-XIO15). MUX7).

피엘씨의 8비트 데이터(XIO0-XIO7), (XIO8-XIO15), (XIO16-XIO23), (XIO24-XIO31)를 입력받은 메인멀티플랙셔(MUX7)는 선택신호발생부(205)로부터 입력되는 데이터선택신호(DECO0.2)*2)와 외부로부터 입력되는 인버젼신호(INVO.1)에 따라 출력구동반전부(204)의 제1출력구동반전기(204a)로부터 입력된 하위 8비트 데이터(XIO0-XIO7)를 선택해서 제1출력포트(Y1)를 통해 출력하여 데이터버퍼부(201)의 제1양방향버퍼(IOBU1)에 입력하고, 제2출력구동반전기(204b)로부터 입력된 상위 8비트 데이터(XIO8-XIO15)를 선택해서 제2출력포트(Y2)를 통해 출력하여 데이터버퍼부(201)의 제2양방향버퍼(IOBU2)에 입력한다.The main multiplexer (MUX7), which has received 8 bits of data (XIO0-XIO7), (XIO8-XIO15), (XIO16-XIO23), and (XIO24-XIO31) of PL, is input from the selection signal generator 205. Lower 8-bit data input from the first output drive inverter 204a of the output drive inverter 204 in accordance with the data selection signal DECO0.2 * 2 and the inversion signal INVO.1 input from the outside. (XIO0-XIO7) is selected and output through the first output port (Y1) and input to the first bidirectional buffer (IOBU1) of the data buffer unit 201, the upper input input from the second output drive relay 204b The 8-bit data XIO8-XIO15 are selected and output through the second output port Y2 and input to the second bidirectional buffer IOBU2 of the data buffer unit 201.

피엘씨의 하위 8비트 데이터(XIO0-XIO7)를 입력받은 데이터버퍼부(201)의 제1양방향버퍼(IOBU1)는 선택신호발생부(205)로부터 입력되는 '하이'의 버퍼인에이블신호(BF_EN_)에 의해 인에이블되므로 그 8비트 데이터(XIO0-XIO7)를 출력포트(Y)를 통해 외부로 출력하고, 피엘씨의 상위 8비트 데이터(XIO8-XIO15)를 입력받은 데이터버퍼부(202)의 제2양방향버퍼(IOBU2)는 선택신호발생부(205)로부터 입력되는 '하이'의 버퍼인에이블신호(BF_EN_)와 비트선택신호(Bit_S)에 의해 인에이블되므로 그 상위 8비트 데이터(XIO8-XIO15)를 출력포트(Y)를 통해 외부로 출력하여 리드동작을 마친다.The first bidirectional buffer IOBU1 of the data buffer unit 201 that receives the lower 8-bit data (XIO0-XIO7) of the PLC is 'high' buffer enable signal BF_EN_ input from the selection signal generator 205. Since the 8-bit data (XIO0-XIO7) is output to the outside through the output port (Y), and the upper 8-bit data (XIO8-XIO15) of PLC receives the The second two-way buffer IOBU2 is enabled by the 'high' buffer enable signal BF_EN_ and the bit selection signal Bit_S input from the selection signal generator 205, so that the upper eight bits of data IOOB-XIO15 are used. ) To the outside through the output port (Y) to complete the read operation.

이상에서 상세히 설명한 바와 같이, 본 고안 피엘씨의 입출력카드용 게이트어레이는, 간단한 모드설정으로 피엘씨에 대해 8비트 데이터와 16비트 데이터를 모두 입출력할 수 있으므로 별도의 16비트(또는, 8비트) 데이터용 게이트어레이를 구비할 필요가 없고, 아울러 본 고안의 출력구동반전부에 의해 피엘씨에 대해 8비트 데이터 또는 16비트 데이터를 반전시켜서 입출력할 수 있으므로 별도의 반전장치도 구비할 필요가 없어 피엘씨의 입출력카드의 실장공간이 전체적으로 크게 줄어드는 효과를 갖는다.As described in detail above, the P / C gate array of the present invention can input and output both 8-bit data and 16-bit data to the PLC by simple mode setting, and thus, separate 16-bit (or 8-bit). There is no need to provide a data gate array, and the output drive inverter of the present invention can invert and input 8-bit data or 16-bit data with respect to PLC, so there is no need for a separate inversion device. The mounting space of Mr. I / O card is greatly reduced.

Claims (3)

외부로부터 입력되는 어드레스신호에 따라 데이터선택신호와 버퍼인에이블신호를 출력하는 선택신호발생부와; 외부로부터 입력되는 비트선택신호에 따라 8비트 데이터모드에서는 외부로부터의 8비트 데이터를 선택하고, 16비트 데이터모드에서는 외부로부터의 16비트 데이터를 선택하는 데이터선택부와; 상기 선택신호발생부의 데이터선택신호에 따라 클럭신호를 발생하는 클럭발생부와; 상기 클럭발생부의 클럭신호에 따라 외부로부터 입력된 8비트 데이터 또는 상기 데이터선택부가 선택한 8비트 데이터 또는 16비트 데이터를 전달하는 데이터 전달부와; 출력인에이블신호를 발생하는 출력인에이블부와; 데이터 라이트시 외부로부터 입력되는 인버젼신호와 상기 출력인에이블부의 출력인에이블신호에 따라 상기 데이터전달부가 전달하는 8비트 데이터 또는 16비트 데이터를 피엘씨에 라이트하고, 데이터 리드시 피엘씨의 8비트 데이터 또는 16비트 데이터를 상기 인버젼신호에 따라 그대로 또는 반전시켜서 전달하는 출력구동반전부와; 상기 선택신호발생부의 데이터선택신호와 상기 인버젼신호에 따라 데이터 리드시 상기 출력구동반전부가 전달하는 8비트 데이터와 또는 16비트 데이터중 어느 하나를 선택하는 메인멀티플랙셔와; 상기 메인멀티플랙셔가 선택하는 8비트 데이터 또는 16비트 데이터를 외부로 출력하는 데이터버퍼를 구비한 것을 특징으로 하는 피엘씨의 입출력카드용 게이트어레이.A selection signal generator for outputting a data selection signal and a buffer enable signal according to an address signal input from the outside; A data selection unit for selecting 8-bit data from the outside in the 8-bit data mode and 16-bit data from the outside in the 16-bit data mode according to a bit selection signal input from the outside; A clock generator which generates a clock signal according to the data selection signal of the selection signal generator; A data transfer unit transferring 8-bit data input from the outside or 8-bit data or 16-bit data selected by the data selector according to a clock signal of the clock generator; An output enable section for generating an output enable signal; 8-bit data or 16-bit data transmitted by the data transfer unit is written to the PLC according to the inversion signal input from the outside during data writing and the output enable signal of the output enable unit. An output driving inverting unit for transferring data or 16-bit data as it is or inverted according to the inversion signal; A main multiplexer for selecting either 8-bit data or 16-bit data transmitted by the output driver inverting unit according to the data selection signal and the inversion signal of the selection signal generator; And a data buffer for outputting 8-bit data or 16-bit data selected by the main multiplexer to the outside. 제1항에 있어서, 출력구동반전부는 입력되는 8비트 데이터를 상기 인버젼신호에 따라 그대로 또는 반전시켜서 전달하는 제1출력구동반전기 내지 제4출력구동반전기를 구비한 것을 특징으로 하는 피엘씨의 입출력카드용 게이트어레이.2. The PLC of claim 1, wherein the output driver inverting unit includes first to fourth output driver inverters for transmitting 8-bit data inputted as it is or inverted according to the inversion signal. Gate array for input and output cards. 제2항에 있어서, 제1 출력구동반전기 내지 제4출력구동반전기는 상기 데이터전달로부터 입력되는 1비트 데이터와 상기 인버젼신호에 대해 배타적오아논리연산을 각각 수행하는 8개의 제1배타적오아게이트와, 상기 출력인에블부의 출력인에이블신호에 따라 상기 8개의 제1배타적오아게이트의 출력을 각각 전달하는 8개의 3상태버퍼와, 피엘씨의 1비트 데이터와 상기 인버젼신호에 대해 배타적오아논리연산을 각각 수행하는 8개의 제2배타적 오아게이트를 구비한 것을 특징으로 하는 피엘씨의 입출력카드용 게이트어레이.The eighth exclusive OR of claim 2, wherein the first to fourth output driver relays each perform exclusive or logical operations on the 1-bit data input from the data transfer and the inversion signal. Eight tri-state buffers respectively delivering the gates and the outputs of the eight first exclusive oar gates according to the output enable signals of the output enable unit, and exclusively for one bit data of the PLC and the inversion signal. 8. A gate array for an input / output card of a PLC, comprising eight second exclusive oragates for performing oan logic operations.
KR2019940029056U 1994-11-02 1994-11-02 Gate allay for i/o card of plc KR970005037Y1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR2019940029056U KR970005037Y1 (en) 1994-11-02 1994-11-02 Gate allay for i/o card of plc

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR2019940029056U KR970005037Y1 (en) 1994-11-02 1994-11-02 Gate allay for i/o card of plc

Publications (2)

Publication Number Publication Date
KR960018606U KR960018606U (en) 1996-06-19
KR970005037Y1 true KR970005037Y1 (en) 1997-05-22

Family

ID=19397237

Family Applications (1)

Application Number Title Priority Date Filing Date
KR2019940029056U KR970005037Y1 (en) 1994-11-02 1994-11-02 Gate allay for i/o card of plc

Country Status (1)

Country Link
KR (1) KR970005037Y1 (en)

Also Published As

Publication number Publication date
KR960018606U (en) 1996-06-19

Similar Documents

Publication Publication Date Title
US4831519A (en) Cellular array processor with variable nesting depth vector control by selective enabling of left and right neighboring processor cells
US4916657A (en) Single instruction multiple data (SIMD) cellular array processing apparatus employing multiple state logic for coupling to data buses
US4852048A (en) Single instruction multiple data (SIMD) cellular array processing apparatus employing a common bus where a first number of bits manifest a first bus portion and a second number of bits manifest a second bus portion
EP0232641A2 (en) Cellular array processing apparatus with on-chip RAM and address generator apparatus
US5652904A (en) Non-reconfigurable microprocessor-emulated FPGA
US4712190A (en) Self-timed random access memory chip
US5097442A (en) Programmable depth first-in, first-out memory
US5799176A (en) Method and apparatus for providing clock signals to macrocells of logic devices
US4783732A (en) Two-wire/three-port RAM for cellular array processor
US6460131B1 (en) FPGA input output buffer with registered tristate enable
KR100613030B1 (en) Register file and method for designing a register file
US4610004A (en) Expandable four-port register file
US3858183A (en) Data processing system and method therefor
US3887799A (en) Asynchronous n bit position data shifter
US4396829A (en) Logic circuit
KR100840030B1 (en) Programmable logic circuit
KR100476895B1 (en) Interface device having variable data transfer mode and operating method thereof
US3753238A (en) Distributed logic memory cell with source and result buses
KR970005037Y1 (en) Gate allay for i/o card of plc
US4789852A (en) Method and apparatus for converting data in a binary format
US4733393A (en) Test method and apparatus for cellular array processor chip
US5010509A (en) Accumulator for complex numbers
Bell et al. The register transfer module design concept
US6728863B1 (en) Wide connections for transferring data between PE's of an N-dimensional mesh-connected SIMD array while transferring operands from memory
US6131108A (en) Apparatus, and associated method, for generating multi-bit length sequences

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: 20090929

Year of fee payment: 13

EXPY Expiration of term