KR930005212B1 - Command processing control circuit of plc - Google Patents

Command processing control circuit of plc Download PDF

Info

Publication number
KR930005212B1
KR930005212B1 KR1019900009790A KR900009790A KR930005212B1 KR 930005212 B1 KR930005212 B1 KR 930005212B1 KR 1019900009790 A KR1019900009790 A KR 1019900009790A KR 900009790 A KR900009790 A KR 900009790A KR 930005212 B1 KR930005212 B1 KR 930005212B1
Authority
KR
South Korea
Prior art keywords
data
differential output
latch
clock pulse
memory unit
Prior art date
Application number
KR1019900009790A
Other languages
Korean (ko)
Other versions
KR920001286A (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 KR1019900009790A priority Critical patent/KR930005212B1/en
Publication of KR920001286A publication Critical patent/KR920001286A/en
Application granted granted Critical
Publication of KR930005212B1 publication Critical patent/KR930005212B1/en

Links

Images

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
    • 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/18Numerical control [NC], i.e. automatically operating machines, in particular machine tools, e.g. in a manufacturing environment, so as to execute positioning, movement or co-ordinated operations by means of programme data in numerical form

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Human Computer Interaction (AREA)
  • Manufacturing & Machinery (AREA)
  • Programmable Controllers (AREA)
  • Manipulation Of Pulses (AREA)

Abstract

The circuit providing the rapid scan time by reducing the processing time of instruction comprises: a timing generator (1) generating clock pulse (S1-S7) in sequence; a program counter (2) generating the address corresponding to the counted clock pulse; a memory (3) outputting the data to which the user want as well as storing the data; a code latch section (4) latching the data of the memory read by the address of said counter (2); an output data generator (5) generating the bit corresponding to the differential output instruction after latching the data outputted from the memory; a reading/recording signal generator (6) for on/off of the differential output.

Description

PLC의 미분출력 명령처리 제어회로Differential output command processing control circuit of PLC

제1도는 종래 PLC미분출력 명령처리 회로의 신호흐름도.1 is a signal flow diagram of a conventional PLC differential output command processing circuit.

제2도는 본 발명 PLC의 미분출력 명령처리 제어장치 블럭도.2 is a block diagram of a differential output command processing control device of the present invention PLC.

제3도는 제2도의 타이밍 발생부에 대한 상세도.3 is a detailed view of the timing generator of FIG.

제4도는 제2도의 코드래치부에 대한 상세도.4 is a detailed view of the cord latch of FIG.

제5도는 제2도의 출력데이타 발생부에 대한 상세도.5 is a detailed view of the output data generator of FIG.

제6도는 제2도의 판독/기록신호 발생부에 대한 상세도.6 is a detailed view of the read / write signal generator of FIG.

제7도의 (a) 내지 (g)는 제3도의 타이밍 발생부에 대한 출력 파형도.7A to 7G are output waveform diagrams for the timing generator of FIG.

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

1 : 타이밍 발생부 2 : 프로그램 카운터부1: timing generator 2: program counter

3 : 메모리부 4 : 코드래치부3: memory section 4: code latch section

5 : 출력데이타 발생부 6 : 판독/기록신호 발생부5: Output data generator 6: Read / write signal generator

IC1 : 시프트 레지스터 IC2, IC3 : 래치IC1: shift register IC2, IC3: latch

IC4, IC5 : 버퍼 OR1~OR3 : 오아게이트IC4, IC5: Buffer OR1 to OR3: Oagate

본 발명은 프로그램 가능 로직 제어기(PLC : Programmable Logic Controller)의 미분출력 명령어 처리에 관한 것으로, 특히 하드웨어적으로 미분출력 명령어를 분류하여 사용자의 프로그램이 많은 경우 명령어의 처리를 고속으로 하여 시간을 단축하도록 한 PLC의 미분출력 명령처리 제어회로에 관한 것이다.The present invention relates to the differential output instruction processing of a programmable logic controller (PLC), in particular to classify the differential output instruction in hardware to reduce the time by speeding up the instruction processing when there are many user programs A differential output command processing control circuit of a PLC.

종래의 프로그램 가능 로직제어기에 있어서, 미분출력 명령어의 입력조건이 온(on)에서 오프(off)되거나 또는 오프에서 온되었을때 한 주사(Scan)주기 동안 미분출력이 온되는 로직을 단지 소프트웨어만으로 처리함으로써 한 명령어를 처리하는데 걸리는 시간이 수백 마이크로 초(μsec)소요되었다.In the conventional programmable logic controller, only the software that processes the derivative output on during one scan period when the input condition of the derivative output instruction is turned on or off is turned on or off only by software. This required hundreds of microseconds (μsec) to process one instruction.

즉, 입력정보를 판독하는 마이크로프로세서와, 시스템롬 및 입력정보를 저장하는 램등으로 구성되어 있고, 이를 첨부된 도면 제1도에 의하여 구체적으로 설명하면 다음과 같다.That is, it consists of a microprocessor for reading the input information, the system ROM and the RAM for storing the input information, which will be described in detail with reference to FIG.

먼저 마이크로프로세서가 시스템롬의 프로그램수행에 따라 미분출력 명령어를 판단하여 온 미분출력과 오프 미분출력으로 분류하고, 온 미분출력이면 현재 스캔에서 입력조건을 판단하고, 현재스캔에서 입력조건이 온되었으면 바로 이전 스캔의 입력상태를 판단하여 이전 스캔입력 조건이 온되었으면 미분출력 명령어를 오프시켜 다음 명령어를 수행하고, 이전 스캔 입력조건이 오프되었으면 미분출력 명령어를 온하여 다음 명령어를 수행하고, 또한 오프 미분출력 명령이면 현재 스캔 입력조건을 판단하여 현재스캔의 입력조건이 오프되고 이전스캔의 입력이 온되었을때 미분출력 명령어를 온하고, 현재스캔 입력조건이 오프되고, 이전스캔의 입력이 오프되었을때는 미분출력 명령어를 오프시켜 다음 명령어를 수행하게 되어 있었다.First, the microprocessor judges the differential output instruction according to the program execution of the system ROM and classifies it into the differential output and off differential output.If the differential output is on, the input condition is judged in the current scan. Determining the input status of the previous scan, if the previous scan input condition is on, turn off the derivative output command to execute the next command. If the previous scan input condition is off, execute the next command by turning on the differential output command, and also off derivative output. Command, the current scan input condition is determined and the differential scan command is turned on when the current scan input condition is off and the previous scan input is on, the differential scan output when the current scan input condition is off and the previous scan input is off. The command was to be turned off to execute the next command.

그러나 이와같은 종래 프로그램 가능 로직제어기의 미분출력 명령어 처리방법에 있어서 미분출력 명령어를 단지 소프트웨어(Software)적으로 처리하고 이에 따라 한 명령어를 처리하는데 걸리는 시간이 수백 마이크로초 정도 소요되어 보다 바른 주사타임이 요구되는 시스템에서는 사용이 불가능한 문제점이 발생하였다.However, in the differential output instruction processing method of the conventional programmable logic controller, it takes only several hundred microseconds to process the differential output instruction only in software, and thus, a more accurate scanning time is achieved. There was a problem that could not be used in the required system.

본 발명은 이와같은 종래의 문제점을 감안하여, 타이밍 발생부로 미분출력 명령어를 분류하고, 그 분류된 미분출력 명령어에 따라 고속으로, 사용자의 데이타를 저장하는 메모리부, 데이타를 래치하는 코드래치부, 미분출력 명령어의 해당비트를 발생하는 출력 데이타 발생부를 동작시켜 미분출력 명령어 처리 수행시 보다 빠름 속도로 고속처리하도록 창안한 것으로, 이하 본 발명은 첨부된 도면에 의하여 상세히 설명하면 다음과 같다.SUMMARY OF THE INVENTION In view of such a conventional problem, the present invention classifies a differential output instruction by a timing generator, and at a high speed according to the classified differential output instruction, a memory unit for storing user data, a code latch unit for latching data, Invented to operate at an output data generating unit for generating a corresponding bit of the derivative output instruction to perform faster processing at a higher speed than when performing differential output instruction processing, the present invention will be described in detail with reference to the accompanying drawings.

제2도는 본 발명 PLC의 미분출력 명령처리 제어회로 블럭도이고, 제3도 내지 제6도는 제2도의 각부에 대한 상세도로서, 이에 도시한 바와같이 외부로부터 인가된 수정발진기의 클럭펄스와 마이컴으로부터 출력된 제어신호에 의해 동기되어 기본 클럭펄스를 발생하는 엔드게이트(AND1), 노아게이트(NOR1) 및 시프트레지스터(IC1)로된 타이밍 발생부(1)와, 사용자의 프로그램 데이타를 읽어오기 위하여 상기 타이밍 발생부(1)로부터 발생된 클럭펄스를 카운트하고 그에 해당하는 어드레스를 발생하는 프로그램 카운터부(2)와, 상기 프로그램 카운터부(2)의 어드레스 지정에 의해 사용자의 원하는 데이타를 출력함과 아울러 사용자의 데이타를 저장하는 메모리부(3)와, 상기 프로그램 카운터부(2)의 어드레스에 의해 읽혀진 메모리부(3)의 데이타를 래치하는 오아게이트(OR1), 래치(IC2)(IC3) 및 , 버퍼(IC4)(IC5)로된 코드래치부(4)와, 상기 타이밍 발생부(1)의 클럭펄스에 의해 메모리부(3)에서 출력된 데이타를 래치시키고 4바이트 미분출력 명령의 해당비트를 선정하여 다시 메모리부(3)에 저장하는 래치(IC6)(IC7), 오아게이트(OR2), 인버터게이트(I1), 비트선정부(IC8) 및 버퍼(IC9)로된 출력 데이타 발생부(5)와, 상기 타이밍 발생부(1)의 클럭펄스에 의해 메모리부(3)의 미분출력의 코드를 읽고 미분출력을 온/오프시키는 오아게이트(OR3)(OR4)로된 판독/기록신호 발생부(6)로서 구성한다.2 is a block diagram of the differential output command processing control circuit of the present invention PLC, and FIGS. 3 to 6 are detailed views of each part of FIG. 2, and as shown therein, the clock pulse and the microcomputer of the crystal oscillator applied from the outside are shown. In order to read the user's program data and a timing generator 1 comprising an end gate AND1, a noor gate NOR1, and a shift register IC1, which generate a basic clock pulse in synchronization with a control signal output from the same. Outputting desired data of a user by addressing the program counter unit 2 which counts the clock pulses generated from the timing generator 1 and generates corresponding addresses; In addition, the memory unit 3 storing user data and the memory unit 3 latching the data of the memory unit 3 read by the address of the program counter unit 2 are stored. Is output from the memory section 3 by the code latch section 4 consisting of the gate OR1, the latch IC2 (IC3) and the buffer IC4 (IC5), and the clock pulse of the timing generator 1. Latches IC6 (IC7), OA gate (OR2), inverter gate (I1), and bit selector (IC8) for latching the latched data and selecting the corresponding bit of the 4-byte differential output instruction and storing it in the memory section 3 again. And an output data generator 5 having a buffer IC9 and an oragate for reading the differential output code of the memory unit 3 and turning the differential output on and off by the clock pulse of the timing generator 1. The read / write signal generator 6 constitutes (OR3) and (OR4).

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

먼저 외부에서 사용자가 수정발진기를 이용하여 타이밍 발생부(1)에 구성된 엔드게이트(AND1)의 일측입력단자에 클럭펄스(CLK)를 인가하고, 엔드게이트(AND1)의 타측 입력단자에는 마이컴으로부터 출력된 제어신호(CS)를 인가시키게되면 엔드게이트(AND1)는 이를 엔드화시켜 시프트레지스터(IC1)의 클럭단자(CLK)의 클럭펄스를 인가하게 되고, 엔드게이트(AND1)의 클럭펄스에 의해 동기된 시프트레지스터(IC1)는 제7도의 (a)내지 (g)와 같은 클럭펄스(S1~S7)를 순차적으로 발생하여 프로그램 카운터부(2)에 인가하게되며, 프로그램 카운터부(2)는 이를 순차적으로 카운트하여 그에 해당하는 어드레스를 발생시키게 된다.First, a user externally applies a clock pulse CLK to one input terminal of the end gate AND1 configured in the timing generator 1 using a crystal oscillator, and outputs it from the microcomputer to the other input terminal of the end gate AND1. When the applied control signal CS is applied, the end gate AND1 ends up to apply the clock pulse of the clock terminal CLK of the shift register IC1 and is synchronized by the clock pulse of the end gate AND1. The shift register IC1 sequentially generates clock pulses S1 to S7 such as (a) to (g) of FIG. 7 and applies them to the program counter unit 2, and the program counter unit 2 applies them. It counts sequentially and generates corresponding addresses.

이때 타이밍 발생부(1)의 시프트레지스터(IC1)에서 제7도의 (a)와 같은 클럭펄스(S1)가 발생되면 프로그램 카운터부(2)가 이를 카운트한 후 메모리부(3)의 해당 어드레스를 지정하여 그에 지정된 첫번째 1바이트(Byte)의 데이타를 읽어내고, 이렇게 읽혀진 1바이트의 데이타는 타이밍 발생부(1)에서 출력된 클럭펄스(S2)의 상승에지에 의해서 코드래치부(4)에 구성된 상위의 래치(IC3)에 래치되고, 또한 프로그램 카운터부(2)가 타이밍 발생부(1)에서 출력된 클럭펄스(S1)의 하강에지에서 어드레스를 지정한다. 이는 메모리부(3)의 두번째 어드레스와 세번째 어드레스에는 헛 데이타가 저장되어 있으므로 이 두개의 데이타를 건너뛰우기 위해서이다.At this time, if a clock pulse S1 such as (a) of FIG. 7 is generated in the shift register IC1 of the timing generator 1, the program counter 2 counts it, and then the corresponding address of the memory unit 3 is determined. The first 1 byte of data designated by this is read and the data of the 1 byte thus read is configured in the code latch unit 4 by the rising edge of the clock pulse S2 output from the timing generator 1. The program counter unit 2 designates an address at the falling edge of the clock pulse S1 output from the timing generator 1, which is latched by the upper latch IC3. This is because the waste data is stored in the second address and the third address of the memory unit 3 so as to skip these two data.

그리고 타이밍 발생부(1)에서 클럭펄스(S3)가 출력되면 프로그램 카운터부(2)가 이를 카운트하여 메모리부(3)의 4번째 어드레스를 지정하여 그에 저장된 마지막 1바이트의 데이타를 읽어내고 이렇게 읽혀진 마지막 1바이트의 데이타를 타이밍 발생부(1)에서 출력된 클럭펄스(S4)의 상승에지에 의해서 코드래치부(4)에 구성된 하위의 래치(IC2)에 래치시킨 후 코드래치부(4)의 버퍼(IC4)(IC5)에 각각 저장함과 아울러 코드래치부(4)에 구성된 오아게이트(OR1)에 클럭펄스(S4)를 인가하여 오아랑한 후 버퍼(IC4)(IC5)를 인에이블시켜 여기서 출력된 데이타로 메모리부(3)의 해당 어드레스를 지정하고, 클럭펄스(S4)를 판독/기록신호 발생부(6)의 오아게이트(OR3)를 통해 메모리부(3)의 판독단자(

Figure kpo00001
)에 인가시켜 그에 저장된 바로 이전의 스캔의 입력상태를 읽어내고 이렇게 읽혀진 데이타를 출력데이타 발생부(5)에 구성된 래치(IC6)에 래치시킨다. 이때 타이밍 발생부(1)에서 출력된 클럭펄스(S4)가 출력데이타 발생부(5)에 구성된 인버터게이트(I1)를 통해 반전되어 래치(IC6)를 동기시킴으로써 래치가 된다.When the clock pulse S3 is output from the timing generator 1, the program counter 2 counts this, designates the fourth address of the memory unit 3, reads the last 1 byte of data stored therein, and reads the data. After latching the last 1 byte of data to the lower latch IC2 configured in the code latch unit 4 by the rising edge of the clock pulse S4 output from the timing generator 1, the code latch unit 4 Each buffer is stored in the buffer IC4 and IC5, and the clock pulse S4 is applied to the OR gate OR1 configured in the code latch unit 4, and the buffer IC4 and IC5 are enabled. The corresponding address of the memory unit 3 is designated with the data, and the clock pulse S4 is read through the orifice OR3 of the read / write signal generator 6.
Figure kpo00001
) Reads the input state of the immediately preceding scan stored therein, and latches the read data in the latch IC6 configured in the output data generator 5. At this time, the clock pulse S4 output from the timing generator 1 is inverted through the inverter gate I1 configured in the output data generator 5 to synchronize the latch IC6 to become a latch.

