KR940004996Y1 - High-speed processing system for plc sequence instructions - Google Patents
High-speed processing system for plc sequence instructions Download PDFInfo
- Publication number
- KR940004996Y1 KR940004996Y1 KR2019880022254U KR880022254U KR940004996Y1 KR 940004996 Y1 KR940004996 Y1 KR 940004996Y1 KR 2019880022254 U KR2019880022254 U KR 2019880022254U KR 880022254 U KR880022254 U KR 880022254U KR 940004996 Y1 KR940004996 Y1 KR 940004996Y1
- Authority
- KR
- South Korea
- Prior art keywords
- data
- unit
- plc
- memory
- state
- Prior art date
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/22—Microcontrol or microprogram arrangements
- G06F9/28—Enhancement of operational speed, e.g. by using several microcontrol devices operating in parallel
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F5/00—Methods or arrangements for data conversion without changing the order or content of the data handled
- G06F5/06—Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor
- G06F5/08—Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor having a sequence of storage locations, the intermediate ones not being accessible for either enqueue or dequeue operations, e.g. using a shift register
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Programmable Controllers (AREA)
Abstract
내용 없음.No content.
Description
제1도는 종래 이피롬에 의한 피엘씨 명령 처리 블록도.1 is a block diagram of a PLC command process according to the prior art.
제2도는 본 고안 피엘씨의 시퀀스명령 고속처리 시스템에 대한 블록도.2 is a block diagram of a high-speed sequence instruction processing system of the present invention PL.
제3도는 본 고안 시프트레지스터부의 처리표.3 is a processing table of the subject innovation register.
* 도면의 주요부분에 대한 부호의 설명* Explanation of symbols for main parts of the drawings
11 : 펄스발생부 12 : 프로그램 카운터부11: pulse generator 12: program counter
13 : 프로그램메모리 14,15 : 상위 래치부13: Program memory 14,15: Upper latch part
16 : 하위래치부 17 : 시프트레지스터부16: lower latch portion 17: shift register portion
18 : 연산로직부 19 : 코드판독 및 신호발생부18: Operation logic part 19: Code reading and signal generation part
20 : 어드레스발생부 21 : 데이타메모리20: address generator 21: data memory
OR : 오아게이트OR: Oagate
본 고안은 PLC(Programmable Logic Contraller : PLC)의 시퀀스명령 고속처리에 관한 것으로 특히 PLC의 고속화 및 회로의 기밀성유지, 소형화에 적당하도록한 PLC의 시퀀스명령 고속 처리 시스템에 관한 것이다.The present invention relates to a high speed processing of a sequence command of a programmable logic controller (PLC), and more particularly to a high speed processing system of a sequence command of a PLC that is suitable for high speed PLC, confidentiality, and miniaturization of a PLC.
제1도는 종래 이 피롬에 의한 PLC명령 처리 블록도로서 이에 도시한 바와같이, 펄스발생부(1)의 출력측이 프로그램 카운터부(2)를 통해 프로그램 메모리(3)의 입력측에 접속되고, 그 프로그램 메모리(3)의 출력측이 이 피롬(4) 및 래치부(5), 래치부(6)를 각기 통해 데이타메모리(7)의 입력측에 접속되며, 이피롬(8) 및 래치부(9)를 통해서는 제어신호 발생부(10)에 접속되어 구성되었다.FIG. 1 is a block diagram of a conventional PLC instruction processing by this PROM, and as shown therein, the output side of the pulse generator 1 is connected to the input side of the program memory 3 via the program counter 2, and the program of FIG. The output side of the memory 3 is connected to the input side of the data memory 7 via the pyrom 4, the latch portion 5, and the latch portion 6, respectively. It was configured to be connected to the control signal generator 10 through.
이와같이 구성된 종래 PLC명령의 처리 동작을 설명하면 다음과 같다. 중앙처리장치(도면에 미표시)의 명령에 의해 펄스발생부(1)가 동작하여 프로그램 카운터부(2)의 어드레스 공급에 의해 프로그램 메모리(3)의 상위코드 데이타가 출력되어 이피롬(4)(8)의 어드레스로 공급됨에 따라 그 이피롬(4)(8)에 이미 저장되어 있는 데이타가 출력된다. 즉, 한 명령어를 처리하는 4개 상태(S1,S2,S3,S4)중 첫째상태(S1)에서 이피롬(4)으로부터 상위 어드레스가 출력되어 래치부(5)를 통해 데이타메모리(7)에 저장되고, 이피롬(8)으로부터 출력되는 제어신호가 래치부(9)를 통해 제어 신호발생부(10)에 인가되며, 프로그램카운터부(2)의 카운터가 1증가됨에 따라 상기 이피롬(4)의 하위 어드레스가 출력되어 상기 데이타메모리(7)에 인가되고 세번째상태(S3), 및 네번째상태(S4)에서 상기 데이타메모리(7)의 내용과 상기 제어신호 처리부(10)의 출력측에 접속된 시프트레지스터(도면에 미표시)와의 연산결과로 하나의 명령어가 처리된다.The processing operation of the conventional PLC instruction configured as described above is as follows. By the command of the central processing unit (not shown in the drawing), the pulse generator 1 operates, and the upper code data of the program memory 3 is output by supplying the address of the program counter 2 so that the pyramid 4 ( As it is supplied to the address of 8), the data already stored in the pyrom 4 and 8 are output. That is, one of four states to process the instruction data (S 1, S 2, S 3, S 4) of the first state is an upper address is output from two feet ROM 4 in the (S 1) via a latch unit (5) The control signal stored in the memory 7 and output from the pyramid 8 is applied to the control signal generation unit 10 through the latch unit 9, and as the counter of the program counter unit 2 increases by one. The lower address of the pyramid 4 is output and applied to the data memory 7 and the contents of the data memory 7 and the control signal processing unit 3 in the third state S 3 and the fourth state S 4 . One instruction is processed as a result of the calculation with the shift register (not shown) connected to the output side of 10).
그러나, 이와같은 종래의 시퀀스명령 처리 방법은 이피롬의 억세스 타임에 소모되는 시간으로 인하여 처리속도가 늦어지는 문제점이 있었다.However, such a conventional sequence instruction processing method has a problem that the processing speed is slow due to the time consumed in the access time of the pyrom.
본 고안은 이와같은 종래의 문제점을 해결하기 위하여 PLC의 시퀀스명령을 티티엘 게이트로 처리함으로써 처리 속도를 고속화하고 모든 블럭의 회로를 하나의 게이트 어레이(Gate Array)로 제작하여 기기의 소형화 및 회로 패턴에 의한 간섭을 없앨 수 있는 회로를 안출한 것으로 이를 첨부한 도면에 의하여 상세히 설명하면 다음과 같다. 제2도는 본 고안 PLC의 시퀀스명령 고속처리 시스템에 대한 블록도로서 이에 도시한 바와같이, 중앙 처리장치(도면에 미표시)의 시작명령에 의해 기본 클럭 입력단지(C1)로 부터 기본 클럭을 입력하여 4개의 펄스상태(S1,S2,S3,S4)를 발생시키는 펄스발생부(11)와, 상기 펄스발생부(11)의 출력신호를 입력하여 소정 펄스를 카운터하는 프로그램 카운터부(12)와, 상기 프로그램카운터부(12)의 입력 신호에 따라 지정된 소정의 데이타를 출력하는 프로그램메모리(13)와, 상태(S1,S2)에서 상기 프로그램메모리(13)의 출력 데이타를 래치하는 상위 및 하위래치부(14,15)(16)와, 상기 상위 및 하위래치부(15)(16)의 출력 데이타를 입력하여 어드레스를 지정하기위한 데이타를 출력하는 어드레스발생부(20)와, 상기 어드레스 발생부(20)의 출력 데이타를 입력하여 지정된 데이타를 출력하는 데이타메모리(21)와, 상태(S1)에서 읽혀진 상위 8비트로 하드웨어처리가 가능한지를 판별하고 사익 데이타 메모리(21)의 읽기/쓰기를 제어하는 코드판독 및 신호 발생부(19)와, 상기 코드판독 및 신호발생부(19)에서 하드웨어 처리가 가능하다고 판단될때 시프트처리를 행하는 시프트레지스터부(17) 및 연산처리를 행하는 연산 로직부(18)로 구성한 것으로, 이와같이 구성된 본 고안의 작용 및 효과를 첨부한 제3도를 참조하여 상새히 설명하면 다음과 같다.In order to solve such a conventional problem, the present invention speeds up the processing speed by processing a sequence command of a PLC with a TI gate, and manufactures a circuit of all blocks into a single gate array to reduce the device size and circuit pattern. A circuit capable of eliminating interference caused by the present invention is described in detail with reference to the accompanying drawings. 2 is a block diagram of a sequence instruction high-speed processing system of the present invention PLC, as shown therein, by inputting the basic clock from the basic clock input terminal (C 1 ) by the start command of the central processing unit (not shown) A pulse generator 11 for generating four pulse states S 1 , S 2 , S 3 , and S 4 , and a program counter for inputting an output signal of the pulse generator 11 to counter a predetermined pulse. (12), a program memory 13 for outputting predetermined data designated according to the input signal of the program counter unit 12, and output data of the program memory 13 in the states S 1 and S 2 . The address generator 20 for inputting the latching upper and lower latch parts 14 and 15 and 16 and the output data of the upper and lower latch parts 15 and 16 to output addressing data. And inputting the output data of the address generator 20 And a data memory (21) for outputting itaconic, state (S 1) the upper 8 bits determine the hardware processing is enabled and generates the code reading and signals for controlling read / write of Sykes data memory 21, unit 19 is read in And a shift register unit 17 for performing a shift process and an arithmetic logic unit 18 for performing arithmetic processing when the code reading and signal generation unit 19 determines that hardware processing is possible. Referring to Figure 3 attached to the action and effect will be described briefly as follows.
중앙처리장치의 시작 명령에 의해 펄스발생부(11)가 기본 클럭을 입력하여 4개의 상태(S1,S2,S3,S4)로 한개의 명령을 처리하는데 먼저 상태(S1)에서 프로그램메모리(13)로 부터 출력되는 명령어의 상위 코드를 상위 래치부(14)를 통해 래치시켜 상위 8비트의 데이타가 코드판독 및 신호 발생부(19)에 입력되게하는 동시에 상위 래치부(15)의 상위니블(Nibble)이 데이타 메모리(21)의 상위 니블 어드레스가 되도록하여 출력시키며, 상태(S1)에서 프로그램메모리(13)로 부터 출력되는 명령어의 하위코드를 하위 래치부(16)를 통해 어드레스 발생부(20)에 인가하고, 상태(S3,S4)에서 오아게이트(OR11)의 인에이블 신호에 의해 어드레스 발생부(20)의 출력신호가 데이타메모리(21)의 입력측에 인가된다. 또한 데이타메모리(21)의 읽기/쓰기 동작이 이루어지도록 제어신호를 구성하고 상위 레치부(14)의 출력 데이타에 따른 시프트레지스터부(17)의 처리가 이루어지도록 제3도와 같이 시프트레지스터부(17)의 상태(L0,L1)를 구성하는데 예를들어 입력명령(LoAD, AND, OR)의 경우는 상태(S3)에서 시프트 처리후 연산조직부(18)의 데이타를 연산 처리하며, 이 결과를 상태(S4)에서 재 로딩시켜 한 주기를 완료하고, 출력명령(OUT, SET, RST)의 경우는 상태(S4)에서 시프트레지스터부(17)의 처리없이 상태(S)에서 시프트레지스터부(17) 및 연산조직부(18)의 출력데이타를 데이타메모리(21)에 라이트(Write)한 후 한 주기를 완료한다.By the start command of the central processing unit a pulse generating unit 11 is to input the base clock four states to process one of the commands in (S 1, S 2, S 3, S 4) first, in a state (S 1) The upper code of the instruction output from the program memory 13 is latched through the upper latch unit 14 so that the upper 8 bits of data are inputted into the code reading and signal generating unit 19 and the upper latch unit 15 The upper nibble of the data is outputted by being the upper nibble address of the memory 21, and the lower code of the instruction output from the program memory 13 in the state S 1 is provided through the lower latch unit 16. Is applied to the address generator 20, and the output signal of the address generator 20 is applied to the input side of the data memory 21 by the enable signal of the OR gate OR 11 in the states S 3 and S 4 . do. In addition, the control signal is configured so that the read / write operation of the data memory 21 is performed, and the shift register unit 17 is processed as shown in FIG. 3 so that the shift register unit 17 is processed according to the output data of the upper latch unit 14. ) state (L 0, to construct an L 1) for example, input command (operation data of the state (S 3) computation jojikbu 18 after the shift process in the case of LoAD, aND, OR) processing, and is the The result is reloaded in the state S 4 to complete one cycle, and in the case of the output instruction OUT, SET, or RST, the state S 4 is shifted in the state S 4 without processing of the shift register 17 in the state S 4 . One cycle is completed after writing the output data of the register section 17 and the calculation organization section 18 to the data memory 21.
그러나, 로드명령(AND/OR)은 상태(S3)에서 연산조직부(18)의 출력데이타를 래치시키고 우시프트한후 새로운 연산 조직부(18)의 데이타와 앤드/오아시켜 그 결과를 상태(S4)에서 재로딩하여 한 주기를 완료한다.However, the load instruction AND / OR latches and right shifts the output data of the calculation organization unit 18 in the state S 3 , and then AND / ores the data of the new calculation organization unit 18 to result in the state S. Reload in 4 ) to complete one cycle.
이상에서 상세히 설명한 바와같이 PLC명령을 티티엘 게이트로 처리함으로써 고속처리를 가능하게하고 모든 블럭을 하나의 게이트 어레이로 제작하여 회로 패턴에 의한 간섭을 방지할 수 있는 이점이 있다.As described in detail above, the PLC command is processed by the TI gate to enable high-speed processing, and all blocks are manufactured in one gate array to prevent interference by a circuit pattern.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR2019880022254U KR940004996Y1 (en) | 1988-12-30 | 1988-12-30 | High-speed processing system for plc sequence instructions |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR2019880022254U KR940004996Y1 (en) | 1988-12-30 | 1988-12-30 | High-speed processing system for plc sequence instructions |
Publications (2)
Publication Number | Publication Date |
---|---|
KR900012925U KR900012925U (en) | 1990-07-04 |
KR940004996Y1 true KR940004996Y1 (en) | 1994-07-25 |
Family
ID=19282801
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR2019880022254U KR940004996Y1 (en) | 1988-12-30 | 1988-12-30 | High-speed processing system for plc sequence instructions |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR940004996Y1 (en) |
-
1988
- 1988-12-30 KR KR2019880022254U patent/KR940004996Y1/en not_active IP Right Cessation
Also Published As
Publication number | Publication date |
---|---|
KR900012925U (en) | 1990-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR910000363B1 (en) | Single chip processor | |
EP0070863A1 (en) | Stored-program control machine. | |
US4667285A (en) | Microcomputer unit | |
US5269012A (en) | Stack memory system including an address buffer for generating a changed address by inverting an address bit | |
KR940004996Y1 (en) | High-speed processing system for plc sequence instructions | |
US4222339A (en) | Automatic compound pattern generation type sewing machine | |
KR920005283B1 (en) | Dram controller | |
US4101967A (en) | Single bit logic microprocessor | |
KR100277770B1 (en) | Sequence control circuit | |
US5155826A (en) | Memory paging method and apparatus | |
CN1329831C (en) | Microcomputer and its estimation device | |
US4001789A (en) | Microprocessor boolean processor | |
GB1500430A (en) | Control units for controlling the operation of machine tools | |
JP2504974B2 (en) | Sequencer high-speed processing method | |
JPS6319027B2 (en) | ||
JPS625407A (en) | Quick programmable controller | |
JPS57169809A (en) | Programmable logic controller | |
KR930007086B1 (en) | Circuit for generating carrier signal | |
JPS62259145A (en) | Generating device for algorithmic pattern | |
KR100257502B1 (en) | Shifter operated without cluck | |
JPS6355090B2 (en) | ||
JPS6454578A (en) | Image arithmetic unit | |
JPH06103447B2 (en) | Sequencer | |
JPH0575985B2 (en) | ||
KR100229260B1 (en) | Dram control circuit |
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: 19971227 Year of fee payment: 5 |
|
LAPS | Lapse due to unpaid annual fee |