CS261031B1 - Controller of microcomputer unit for contact with medium - Google Patents

Controller of microcomputer unit for contact with medium Download PDF

Info

Publication number
CS261031B1
CS261031B1 CS864813A CS481386A CS261031B1 CS 261031 B1 CS261031 B1 CS 261031B1 CS 864813 A CS864813 A CS 864813A CS 481386 A CS481386 A CS 481386A CS 261031 B1 CS261031 B1 CS 261031B1
Authority
CS
Czechoslovakia
Prior art keywords
input
register
address
output
byte
Prior art date
Application number
CS864813A
Other languages
Czech (cs)
Other versions
CS481386A1 (en
Inventor
Karel Haas
Miroslav Kudrnovsky
Original Assignee
Karel Haas
Miroslav Kudrnovsky
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 Karel Haas, Miroslav Kudrnovsky filed Critical Karel Haas
Priority to CS864813A priority Critical patent/CS261031B1/en
Publication of CS481386A1 publication Critical patent/CS481386A1/en
Publication of CS261031B1 publication Critical patent/CS261031B1/en

Links

Landscapes

  • Control By Computers (AREA)

Abstract

Řešení se týká oboru měřicích elektronických přístrojů. Jedná se o zapojení kontroléru, který umožňuje řídit jednotku styku s prostředím mikropočítačem pomocí speciální sběrnice. Podstata zapojení spočívá v tom, že kontrolér sestává z více vstupních a výstupních registrů, které zprostředkují styk mezi jednotkou styku s prostředím a mikropočítačem a z řídicích a časovačích obvodů, které umožňují automatické řízení některých operací jednotky styku s prostředím. Řešení může být využitá i v oboruThe solution relates to the field of electronic measuring devices instruments. This is engagement controller that allows you to control the unit contact with microcomputer environment using special bus. The essence of engagement lies in that the controller consists of multiple input and output registers they mediate contact between the environment contact unit and a microcomputer and from control and timers circuits that allow automatic control some operations with the environment. The solution can also be used in the field

Description

Vynález se týká zapojení kontroléru jednotky styku s prostředím, řízené mikropočítačem. Jednotka používá přerušovací logiky pro vyžádání obsluhy a speciální vstupně - výstupní sběrnice.The invention relates to the connection of a microcomputer controlled environment controller. The unit uses interrupt logic to request the operator and a special I / O bus.

Známá zapojení jednotek styku s prostředím používají mikropočítačové sběrnice pro připojení k mikropočítači. Většina řídicích funkcí se u známých zapojení provádí programově. Připojení jednotky přímo k mikropočítačové sběrnici vyžaduje, aby každý funkční modul obsahoval všechny obvody potřebné pro jeho připojení k této sběrnici, což vede k jeho větší složitosti. Programové provádění většiny funkcí jednotky styku s prostředím potom má za následek snížení rychlosti vykonání těchto.funkci a vyšší nároky na programové zabezpečení.Known connections of environmental contact units use microcomputer buses to connect to a microcomputer. Most of the control functions are performed programmatically for known circuits. Connecting the unit directly to the microcomputer bus requires each function module to contain all the circuits needed to connect it to the bus, which makes it more complex. Programmatically performing most of the functions of the environmental interface unit will result in a reduction in the speed of execution of these functions and higher software requirements.

Snížení materiálových nákladů každé funkční jednotky a zvýšení rychlosti provádění jednotlivých měřicích a řídicích činností umožňuje zapojení kontroléru mikropočítačové jednotky styku s prostředím podle vynálezu jehož podstata spočívá v tom, že sestává ze součinových obvodů, jejichž řídicí vstup je spojen s řídicím výstupem mikropočítače, záznamový vstup s jeho záznamovým výstupem a čtecí vstup s jeho čtecím výstupem. Záznamový výstup bloku součinových obvodů je připojen k třetímu vstupu registru adresy desky a funkce, k třetímu vstupu registru adresy kanálů a rozsahů, k třetímu vstupu registru počtu kanálů a režimů, k třetímu vstupu registru výstupních dat prvního byte, k třetímu vstupu registru výstupních dat druhého byte a k třetímu vstupu registru povelů, přičemž čtecí výstup bloku součinových obvodů je připojen k druhému vstupu registru vstupních dat prvního byte, k druhému vstupu registru vstupních dat druhého byte, k druhému vstupu registru přerušovací adresy druhého byte a k druhému vstupu registru přerušovací adresy prvního byte, přičemž adresové vstupy i dekodéru adresy jsou připojeny k adresovým výstupům mikropočítače, blokovací výstup dekodéru adresy je připojen k blokovacímu vstupu mikropočítače a první z adresových výstupů dekodéru adresy je připojen k prvnímu výstupu registru adresy desky a funkce, druhý z adresových výstupů dekodéru adresy je připojen k prvnímu vstupu registru adresy kanálů a rozsahů, třeti z adresových výstupů dekodéru adresy je připojen k prvnímu vstupu registru počtu kanálů a režimů, čtvrtý z adresových výstupů dekodéru adresy je připojen k prvnímu vstupu registru výstupních dat prvního byte, pátý z adresových výstupů dekodéru adresy je připojen k prvnímu vstupu registru výstupních dat druhého byte, šestý z adresových výstupů dekodéru adresy je připojen k prvnímu vstupu registru vstupních dat prvního byte, sedmý z adresových výstupů dekodéru adresy je připojen k prvnímu vstupu registru vstupních dat druhého byte, osmý z adresových výstupů dekodérů adresy je připojen k prvnímu vstupu registru povelů, devátý z adresových výstupů dekodéru adresy je připojen k prvnímu vstupu registru přerušovací adresy druhého byte a desátý z adresových výstupů dekodéru adresy je připojen k prvnímu vstupu registru přerušovací adresy prvního byte, jehož výstupy jsou připojeny k výstupům registru přerušovací adresy druhého byte, k druhým vstupům registru povelů, k výstupům registru vstupních dat druhého byte, k prvním výstupům registru vstupních dat prvního byte, k druhým vstupům registru výstupních dat prvního byte, k druhým vstupům registru počtu kanálů a režimů, k druhým vstupům registru adresy kanálů a rozsahu, k druhým vstupům registru adres desky a funkce a k datovým vstupům a výstupům mikropočítače, přičemž první výstupy registru adres desky a funkce jsou připojeny k prvním vstupům jednotky styku S prostředím a druhé výstupy registru adres desky a funkce jsou připojen k druhým vstupům jednotky styku s prostředím, jejíž třetí vstupy jsou připojeny k prvním výstupům registru adresy kanálů a rozsahů, jehož druhý výstup je připojen k prvnímu vstupu bloku řídicích a časovačích obvodů, přičemž třetí výstup registru adresy kanálů a rozsahů je připojen k druhým vstupům bloku řídicích a časovačích obvodů, jehož třetí vstup je připojen k prvnímu výstupu registru počtů kanálů a režimů, přičemž čtvrté vstupy bloku řídicích a časovačích obvodů jsou připojeny k druhým výstupům registru počtu kanálů a režimů, pátý vstup bloku řídících a časovačích obvodů je připojen k prvnímu výstupu registru výstupních dat prvního byte a k prvnímu vstupu prvního součtového obvodu, šestý vstup bloku řídicích a časovačích obvodů je připojen k druhému výstupu registru vstupních dat prvního byte, sedmý vstup bloku řídicích a časovačích obvodů je připojen k prvnímu výstupu registru povelů a k druhému vstupu prvního součtového obvodu, osmý vstup bloku řídicích a časovačích obvodů je připojen k prvnímu výstupu jednotky styku s prostředím.Reducing the material costs of each functional unit and increasing the speed of execution of the individual measurement and control activities allows the controller of the microcomputer unit to be in contact with the environment according to the invention, which consists of product circuits whose control input is connected to the microcomputer control output. its record output and read input with its read output. The write output of the product circuit block is connected to the third board address and function register input, the third channel address and range register register input, the third channel number and mode register input, the third byte output data register first input, the second output data register input third a byte and a third command register entry, the readout of the product circuit block being connected to a second input of the first byte input data register, a second byte input data register second input, a second byte interrupt address register input and a second byte interrupt address register input, wherein both the address inputs and the address decoder are connected to the microcomputer address outputs, the address decoder blocking output is connected to the microcomputer blocking input, and the first of the address decoder outputs is connected to the first board address and function address output, the second of the address decoder address outputs is connected to the first channel address and range address register input, the third of the address decoder address outputs is connected to the first channel number and mode register input, the fourth of the address decoder address outputs is connected to the first byte output data register input , the fifth address output of the address decoder is connected to the first input of the second byte output register, the sixth address output of the address decoder is connected to the first input of the first byte input register, the seventh address output of the address decoder is connected to the first input of the second data input register byte, the eighth address output of the address decoder is connected to the first input of the command register, the ninth of the address output of the address decoder is connected to the first input of the interrupt address register of the second byte, and the tenth of the address output of the address decoder is connected to the first input of the first byte interrupt address register whose outputs are connected to the second byte interrupt address register outputs, to the second command register inputs, to the second byte input register outputs, to the first outputs of the first byte input data register, to the second output data register inputs first byte, second channel number and mode register inputs, second channel address and range register inputs, second board and function address register inputs, and microcomputer data inputs and outputs, the first board address and function register outputs being connected to the first unit inputs The interface and the second outputs of the board address register and function are connected to the second inputs of the environment contact unit, the third inputs of which are connected to the first outputs of the channel and range address register, the second output of which is connected to the first input of the control and timing circuit. wherein the third output of the channel and range address register is connected to the second inputs of the control and timing circuit block, the third input of which is connected to the first output of the channel and mode register, and the fourth inputs of the control and timing circuit block are connected to the second outputs of the count register channels and modes, the fifth control and timing circuit block input is connected to the first output of the first byte output data register and the first input of the first total circuit, the sixth control and timing circuit block input is connected to the second output of the first byte input data register, and the timing circuits are connected to the first command register output and the second input of the first summation circuit, the eighth control and timing circuit block input is connected to the first output of the environment contact unit.

devátý vstup bloku řídicích a časovačích obvodů je připojen k druhému výstupu jednotky styku s prostředím, první výstupy bloku řídicích a časovacídi obvodů jsou připojeny ke čtvrtým vstupům jednotky styku s prostředím, druhý výstup bloku řídicích a časovačích obvodů je připojen k pátému vstupu jednotky styku s prostředím, třetí výstup bloku řídicích a časovačích obvodů je připojen k šestému vstupu jednotky styku s prostředím, přičemž druhé výstupy registru výstupních dat prvního byte jsou připojeny k výstupům registru výstupních dat druhého byte, ke třetím vstupům registru vstupních dat prvního byte, ke třetím vstupům registru vstupních dat druhého byte se sedmým vstupem/výstupem jednotky styku s prostředím, jejíž osmý vstup je připojen k výstupu prvního součtového obvodu, přičemž devátý vstup jednotky styku s prostředím je připojen k druhému výstupu registru povelů, desátý vstup jednotky styku s prostředím je připojen k výstupu druhého součtového obvodu a třetí výstupy jednotky styku s prostředím jsou připojeny ke vstupům dekodéru přerušovací adresy, jehož první výstupy jsou připojeny k třetím vstupům registru přerušovací adresy prvního byte, přičemž druhý výstup dekodéru přerušovací adresy je připojen k přerušovacímu vstupu mikropočítače, jehož nulovací výstup je připojen k druhému vstupu druhého součtového obvodu, jehož první vstup je spojen s třetím výstupem registru povelů.the ninth input of the control and timing circuit block is connected to the second output of the environmental control unit, the first outputs of the control and timing circuit block are connected to the fourth inputs of the environmental control unit, the second output of the control and timing circuit block is connected to the fifth input of the environmental interface unit , the third output of the control and timing circuit block is connected to the sixth input of the environmental interface unit, the second outputs of the first byte output data register being connected to the outputs of the second byte output data register, to the third inputs of the first byte input data register data of the second byte with the seventh input / output of the environmental contact unit, the eighth input of which is connected to the output of the first summation circuit, the ninth input of the environmental contact unit is connected to the second output of the command register, the tenth input is The third interface is connected to the interrupt address decoder inputs, the first outputs of which are connected to the third interrupt address register inputs of the first byte, and the second interrupt address decoder output is connected to the interrupt address. the input of the microcomputer whose reset output is connected to the second input of the second summation circuit, the first input of which is connected to the third output of the command register.

Výhodou zapojení kontroléru mikropočítačové jednotky styku s prostředím je vytvoření speciální vstupně-výstupni sběrnice pro jednotku styku s prostředím, která obsahuje všechny signály potřebné pro řízení jednotlivých funkčních modulů jednotky styku s prostředím zapamatované v registrech kontroléru. Tím není nutno jednotlivé funkční moduly vybavit dalšími registry, dekodéry a dalšími řídicími obvody, jako u funkčních modulů připojených přímo na mikropočítačovou sběrnici. Také některé dalši funkce související s řízením jednotlivých funkčních modulů jsou obvodově provedeny přímo v kontroléru. Tím se opět zjednoduší příslušné funkční moduly jednotky, styku s prostředím a navíc se ještě urychlí vykonávání příslušných měřicích nebo řídicích činností.The advantage of wiring the controller of the microcomputer interface is to create a special I / O bus for the interface, which contains all the signals needed to control the individual function modules of the interface, remembered in the registers of the controller. Thus, it is not necessary to equip individual function modules with additional registers, decoders and other control circuits, as with function modules connected directly to the microcomputer bus. Also some other functions related to the control of the individual function modules are implemented in the controller directly. This will again simplify the respective functional modules of the unit, the contact with the environment, and furthermore speed up the execution of the respective measuring or control activities.

Na připojeném výkresu je nakresleno blokové schéma zapojení kontroléru mikropočítačové jednotky styku s prostředím podle vynálezu. Zapojení sestává ze součinových obvodů 3, jejichž řídicí vstup 31 je spojen s řídicím výstupem 19 mikropočítače 2» záznamový vstup 32 s jeho záznamovým výstupem 1A a čtecí vstup 33 s jeho čtecím výstupem IB. Záznamový výstup 34 bloku 2 součinových obvodů je připojen k třetímu vstupu 53 registru 5 adresy desky a funkce, k třetímu vstupu 63 registru 2 adresy kanálů a rozsahů, k třetímu vstupu 73 registru J_ počtu kanálů a režimů, k třetímu vstupu 93 registru 2 výstupních dat druhého byte a k třetímu vstupu 123 registru 12 povelů, přičemž čtecí výstup 35 bloku 2 součinových obvodů je připojen k druhému vstupu 103 registru 10 vstupních dat prvního byte, k druhému vstupu 113 registru 11 vstupních dat druhého byte, k druhému vstupu 133 registru 13 přerušovací adresy druhého byte a k druhému vstupu 143 registru 14 přerušovací adresy prvního byte, přičemž adresové $In the accompanying drawing, a circuit diagram of a microcomputer interface controller according to the invention is shown. The circuit consists of the product circuits 3, whose control input 31 is connected to the control output 19 of the microcomputer 2, the recording input 32 with its recording output 1A, and the reading input 33 with its reading output IB. The recording output 34 of the product circuit block 2 is connected to the third input 53 of the board address and function register 5, to the third input 63 of the channel and range address register 2, to the third input 73 of the channel and mode register 7. the second byte and the third input 123 of the command register 12, wherein the read output 35 of the product circuit 2 block is connected to the second input 103 of the first byte data register 10, to the second input 113 of the second byte data register 11 the second byte and to the second input 143 of the register 14 of the interrupt address of the first byte, with address $

vstupy 41 dekodéru 4. adresy jsou připojeny k adresovým výstupům 1C mikropočítače 2, blokovací výstup 42 dekodéru 2 adresy je připojen k blokovacímu vstupu ID mikropočítače 2 3 první z adresových výstupů 43 dekodéru 4 adresy je připojen k prvnímu vstupu 51 registru 2 adresy desky a funkce, druhý z adresových výstupů 43 dekodéru 2 adresy je připojen k prvnímu vstupu 61 registru 6 adresy kanálů a rozsahů, třetí z adresových výstupů 43 dekodéru 4_ adresy je připojen k prvnímu vstupu 71 registru T_ počtu kanálů a režimů, čtvrtý z adresových vstupů 43 dekodéru 2 adresy je připojen k prvnímu vstupu 81 registru 2 výstupních dat prvního byte, pátý z adresových výstupů 43 dekodéru 2 adresy je připojen k prvnímu vstupu 91 registru 9 výstupních dat druhého byte, šestý z adresových výstupů 43 dekodéru 2 adresy je připojen k prvnímu vstupu 101 registru 10 vstupních dat prvního byte, sedmý z adresových výstupů 43 dekodéru 2 adresy je připojen k prvnímu vstupu lil registru 11 vstupních dat druhého byte, osmý z adresových výstupů 43 dekodéru 2 adresy je připojen k prvnímu vstupu 121 registrů 12 povelů, devátý z adresových výstupů 43 dekodéru 2 adresy je připojen k prvnímu vstupu 131 registru 13 přerušovací adresy druhého byte a devátý z adresových výstupů 22 dekodéru 2 adresy je připojen k prvnímu vstupu 141 registru 14 přerušovací adresy prvního byte, jehož výstupy 142 jsou připojeny k výstupům 132 registru 13 přerušovací adresy druhého byte, k druhým vstupům 122 registru 12 povelů, k výstupům 112 registru 11 vstupních dat druhého byte, k prvním výstupům 101 registru 10 vstupních dat prvního byte, k druhým vstupům registru 2 výstupních dat druhého byte, k druhým vstupům 82 registru 2 výstupních dat prvního byte, k druhým vstupům 72 registru 7_ počtu kanálů a režimů, k druhým vstupům 22 registru 6 adresy kanálů a rozsahů, k druhým vstupům 52 registru 5 adresy desky a funkce a k datovým vstupům a výstupům 1E mikropočítače 1_ přičemž výstupy 54 registru 2 adres desky a funkce jsou připojeny k prvním vstupům 21 jednotky 2 s prostředím a druhé výstupy 22. registru 2 adres desky a funkce jsou připojeny k druhým vstupům 22 jednotky 2_ styku s prostředím, jejímž třetí vstupy 23 jsou připojeny k prvním výstupům 64 registru 2 adresy kanálů a rozsahů, jehož druhý výstup 65 je připojen k prvnímu vstupu 151 bloku 15 řídicích a časovačích obvodů, přičemž třetí výstup 66 registru 2 adresy kanálů a rozsahů je připojen k druhým vstupům 152 bloku 15 řídicích obvodů, jehož třetí vstup 153 je připojen k prvnímu výstupu 74 registru ]_ počtu kanálů a režimů, přičemž čtvrté vstupy 154 bloku 15 řídicích a časovačích obvodů jsou připojeny k druhým výstupům 75 registru 7_ počtu kanálů a režimů, pátý vstup 155 bloku 15 řídicích a časovačích obvodů je připojen k prvnímu výstupu 84 registru 2 výstupních dat prvního byte a k prvnímu vstupu 161 prvního součtového obvodu 22., šestý vstup 156 bloku 15 řídicích a časovačích obvodů je připojen k druhému výstupu 104 registru 10 vstupních dat prvního byte, sedmý vstup 157 bloku 15 řídicích a časovačích obvodů je připojen k prvnímu výstupu 124 registru 12 povelů a k druhému vstupu 162 prvního součtového obvodu 16, osmý vstup 159 bloku 15 řídicích a časovačích obvodů je připojen k prvnímu výstupu jednotky 2 styku s prostředím, devátý vstup 15c bloku 15 řídicích a časovačích obvodů je připojen k druhému výstupu 28 jednotky 2 styku s prostředím, první výstupy 158 bloku řídicích a časovačích obvodů jsou připojeny ke čtvrtým vstupům 24 jednotky styku s prostředím, druhý výstup 15A bloku 15 řídicích a časovačích obvodů je připojen k pátému vstupu jednotky 2_ styku s prostředím, třetí výstup 15B bloku 15 řídicích a časovačích obvodů je připojen k šestému vstupu 27 jednotky 2 styku s prostředím, přičemž druhé výstupy 85 registru 2 výstupních dat prvního byte jsou připojeny k výstupům 94 registru 2 výstupních dat druhého byte, ke třetím vstupům 105 registru 10 vstupních dat prvního byte, ke třetím vstupům 114 registru 11 vstupních dat druhého byte se sedmým vstupem/výstupem 29 jednotky styky s prostředím, jejíž osmý vstup 2A je připojen k výstupu 163 prvního součtového obvodu 16, přičemž devátý vstup 2B jednotky 2 styku s prostředím je připojen k druhému výstupu 125 registru 12 povelů, desátý vstup 2C jednotky 2 styku s prostředím je připojen k výstupu 173 druhého součtového obvodu 17 a třetí výstupy 2D jednotky 2_ styku s prostředím jsou připojeny ke vstupům 183 dekodéru 18 přerušovací adresy, jehož první výstupy 181 jsou připojeny k třetím vstupům 144 registru 14 přerušovací adresy prvního byte, přičemž druhý výstup 182 dekodéru 18 přerušovací adresy je připojen k přerušovacímu vstupu 1G mikropočítače 2> jehož nulovací výstup 1F je připojen k druhému vstupu 172 druhého součtového obvodu 17, jehož první vstup 171 je spojen s třetím výstupem 126 registru 12 povelů.the address 41 of the address decoder 4 is connected to the address outputs 1C of the microcomputer 2, the blocking output 42 of the address decoder 2 is connected to the blocking input of the microcomputer ID 3 the second of the address outputs 43 of the address decoder 2 is connected to the first input 61 of the channel and range address register 6, the third of the address outputs 43 of the address decoder 4 is connected to the first input 71 of the number and channel registers T4; the address is connected to the first input 81 of the first byte output data register 2, the fifth of the address outputs 43 of the address decoder 2 is connected to the first input 91 of the second byte output data register 9, the sixth of the address outputs 43 of the address decoder 10 input data of the first byte, seventh of the address outputs 43 decodes address 2 is connected to the first input 111 of the second byte data register 11, the eighth of the address outputs 43 of the address decoder 2 is connected to the first input 121 of the command 12 registers, the ninth of the address outputs 43 of the address decoder 2 is connected to the first input 131 the second byte interrupt address and the ninth of the address outputs 22 of the address decoder 2 are coupled to the first input 141 of the first byte interrupt address register whose outputs 142 are connected to the outputs 132 of the second byte interrupt address register 132; the outputs 112 of the second byte input data register 11, the first outputs 101 of the first byte input data register 10, the second inputs of the second byte output data register 2, the second inputs 82 of the first byte data register 2, the second inputs 72 of the channel number register 7; modes, to the second inputs 22 of the register 6 of channel addresses and ranges, to the second inputs 52 of the board and function address register 5 and to the data inputs and outputs 1E of the microcomputer 7, wherein the outputs 54 of the board address and function register 2 are connected to the first inputs 21 of the environment unit 2 and the second outputs 22 of the board address and function register 2 to the second inputs 22 of the environmental contact unit 2, whose third inputs 23 are connected to the first outputs 64 of the channel and range address register 2, the second output 65 of which is connected to the first input 151 of the control and timing circuit block 15; the channel and range addresses are coupled to the second inputs 152 of the control circuit block 15, the third input 153 of which is connected to the first output 74 of the register number of channels and modes, the fourth inputs 154 of the control and timer circuit block 15 are connected to the second register outputs 75 7_number of channels and modes, fifth input 155 of control block 15, and the timing circuits are connected to the first output 84 of the first byte output data register 2 and to the first input 161 of the first total circuit 22. the sixth input 156 of the control and timing circuit block 15 is connected to the second output 104 of the first byte input data register 10 15 of the control and timing circuits is connected to the first output 124 of the command register 12 and to the second input 162 of the first summation circuit 16, the eighth input 159 of the control and timing circuit block 15 is connected to the first output of the environment contact unit 2; the timing circuits are connected to the second output 28 of the environmental control unit 2, the first outputs 158 of the control and timing circuit block are connected to the fourth inputs 24 of the environmental control unit, the second output 15A of the control and timing circuit block 15 is connected to the fifth input with environment, cl the third output 15B of the control and timing circuit block 15 is connected to the sixth input 27 of the environmental contact unit 2, the second outputs 85 of the first byte output data register 2 are connected to the outputs 94 of the second byte output data register 2 of the first byte, to the third inputs 114 of the second byte input data register 11 with the seventh input / output unit 29 of the environmental interface, the eighth input 2A being connected to the output 163 of the first summation circuit 16, to the second output 125 of the command register 12, the tenth input 2C of the environmental interface unit 2 is connected to the output 173 of the second summation circuit 17, and the third outputs of the 2D environmental interface unit 2 are connected to the inputs 183 of the interrupt address decoder 18 whose first outputs 181 are connected to the third inputs 144 of the interrupt register 14 The second output 182 of the interrupt address decoder 18 is connected to the interrupt input 1G of the microcomputer 2, whose reset output 1F is connected to the second input 172 of the second total circuit 17, whose first input 171 is connected to the third output 126 of the command register 12. .