또한 타이밍 발생부(1)로부터 출력된 클럭펄스(S5)가 코드래치부(4)의 오아게이트(OR1)를 통해 버퍼(IC4)(IC5)를 인에이블 시키면 현재 래치(IC2)(IC3)를 통한 데이타가 메모리부(3)의 해당어드레스를 지정하게 되고, 아울러 판독/기록신호 발생부(6)의 오아게이트(OR4)를 통해 클럭펄스(S5)가 메모리부(3)의 기록단자(

Figure kpo00002
)에 인가됨으로서 버퍼(IC4)(IC5)를 통한 현재 미분출력의 데이타가 메모리부(3)의 펄스 정보영역에 기록이 된다.In addition, when the clock pulse S5 output from the timing generator 1 enables the buffer IC4 and IC5 through the OR gate of the code latch 4, the current latch IC2 and IC3 are released. The data passing through the memory unit 3 designates the corresponding address of the memory unit 3, and the clock pulse S5 is connected to the write terminal of the memory unit 3 through the OR gate OR4 of the read / write signal generator 6.
Figure kpo00002
), The data of the current differential output through the buffer IC4 (IC5) is written to the pulse information area of the memory unit 3. As shown in FIG.

한편 타이밍 발생부(1)에서 클럭펄스(S6)가 출력되면 이 신호는 코드래치부(4)의 오아게이트(OR1)를 통해 오아링된 후 버퍼(IC4)(IC5)를 인에이블시킨다. 따라서 클럭펄스(S2)(S4)에 의하여 래치(IC2)(IC3)에 래치된 데이타는 버퍼(IC4)(IC5)를 통해 메모리부(3)의 해당어드레스를 지정함과 아울러 클럭펄스(S6)가 판독/기록신호 발생부(6)의 오아게이트(OR3)를 통하여 메모리부(3)의 판독단자(

Figure kpo00003
)에 인가되므로, 메모리부(3)에서는 비트정보의 내용이 출력되어 출력데이타 발생부(5)에 구성된 래치(IC7)에 래치된다.On the other hand, when the clock pulse S6 is output from the timing generator 1, this signal is oraured through the OR gate of the code latch unit 4 and then enables the buffer IC4 and IC5. Therefore, the data latched by the latches IC2 and IC3 by the clock pulses S2 and S4 designates the corresponding address of the memory unit 3 through the buffers IC4 and IC5 and the clock pulses S6. Read terminal of the memory unit 3 via the OR gate OR3 of the read / write signal generator 6
Figure kpo00003
), The content of the bit information is output from the memory section 3 and latched by the latch IC7 configured in the output data generation section 5.

