SU1614016A1 - Data input device - Google Patents
Data input device Download PDFInfo
- Publication number
- SU1614016A1 SU1614016A1 SU884393793A SU4393793A SU1614016A1 SU 1614016 A1 SU1614016 A1 SU 1614016A1 SU 884393793 A SU884393793 A SU 884393793A SU 4393793 A SU4393793 A SU 4393793A SU 1614016 A1 SU1614016 A1 SU 1614016A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- inputs
- register
- unit
- Prior art date
Links
Landscapes
- Bus Control (AREA)
Abstract
Изобретение относитс к вычислительной технике и может быть использовано дл ввода инициативных сигналов в устройствах св зи с объектом. Целью изобретени вл етс расширение области применени устройства за счет программируемости выбора номеров входных каналов и числа последовательных изменений входной информации. Устройство содержит блок управлени 1, блок коммутации 2, мультиплексор 3, блок шинных формирователей 4, первый элемент И 5, второй регистр 6, второй элемент И 7, третий регистр 8, блок прерываний 9, первый 10 и второй 11 элементы ИЛИ, первый регистр 12, блок сравнени 13, блок элементов И 14, элемент задержки 15, первый 16 и второй 17 одновибраторы, третий 18 элемент И 18, счетчик 19, третий ИЛИ элемент 20. Положительным эффектом вл етс возможность функциональной диагностики устройства и продолжени работы с устройством в случае отказа части схемы. 1 з.п. ф-лы, 2 ил.The invention relates to computing and can be used to input initiative signals in communication devices with an object. The aim of the invention is to expand the field of application of the device due to the programmability of the choice of input channel numbers and the number of consecutive changes in input information. The device contains a control unit 1, a switching unit 2, a multiplexer 3, a block of bus drivers 4, the first element And 5, the second register 6, the second element And 7, the third register 8, the interrupt unit 9, the first 10 and the second 11 elements OR, the first register 12, comparison unit 13, element block AND 14, delay element 15, first 16 and second 17 one-shot, third 18 element AND 18, counter 19, third OR element 20. A positive effect is the possibility of functional diagnostics of the device and continued operation with the device case of failure of part of the scheme. 1 hp f-ly, 2 ill.
Description
Изобретение относитс к вычислительной технике и может быть использовано дл ввода инициативных дискретных сигналов в устройствах св зи с объектом, примен емых в автоматизированных системах управлени технологическими процессами (АСУ ТП).The invention relates to computing technology and can be used to input initiative discrete signals in communication devices with an object used in automated process control systems (ACS TP).
Цель изобретени - расширение области применени устройства за счет про- граммируемости выбора номеров входных каналов и числа последовательных изменений входной информации.:The purpose of the invention is to expand the field of application of the device due to the programmability of the choice of input channel numbers and the number of consecutive changes in input information .:
На фиг, 1 представлена структурна схема устройства ввода информации; на фиг 2- функциональна схема блока управлени .Fig, 1 shows the block diagram of the input device; Fig. 2 is a functional block diagram of the control unit.
Устройство дл ввода информации содержит блок 1 управлени , блок 2 коммутации , мультиплексор 3, блок 4 шинных формирователей, первый элемент И 5 второй регистр 6, второй элемент И 7 третий регистр 8, блок 9 прерываний, первый 10 и второй 11 элементы ИЛИ, первый регистр 12, блок 13 сравнени , блок 14 элементов И элемент 15 задержки, первый 16 и второй 17 одновибраторы, третий элемент 1/1 18, счетчик 19, третий элемент ИЛИ 20.The device for entering information contains a control unit 1, a switching unit 2, a multiplexer 3, a bus driver unit 4, the first element AND 5 the second register 6, the second element 7 and the third register 8, the interrupt unit 9, the first 10 and the second 11 elements OR, the first register 12, comparison unit 13, unit 14 elements AND delay element 15, first 16 and second 17 one-shot, third element 1/1 18, counter 19, third element OR 20.
Блок управлени (фиг.2) содержит дешифратор 21, первый 22 и второй 23 элементы И, повторитель 24, третий элемент И 25 одновибратор 26.The control unit (Fig. 2) contains the decoder 21, the first 22 and second 23 elements And, the repeater 24, the third element And 25 one-shot 26.
Устройство ввода информации работает следующим образом.The input device works as follows.
Сигнал с линии Сброс производит обнуление программируемого мультиплексора 3 регистра 6, регистра 8, блока 9 прерываний The signal from the Reset line resets the programmable multiplexer 3 register 6, register 8, block 9 interrupts
счетчика20.3атемЭВМпроизводитпрограм- мирование мультиплексора 3 и регистра 6 записыва в них необходимую информацию Дальнейша работа устройства определ етс режимами, заданными ЭВМ посредством записи информации в регистр 8 и счетчик 19. Дл записи информации в регистр В и счетчик 19 ЭВМ выдает на входы устройства код адреса регистра команд и сигнал Вывод. При этом на четвертом выходе дешифратора 21 адреса (фиг.2) по вл етс сигнал, открывающий по первому входу элемент И 25. на второй вход которого приходит сигнал Вывод, после чего на выходе элемента И 25 по вл етс сигнал записи информации в регистр 8, поступающий с выхода блока 1 управлени на тактовые входы регистра 8 и счетчика 19. Если в регистре 8 записаны нули, то задан режим фиксации информации по изменению на входах Информаци с входов устройства поступает на входы регистра 12 через блок 14-в соответствии с формулой the counter 20.3 then the computer performs the programming of the multiplexer 3 and register 6 to record the necessary information in them Further operation of the device is determined by the modes specified by the computer by writing information to the register 8 and the counter 19. To write information to the register B and the counter 19 Command Register and Signal Output. At the same time, at the fourth output of the address decoder 21 (FIG. 2), a signal appears, opening element 25 on the first input. To the second input of which an output signal arrives, after which the output of the element 25 acquires a signal to write information to register 8 coming from the output of control block 1 to the clock inputs of register 8 and counter 19. If zero is recorded in register 8, then the change information latching mode is set at the inputs Information from the device inputs is fed to the register 12 inputs through block 14 in accordance with the formula
Yi ,Yi
где Yi - входуой сигнал 1-го разр да регист рэ where Yi is the 1st bit input signal reg register re
. 5 ь. 5 s
..,..,
ма ии вводной сигнал i-ro разр да инфор i вь1ходной сигнал i-ro разр да реги- стрз и,ma i input signal i-ro bit information i i 1 input signal i-ro bit register
гтп/Г б i- разр де регистра 6 записан О, то он разрешает прохождение информации на i-й вход регистра 12 При несовпадении входной и выходной ин- формации регистра 12 на выходе блока 13 10 сравнени по вл етс сигнал несовпадени , который запускает одновибратор 16 длительность импульса которого соответствует длительности переходного процесса на входе устройства. По окончании работы од- 15 новибратора 16 задним фронтом его выходного сигнала запускаетс одновибратор 17 который выдает короткий импульс, производ щий через элемент ИЛИ 21 перезапись информации в регистре 12. После перезапи- 20 си сигнал несовпадени снимаетс и схема возвращаетс в прежнее состо ние Им- пу/1 ьс с выхода одновибратора 17 поступает также на тактовый вход счетчика 19 Если в счетчик 19 предварительно посредством па- 5 раллельной записи была занесена информаци от ЭВМ о числе циклов работы схемы после которого должен быть выдан запрос прерывани , то по каждому импульсу с од- новибратора 17 содержимое счетчика 19 бу- 30 дет уменьшатьс на единицу. Когда оно станет равным нулю, то по очередному импульсу по витс сигнал на выходе переноса счетчика 19, который вызовет установку сиг- налов готовности и (если было предвари- - разрешение прерывани от JBM) запроса прерывани , который через блок 2 коммутаций передаетс на одну из ЛИНИЙ интерфейса ЭВМ. Разрешение прерывани производитс посредством записи . 0 информации с одной линии шины данных ЭВМ в блок 9 прерывани . Дл этого ЭВМ выдает устройству информацию по соответствующей линии данных, адрес регистра ко- манд, сигнал Вывод. Запись разрешени 5 прерывани производитс по сигналу записи в регистр команд выхода блока 1 управлени . Сигнал готовности может быть прочитан ЭВМ через блок 4 шинных форми- рователей. Дл чтени информации о готов- 0 ности устройства ЭВМ выдает устройству адрес регистра состо ний, сигнал Ввод При этом сигналы с выхода дешифратора 21 адреса и с выхода повторител 24 вызывают по вление на выходе элемента И 23 сигнала ь Чтение состо ни , который поступает с выхода блока 1 управлени на вход блока 4 шинных формирователей и открывает на передачу шинные формирователи, через кото RM f ° состо нии передаетс в ., Сброс готовности производитс через gtr / rb i-bit de register 6 is written O, then it permits the passage of information to the i-th input of register 12. If the input and output information of register 12 do not match, a mismatch signal appears on the output of the 13 10 comparison unit, which triggers the one-shot 16 pulse duration of which corresponds to the duration of the transition process at the input of the device. After the end of operation of the single-15 vibrator 16 with the falling edge of its output signal, the one-shot 17 is triggered. It produces a short pulse producing through the element OR 21 overwriting the information in the register 12. After the re-recording of the 20, the discrepancy signal is removed and the circuit returns to its previous state. Pu / 1cc from the output of the one-shot 17 also goes to the clock input of the counter 19. If counter 19 is preliminarily recorded through a parallel recording, information from a computer about the number of cycles of the circuit after which a request must be issued interrupt, then for each pulse from the single-oscillator 17, the contents of the counter 19 will decrease by one. When it becomes zero, the next pulse will be a signal at the output of the transfer of counter 19, which will cause the ready signals to be set and (if there is a pre-junction interrupt from the JBM) an interrupt request, which is transmitted to one of the LINE COMPUTER INTERFACE. The enable interrupt is done by writing. 0 information from one computer data bus line to interrupt unit 9. For this, the computer provides the device with information on the corresponding data line, the address of the command register, the output signal. The recording of the interrupt enable 5 is made by the write signal to the output register of the control unit 1. The readiness signal can be read by the computer through the 4 bus driver unit. For reading information about the readiness of the computer, the device gives the device the address of the status register, the signal. In this case, the signals from the output of the address decoder 21 and from the output of the repeater 24 cause the output signal 23 to appear at the output of the output signal control block 1 to the input of the block 4 bus formers and opens for the transfer bus formers, through which the RM f ° state is transmitted to, the readiness is reset through
элемент ИЛИ 10 по сигналу общего сброса либо чтени информации регистра 12с выхода блока 1 управлени . Дл чтени информации из регистра 12 ЭВМ выдает адрес регистра данных (сигнал Ввод.), при этом на выходе дешифратора 21 адреса (фиг.2) по вл етс сигнал, поступающий на вход блока шинных формирователей и открывающий их. Шинные формирователи дл данных из блока 4 включаютс на передачу сигналом Ввод, поступающим на вход блока 4 шинных формирователей. Кроме того , на выходе дешифратора 21 адреса по вл етс сигнал, открывающий через вход программируемый мультиплексор 3, а сиг- нал с выхода повторител 24 производит через вход переключение программируемого мультиплексора 3 на чтение информации. В зависимости от значени информации на младших разр дах адреса, поступающей на входы программируемого мультиплексора 3, он выдает на блок 4 шинных формирователей дл передачи в ЭВМ ту или иную часть информации из регистра 12. При чтении информации в регистре данных в блоке 1 уп- равлени на выходе элемента И 27 формируетс сигнал, который поступает с выхода блока 1 управлени на элемент ИЛИ 10 дл сброса готовности. Сигнал готовности с выхода блока 9 прерываний поступает на вход сброса счетчика 19 через элемент ИЛИ 11, блокиру его работу по всем последующим импульсам одновибратора 17. Этим предотвращаетс дальнейший счет, который привел бы к по влению после нул в счетчике 19 числа 15, 14 и т.д. (если он четырехразр дный). Наличие на входе сброса счетчика 19 сигнала, блокирующего счет, не запрещает по вление сигнала на выходе переноса счетчика по каждому импульсу, поступающему на его тактовый вход. Таким образом, если в счетчике 19 записаны все нули, то по каждому изменению входной информации устройства на вход блока 9 прерываний будет поступать импульс уста- новки готовности.и запроса прерывани .the element OR 10 according to the general reset signal or reading the information of the output register 12c of the control unit 1. To read information from the register 12, the computer outputs the address of the data register (the Input signal), and the output of the address decoder 21 (Fig. 2) is a signal arriving at the input of the bus driver unit and opening them. The bus drivers for the data from block 4 are switched on by transmitting the input signal to the input of the block 4 bus drivers. In addition, a signal appears on the output of address decoder 21, opening programmable multiplexer 3 through the input, and a signal from the output of repeater 24 produces switching of programmable multiplexer 3 through the input to read information. Depending on the value of the information at the lower bits of the address supplied to the inputs of the programmable multiplexer 3, it outputs to the block 4 bus drivers for transmitting to the computer one or another part of information from the register 12. When reading information in the data register in the control unit 1 at the output of the element And 27, a signal is generated, which is fed from the output of the control unit 1 to the element OR 10 to reset the readiness. The readiness signal from the output of interrupt unit 9 is fed to the reset input of counter 19 through the element OR 11, blocking its operation in all subsequent pulses of the one-shot 17. This prevents further counting, which would result in the appearance of zero, 14, and t .d (if it is four-fold). The presence at the reset input of the counter 19 of the signal blocking the account does not prohibit the occurrence of a signal at the counter transfer output for each pulse arriving at its clock input. Thus, if all zeros are recorded in the counter 19, then for each change in the input information of the device, a readiness setting and interrupt request pulse will be sent to the input of the interrupt unit 9.
Дл запрета режима фиксации данных по изменению входной информации ЭВМ необходимо записать 1 в первый разр д регистра 8, на вход которого поступает сиг- нал с одной из линий шины данных через блок 4 шинных формирователей, а на тактовый вход- сигнал записи от блока 1 управлени . Сигнал с первого выхода регистра 8 блокирует одновибратор 16 по R-входу. Ее- ли во втором разр де регистра 8 при этом записан нуль, то он через элемент И 18 запрещает прохождение синхросигнала с одного из информационных входов устройства на второй вход одновибратора 17. ВIn order to prohibit the latching mode of data on changes in the input information of the computer, it is necessary to record 1 into the first register bit 8, the input of which receives a signal from one of the data bus lines through the 4-bus driver unit, and the clock input-recording signal from the control unit 1 . The signal from the first output of the register 8 blocks the one-shot 16 to the R-input. If in the second digit of the register 8 is recorded zero, then it prohibits the passage of the sync signal from one of the information inputs of the device to the second input of the one-vibrator 17 through the element E 18.
этом режиме фиксаци данных в регистре 12 может производитьс только по сигналу от ЭВМ. При выдаче ЭВМ сигнала фиксации по одной из линий шины данных он поступает на первый вход элемента И 7, а разрешающий сигнал записи в регистр команд с выхода блока 1 управлени - на второй вход элемента И 7, сигнал с выхода которого через элемент ИЛИ 20 поступает на тактовый вход регистра 12 и производит фиксацию данных. Если во втором разр де регистра 8 записана единица, то сигнал с его выхода разрешает прохождение через элемент И 18 синхросигнала с одного из информационных входов устройства на вход одновибратора 17, который по каждому синхросигналу будет выдавать импульс через элемент ИЛИ 20 на тактовый вход регистра 12. Сигнал несовпадени с выхода блока 1 сравнени поступает через элемент И 5 на вход блока 4 шинных формирователей, через который он может быть прочитан ЭВМ вместе с информацией о готовности (при этом разрешающий сигнал на второй вход элемента И 5 поступает с выхода блока 1 управлени ). При неправильной работе схемы в режиме фиксации по изменению входной информации вследствие отказа одного из ее элементов ЭВМ таким образом может получить информацию об этом и выдать команду фиксации данных через элемент И 7. Если после этого сигнал несовпадени сохранитс , а информаци в регистре не изменитс , то неисправен регистр 12 и-устройство неработоспособно. Если информаци в регистре 12 изменитс , а сигнал«есовпадени сохранитс , то неисправен блок 13 сравнени и можно продолжать работу в режиме фиксации по команде ЭВМ. Если информаци в регистре 12 изменитс и сигнал несовпадени сниметс , то неисправна цепь формировани импульсов записи (элемент 15 задержки - одновибратор 16 - одновибратор 17 - элемент ИЛИ 20). Таким образом, чтение данного сигнала ЭВМ дает программе возможность функциональной диагностики устройства в процессе работы и продолжени работы с устройством в случае отказа части схемы.In this mode, data fixation in register 12 can be performed only by a signal from a computer. When issuing a latching signal by one of the data bus lines, it is fed to the first input of the element 7, and the enable signal to write to the command register from the output of control unit 1 to the second input of the element 7, the output of which through the element OR 20 goes to clock input register 12 and produces a commit data. If a unit 8 is recorded in the second digit of register 8, the signal from its output allows passing through an AND 18 clock signal from one of the information inputs of the device to the one-shot 17 input, which for each clock signal will pulse through the OR 20 element to the clock input of the register 12. The mismatch signal from the output of the comparison unit 1 is fed through element I 5 to the input of the block 4 bus drivers, through which it can be read by the computer along with the readiness information (in this case, the enabling signal to the second input element 5 A and is output from the control unit 1). If the scheme operates incorrectly in the commit mode, the input information changes due to the failure of one of its computer elements in this way can receive information about it and issue a data commit command via element 7. If after this the mismatch signal remains and the information in the register does not change, then register 12 is faulty and the i-device is down. If the information in register 12 is changed, and the "Compair" signal is saved, then the comparison unit 13 is faulty and you can continue to work in the latching mode by a computer command. If the information in register 12 is changed and the mismatch signal is removed, then a write pulse shaping circuit is faulty (delay element 15 — single-oscillator 16 — single-oscillator 17 — element OR 20). Thus, reading this computer signal enables the program to perform functional diagnostics of the device during operation and continue working with the device in the event of a part of the circuit failure.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884393793A SU1614016A1 (en) | 1988-03-17 | 1988-03-17 | Data input device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU884393793A SU1614016A1 (en) | 1988-03-17 | 1988-03-17 | Data input device |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1614016A1 true SU1614016A1 (en) | 1990-12-15 |
Family
ID=21361861
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU884393793A SU1614016A1 (en) | 1988-03-17 | 1988-03-17 | Data input device |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1614016A1 (en) |
-
1988
- 1988-03-17 SU SU884393793A patent/SU1614016A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР N 1285458, кл. G 06 F 3/02, 1985. Авторское свидетельство СССР Мг 1411726, кл. G 06 F 3/00, 1987. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1614016A1 (en) | Data input device | |
SU1550524A1 (en) | Device for interfacing processor and external unit | |
SU1513462A1 (en) | Device for interfacing computer with peripheral apparatus | |
SU1374233A1 (en) | Device for interfacing digital computer with users | |
SU1347097A1 (en) | Memory with program correction | |
SU1656544A1 (en) | Device for matching computer with communication channel | |
SU1156080A1 (en) | Port-to-port interface operating in computer system | |
JP2629027B2 (en) | Interface method | |
SU1508222A1 (en) | Device for interfacing two computers | |
RU1837303C (en) | Peripheral interface device | |
SU1508218A1 (en) | User to communication channel interface | |
SU1213485A1 (en) | Processor | |
SU1128245A1 (en) | Device for driving process for exchanging information between magnetic tape store and computer | |
SU1251092A1 (en) | Interface for linking electronic computer with telegraph apparatus | |
SU1631542A1 (en) | Multimicroprogram control system | |
SU1425607A1 (en) | Program control apparatus | |
SU1432494A1 (en) | Device for setting image into computer | |
SU966687A1 (en) | Interface | |
SU1478193A1 (en) | Reprogrammable microprogrammer | |
SU1401470A1 (en) | Device for interfacing a computer with peripheral apparatus | |
RU1795443C (en) | Device for information input | |
SU1177817A1 (en) | Device for debugging programs | |
SU754424A1 (en) | Device for registering and monitoring asynchronous signals | |
SU1012235A1 (en) | Data exchange device | |
RU2032214C1 (en) | Data exchange controller |