Claims (2)
Известное устройство имеет следующие недо.статки. Формирование кода осуществл етс по последовательной схеме в три этапа, когда двоичный код с выхода счетчика преобразуетс в дес тичный дешифратором ( этап), затем дес тичный код преобразуетс в последовательный код коммутатором (2 этап), сформированный сигнал запоминаетс триггером (3 этап ) и выдаетс на выход устройства. Такие преобразовани при формирова нии кода увеличивают аппаратурные за траты. На выходе устройства формируютс кодовые комбинации независимо от того, включен коммутационный элемент или нет. Триггер, сработав, вырабатывает сигнал, указывающий, что на выходе устройства код соответст вуёт включенному коммутационному эле менту. Поэтому необходимо стробировать выходы счетчика сигналом с триг гера, а именно вводить элементы И,, что приводит к увеличению аппаратурных затрат. Устройство имеет жесткую структуру, так как формирует только один определенный код дл обмена информаци и . Дл формировани другого вида кода обмена, например ИСО, КОИКОИ-8 и т.д., необходимо наращивать устройство, что увеличивает аппаратурные затраты и снижает функциональ ные возможности устройства. Целью изобретени вл етс упрощение устройства. Указанна цель достигаетс тем, что в устройство дл ввода информации , содержащее матрицу коммутационных элементов с выходными шинами и с первой и второй группами входных шин генератор импульсов, выход которого соединен с первым входом элемента И, триггер, выход которого вл етс первым выходом устройства, введены первый и второй блоки пам ти сдвигающий регистр и элемент ИЛИ, выход которого соединен-, с вторым входом элемента И и с первыми входами первого и второго блоков пам ти, вторые входы которых соединены и вл ютс входом устройства, третий вход первого блока пам ти соединен с входами элемента ИЛИ и с выходными шинами матрицы коммутационных элементов, входные шины первой и второй групп которой соединены с тре тьим и четвертым входами второго бло ка пам ти, выход которого вл етс ; вторым выходом устройства, выход пер вбго блока пам ти вл етс третьим выходом, устройства, первый вход сдви гающего регистра соединен с (5ыходом 84 элемента И, выходы сдвигающего регистра соединены с входными шинами первой и второй групп матрицы коммутационных элементов, перва шина первой группы входных шин соединена с входом триггера, йторой вход которого соединен с первой шиной второй группы входных шин. На чертеже представлена структурна ;хема устройства дл ввода инфорнации . Устройство содержит генератор 1 импульсов , элемент И 2, сдвигающий регистр 3 матрицу коммутационных элементов, элемент ИЛИ 5, первый блок 6 пам ти, второй блок 7 пам ти и триггер 8. Устройство работает следующим о.бpai3OM . . . Тактовые импульсы с выхода генераIropa 1 импульсов поступают на один вход элемента И 2, на другой вход которого подаетс разрешающий сигнал с элемента ИЛИ 5, когда коммутациоиные элементы матрицы наход тс в исходном состо нии (не нажаты). При включений коммутационного элемента матрицы с элемента ИЛИ 5 выдаетс запрещащий сигнал на прохождение им-пульсов с генератора 1 импульсов чеpeз элe eнт И 2. С поступлением разрешающего сигнала на другой вход элемента И 2 импульсы , подаваемые с генератора 1 импульсов через элемент И 2 на вход сдвигающего регистра 3 сдвигают записанную в исходном состо нии регистра логическую единицу. На выхог де сдвигающего регистра 3 тактовые импульсы опрашивают коммутационные элементы матрицы по вертикальным шинам. При включении коммутационного элемента матрицы l сигнал с соответствующего выхода сдвигающего регистра 3 через вертикальную шину матрицы k и замкнутый контакт коммутационного элемента поступает на горизонтальную шину матрицы 4, При этом вертикаль-, на шина указывает адрес старших разр дов , а горизонтальна шина - адрес младших разр дов. С горизонтальной шины адрес младших разр дов подаетс на адресный вход первого блока 6 пам ти, который вырабатывает код младших разр дов, а с вертикальной шины адрес старших разр дов поступает на адресный вход второго блока 7 пам ти, который вырабатывает .код старших разр дов, причем на выходе устройства по в тс ко довые комбинации только тогда, когда одновременно будет присутствовать адрес выбора кода обмена информации с внешнего устройства, несущий инфор мацию о младших и старших разр дах кода и разрешаю1ций сигнал выборки информации с первого блока 6 пам ти и второго блока 7 пам ти. При срабатывании элемента ИЛИ 5 (коммутационный элемент матрицы k включен ) выдаетс запрет на прохожде ние импульсов в сдвигающий регистр 3 и сигнал с элемента ИЛИ 5 одновремен но вл етс разрешающим сигналом, который подаетс параллельно на вход разрешени выборки первого блока 6 пам ти и второго блока 7 пам ти и осуществл етс считывание младший pa р дов кода первого блока 6 пам ти и старших разр дов кода второго блока пам ти. С первой вертикальной шины алфавитно-цифррвых коммутационных элемен тов матрицы k сигнал перебрасывает триггер 8 в единичное состо ние, а сигнал с первой шины функциональных коммутационных элементов матрицы 4 возвращает триггер 8 в исходное состо ние . При этом выход логической 1 с триггера 8 указывает на то, что сфор ййрованный код на выходе устройсТвй соответствует коду символа, а логический О соответствует коду команд Выбор частоты генератора импульсо устран ет восприимчивость устройства к дребезгу контактов, что позволило не вводить элемента задержки. Устройство имеет гибкую структуру так как дл формировани различных кодов обмена информации с внешнего устройства выдаетс адрес выбора кода обмена информации на адресные вхо ды первого блока пам ти и второго блсзка пам ти, вырабатывающих различный код обмена информации, что расши р ет функциональные возможности устройства . Формула изобретени Устройство дл ввода информации, содержащее матрицу коммутационных элементов с выходными шинами и с первой и второй группами входных шин, генератор импульсов, выход которого соединен с первым входом элемента И, триггер, выход которого вл етс первым выходом устройства, отличающее с тем, что, с целью упрощени устройства, в него введены первый и второй блоки пам ти, сдвигающий регистр и элемент ИЛИ, выход которого соединен с вторым входом элемента И и с первыми входами первого и второго блоков пам ти, вторые входы которых соединены и вл ютс входом устройства, третий вход первого блока пам ти соединен с входами элемента ИЛИ и с выходными шинами матрицы коммутационных элементов, входные шины первой и второй riiynn которой соединены с третьим и четвертым входами второго блока пам ти, выход которого вл етс вторым выходом устройства , выход первого блока пам ти вл етс третьим выходом устройства, первый вход сдвигающего регистра соединен с выходом элемента И, выходы сдвигающего регистра соединены с входными шинами первой и второй групп матрицы коммутационных элементов, перва шина первой группы входных шин соединена с первым входом триггера, второй вход которого соединен с первой шиной второй группы входных шин. Источники информации, прин тые во внимание при экспертизе 1.Авторское свидетельство СССР № 995б5, кл. G Об F 3/02, 197t. The known device has the following disadvantages. Code generation is carried out in a sequential scheme in three stages, when the binary code from the counter output is converted into a decryptor (step), then the decimal code is converted into a serial code by the switch (stage 2), the generated signal is stored by a trigger (stage 3) and issued to the device output. Such transformations, when forming a code, increase hardware costs. At the output of the device, code combinations are formed regardless of whether the switching element is on or not. The trigger, having triggered, generates a signal indicating that at the output of the device the code corresponds to the switched on switching element. Therefore, it is necessary to gate the outputs of the counter with a signal from the trigger, namely to introduce the elements I, which leads to an increase in hardware costs. The device has a rigid structure, since it forms only one specific code for the exchange of information and. To form another type of exchange code, for example, ISO, KOIKOI-8, etc., it is necessary to increase the device, which increases hardware costs and reduces the functional capabilities of the device. The aim of the invention is to simplify the device. This goal is achieved by the fact that in a device for inputting information, containing an array of switching elements with output buses and with the first and second groups of input buses, a pulse generator, the output of which is connected to the first input of the AND element, the trigger whose output is the first output of the device, the first and second memory blocks shift register and the OR element, the output of which is connected, with the second input of the AND element and with the first inputs of the first and second memory blocks, the second inputs of which are connected and are the input of the device Twa, the third input of the first memory block coupled to inputs of the OR gate and output lines of the matrix of switching elements, input buses of the first and second groups are connected to the tre tim and fourth inputs of the second blo ka memory whose output is; the second output of the device, the output of the first memory block is the third output, the device, the first input of the shift register is connected to (And output 84 of the And element, the outputs of the shift register are connected to the input buses of the first and second groups of the matrix of switching elements, the first bus of the first group of input bus connected to the trigger input, the second input of which is connected to the first bus of the second group of input tires. The drawing shows a structural; device for entering information. The device contains a pulse generator 1, the element And 2, shifting register 3 matrix of switching elements, element OR 5, first memory block 6, second memory block 7, and trigger 8. The device operates as follows .pai3OM.. Clock pulses from the output of an Iropa 1 pulse arrive at one input of the AND element 2, to the other input of which the permitting signal is transmitted from the element OR 5 when the switching elements of the matrix are in the initial state (not pressed). When switching on the switching element of the matrix, the inhibiting signal from the generator 1 is transmitted from the element OR 5 in chepez ele ent and 2. receipt enable signal to the other input of AND 2 pulses supplied from the pulse generator 1 through the AND gate 2 to the input of shift register 3 is shifted recorded in the initial state, the logical unit register. At the exit of the shift register 3 clock pulses interrogate the switching elements of the matrix on vertical tires. When the switching element of the matrix l is turned on, the signal from the corresponding output of the shift register 3 through the vertical bus of the matrix k and the closed contact of the switching element goes to the horizontal bus of the matrix 4, while vertical, the address of the higher bits indicates the bus, and the horizontal bus is the address of the lower bits Dov. From the horizontal bus, the address of the least significant bits is supplied to the address input of the first memory block 6, which generates the code of the lower bits, and from the vertical bus, the address of the higher bits goes to the address input of the second memory block 7, which generates the higher-order code, moreover, at the output of the device, in the vehicle code combinations only when the address of the choice of the code for the exchange of information from an external device, carrying information about the lower and senior bits of the code and authorizing the data sampling signal from the first memory block 6 and the second memory block 7. When an OR 5 element is triggered (the switching element of the matrix k is on), the pulse is not allowed to pass into the shift register 3 and the signal from the OR 5 element is simultaneously the enabling signal, which is fed in parallel to the sample enable input of the first memory block 6 and the second block 7, the low-order code code rows of the first memory block 6 and the high-order bits of the second memory block are read out. From the first vertical bus of alphanumeric switching elements of the matrix k, the signal flips trigger 8 to one state, and the signal from the first bus of the functional switching elements of matrix 4 returns trigger 8 to its initial state. At the same time, the output of logic 1 from trigger 8 indicates that the formed code at the output of the device corresponds to the character code, and logical O corresponds to the command code. Selecting the frequency of the pulse generator eliminates the device's susceptibility to contact jingling, which made it possible not to introduce a delay element. The device has a flexible structure, as for the formation of various information exchange codes from an external device, an address for selecting the information exchange code is output to the address inputs of the first memory block and the second memory memory generating different information exchange code, which expands the functionality of the device. Apparatus for inputting information, comprising an array of switching elements with output buses and with the first and second groups of input buses, a pulse generator, the output of which is connected to the first input of the element I, a trigger, the output of which is the first output of the device, characterized in that In order to simplify the device, the first and second memory blocks are entered into it, shifting the register and the OR element, whose output is connected to the second input of the AND element and to the first inputs of the first and second memory blocks, the second inputs which are connected and are the input of the device, the third input of the first memory block is connected to the inputs of the OR element and to the output buses of the matrix of switching elements, the input buses of the first and second riiynn of which are connected to the third and fourth inputs of the second memory block, the output of which is the second the output of the device, the output of the first memory block is the third output of the device, the first input of the shift register is connected to the output of the AND element, the outputs of the shift register are connected to the input buses of the first and second matrix groups ommutatsionnyh elements, the first group of the first bus input lines connected to the first input of the flip-flop, a second input coupled to a first bus input lines of the second group. Sources of information taken into account in the examination 1. USSR author's certificate number 995b5, cl. G About F 3/02, 197t.
2.Авторское свидетельство СССР № 669350, кл. G Об F 3/02, 1978 (прототип).. . A/ фoSe//77//ffг/г/0 I - / - ..I y /rgfi/ff ff AMXf |.. T A/fff/ 2. USSR author's certificate number 669350, cl. G About F 3/02, 1978 (prototype) ... A / FoSe // 77 // ffg / g / 0 I - / - ..I y / rgfi / ff ff AMXf | .. T A / fff /