Funkce zapojení podle ^vynálezu je následující:The function of the circuit according to the invention is as follows:

Kontrolér mikropočítačové jednotky styku s prostředím je z jedné strany připojen k mikropočítačové sběrnici mikropočítače 2< kterým je řízen, a z druhé strany je připojen na vstupně/výstupní sběrnici, kterou se provádí řízení a přenos dat mezi kontrolérem a jednotkou 2 styku s prostředím. Jednotlivé registry kontroléru jsou voleny jako pamětové adresy mikropočítače 2 signály z adresových výstupů 43 dekodéru 4 adresy, který vytváří ještě blokovací výstup 42 blokující čtení paměti mikropočítače při adresování čtecích registrů kontroléru. Záznamový signál na záznamovém výstupu 34 a čtecí signál na čtecím výstupu 32 součinových obvodů 2 vzniku pouze při zvolené adrese paměti mikropočítače 2·The controller of the microcomputer interface unit is connected on one side to the microcomputer bus of the microcomputer 2 under its control, and on the other side it is connected to the input / output bus for controlling and transmitting data between the controller and the environmental interface unit 2. The individual registers of the controller are selected as memory addresses of the microcomputer 2 by signals from the address outputs 43 of the address decoder 4, which still creates a blocking output 42 blocking the reading of the microcomputer memory when addressing the reader registers of the controller. The recording signal at the recording output 34 and the read signal at the reading output 32 of the product circuits 2 originate only at the selected microcomputer memory address 2.

