f10 Изобретение отнсюитс к вычислитель ной технике и может быть использовано дл ввода информации в устройствах подготовки даннызс. Известно устройство дл ввода информации , содержащее двоичный счетчик, де шифратор, клавишную матрицу, регистр сдвига и элемент И Г-О. Устройство имеет 6 своем составе регистр сдвига, расчитанный на определенное число клавиш в клавишной матр1ще , что услогй ет устройство и ограничивает его функциональные воаможнооти .. Наиболее близким по тезодаческой сущности к предлагаемому вл етс уст ройство дл ввода информации, содержащее двоичный счетчик, клавишную матрицу , объединенную со схемой сканировани , регистр сдвига и элемент И 2, . Недостатком устройства вл етс мала область применени из-за ограниче ного числа шшвиш. Цель изобретени - расширение области применени устройства путем использовани клавиатуры, с разным числом кла виш. Поставленна ЦЕЛЬ достигаетс тем, что в устройство дл ввода информации, содер сащее счетчик, выходы старших раэ . р дов которогоПодключены к соответстувующим управл ющим входам блока опроса клавиатуры, информационные входы которого соединены с соответствующими выходами клавиатуры, один выход младших разр дов счетчика подключен к первому входу ключа, выход которого вл етс выходом устройстваj введены опера тивный накопшель, элементы И и НЕ, управл ющий вход оперативного накопител подключен к крутому выходу младших разр дов счетчика, информационный вход - к выходу блока опроса клавиатуры и к первому входу элемента 14, адресные BXO ды - к соответствующимвыходам старших разр дов счетчика, а выход через элемент НЕ - к второму входу элемента И, выход которого соединен с вторым входом ключа. 2 На фиг. 1 представлена функциональна схема устройства.; на фиг,2 - схема блока пам ти. Устройство содержит счетчик 1, блок 2 опроса клавиатуры, клавиатура 3, блок 4 пам ти, ключ 5 , оперативный накопитель 6, элементы НЕ 7, эл&мент И 8. Устройство работает следующим образом . При включении питани импульсы г&нератора (не показан) поступают на : вход счетчика 1, с выхода которого сиг илалы поступают на блок 2, проиавод аий опрос от олбцов и строк клавиатуры 3. Если нажата кака -либо клавиша, блок 2 вырабатывает импульс, который поступает на информационный вход блока 4 и однозначно св зан с состо нием счетчика 1, определ ющим адрес чейки блока 4, По данному адресу происходит цикл чтени из пам ти и затем цикл записи, определ емый сигналом с выхода счетчика 1, поступающим на вход записи-считывани накопител 6. Данный сигнал по длительности в два раза короче сигнала ни информационном входе накопител . В первом цикле опроса клавиатуры из блока 4 считываетс по адресу нажатой клавиши сигнал логического нул , который вл етс разрешающим л выработки сигнала СТРОБ ключг м 5,Затем в цикле записи записываетс логич (юка единица, присутствующа на И формацирнном входе накопител 6. При длительном нажатии на клавишу в повторном цикле, с блока 4 считываетс записанна в предыдущем цикле логическа единша, котора через элеменгы 7 и 8 блокирует выработку сиг нала СТРОБ. Таким с6разоМ| СТРОБ вырабатываетс один раз независимо от длительности нажати на клавишу. Использование оперативного накопимте л с его интерфейсом позвол ет сн ть ограничени на число клавиш что раошир ет область применени предлагаемого устройства.f10 The invention relates to a computing technique and can be used to enter information in data preparation devices. A device for inputting information is known, which contains a binary counter, an encoder, a key matrix, a shift register, and an AND element. The device has a shift register designed for a certain number of keys in the keyboard, which conditions the device and limits its functional capabilities. The device for entering information is the closest to the essence of the thesis, containing a binary counter, a keyboard matrix, combined with the scanning circuit, the shift register and the And 2 element,. The disadvantage of the device is a small area of application due to the limited number of sews. The purpose of the invention is to expand the field of application of the device by using a keyboard with a different number of keys. The delivered PURPOSE is achieved by the fact that, in a device for entering information, containing a counter, the outputs of the senior rae. the rows of which are connected to the corresponding control inputs of the keyboard polling unit, the information inputs of which are connected to the corresponding keyboard outputs, one low-order counter output is connected to the first key input, the output of which is the output of the device; The operational input of the storage device is connected to the steep output of the low-order bits of the counter, the information input to the output of the keyboard polling unit and to the first input of element 14, the addressable BXOs to the corresponding vuyuschimvyhodam MSB counter rows, and the output element via the NOT - a second input of the AND gate, whose output is connected to the second input key. 2 In FIG. 1 shows a functional diagram of the device .; Fig. 2 is a block diagram of a memory block. The device contains a counter 1, a block 2 of the keyboard polling, a keyboard 3, a block 4 of memory, a key 5, a RAM 6, the elements NOT 7, an & 8 device. The device works as follows. When the power is turned on, the pulses of g & nerator (not shown) are sent to: the input of counter 1, from the output of which signals are sent to block 2, produced by polling from keyboards and keyboard strings 3. If a key is pressed, block 2 produces a pulse, which enters the information input of block 4 and is unambiguously related to the state of counter 1, which determines the cell address of block 4. At this address, a reading cycle occurs from the memory and then a write cycle defined by a signal from the output of counter 1 input to the write input - reading drive 6. This The signal is two times shorter than the signal or the information input of the accumulator. In the first cycle of polling the keyboard from block 4, the logical zero signal is read at the address of the pressed key, which is allowing the generation of the signal STROB key m 5, then a logical record is written in the write cycle (this unit is present at the AND 6 format input of accumulator 6. With a long press on the key in the repeated cycle, from block 4, the logical one recorded in the previous cycle is read, which blocks elements of the STROB signal through elements 7 and 8. Such c6ravoM | STROB is generated once, regardless of the duration zhati the key. Using operative nakopimte l with its interface allows the removal to be limited to the number of keys that raoshir a field of application of the device.
лl
Фиг. 2FIG. 2