이때 클럭펄스(S6)가 래치(IC7)의 클럭단자에 인가됨으로서 래치가 이루어지며, 아울러 프로그램 카운터부(2)는 어드레스를 하나 증가시켜 다음 명령어의 코드를 읽어낼 수 있도록 한다.At this time, the latch is performed by applying the clock pulse S6 to the clock terminal of the latch IC7, and the program counter 2 increases the address to read the code of the next instruction.

마지막으로 타이밍 발생부(1)에서 클럭펄스(S7)가 출력되면 이 클럭펄스(S7)는 코드래치부(4)의 오아게이트(OR1)를 통해 버퍼(IC4)(IC5)를 인에이블 시키게 되고, 판독/기록신호 발생부(6)의 오아게이트(OR4)를 통해 메모리부(3)의 기록단자(

Figure kpo00004
)에 인가하게 되는데 만일 클럭펄스(S7)의 상태에서 메모리부(3)가 미분 출력의 경우에 현재 미분출력 명령이 입력이 온된 상태면 클럭펄스(S4)에 의해 출력 데이타 발생부(5)의 래치(IC6)에 래치되어 있던 바와 이전 스캔의 입력정보가 반전되고, 비트선정부(IC8)에서 선정된 후 클럭펄스(S5)(S7)가 오아게이트(OR2)를 통해 인에이블 단자로 인가되는 버퍼(IC9)를 통해 메모리부(3)의 미분출력 비트에 쓰기동작을 행하게 되고, 오프 미분출력의 경우는 현재 미분출력의 입력이 오프된 상태일 경우 클럭펄스(S4)의 하강에지에서 래치된 내용을 비트선정부(IC8) 및 버퍼(IC9)를 통해 메모리부(3)에 쓰기 동작을 행한다.Finally, when the clock pulse S7 is output from the timing generator 1, the clock pulse S7 enables the buffer IC4 and IC5 through the OR gate of the code latch 4. Through the OR gate OR4 of the read / write signal generator 6, the write terminal of the memory unit 3 (
Figure kpo00004
If the differential output command is turned on in the case where the memory unit 3 is differential output in the state of the clock pulse S7, the output data generator 5 of the output data generator 5 is turned on by the clock pulse S4. The input information of the previous scan and the latch previously latched on the latch IC6 are inverted, and the clock pulses S5 and S7 are applied to the enable terminal through the OR gate OR2 after being selected by the bit selector IC8. The write operation is performed on the differential output bit of the memory unit 3 through the buffer IC9. In the case of the off differential output, when the input of the differential output is turned off, the latch is latched at the falling edge of the clock pulse S4. The contents are written to the memory unit 3 via the bit selector IC8 and the buffer IC9.

이렇게 하여 미분출력 명령은 클럭펄스(S1~S7)까지 7개 상태의 하드웨어로직의 한 명령어를 처리하게 된다.In this way, the differential output command processes one instruction of hardware logic in seven states from clock pulses (S1 to S7).

이와같이 본 발명은 미분출력 명령을 7개의 상태로 분류하여 각 상태별 하드웨어로 처리함으로써 사용자의 프로그램이 많은 경우에 명령어의 처리시간을 줄여 보다 빠른 스캔타임을 얻을 수 있는 효과가 있다.As such, the present invention classifies the differential output command into seven states and processes the hardware for each state, thereby reducing the processing time of the instruction when the user program is large, thereby obtaining faster scan time.

Claims (4)

외부의 클럭펄스와 마이컴의 제어신호에 의해 동기되어 순차로 클럭펄스(S1~S7)를 발생시키는 타이밍 발생부(1)와, 상기 타이밍 발생부(1)의 클럭펄스(S1~S7)를 카운트하여 그에 해당하는 어드레스를 발생하는 프로그램 카운터부(2)와, 상기 프로그램카운터부(2)의 어드레스 지정에 의해 사용자의 원하는 데이타를 출력함과 아울러 데이타를 저장하는 메모리부(3)와, 상기 프로그램 카운터부(2)의 어드레스에 의해 읽혀진 메모리부(3)의 데이타를 래치하는 코드래치부(4)와, 상기 타이밍 발생부(1)의 클럭펄스(S4~S7)에 의해 메모리부(3)에서 출력된 데이타를 래치시키고 미분출력 명령의 해당 비트를 발생하는 출력데이타 발생부(5)와, 상기 타이밍 발생부(1)의 클럭펄스(S1~S7)에 의해 메모리부(3)의 미분출력의 코드를 읽고 미분출력을 온/오프시키는 판독/기록신호 발생부(6)로 구성하여 된것을 특징으로 하는 PLC의 미분출력 명령처리 제어회로.The timing generator 1 sequentially generates the clock pulses S1 to S7 in synchronization with an external clock pulse and a control signal of the microcomputer, and the clock pulses S1 to S7 of the timing generator 1 are counted. A program counter unit 2 for generating an address corresponding thereto, a memory unit 3 for storing desired data while outputting desired data by the address designation of the program counter unit 2, and the program The code latch section 4 latches the data of the memory section 3 read by the address of the counter section 2, and the clock section S4 to S7 of the timing generator section 1 Differential output of the memory unit 3 by the output data generation unit 5 for latching the data outputted from the subfield and generating the corresponding bit of the differential output command and the clock pulses S1 to S7 of the timing generation unit 1. Read / write signal that reads code and turns differential output on and off A differential output command processing control circuit of a PLC, characterized by comprising a generator (6). 제1항에 있어서, 상기 타이밍 발생부(1)의 외부의 클럭펄스와 마이컴의 제어신호를 엔드화시키는 엔드게이트(AND1)와, 상기 엔드게이트(AND1)의 출력신호에 의해 동기되어 순차적으로 클럭펄스(S1~S7)를 발생하는 시프트 레지스터(IC1)와, 상기 시프트 레지스터(IC1)의 클럭펄스(S8) 및 외부의 클럭발생정지신호(CLKS)를 노아링시켜 그 시프트레지스터(IC1)를 클리어 시키는 노아게이트(NOR1)로 구성하여 된 것을 특징으로 하는 PLC의 미분출력 명령처리 제어회로.2. The clock pulse of claim 1, further comprising an end gate AND1 for ending the clock pulse external to the timing generator 1 and a control signal of the microcomputer and an output signal of the end gate AND1. The shift register IC1 for generating (S1 to S7), the clock pulse S8 of the shift register IC1, and the external clock generation stop signal CLKS are nominated to clear the shift register IC1. A differential output command processing control circuit of a PLC, comprising: a NOA gate (NOR1). 제1항에 있어서, 상기 코드래치부(4)는 타이밍 발생부(1)의 클럭펄스(S4)(S2)에 의해 동기되어 메모리부(3)의 해당 데이타를 래치하는 래치(IC2)(IC3)와, 상기 래치(IC2)(IC3)에 래치된 메모리부(3)의 해당데이타를 오아게이트(OR1)에 인가되는 클럭펄스(S4~S7)에 의해 인에이블되어 어드레스신호로 발생하는 버퍼(IC4)(IC5)로 구성하여 된 것을 특징으로 하는 PLC의 미분출력 명령처리 제어회로.The latch (IC2) (IC3) according to claim 1, wherein the code latch unit (4) latches the data of the memory unit (3) in synchronization with the clock pulses (S4) (S2) of the timing generator (1). And a buffer for enabling the data of the memory unit 3 latched in the latch IC2 (IC3) by the clock pulses S4 to S7 applied to the OR gate OR1 to generate an address signal. A differential output command processing control circuit of a PLC comprising: IC4) (IC5). 제1항에 있어서, 상기 출력데이타 발생부(5)는 타이밍 발생부(1)에서 출력된 클럭펄스(S4)를 반전시키는 인버터게이트(I1)와, 상기 인버터게이트(I1)의 출력에 의해 동기되어 메모리부(3)로 부터 읽혀진 미분출력 이전 스캔의 입력정보를 래치하는 래치(IC6)와, 상기 타이밍 발생부(1)의 클럭펄스(S6)에 의해 동기되어 메모리부(3)의 미분출력 비트의 정보를 래치하는 래치(IC7)와, 상기 래치(IC6)(IC7)의 미분출력비트에서 필요한 비트를 선정하는 비트선정부(IC8)와, 상기 비트선정부(IC8)에서 선정된 데이타를 오아게이트(OR2)를 통한 클럭펄스(S5)(S7)에 의해 인에이블되어 메모리부(3)에 저장하는 버퍼(IC9)로 구성하여 된 것을 특징으로 하는 PLC의 미분출력 명령처리 제어회로.The inverter of claim 1, wherein the output data generator 5 is synchronized with an inverter gate I1 for inverting the clock pulse S4 output from the timing generator 1 and an output of the inverter gate I1. And the latch IC6 for latching input information of the differential output previous scan read from the memory unit 3 and the clock pulse S6 of the timing generator 1 in synchronization with the differential output of the memory unit 3. A latch IC7 for latching bit information, a bit selector IC8 for selecting a required bit from a differential output bit of the latch IC6 and IC7, and data selected from the bit selector IC8. A differential output command processing control circuit of a PLC, comprising a buffer IC9 enabled by clock pulses S5 and S7 through an OR gate, and stored in the memory unit 3.
KR1019900009790A 1990-06-29 1990-06-29 Command processing control circuit of plc KR930005212B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019900009790A KR930005212B1 (en) 1990-06-29 1990-06-29 Command processing control circuit of plc

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019900009790A KR930005212B1 (en) 1990-06-29 1990-06-29 Command processing control circuit of plc