Řízení činností jednotky 2 styku s prostředím začíná vždy záznamem dat do registru 5 adresy desky a funkce z datových vstupů/výstupů 1E mikropočítače 2 při aktivním signálu adresy na jeho prvním vstupu 51 záznamovým signálem na jeho třetím vstupu 22· Data na jeho prvních výstupech 54 určují funkci a na druhých výstupech 55 adresu desky jednotky 2 styku s prostředím Do registru 2 adresy kanálů a rozsahů se podobným způsobem zaznamená hodnota rozsahů s daty na prvních výstupech 64 a hodnota adresy kanálů s daty na třetích výstupech 66, která jsou do čítače v řídicích a časovačích obvodech 15 zaznamenána signálem z druhého výstupu 65 registru 2 adresy kanálů a rozsahů. Stejně se do řídicích a časovačích obvodů zaznamenává hodnota počtu kanálů a režimů z druhých výstupů 75 registru 7_ počtu kanálů z rozsahů signálem z jeho výstupu 7 4. Okamžitá hodnota adresy kanálu je do jednotky £ styku s prostředím vysílána z prvních výstupů 158 řídicích a časovačích obvodů 15 stejně jako vzorkovací signál z druhého výstupu 15A a signál pro start analogově - číslicového převodníku ze třetího výstupu 15B. Naproti tomu je na jejich osmý vstup 159 přiveden z jednotky £ styku s prostředím signál externího startu a na jejich devátý vstup 15C signál adresy adresy analogově číslicového převodníku. Signál startu analogově-číslicového převodníku na jejich třetím výstupu 15B se generuje kromě externím signálem na osmém vstupu 159 také programově signálem z prvního výstupu 124 registru 12 povelů a signálem z druhého výstupu 104 registru 10 vstupních dat 1. byte při záznamu dat z jednotky £ styku s prostředím. Tento signál provede inkrementaoi čítače adresy kanálů a dekrementace čítače počtu kanálů v řídicích a časovačích obvodech 15 při zvoleném režimu automatického měření stejně jako signál z prvního výstupu 84 registru £ výstupních dat 1. byte, který současně vytváří spolu se signálem na prvním výstupu 124 registru povelů 12 na výstupu 163 prvního součtového obvodu 16 signál startu operace. Dva byty dat se z mikropočítačové datové sběrnice zaznamenávají do registru £ výstupních dat 1. byte a registru £ výstupních dat 2. byte, z jejichž výstupů jsou vedeny na obousměrnou datovou sběrnici, která je spojena jednak se sedmým vstupem/výstupem jednotky £ styku s prostředím, jednak se třetími vstupy 105 registru 10 vstupních dat 1.The control of the operation of the environmental interface unit 2 always starts by recording data into the register address register 5 and the functions from the microcomputer data inputs / outputs 1E when the address signal on its first input 51 is active by the recording signal on its third input 22. function and on the second outputs 55 the address of the environmental interface unit 2 The channel address and range address register 2 similarly records the value of the range of data on the first outputs 64 and the value of the channel address of the data on the third outputs 66 that are the timing circuits 15 are recorded by a signal from the second output 65 of the channel address and range address register 2. In the same way, the value of the number of channels and modes from the second outputs 75 of the channel number register 7 of the ranges by the signal from its output 7 4 is recorded in the control and timing circuits. The instantaneous channel address value is transmitted to the environment contact unit from the first outputs 158 of the control and timing circuits. 15 as well as the sampling signal from the second output 15A and the analogue / digital converter start signal from the third output 15B. In contrast, an external start signal is supplied to their eighth input 159 from the environment contact unit 6 and an analogue-to-digital address address address signal to their ninth input 15C. The analog-to-digital converter start signal at their third output 15B is generated in addition to the external signal at the eighth input 159 also programmatically by a signal from the first output 124 of the command register 12 and a signal from the second output 104 of the input data register 10. with the environment. This signal will increment the channel address counters and decrement the channel number counters in the control and timing circuits 15 at the selected auto-measurement mode, as well as the signal from the first output 84 of the byte 1 data register. 12, at the output 163 of the first summation circuit 16, an operation start signal. The two bytes of data are recorded from the microcomputer data bus into the byte 1 register and the byte 2 register, from the outputs of which are routed to a bi-directional data bus connected to the seventh input / output of the environmental interface unit. with the third inputs 105 of the input data register 10.

