CS273554B1 - Device for breaking circuit control with program-controlled microcomputers - Google Patents

Device for breaking circuit control with program-controlled microcomputers Download PDF

Info

Publication number
CS273554B1
CS273554B1 CS814886A CS814886A CS273554B1 CS 273554 B1 CS273554 B1 CS 273554B1 CS 814886 A CS814886 A CS 814886A CS 814886 A CS814886 A CS 814886A CS 273554 B1 CS273554 B1 CS 273554B1
Authority
CS
Czechoslovakia
Prior art keywords
input
circuit
microcomputer
microcomputers
output
Prior art date
Application number
CS814886A
Other languages
Czech (cs)
Other versions
CS814886A1 (en
Inventor
Petr Ing Csc Hainz
Jiri Ing Csc Vlk
Original Assignee
Hainz Petr
Vlk Jiri
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 Hainz Petr, Vlk Jiri filed Critical Hainz Petr
Priority to CS814886A priority Critical patent/CS273554B1/en
Publication of CS814886A1 publication Critical patent/CS814886A1/en
Publication of CS273554B1 publication Critical patent/CS273554B1/en

Links

Landscapes

  • Bus Control (AREA)

Abstract

The connection is intended for the field of data collection and it enables to control the interrupt circuit with program-controlled microcomputers. The input of the microcomputer interrupt is connected to the output of the logical combinational circuit of equivalence or non-equivalence, whose control input is connected to the output of the microcomputer and the second input of the control signal of the process of the logical combinational circuit is connected with the input terminal of the whole system.<IMAGE>

Description

Vynález se týká zapojení pro ovládání obvodu přerušení u programově řízených mikropočítačů.The invention relates to a circuit for controlling an open circuit in programmed microcomputers.

Dosavadní různá zapojení používaná pro ovládání obvodu přerušení za účelem řízení jedno nebo více čipových mikropočítačů, zejména pro sběr dat, jsou provedena jako zapojení s klopnými obvody a vícevstupovými hradly, umožňující identifikovat hranu vstupního logického signálu a v závislosti na zvolené hraně vygenerovat úrovňový přerušovací signál. Teto zapojení jsou však poměrně složitá a navíc plně nevyužívají možnosti programově řízeného mikropočítače.The prior art various circuitry used to control an interrupt circuit to control one or more chip microcomputers, in particular for data acquisition, are implemented as flip-flops and multi-input gates to identify the edge of an input logic signal and generate a level interrupt signal depending on the selected edge. However, these connections are quite complex and do not take full advantage of the programmable microcomputer.

Uvedené nedostatky jsou odstraněny zapojením pro ovládání obvodu přerušení u programově řízených mikropočítačů, jehož podstata spočívá v tom, že vstup přerušení mikropočítače je připojen na výstup logického kombinačního obvodu ekvivalence nebo nonekvívalence, jehož ovládací vstup je připojen na výstup mikropočítače a druhý vstup řídicího signálu procesu logického kombinačního obvodu je spojen se vstupní svorkou celého systému.These shortcomings are overcome by the interrupt circuit control circuit of programmed microcomputers, which is based on the microcomputer interrupt input being connected to the output of the equivalence or nonquality logic combination circuit, whose control input is connected to the microcomputer output and the second logic process control input the combination circuit is connected to the input terminal of the entire system.

Zapojení pro ovládání obvodu přerušení u programově řízených Eikropočítečů je maximálně jednoduché a levné při plném zabezpečení všech možností, které v tomto ohledu jedno nebo více čipové počítače poskytují. Při použití hradla nonekvivalence je umožněno řízení přerušení (interruptu) programem mikropočítače v závislosti na řešené úloze. Výhoda tohoto opatření je zřejmá při použití zapojení pro vstup komunikace s proměnnou šířkou impulsu, kdy je možno začátkem vstupujícího impulsu spustit rutinu ošetření přerušení a po jejím skončeni čekat na přerušení od opačné úrovně na komunikačním vstupu.The circuitry for controlling the interrupt circuit in program-controlled Ecomputers is as simple and inexpensive as possible while fully safeguarding all the capabilities that one or more chip computers provide in this regard. When using a non-equivalence gate, interrupts can be controlled by a microcomputer program depending on the task being solved. The advantage of this measure is evident when using a circuit for input of variable pulse width communication, where the interrupt treatment routine can be started at the beginning of the incoming pulse and wait for an interrupt from the opposite level at the communication input after the pulse input.

•To přinese oproti dosavadnímu způsobu ovládání obvodu přerušení, kdy bylo nutno periodicky vzorkovat stav tohoto vstupu (a to s krátkou periodou, aby nedošlo ke ztrátě informace) podstatnou úsporu jak v pracnosti vytvoření programu, tak .i v délce výsledného kódu a sníží se i časové zatížení mikropočítače obsluhou komunikace.• This will bring significant savings in both program design time and code length, compared to the current interrupt circuit control, where it was necessary to periodically sample the state of this input (with a short period to avoid losing information). time load of the microcomputer by the communication operator.

Na připojeném výkresu je v blokovém schématu znázorněn princip zapojení podle vynálezu.The schematic diagram of the circuit according to the invention is shown in the block diagram.

Mikropočítač 1_ je opatřen vstupem 11 přerušení a výstupem 12. Výstup 11 přerušení je připojen na výstup 23 logického kombinačního obvodu_2_ekvivalence nebo nonekvivalence.Ten je opatřen dvěma vstupy 21. 22, a to ovládacím vstupem 21, který je připojen na výstup 12 mikropočítače _1_, dalším vstupem 22 řídicího signálu procesu, který je připojen na vstupní svorku _3_ celého zapojení.The microcomputer 7 is provided with an interrupt input 11 and an output 12. The interrupt output 11 is connected to the output 23 of the logic combinational circuit_2_equivalence or non-equivalence. This is provided with two inputs 21, 22, a control input 21 which is connected to the microcomputer output 12. input 22 of the process control signal, which is connected to the input terminal 3 of the entire wiring.

Zapojení podle vynálezu funguje takto:The circuit according to the invention works as follows:

Na výstupu 23 logického kombinačního obvodu ekvivalence nebo nonekvivalence je signál o hodnotě dané kombinační logickou funkcí na vstupní svorce _3_zapojení a signálu na výstupu 12 mikropočítače 1. To umožňuje zpětné ovládání podmínky přerušení.At the output 23 of the equivalence or non-equivalence logic combination circuit, a signal having the value of the combination logic function is provided at the input terminal 3 and the signal at the output 12 of the microcomputer 1.

Užití logického kombinačního obvodu 2_nonekvivalence nebo ekvivalence umožní přitom po přerušení jednou hranou signálu žádosti o přerušení jednak potlačit opakovanou žádost o přerušení při stávající logické úrovni na vstupní svorce _3 a jednak vytvořit podmínky pro přerušení při druhé hraně signálu.The use of the non-equivalency logic combination circuit 2, after interruption by one edge of the interruption request signal, both suppresses the repeated interruption request at the current logic level at the input terminal 3 and creates conditions for interruption at the other signal edge.

Zařízení podle vynálezu je použitelné například pro zapojeni jednoduchého mikropočítače řady MCS 48, zejména při využití ve funkci řídicího automatu komunikací.The device according to the invention is useful, for example, for the connection of a simple microcomputer of the MCS 48 series, especially when used as a communication controller.

Claims (1)

Zapojení pro ovládání obvodu přerušení u programově řízených mikropočítačů, vyznačující ee tím, že vstup (11) přerušení mikropočítače (1) je připojen na výstup (23) logického kombinačního obvodu (2) ekvivalence nebo nonekvivalence, jehož ovládací vstup (21) je připojen na výstup (12) mikropočítače (1) a druhý vstup (22) řídicího signálu procesu logického kombinačního obvodu (2) je spojen se V3tupní svox’kou (3) celého systému.Circuit for control of an open circuit in programmed microcomputers, characterized in that the input (11) of the microcomputer (1) is connected to the output (23) of the equivalence or non-equivalency logic combination circuit (2) whose control input (21) is connected to the output (12) of the microcomputer (1) and the second input (22) of the process control signal of the logic combinational circuit (2) are connected to the V3tuple connector (3) of the entire system.
CS814886A 1986-11-11 1986-11-11 Device for breaking circuit control with program-controlled microcomputers CS273554B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CS814886A CS273554B1 (en) 1986-11-11 1986-11-11 Device for breaking circuit control with program-controlled microcomputers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CS814886A CS273554B1 (en) 1986-11-11 1986-11-11 Device for breaking circuit control with program-controlled microcomputers

Publications (2)

Publication Number Publication Date
CS814886A1 CS814886A1 (en) 1990-08-14
CS273554B1 true CS273554B1 (en) 1991-03-12

Family

ID=5431675

Family Applications (1)

Application Number Title Priority Date Filing Date
CS814886A CS273554B1 (en) 1986-11-11 1986-11-11 Device for breaking circuit control with program-controlled microcomputers

Country Status (1)

Country Link
CS (1) CS273554B1 (en)

Also Published As

Publication number Publication date
CS814886A1 (en) 1990-08-14

Similar Documents

Publication Publication Date Title
MY104505A (en) Bus master interface circuit with transparent preemption of a data transfer operation.
GB1562981A (en) Data processing system
US4728822A (en) Data processing system with improved output function
US4419762A (en) Asynchronous status register
CS273554B1 (en) Device for breaking circuit control with program-controlled microcomputers
US4271464A (en) Switching arrangement for the input of interrupt commands and the output of interrupt acknowledgment for computer systems
GB1562984A (en) Data processing system
KR850001704Y1 (en) Universal Timer for Elevator
JPS5914005A (en) Sequence control method using microcomputer
JP2644111B2 (en) Input/Output Circuit
JP2598088B2 (en) Simple evaluation device for processing equipment
KR890003723B1 (en) Recovery time control circuits
JP2847224B2 (en) microwave
JPS62235673A (en) microcomputer
JPS60241104A (en) Arithmetic method of digital controller
JP2864630B2 (en) Microcomputer runaway detection circuit
SU1569836A1 (en) Data input device
KR940000759Y1 (en) Alarm (ALRAM) signal automatic stop circuit of inspection equipment
KR860001785B1 (en) System program protection circuit of z80 cpu
KR920003747B1 (en) NC control method with PLC type I / O contact
JPH0926807A (en) Programmable controller
KR960007955Y1 (en) Interrupt input apparatus of plc
KR0176073B1 (en) Structure of Message Receive Register
KR0140284B1 (en) Bus Format Decoding Circuit
KR920008007Y1 (en) Bufferless Floppy Disk Control Circuit