Publications (2)

Publication Number Publication Date
KR920001286A KR920001286A (en) 1992-01-30
KR930005212B1 true KR930005212B1 (en) 1993-06-16

Family

ID=19300663

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019900009790A KR930005212B1 (en) 1990-06-29 1990-06-29 Command processing control circuit of plc

Country Status (1)

Country Link
KR (1) KR930005212B1 (en)

Also Published As

Publication number Publication date
KR920001286A (en) 1992-01-30

Similar Documents

Publication Publication Date Title
EP0180196A2 (en) Programmable counter/timer device
KR930005212B1 (en) Command processing control circuit of plc
JPH05324452A (en) External memory interface circuit
KR880000994B1 (en) Microinstruction controlled data processor
KR870003503A (en) Writing circuit for EPROM of microcomputer
JP3276205B2 (en) Writing method of phase change type liquid crystal display
JPH079589B2 (en) Electronic musical instrument
JPH0795269B2 (en) Instruction code decoding device
JPS6410854B2 (en)
JPS61249163A (en) Wait cycle generating circuit
JP2523662B2 (en) Memory access circuit
JPS636872B2 (en)
JPH0799478B2 (en) Electronic musical instrument
JP2892375B2 (en) Pulse input device
JPH079280Y2 (en) Stack circuit
JP2595992B2 (en) Electronic musical instrument
SU1443141A1 (en) Generator of pseudorandom sequences
JP2504974B2 (en) Sequencer high-speed processing method
KR930003224B1 (en) Processing system of plc command
JP3619629B2 (en) Memory access time control device
JPS6319027B2 (en)
JPS623458B2 (en)
JPS6341895A (en) Sequence control
JPS5853380B2 (en) Program erase method
JPS61125669A (en) Memory controller

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
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: 20040329

Year of fee payment: 12

LAPS Lapse due to unpaid annual fee