byte a s třetími vstupy 114 registru 11 vstupních dat 2. byte, jejichž výstupy jsou připojenybyte and with the third inputs 114 of the byte data register 11 of the 2nd byte whose outputs are connected

Nit na datovou sběrnici mikropočítače £. Na druhém výstupu 125 registru 12 povelů se vysílá signál konce přerušovacího programu do jednotky £ styku s prostředím a na jeho třetím výstupu 126 je nulovací signál, který v součtu se signálem z nulovacího výstupu 1F mikropočítače £ vytváří na výstupu 173 druhého součtového obvodu 17 nulovací signál na jednotku £ styku s prostředím. Registr 13 přerušovací adresy 2. byte vysílá při aktivním signálu adresy na prvním vstupu 131 a při čtecím impulsu na druhém vstupu 133 horní byte přerušovací adresy na datovou sběrnici mikropočítače a registr 14 přerušovací adresy 1. byte dolní byte přerušovací adresy. Na jeho třetí vstupy 144 jsou data přivedena z prvního výstupu 181 dekodéru 18 přerušovací logiky, na jehož vstup 183 jsou přivedeny přerušovací signály z jednotlivých desek jednotky £ styku s prostředím. Jeho první výstup 182 vysílá signál na přerušovací vstup 16 mikropočítače £.Thread for microcomputer data bus 6. On the second output 125 of the command register 12, the signal of the end of the interrupt program is sent to the environment contact unit 6, and on its third output 126 there is a reset signal which, combined with the signal from the microcomputer reset output 1F. per unit of environmental contact. The 2nd byte interrupt address register 13 transmits the upper byte address on the microcomputer data bus when the address signal is active at the first input 131 and the read pulse at the second input 133 and the interrupt address register 14 byte the lower byte of the interrupt address. At its third inputs 144, data is fed from the first output 181 of the interrupt logic decoder 18, to whose input 183 interrupt signals from the individual boards of the environmental contact unit 8 are applied. Its first output 182 sends a signal to the interrupt input 16 of the microcomputer 6.

Zapojení kontroléru mikropočítačové jednotky styku s prostředím lze použít pro různé typy mikropočítačů. Jeho systémové řešení umožňuje s malými nároky na tvorbu uživatelských programů provádět velké množství operací při měření a řízení vnějšího prostředí, zvláště pak provádět rychlé měření s využitím prioritní přerušovací logiky.Wiring the controller of the microcomputer interface to the environment can be used for various types of microcomputers. Its system solution makes it possible to perform a large number of operations in measuring and controlling the external environment with low demands on the creation of user programs, in particular to perform fast measurements using priority interruption logic.

Claims (1)

předmEt' vynálezusubject of the invention Kontrolér mikropočítačové jednotky styků s prostředím vyznačený tím, že záznamový výstup (34) bloku (3) součinových obvodů je připojen k třetímu vstupu (53) registru (5) adresy desky a funkce, k třetímu vstupu (63) registru (6) adresy kanálů a rozsahů, k třetímu vsutpu (73) registru (7) počtu kanálů a režimů, k třetímu vstupu (83) registru (8) výstupních dat prvního byte, k třetímu vstupu (93) registru (9) výstupních dat druhého byte a k třetímu vstupu (123) registru (12) povelů, přičemž čtecí výstup (35) bloku (3) součinových obvodů je připojen k druhému vstupu (103) registru (10) vstupních dat prvního byte, k druhému vstupu (113) registru (11) vstupních dat druhého byte, k druhému vstupu (133) registru (13) přerušovací adresy druhého byte a k druhému vstupu (143) registru (14) přerušovací adresy prvního byte, přičemž adresové vstupy (41) dekodéru (4) adresy jsou připojeny k adresovým výstupům (1C) mikropočítače (1), blokovací výstup (42) dekodéru (4) adresy je připojen k blokovacímu vstupu (ID) mikropočítače (1) a první z adresových výstupů (43) dekodéru (4) adresy je připojen k prvnímu vstupu (51) registru (5) adresy desky a funkce, druhý z adresových výstupů (43) dekodéru (4) adresy je připojen k prvnímu vstupu (61) registru (6) adresy kanálů a rozsahů, třetí z adresových výstupů (43) dekodéru (4) adresy je připojen k prvnímu vstupu (71) registru (7) počtu kanálů a režimů, čtvrtý z adresových výstupů (43) dekodéru (4) adresy je připojen k prvnímu vstupu (81) registru (8) výstupních dat prvního byte, pátý z adresových výstupů (43) dekodéru (4) adresy je připojen k prvnímu vstupu (91) registru (9) výstupních dat druhého byte, šestý z adresových výstupů (43) dekodéru (4) adresy je připojen k prvnímu vstupu (101) registru (10) vstupních dat prvního byte, sedmý z adresových výstupů (43) dekodéru (4) adresy je připojen k prvnímu vstupu (111) registru (11) vstupních dat druhého byte, osmý z adresových výstupů (43) dekodéru (4) adresy je připojen k prvnímu vstupu (121) registru (12) povelů, devátý z adresových výstupů (43) dekodéru (4) adresy je připojen k prvnímu vstupu (131) registru (13) přerušovací adresy druhého byte a desátý z adresových výstupů (43) dekodéru (4) adresy je připojen k prvnímu vstupu (141) registru (14) přerušovací adresy prvního byte, jehož výstupy (142) jsou připojeny k výstupům (132) registru (13) přerušovací adresy druhého byte, k druhým vstupům (122) registru (12) povelů, k výstupům (112) registru (11) vstupních dat druhého byte, k prvním výstupům (102) registru (10) vstupních dat prvního byte, k druhým vstupům (92) registru (9) výstupních dat druhého byte, k druhým vstupům (82) registru (8) výstupních dat prvního byte, k druhým vstupům (72) registru (7) počtu kanálů a režimů, k druhým vstupům (62) registru (6, adresy kanálů a rozsahů, k druhým vstupům (52) registru (5) adresy desky a funkce a k datovým vstupům a výstupům (IE) mikropočítače (1) , přičemž první výstupy (54) registru (5) adres desky a funkce jsou připojeny k prvním vstupům (21) jednotky (2) styku s prostředím a druhé výstupy (55) registru (5) adres desky a funkce jsou připojeny k druhým vstupům (22) jednotky (2) styku s prostředím, jíjíž třetí vstupy (23) jsou připojeny k prvním výstupům (64) registru (6) adresy kanálů a rozsahů, jehož druhý výstup (65) je připojen k prvnímu vstupu (151) bloku (15) řídicích a časovačích obvodů, přičemž třetí výstup (66) registru (6) adresy kanálů a rozsahů je připojen k druhým vstupům (152) bloku (15) řídících a časovačích obvodů, jehož třetí vstup (153) je připojen k prvnímu výstupu (74) registru (7) počtu kanálů a režimů, přičemž čtvrté vstupy (154) bloku (15) řídicích a časovačích obvodů jsou připojeny k' druhým výstupům (75) registu (7) počtu kanálů a režimů, pátý vstup (155) bloku (15) řídicích a časovačích obvodů je připojen k prvnímu výstupu (84) registru (8) výstupních dat prvního byte a k prvnímu vstupu (161) prvního součtového obvodu (16) , šestý vstup (156) bloku (15) řídicích a časovačích obvodů je připojen k druhému výstupu (104) registru (10) vstupních dat prvního byte, sedmý vstup (157) bloku (15) řídicích a časovačích obvodů je připojen k prvnímu výstupu (124) registru (12) a k druhému vstupu (162) prvního součtového obvodu (16), osmý vstup (159) bloku (15) řídicích a časovačích obvodů je připojen k prvnímu výstupu (25) jednotky (2) styku s prostředím, devátý vstup (15c) bloku (15) řídicích a časovačích obvodů je připojen k druhému výstupu (28) jednotky (2) styku s prostředím, první výstupy (158) bloku (15) řídicích a časovačích obvodů jsou připojeny ke čtvrtým vstupům (24) jednotky styku s prostředím, druhý výstup (15A) bloku (15) řídicích a časovačích obvodů je připojen k pátému vstupu (26) jednotky (2) styku s prostředím, třetí výstup (15B) bloku (15) řídicích a časovačích obvodů je připojen k Šestému vstupu (27) jednotky (2) styku s prostředím, přičemž druhé výstupy (85) registru (8) výstupních dat prvního byte jsou připojeny k výstupům (94) registru (9) výstupních dat druhého byte, ke třetím vstupům (105, registru (10) vstupních dat prvního byte, ke třetím vstupům (114) registru (11) vstupních dat druhého byte a se sedmým vstupem/výstupem (29) jednotky (2) styku s prostředím, jejíž osmý vstup (2A) je připojen k výstup (163) prvního součtového obvodu (16) přičemž devátý vstup (2B) jednotky (2) styku s prostředím je připojen k druhému výstupu (125) registru (12) povelů, desátý vstup (2C) jednotky (2) styku s prostředím je připojen k výstupu (173) druhého součtového obvodu (17) a třetí výstupy (2D) jednotky (2) styku s prostředím jsou připojeny ke vstupům (183) dekodéru (18) přerušovací adresy, jehož první výstupy (181) jsou připojeny k třetím vstupům (144) registru (14) přerušovací adresy prvního byte, přičemž druhý výstup (182) dekodéru (18) přerušovací adresy je připojen k přerušovacímu vstupu (1G) mikropočítače (1), jehož nulovací výstup (1F) je připojen k druhému vstupu (172) druhého součtového obvodu (17), jehož první vstup (171) je spojen s třetím výstupem (126) registru (12) povelů.A controller of a microcomputer interface unit, characterized in that the recording output (34) of the product circuit block (3) is connected to a third input (53) of the board address and function register (5), to a third input (63) of the channel address register (6) and ranges, to a third input (73) of the channel and mode register (7), a third input (83) of the first byte output data register (8), a third input (93) of the second byte output data register (9), and a third input (123) a command register (12), the read output (35) of the product circuit block (3) being connected to a second input (103) of the first byte input data register (10), to a second input (113) of the input data register (11) the second byte, the second input (133) of the second byte interrupt address register (13) and the second input (143) of the first byte interrupt address register (14), the address inputs (41) of the address decoder (4) being connected to the address outputs (1C) ) mikrop the blocking output (42) of the address decoder (4) is connected to the blocking input (ID) of the microcomputer (1) and the first of the address outputs (43) of the address decoder (4) is connected to the first input (51) of the register (1). 5) the board address and function, the second of the address outputs (43) of the address decoder (4) is connected to the first input (61) of the channel and range address register (6), the third of the address outputs (43) of the address decoder (4) to the first input (71) of the channel and mode number register (7), the fourth of the address outputs (43) of the address decoder (4) is connected to the first input (81) of the first byte output data register (8); the address decoder (4) is connected to the first input (91) of the second byte output data register (9), the sixth of the address outputs (43) of the address decoder (4) is connected to the first input (101) of the first data input register (10) byte, the seventh of the address outputs (43) of the address decoder (4) is p coupled to the first input (111) of the second byte input data register (11), the eighth of the address outputs (43) of the address decoder (4) is connected to the first input (121) of the command register (12), the ninth of the decoder address outputs (43) (4) the address is connected to the first input (131) of the second byte interrupt address register (13) and the tenth of the address outputs (43) of the address decoder (4) is connected to the first input (141) of the first byte interrupt address register (14); whose outputs (142) are connected to the outputs (132) of the second byte address register (13), to the second inputs (122) of the command register (12), to the outputs (112) of the second byte input data register (11), to the first outputs (102) a first byte input data register (10), second inputs (92) of the second byte output data register (9), second inputs (82) of the first byte output data register (8), second inputs (72) of the ( 7) the number of channels and modes to the second inputs (62) a register (6) of channel and range addresses, second inputs (52) of the board and function address register (5), and data inputs and outputs (IE) of the microcomputer (1), the first outputs (54) of the address register (5) the boards and functions are connected to the first inputs (21) of the environment contact unit (2) and the second outputs (55) of the board address register (5) and the functions are connected to the second inputs (22) of the environment contact unit (2) the inputs (23) are connected to the first outputs (64) of the channel and range address register (6), the second output (65) of which is connected to the first input (151) of the control and timing circuit block (15); the channel and range address register (6) is connected to the second inputs (152) of the control and timing circuit block (15), the third input (153) of which is connected to the first output (74) of the channel and mode register (7); inputs (154) of control and timing block (15) the circuits are connected to the second outputs (75) of the channel and mode register (7), the fifth input (155) of the control and timing circuit block (15) is connected to the first output (84) of the first byte output data register (8) the input (161) of the first total circuit (16), the sixth input (156) of the control and timing circuit block (15) is connected to the second output (104) of the first byte input data register (10), the seventh input (157) of the block (15) the control and timing circuits are connected to the first output (124) of the register (12) and the second input (162) of the first total circuit (16), the eighth input (159) of the control and timing circuit block (15) is connected to the first output (25) the environmental contact unit (2), the ninth input (15c) of the control and timing circuit block (15) being connected to a second output (28) of the environmental contact unit (2), the first outputs (158) of the control and timing circuit block (15) are connected to the fourth inputs (24) of the environmental unit, the second output (15A) of the control and timing circuit block (15) is connected to the fifth input (26) of the environmental unit (2), the third output (15B) of the control block (15); the timing circuits are connected to the Sixth input (27) of the environmental contact unit (2), the second outputs (85) of the first byte output data register (8) being connected to the outputs (94) of the second byte output data register (9) the inputs (105, the first byte input data register (10), the third inputs (114) of the second byte data register (11) and the seventh input / output (29) of the environment contact unit (2), the eighth input (2A) is connected to the output (163) of the first summation circuit (16), wherein the ninth input (2B) of the environmental contact unit (2) is connected to the second output (125) of the command register (12), the tenth input (2C) of the contact unit (2) environment connected to output (173) the second summation circuit (17) and the third outputs (2D) of the environmental contact unit (2) are connected to inputs (183) of the interrupt address decoder (18) whose first outputs (181) are connected to the third inputs (144) of the register (14) ) the interrupt address of the first byte, the second output (182) of the interrupt address decoder (18) being connected to the interrupt input (1G) of the microcomputer (1), whose reset output (1F) is connected to the second input (172) ), the first input (171) of which is connected to the third output (126) of the command register (12).
CS864813A 1986-06-27 1986-06-27 Controller of microcomputer unit for contact with medium CS261031B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CS864813A CS261031B1 (en) 1986-06-27 1986-06-27 Controller of microcomputer unit for contact with medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CS864813A CS261031B1 (en) 1986-06-27 1986-06-27 Controller of microcomputer unit for contact with medium

Publications (2)

Publication Number Publication Date
CS481386A1 CS481386A1 (en) 1988-06-15
CS261031B1 true CS261031B1 (en) 1989-01-12

Family

ID=5391703

Family Applications (1)

Application Number Title Priority Date Filing Date
CS864813A CS261031B1 (en) 1986-06-27 1986-06-27 Controller of microcomputer unit for contact with medium

Country Status (1)

Country Link
CS (1) CS261031B1 (en)

Also Published As

Publication number Publication date
CS481386A1 (en) 1988-06-15

Similar Documents

Publication Publication Date Title
US5359717A (en) Microprocessor arranged to access a non-multiplexed interface or a multiplexed peripheral interface
US4935868A (en) Multiple port bus interface controller with slave bus
US4964074A (en) In-circuit emulator
US4694394A (en) Microprocessor system having a multiplexed address/data bus which communicates with a plurality of memory and input/output devices including TTL output gates
US4580246A (en) Write protection circuit and method for a control register
KR980700625A (en) METHOD AND APPARATUS FOR PROVIDING SERIAL, IN-PACK PROGRAMMABILITY FOR A MICROCONTROLLER
US5944806A (en) Microprocessor with versatile addressing
US4839795A (en) Interface circuit for single-chip microprocessor
EP0178163A2 (en) A dual access digital storage device
CA1173929A (en) Bus system
CS261031B1 (en) Controller of microcomputer unit for contact with medium
KR100265550B1 (en) Data processor with bus controller
JP3452147B2 (en) A microcomputer operable in emulation mode with internal and external peripherals
SU1177819A1 (en) Information input-outrut device
RU1807495C (en) Process-to-process interface
US6985993B2 (en) Control register assembly
KR870003281Y1 (en) Interface circuit
SU903851A1 (en) Interfacing device
JPH0435941Y2 (en)
US4486825A (en) Circuit arrangement for extended addressing of a microprocessor system
SU1026163A1 (en) Information writing/readout control device
SU1277120A1 (en) Device for switching peripheral equipment
KR970002790A (en) Can control device using PIO
CS267617B1 (en) Display unit connection
CS204817B1 (en) Connection for adjusting the initial adress