SU1543411A1 - Device for interfacing computer and peripheral objects - Google Patents

Device for interfacing computer and peripheral objects Download PDF

Info

Publication number
SU1543411A1
SU1543411A1 SU864074522A SU4074522A SU1543411A1 SU 1543411 A1 SU1543411 A1 SU 1543411A1 SU 864074522 A SU864074522 A SU 864074522A SU 4074522 A SU4074522 A SU 4074522A SU 1543411 A1 SU1543411 A1 SU 1543411A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
input
group
trigger
inputs
Prior art date
Application number
SU864074522A
Other languages
Russian (ru)
Inventor
Нодар Владимирович Гелашвили
Юрий Суренович Манукян
Константин Георгиевич Норакидзе
Теймураз Абрамович Хананашвили
Original Assignee
Предприятие П/Я Р-6348
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 Предприятие П/Я Р-6348 filed Critical Предприятие П/Я Р-6348
Priority to SU864074522A priority Critical patent/SU1543411A1/en
Application granted granted Critical
Publication of SU1543411A1 publication Critical patent/SU1543411A1/en

Links

Landscapes

  • Bus Control (AREA)

Abstract

Изобретение относитс  к вычислительной технике и может быть использовано в автоматизированных системах управлени  технологическими процессами, научными экспериментами и т.п. Целью изобретени   вл етс  расширение области применени  устройства. Цель достигаетс  тем, что в устройство, содержащее интерфейсный блок, первый блок коммутации, оперативный запоминающий узел, первый мультиплексор, счетчик, генератор импульсов, три элемента ИЛИ, два элемента И и три триггера, введены второй блок коммутации, второй мультиплексор, дешифратор, группа распределителей выходных сигналов управлени , схема сравнени , два одновибратора и четыре триггера. 3 ил.The invention relates to computing and can be used in automated process control systems, scientific experiments, and the like. The aim of the invention is to expand the field of application of the device. The goal is achieved in that a device containing an interface unit, a first switching unit, an operational storage node, a first multiplexer, a counter, a pulse generator, three OR elements, two AND elements and three triggers are entered into a second switching unit, a second multiplexer, a decoder, a group control output distributors, a comparison circuit, two one-shot and four flip-flops. 3 il.

Description

Изобретение относитс  к вычислительной технике и может быть использовано в автоматизированных системах управлени  технологическими процессами , научными экспериментами и т.п.The invention relates to computing and can be used in automated process control systems, scientific experiments, and the like.

На фиг. 1 представлена блок-схема устройства; на фиг. 2 и 3 - функцио нальные схемы распределител  сигналов управлени  и интерфейсного блока .FIG. 1 is a block diagram of the device; in fig. 2 and 3 are functional diagrams of the control signal distributor and interface unit.

Устройство содержит оперативный запоминающий узел (ОЗУ) 1 , интенфейс- ный блок 2, блоки 3 и 4 коммутации, элемент ИЛИ 5, триггер 6, элемент И 7, триггер 8, элемент ИЛИ 9, триггеры 10 - 12, генератор 13 импульсов, счетчик 14, триггеры 15 и 16, элемент ИЛИ 17, одновибратор 38, дешифратор 19, одновибратор 20, распределители 23 выходных сигналов управлени  группы, мультиплексоры 22 и 23, элемент сравнени  24 и элемент И 25,The device contains an on-line storage unit (RAM) 1, an interface unit 2, switching units 3 and 4, an element OR 5, a trigger 6, an element AND 7, a trigger 8, an element OR 9, triggers 10-12, a generator of 13 pulses, a counter 14, triggers 15 and 16, the OR element 17, the one-shot 38, the decoder 19, the one-shot 20, the distributors 23 of the output control signals of the group, the multiplexers 22 and 23, the reference element 24 and the AND 25 element,

Распределители 21 сигналов управлени  состо т из дешифраторов 26 и 27 и узла 28 формирователей 29 импульсов управлени .The control signal distributors 21 consist of decoders 26 and 27 and the node 28 of the control pulse driver 29.

Интерфейсный блок 2 при сопр жении устройства с ЭВМ типа ИСКРА-226 содержит группу элементов НЕ 30, элемент НЕ 31, группу командных входов 32 блока 2, элемент НЕ-ИЛИ 33, входы 34 и 35 запросов прерывани  блока 2, шинный формирователь 36, первую группу информационных входов-выходов 37, депшсЬратор 38, вторую группу информационных входов-выходов 39, дешифратор 40, щиЛратор 41, элемент И 42, элемент НЕ 43, триггер 44, элемент И 45, триггеры 46 и 47, первый, третий, второй, четвертый и п тый выходы 48слThe interface unit 2, when interfaced with a computer of the ISKRA-226 type, contains a group of elements NOT 30, an element NOT 31, a group of command inputs 32 of block 2, an element NOT-OR 33, inputs 34 and 35 of interrupt requests of block 2, a bus driver 36, the first a group of information inputs-outputs 37, depressor 38, a second group of information inputs-outputs 39, a decoder 40, sch 41, an element of AND 42, an element of HE 43, a trigger 44, an element of AND 45, triggers 46 and 47, first, third, second, fourth and fifth outputs

ЈьЈ

соwith

ЈьЈ

31543154

52 блока 2, элемент НЕ -ИЛИ-НЕ 53, группу выходов 54 блока 2.52 block 2, the element is NOT-OR-NO 53, group of outputs 54 of block 2.

На чертежах обозначены выход 55 запроса санкции, индикаторный выход. и группа выходов 56, выходы сигналов управлени , группа входов 57 сигналов контрол  и вход 58 сигнала санкции.In the drawings, the exit request request 55 is indicated, the indicator output. and a group of outputs 56, outputs of control signals, a group of inputs 57 of control signals and an input 58 of a sanction signal.

Устройство работает следующим образом .The device works as follows.

Перед началом работы триггеры 6, 8, 10, II, 12, 15 и 16 устанавливаютс  в нулевое состо ние (-цепь начальной установки не показана).Before starting the triggers 6, 8, 10, II, 12, 15 and 16 are set to the zero state (-the initial setup chain is not shown).

Интерфейсный блок 2 осуществл ет обмен данными и служебными сигналами (например, сигналами команд и состо ний ) с вычислительной машиной через первую группу входов-выходов, первую группу входов и первую группу выходов устройства.The interface unit 2 exchanges data and service signals (for example, command and state signals) with the computer through the first group of inputs and outputs, the first group of inputs and the first group of outputs of the device.

Данные представл ютс  п-разр дны- ми двоичными словами, которые в зависимости от назначени  могут содер-§ жать:The data is represented by p-bit binary words, which, depending on the purpose, may contain:

-номер канала управлени  и (или) контрол  (слово номера), при этом каналами управлени   вл ютс  выходы 56, а каналами контрол  - (п-3) - разр дные входы 57;The control channel and / or control channel number (word of number), wherein the control channels are outputs 56, and the control channels are (p-3) - bit inputs 57;

-инструкцию, содержащую значение (О или 1) сигнала, подлежащего выдаче на выбранный канал управлени , и указание на пор док выполнени  инструкции: по разрешению (санкции) оператора или по команде с вычислительной машины (слово чнструкции);- an instruction containing the value (O or 1) of the signal to be outputted to the selected control channel, and an indication of the order in which the instruction is executed: by authorization (authorization) of the operator or by a command from the computer (instruction word);

-состо ние устройства и значени  сигналов, поступающих по выбранному каналу контрол  (слово состо ни ).-the device state and the values of the signals arriving on the selected control channel (status word).

Дл  работы устройства используютс  п ть команд вычислительной машины: запись слова номера (ЗЛН), запись слова инструкции (ЗПИ), чтение слова номера (ЧТН), чтение слова состо ни  (ЧТС) и команда Пуск. При поступлении какой-либо из этих команд, интерфейсный блок 2 формирует сигнал на соответствующем выходе. В зависимости от последовательности поступлени  команд могут быть реализованы следующие операции: выдача инструкции на выбранный канал управлени , циклический опрос каналов контрол  и ввод информации в вычислите1ьную машину.For the operation of the device, five computer commands are used: writing the word number (ZLN), writing the word instruction (RFI), reading the word number (CTN), reading the state word (TTS), and the Start command. Upon receipt of any of these commands, the interface unit 2 generates a signal at the corresponding output. Depending on the sequence of commands received, the following operations can be implemented: issuing instructions to the selected control channel, cyclically polling the control channels, and entering information into the computing machine.

Выдача инструкции на выбранный канал управлени , производитс  по командам ЗПН, ЗПИ, ПУСК. С командой ЗПН из .вычислительной машины в устThe issuance of instructions on the selected control channel is performed by the commands of the CCA, RFI, START. With the ZPN command from the calculating machine to the mouth

00

5five

4141

. .

0 0

5five

00

5 п 5 n

5five

00

5five

1414

ройство поступает слово номера, код которого по лини м 39 подаетс  на блок 3„ По сигналу, поступающему на вход ЗП1, производитс  запись кода номера в блоке 3. С выходов N3 блока 3 код номера поступает на выходы 57 устройства, а также на кодовые входы дешифратора 19 и дешифраторов 26 и 27 в распределител х 2. При этом старшие разр ды кода номера поступают на дешифратор 19, из остальных разр дов кода номера старшие подаютс  на дешифраторы 26, а младшие - на дешифраторы 27. Например, при п 8, возможно следующее распределение разр дов кода номера: три старших разр да - на дешифратор 19, следующие три разр да - на дешифраторы 26, два младших разр да - на дешифраторы 27. При таком распределении устройство может содержать до 8 распределителей 21, в каждом из которых Формирователи 29 сигналов управлени  образуют в узле 2.8 матрицу размером .The device receives the word of the number, the code of which, via lines 39, is fed to the block 3 "By a signal received at the input of ЗП1, the code of the number is recorded in block 3. From the outputs N3 of the block 3, the code of the number goes to the outputs 57 decoder 19 and decoder 26 and 27 in the distributor 2. In this case, the higher bits of the code number go to the decoder 19, from the remaining bits of the code of the number, the older ones are sent to the decoders 26, and for example, with n 8, it is possible The following distribution of the code number: three senior Allowed - to decoder 19, the next three bits - to decoders 26, two lower bits - to decoders 27. With this distribution, the device can contain up to 8 distributors 21, each of which Shapters 29 control signals form a matrix in node 2.8 .

По команде ЗПИ в блок 4 записываетс  слово инструкции. Запись производитс  по сигналу с выхода 49-интерфейсного блока 2. Этим же сигналом устанавливаетс  в единичное состо ние триггер 6. Сигнал инструкции с выхода блока 4 поступает на входы младшего разр да групп кодовых входов дешифраторов 27 и на выход 56 устройства. Таким образом, на кодовых входах дешифраторов 19, 26 и 27 устанавливаютс  коды, позвол ющие осуществить выбор формировател  29, соответствующего содержанию слова номера, и установку его в состо ние, соответствующее значению сигнала инструкции при поступлении на управл ющий вход дешифратора 19 разрешающего сигнала. Установка формировател  29 производитс  в соответствии с наличием сигнала на четном (при нулевом значении сигнала инструкции) или нечетном (при единичном значении сигнала инструкции ) выходах дешифратора 27.At the command of the RFI, block 4 records the word of instruction. The recording is made on a signal from the output of the 49-interface unit 2. The same signal sets the trigger state to one. The instruction signal from the output of block 4 goes to the low-level inputs of the code input groups of the decoders 27 and to the output 56 of the device. Thus, codes are installed on the code inputs of the decoders 19, 26, and 27, allowing the selection of a driver 29 corresponding to the contents of the word number, and setting it to the state corresponding to the instruction signal value when the enable signal arrives at the control input of the decoder 19. The installation of the driver 29 is performed in accordance with the presence of a signal at the even (at zero value of the instruction signal) or odd (at a single value of the instruction signal) output of the decoder 27.

Пор док выполнени  инструкции определ етс  значением сигнала на другом выходе блока 4: при нулевом значении сигнала инструкци  выполн етс  по команде, подаваемой оператором на вход устройства, а при единичном значении - по команде ПУСК.The order of instruction execution is determined by the signal value at the other output of block 4: when the signal is zero, the instruction is executed by the command given by the operator to the device input, and for a single value by the START command.

При поступлении команды ПУСК сигнал с выхода 52 интерфейсного блока 2 подаетс  на (инверсный динамичесьIWhen a START command is received, the signal from the output 52 of the interface unit 2 is applied to (inverse dynamic

кий) вход установки нул  триггера 6 и через элемент ИЛИ 9 на (инверсный динамический) вход синхронизации триггера 12. Сладом этого сигнала триггер 12 устанавливаетс  в единичное состо ние, а триггер 6 сбрасываетс . Если на информационный вход триггера J 5 .выхода блока 4 поступает J, то фронтом сигнала с выхода триггера 12, триггер 15 устанавливаетс  в единичное состо ние и через элемент ИЛИ 17 запускает одновибраторcue) set zero input of trigger 6 and through the OR element 9 to the (inverse dynamic) trigger trigger input 12. With the help of this signal, trigger 12 is set to one and the trigger 6 is reset. If the information input of the trigger J 5. Of the output of block 4 enters J, then the signal front from the output of the trigger 12, the trigger 15 is set to one state and through the element OR 17 starts the one-shot

18.Импульс с выхода одновибратора 18, поступив на управл ющий вход дешифратора 19, служит разрешающим сигналом дл  установки формировател  29 в соответствии с кодами на входах дешифраторов18. The pulse from the output of the one-shot 18, arriving at the control input of the decoder 19, serves as the enable signal for installing the driver 29 in accordance with the codes at the inputs of the decoder

19,26 и 27. Сигналы, соответствующие значению инструкции, выдаютс  с выбранного Формировател  29 в канал управлени  и на мультиплексор 22.19.26 and 27. Signals corresponding to the instruction value are output from the selected Shaper 29 to the control channel and to the multiplexer 22.

Спад выходного импульса одновибратора 18 производит:The decline of the output pulse of the one-shot 18 produces:

-запуск одновибратора 20, вследствие чего сбрасываетс  триггер 15;- start of the one-shot 20, as a result of which the trigger 15 is reset;

-установку триггера 12 через элемент ИЛИ 9 в нулевое состо ние (поскольку триггер 6 находитс  в нулевом состо нии);- setting trigger 12 through the OR element 9 to the zero state (since the trigger 6 is in the zero state);

-установку триггера 10 в единичное состо ние. При этом сигнал с выхода триггера 10 поступает на первый вход интерфейсного блока 2, иницииру  выдачу в вычислительную машину запроса на прерывание, после чего с целью контрол  выполнени  инструкции может быть произведен ввод в вычислительную маши у инсЬормации о состо нии ,- setting trigger 10 to one state. In this case, the signal from the output of the trigger 10 is fed to the first input of the interface unit 2, initiating the issuance of an interrupt request to the computer, after which, in order to monitor the execution of the instruction, the state information will be entered into the computer,

В том случае, когда инструкци  должна выполн тьс  по санкции оператора , с выхода блока 4 на информационный вход триггера 15 поступает О. Поэтому установка в единичное состо ние триггера 12 по команде Пуск не вызывает установку в единичное состо ние триггера 15. Сигнал с выхода триггера 12 поступает на выход 55 устройства как сигнал запроса санкции оператора. При этом дл  индикации номера канала управлени  и инструкции могут быть использованы соответственно выходы 56 и выход устройства . Сигнал санкции представл ет собой уровень 1, посылаемый оператором на вход 58 устройства. Фронтом этого сигнала триггер 16 устанавливаетс  в единичное состо ние и черезIn the case when the instructions must be executed under the operator’s sanction, from the output of block 4 to the information input of trigger 15, O arrives. Therefore, setting the trigger to unit one by command Start does not trigger the unit to trigger 15. Signal from the trigger output 12 enters output 55 of the device as a signal for requesting operator approval. In this case, for indicating the control channel number and instructions, the outputs 56 and the output of the device can be used. The sanction signal is a level 1 sent by the operator to the input 58 of the device. The front of this signal trigger 16 is set to one and through

434116434116

элемент ИЛИ 17 запускает одновибратор 18. Дальнейша  работа устройства происходит согласно изложенному, с Циклический опрос каналов контрол  предназначен дл  вы влени  фактов изменени  значений сигналов, поступающих по каналам контрол . Циклический опрос начинаетс  по командеthe element OR 17 starts the one-shot 18. Further operation of the device occurs as described, with a cyclical interrogation of the control channels, it is intended to detect the facts of changes in the values of the signals coming through the control channels. Cyclic polling begins on command

Ю Пуск в случае ее поступлени  при нулевом состо нии триггера 6. т.е. после начальной установки, либо по второй команде Пуск после команды ЗПИ. В этом случае на информационныйStart if it arrives at zero state of trigger 6. i.e. after the initial installation, or by the second Start command after the RFI command. In this case, the information

15 вход триггера 8 поступает J, благодар  чему фронт сигнала с выхода 52 интерфейсного блока 2 устанавливает триггер 8 в единичное состо ние. Сигнал с выхода триггера 8 запускает ге20 нератор 13 импульсов и разрешает запись в блок 3 информации с выходов двоичного счетчика 14. Генератор 13 вырабатывает две сдвинутые по фазе серии импульсов одинаковой частоты.15, the trigger input 8 enters J, whereby the front of the signal from the output 52 of the interface unit 2 sets the trigger 8 to one state. The signal from the output of the trigger 8 starts the generator 20 pulses and allows writing to the block 3 information from the outputs of the binary counter 14. The generator 13 produces two series of pulses of the same frequency shifted in phase.

25 Импульсы первой серии поступают на счетчик 14, вызыва  его переключение. При этом на выходах блока 3 последовательно формируютс  коды номеров всех 2 каналов контрол . Эти коды25 The pulses of the first series arrive at counter 14, causing it to switch. In this case, the numbers of all 2 control channels are sequentially formed at the outputs of block 3. These codes

0 поступают на адресные входы ОЗУ 1 и мультиплексора 23. В ОЗУ 1 хран тс  (n-З)-разр дные слова, содержащие - значени  сигналов, поступающих по каналам контрол . Б течение одного пе35 риода генератора 13 из ОЗУ 1 считываетс  слово, содержащее предшествующие значени  сигналов, поступивших по каналу контрол  с номером, установленным на выходе счетчика 14. Это0 are fed to the address inputs of RAM 1 and multiplexer 23. RAM 1 stores (n-З) -signal words containing - the values of the signals coming through the control channels. For one period of the generator 13 period, the word containing the previous values of the signals received on the control channel with the number set at the output of the counter 14 is read from the RAM 1. This is

0 слово поступает на схему 24 сравнени , где сравниваетс  со словом, поступающим с выходов мультиплексора 23 и содержащим текущие значени  сигналов , поступающих по тому же каналуThe 0 word enters the comparison circuit 24, where it is compared with the word coming from the outputs of the multiplexer 23 and containing the current values of the signals arriving on the same channel.

5 контрол . При несовпадении этих слов на выходе схемы 24 сравнени  формируетс  сигнал 1. Импульсом второй серии с выхода генератора 13 триггер 11 устанавливаетс  в единичное сос0 то ние, на входах элемента И 25 про- исходит совпадение сигналов 1, а сигналом с выхода элемента И 25 производитс  запись в ОЗУ 1 текущего слова и через элемент ИЛИ 5 - сброс5 control. If these words do not match, a signal 1 is generated at the output of the comparison circuit 24. A pulse of the second series from the generator output 13 triggers 11 and is set to 1, the signals 1 coincide at the inputs of the AND 25 element, and the signal from the output of the And 25 element records in RAM 1 of the current word and through the element OR 5 - reset

5 триггера 8, в результате чего генератор 33 останавливаетс . После окончани  записи текущего слова в ОЗУ 1 происходит совпадение кодов на входах схемы 24 сравнени , сигнал на выходе5, trigger 8, as a result of which the generator 33 stops. After the writing of the current word in RAM 1 is completed, the codes at the inputs of the comparison circuit 24 coincide, the output signal

последнего принимает нулевое значение и снимаетс  сигнал записи с ОЗУ 1.the latter takes a zero value and the write signal is removed from RAM 1.

При установке триггера 1J в единичное состо ние сигнал с его выхода поступает на вход интерфейсного бло- ка 2 и инициирует выдачу ъ вычислительную машину запроса на прерывание.When the trigger 1J is set to one, the signal from its output goes to the input of the interface unit 2 and initiates the issuance of an interrupt request to the computer.

Циклический опрос каналов контрол  может быть прерван командой ЗПН, при поступлении которой сигналом с выхода 48 интерфейсного блока 2 сбрасываетс  триггер 8.The cyclical polling of the control channels can be interrupted by the OTP command, upon receipt of which the trigger 8 is reset by the signal from the output 48 of the interface unit 2.

Ввод информации в вычислительную машину производитс  по командам ЧТН. и ЧТС. При получении команды ЧТН интерфейсный блок 2 бзормирует на выходе 50 сигнал, поступающий на вход ЧТ1 блока 3. По этому сигналу блок 3 считывает хран щийс  в нем код номера канала, который передаетс  по лини м 39 в интерфейсный блок 2 и далее в вычислительную машину.Entering information into the computer is performed by the commands of the CTN. and tts. Upon receipt of the CTN command, the interface unit 2 normalizes at the output 50 a signal arriving at the input CHT1 of the unit 3. By this signal, the unit 3 reads the channel number code stored in it, which is transmitted via lines 39 to the interface unit 2 and further to the computer.

По команде ЧТС сигнал с выхода 51 интерфейсного блока 2 поступает на вход элемента И 7 и вход ЧТ блока 4. Если команда ЧТС поступает после команды ЗПИ до команды Пуск, то триггер 6 находитс  в единичном состо нии , элемент И 7 заперт нулевым сиг- налом с инверсного выхода триггера 6 и на шины 39 блока 4 выдаетс  записанное ранее по команде ЗПИ слово инструкции . Возврат слова инструкции в вв числительную, машину может быть ис- пользован дл  проверки правильности его приема по команде ЗПИ при реализации операции выдачи инструкции на канал управлени .On the command CHTS, the signal from the output 51 of the interface unit 2 is fed to the input of the element AND 7 and the input CHT of the unit 4. If the command of the TTS comes after the command of the CLI before the Start command, the trigger 6 is in one state, the element AND 7 is locked with a zero signal The inverted output of the trigger 6 and the buses 39 of the block 4 produce the instruction word written earlier at the command RFI. Returning the instruction word to the cardinal numeral, the machine can be used to check the correctness of its reception by the RFI command when implementing the operation of issuing instructions to the control channel.

При поступлении команды ЧТС после начальной установки или после команды Пуск (например, при обмене по прерыванию) триггер 6 находитс  в нулевом состо нии и элемент И 7 открыт дл  сигнала с выхода 5 интерфейсного блока 2. В этом случае одновременно производитс  запись информации, поступающей на входы М2 и ее считывание на шины 39 с входов-выходов fl блока 4. Эта информаци  представл ет собой слово состо ни , которое содержит;When the TTS command is received after the initial installation or after the Start command (for example, during an interrupt exchange), trigger 6 is in the zero state and the And 7 element is open for the signal from output 5 of the interface unit 2. In this case, the information arriving at the inputs M2 and its reading to the buses 39 from the inputs / outputs fl of block 4. This information is a status word that contains;

-сигналы с выходов триггеров 10-signals from the outputs of the trigger 10

и 13 как информацию об источнике запроса на прерывание;and 13 as information about the source of the interrupt request;

-сигнал с выхода мультиплексора 22, показывающий состо ние формировател  29 (т.е. канала управлени ) с номером, записанным в блоке 3;a signal from the output of the multiplexer 22, showing the state of the driver 29 (i.e., control channel) with the number recorded in block 3;

5five

5 five

Q Q

5 0 50

0 35 0 35

40 45 50 40 45 50

сеse

- (n-З)-разр дное слово, содержащее значени  сигналов, поступающих по каналу контрол  с номером, записанным в блоке 3.- (nc) -discharge word containing the values of the signals received on the control channel with the number recorded in block 3.

Интерфейсный блок 2 дл  обмена информацией в отрицательной логике, т.е. сигналу 1 соответствует низкий уровень напр жени  (фиг.З) работает следующим образом.Interface unit 2 for the exchange of information in negative logic, i.e. Signal 1 corresponds to a low voltage level (Fig. 3) works as follows.

На входы элементов НЕ 30 поступает код команды (МКВВ), который после инвертировани  подаетс  на информационный вход дешифратора 40 и шифратора 41. Дл  управлени  работой устройства используютс  семь команд вычислительной машины: Установить св зь (УС), Разрешить запрос на прерывание (РЗП), Прин ть первый байт (ППБ), Прин ть последний байт (ШШ) , Выдать первый байт (ВПБ), Выдать последний байт (ВВП)j Прин ть команду (ПК). Стробирование кода команды осуществл етс  сигналомThe inputs of the elements NOT 30 receive a command code (MKVV), which, after inversion, is fed to the information input of the decoder 40 and the encoder 41. Seven computer commands are used to control the operation of the device: Establish communication (RS), Receive the first byte (PBU), Receive the last byte (SHW), Issue the first byte (TBT), Issue the last byte (GDP) j Receive command (PC). Command code gating is performed by a signal

на входе 32.2. Триггер 44 служит дл  iat the entrance 32.2. Trigger 44 serves for i

выдачи в вычислительна машину сигнала запроса на прерывание. П ибратор 41 формирует коды состо ний, служащие дл  информировани  вычислительной машины о выполнении команды Команда выполнена (КБ) или Команда выполнена , есть запрос на прерывание (КВЗП) . Код состо ни  стробируетс  с сигналом , вырабатываемым элементом И 42.- В дешифраторе 40 производитс  дешифраци  кода команды и выдача сигнала на соответствующий выход, причем при поступлении сигналов на выходы 48issuing an interrupt request signal to a computer. The sampler 41 generates status codes that serve to inform the computer about the execution of the command. Command executed (KB) or The command is executed, there is an interrupt request (ACS). The status code is gated with the signal produced by AND 42. - In the decoder 40, the command code is decrypted and a signal is outputted to the corresponding output, moreover, when signals arrive at the outputs 48

(ППБ;, 49 (ПБП), 50 СВПБ), si (ввп)(ППБ ;, 49 (ПБП), 50 SVPB), si (GDP)

и 52 (ПК) блока 2 устройство выполн ет действи , определ емые соответст- ,вен-но командами ЗПН, ЗПИ, ЧТН, ЧТС и Пуск. Одновременно с кодом команды УС, ППБ или ПБП с вычислительной машины на входы-выходы 37 интерфейсного блока 2 подаетс  информационное слово Информационное слово, поступающее с командой УС, содержит код физического адреса устройства (), а слова, сопровождающие команды ППБ и ПБП,  вл ютс  соответственно спорами номера и инструкции. Эти слова через шинный формирователь 36 и входы-выходы 39 интерфейсного блока 2 передаютс  на блоки 3 и 4. При поступлении из вычислительной машины команд ВПБ и ВБП сигналом с выхода элемента НЕ-ИЛИ-НЕ 53 шинный формирователь 36 переключаетс  на передачу информации с входов-выходов 39 на вхо- ,ды-выходы 37 и из блоков 3 и 4 в вычислительную машину выдаютс  соответст- венно слова номера и состо ни .and 52 (PC) of block 2, the device performs the actions determined by the corresponding, ven-but commands of the TPN, RFI, CTN, TTS, and Start. Simultaneously with the command code CSS, PBU or PBU from the computer, the information word is supplied to the inputs-outputs 37 of the interface unit 2. The information word arriving with the US command contains the code of the physical address of the device (), and the words accompanying the PBU command and the PBU are respectively disputes numbers and instructions. These words are transmitted to blocks 3 and 4 via bus driver 36 and inputs / outputs 39 of interface unit 2. When a computer command of a TBF and PFS arrives from the computer, the bus driver 36 switches to transmitting information from inputs the outputs 39 to the input and output outputs 37 and from blocks 3 and 4 to the computer are given the words numbers and states respectively.

При поступлении из вычислительной машины команды УС сигнал с первого выхода дешифратора 40 устанавливает триггер 46 в соответствии со значением (О или 1) сигнала на выходе дешифратора 38. Если код ФАУ совпадает с физическим адресом данного устройства , сигналом с выхода дешийрато- ра 38 триггер 46 устанавливаетс  в нулевое .состо ние. Сигнал с пр мого выхода триггера 46 разрешает дешифрацию дешифратором 40 всех последующих команд и выдачу кодов состо ний с шифратора 41, а сигнал с инверсного выхода триггера 46 разрешает выдачу в вычислительную машину сигнала ответа с выхода элемента И 42. В том случае, когда код ФАУ не совпадает с физическим адресом данного устройства , по команде УС триггер 46 устанавливаетс  в единичное состо ние и дешифраци  последующих команд, выдача кодов состо ний и сигнала ответа прещаютс , т.е. интерфейсный блок 2 логически отключаетс  от вычислительной машины. По команде РЗП сигналом с второго выхода дешифратора 40 происходит установка триггера 47 в единичное состо ние. При этом сигнал с триггера JO или Л через входы 34 или 35 интерфейсного блока 2, элемент НЕ- ИЛИ 33 и элемент И 45 поступает на информационный вход триггера 44. Спадом очередного сигнала, поступающим с элемента НЕ 43 на вход синхронизации триггера 44, последний устанавливаетс  в единичное состо ние. С инверсного выхода триггера 44 в вычисWhen a US command arrives from the computer, the signal from the first output of the decoder 40 sets the trigger 46 in accordance with the value (O or 1) of the signal at the output of the decoder 38. If the FAA code matches the physical address of this device, the signal from the output of the descriptor 38 will trigger 46 set to zero. The signal from the direct output of the trigger 46 allows the decoder 40 to decode all subsequent commands and issue status codes from the encoder 41, and the signal from the inverse output of the trigger 46 allows the response signal from the output of the And 42 element to the computing machine. does not coincide with the physical address of this device; on command, CSS trigger 46 is set to one state and decryption of subsequent commands, the issuance of status codes and a response signal is stopped, i.e. interface unit 2 is logically disconnected from the computer. On the command of the HRC signal, the second output of the decoder 40 sets the flip-flop 47 into one state. At the same time, the signal from the trigger JO or L through the inputs 34 or 35 of the interface unit 2, the element NOT-OR 33 and the element AND 45 enters the information input of the trigger 44. By dropping the next signal coming from the element HE 43 to the synchronization input of the trigger 44, the latter is set in a single state. With inverse trigger output 44 in the compute

ю 15 0 0 u 15 0 0

34ПЮ34PU

Сигнал с единичного выхода триггера 44, поступающий на информационный вход шифратора 41, определ ет код состо ни , выдаваемый интерфейсным блоком 2 на команду УС, а именно: при нулевом состо нии триггера 44 в вычислительную машину выдаетс  код состо ни  KB, а при единичном состо нии триггера 44 - код состо ни  КБЗП.The signal from the single output of the trigger 44, which arrives at the information input of the encoder 41, determines the status code issued by the interface unit 2 to the US command, namely: in the zero state of the trigger 44, the state code KB is issued, and in the single state trigger 44 - the ACS state code.

На все остальные команды вычислительной машины шифратор 41 вырабатывает код состо ни  КВ.On all other computer commands, the encoder 41 generates a status code HF.

Claims (1)

Формула изобретени Invention Formula Устройство дл  сопр жени  вычислительной машины с внешними объектами, содержащее интерфейсный блок, перва  группа информационных входов-выходов, командных входов и группа выходов которого  вл ютс  соответствующими группами входов-выходов, входов и выходов устройства дл  подключени  к группе информационных входов-выходов, группе командных выходов и групп синхронизирующих входов вычислительной машины, а втора  группа информационных входов-выходов интерфейсного блока соединена с группой информационных входов-выходов первого блока коммутации, группа информационных входов и группа выходов которого соединены соответственно с группой выходов счетчика и группой адресных входов оперативного запоминающего узла, первый мультиплексор, группа информационных входов которого  вл етс A device for interfacing a computing machine with external objects, comprising an interface unit, a first group of information I / O, command inputs and an output group of which are corresponding groups of input / output, device inputs and outputs for connecting to a group of information I / O, command group the outputs and groups of the synchronization inputs of the computing machine, and the second group of information inputs-outputs of the interface unit is connected to the group of information inputs-outputs of the first block and the switching, the group of information inputs and the group of outputs of which are connected respectively to the group of outputs of the counter and the group of address inputs of the operational storage node, the first multiplexer, the group of information inputs of which is группой входов устройства дл  подключени  к группе информационных выходов внешнего объекта, три триггера, два элемента И, генератор импульсов и три элемента ИЛИ, причем инверсный выход первого триггера соединен сa group of device inputs for connecting to the group of information outputs of an external object, three flip-flops, two AND elements, a pulse generator and three OR elements, the inverse output of the first flip-flop being connected to лительную машину поступает сигнал за- 45 первым входом первого элемента И, аthe machine receives a signal through the first input of the first element AND, and проса. При поступлении после этого из вычислительной машины команды УС и ФАУ и установки триггера 46 в нулевое состо ние, с инверсного выхода триггера 46 на динамический вход установки нул  триггера 47 поступает фронт, устанавливающий триггер 47 в нулевое состо ние. Подача сигнала 1 с выхода элемента И 45 на инЛорма- ционный вход триггера 44 прекращаетс  и по окончании сигнала в линии 32.2 триггер 44 устанавливаетс  в нулевое состо ние, в результате чего сигнал запроса снимаетс .millet. Upon receipt of the command US and FAA from the computer and setting the trigger 46 to the zero state, from the inverse output of the trigger 46 to the dynamic input of the zero setting of the trigger 47 enters the front, setting the trigger 47 to the zero state. The signal 1 from the output of the element 45 to the informa- tion input of the trigger 44 stops and, at the end of the signal in line 32.2, the trigger 44 is set to the zero state, as a result of which the request signal is removed. выход второго элемента И соединен с первым входом первого элемента ИЛИ, отличающеес  тем, что, с целью расширени  области применени the output of the second element AND is connected to the first input of the first element OR, characterized in that, in order to expand the field of application 50 устройства, в него введены второй блок коммутации, схема сравнени , второй мультиплексор, группа распределителей выходных сигналов управлени , дешифратор, четыре триггера и50 devices, a second switching unit, a comparison circuit, a second multiplexer, a group of control output distributors, a decoder, four flip-flops and 55 Два одновибратора, причем выход второго триггера соединен с входом запуска генератора импульсов, выход первого одновибратора подключен к разрешающему входу дешифратора, уста55 Two one-shot, and the output of the second trigger is connected to the start input of the pulse generator, the output of the first one-shot is connected to the enable input of the decoder, mouth выход второго элемента И соединен с первым входом первого элемента ИЛИ, отличающеес  тем, что, с целью расширени  области применени the output of the second element AND is connected to the first input of the first element OR, characterized in that, in order to expand the field of application устройства, в него введены второй блок коммутации, схема сравнени , второй мультиплексор, группа распределителей выходных сигналов управлени , дешифратор, четыре триггера иdevices, a second switching unit, a comparison circuit, a second multiplexer, a group of distributors of control output signals, a decoder, four flip-flops and Два одновибратора, причем выход второго триггера соединен с входом запуска генератора импульсов, выход первого одновибратора подключен к разрешающему входу дешифратора, устаковочному входу третьего триггера, входу второго одновибратора и перво- му входу второго элемента ИЛИ, первый выход генератора импульсов сое-. динен с синхровходом четвертого триггера , выходом подключенного к первому входу второго элемента И, второй вход которого соединен с информационным входом четвертого триггера и выходом схемы сравнени , перва  и втора  группы информационных входов которой подключены соответственно к группам выходов оперативного запоминающего узла и первого мультиплексора, труп- пой адресных входов соединенного с группой выходов первого блока коммутации , группами информационных входов дешифратора и распределителей выходных сигналов управлени  группы и группой адресных входов второго мультиплексора , группы информационных входов которого соединены с первыми группами выходов распределителей выходных сигналов управлени , вторые группы выходов которых  вл ютс  соответствующими группами входов устройства дл  подключени  к командным группам входов внешнего объекта,группа выходов первого мультиплексора подключена к группе информационных входов оперативного запоминающего уз ла, вход разрешени  записи которого соединен с выходом второго элемента И„ пр мой выход первого триггера сое- динен с информационным входом п того триггера, выходом подключенного к синхровходу шестого триггера и информационному входу седьмого триггера, выходы которых соединены соответст- венно с первым и вторым входами третьего элемента ИЛИ, выходом соединенного с входом первого одновибратора, группа управл ющих входов первого блока коммутации подключена к перво- му, второму синхровыходам интерфейсного блока и выходу второго триггера, информационным входом и входом сброса соединенного с инверсным выходом первого триггера и выходом первого эле- Two one-shot, and the output of the second trigger is connected to the start input of the pulse generator, the output of the first one-shot is connected to the enable input of the decoder, the set-up input of the third trigger, the second input of the one-shot and the first input of the second element OR, the first output of the pulse generator is connected. dinene with synchronous input of the fourth trigger, the output connected to the first input of the second element I, the second input of which is connected to the information input of the fourth trigger and the output of the comparison circuit, the first and second groups of information inputs of which are connected respectively to the output groups of the operational storage node and the first multiplexer, sing the address inputs of the first switching unit connected to the output group, the groups of information inputs of the decoder, and the distributors of the group control output signals s and the group of address inputs of the second multiplexer, the groups of information inputs of which are connected to the first groups of outputs of the control output distributors, the second groups of outputs of which are the corresponding groups of device inputs for connecting to the command groups of external object inputs, the group of outputs of the first multiplexer are connected to the group of information inputs operational storage node whose recording resolution is connected to the output of the second element AND the direct output of the first trigger and connected to the information input of the fifth trigger, the output connected to the synchronous input of the sixth trigger and information input of the seventh trigger, the outputs of which are connected respectively to the first and second inputs of the third OR element, the output connected to the input of the first single-oscillator, a group of control inputs of the first OR the switching unit is connected to the first, second synchronized outputs of the interface unit and the output of the second trigger, the information input and the reset input connected to the inverse output of the first trigger and output first ele мента ИЛИ, группа информационных входов-выходов и группа входов управл ющих второго блока коммутации соединены соответственно с второй группой информационных входов-выходов интерфейсного блока и с третьим, четвертым синхровыходами интерфейсного блока и выходом первого элемента И, вторым входом подключенного к четвертому синхровыходу интерфейсного блока, первый и третий синхровыходы которого подключены соответственно к второму входу первого элемента ИЛИ и установочному входу первого триггера, а п тый сикхровыход - к входам сброса первого, третьего и четвертого триггеров , синхровходу второго триггера и второму входу второго элемента ИЛИ, выходом соединенного с синхровходом п того триггера, счетный вход счетчика подключен к второму выходу генера- тора импульсов, выход второго одно- вибратора соединен с входами сброса шестого и седьмого триггеров, груп- па информационных входов второго блока коммутации подключена к группе выходов первого мультиплексора-, выхо ду второго мультиплексора и выходам третьего и четвертого триггеров,группа выходов дешифратора соединена с разрешающими входами распределителей выходных сигналов управлени  группы, информационные входы которых соединены с первым выходом второго блока коммутации, вторым выходом подключенного к информационному входу шестого триггера, группа выходов первого блока коммутации и первый выход второго блока коммутации  вл ютс  соответственно группой выходов индикации и выходом индикации устройства, выход п того триггера и синхровход седьмого триггера  вл ютс  соответственно выходом запроса санкции оператора и вхо- дом сигнала санкции оператора устройства , первый и второй входы запроса прерывани  интерфейсного блока соединены соответственно с выходами третьего и четвертого триггеров.OR, the group of information inputs-outputs and the group of inputs of the control second switching unit are connected respectively to the second group of information inputs-outputs of the interface unit and the third, fourth sync outputs of the interface unit and the output of the first And element, the second input connected to the fourth sync output of the interface unit, the first and third sync outputs of which are connected respectively to the second input of the first element OR and the installation input of the first trigger, and the fifth Sikhrov output to the reset inputs the first, third and fourth triggers, the synchronization input of the second trigger and the second input of the second OR element, the output connected to the synchronization input of the fifth trigger, the counting counter input is connected to the second output of the pulse generator, the output of the second single vibrator is connected to the reset inputs of the sixth and seventh triggers , the group of information inputs of the second switching unit is connected to the output group of the first multiplexer-, the output of the second multiplexer and the outputs of the third and fourth triggers, the output group of the decoder On the enable inputs of the output control signal distributors of the group, the information inputs of which are connected to the first output of the second switching unit, the second output connected to the information input of the sixth trigger, the output group of the first switching unit and the first output of the second switching unit are respectively a display output group and a display output the devices, the output of the fifth trigger and the sync input of the seventh trigger are respectively the output of the operator sanction request and the input of the sanction signal machine operator, the first and second inputs of the interrupt request interface unit connected respectively to the outputs of the third and fourth flip-flops. 5656 фиг1fig1 00 шsh лl
SU864074522A 1986-06-02 1986-06-02 Device for interfacing computer and peripheral objects SU1543411A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864074522A SU1543411A1 (en) 1986-06-02 1986-06-02 Device for interfacing computer and peripheral objects

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864074522A SU1543411A1 (en) 1986-06-02 1986-06-02 Device for interfacing computer and peripheral objects

Publications (1)

Publication Number Publication Date
SU1543411A1 true SU1543411A1 (en) 1990-02-15

Family

ID=21240322

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864074522A SU1543411A1 (en) 1986-06-02 1986-06-02 Device for interfacing computer and peripheral objects

Country Status (1)

Country Link
SU (1) SU1543411A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Патент US № 4339794, кл. G 06 F 3/00, 1981. Авторское свидетельство СССР К 1084774, кл. G 06 F 13/00, 1982. *

Similar Documents

Publication Publication Date Title
SU1543411A1 (en) Device for interfacing computer and peripheral objects
SU1749904A1 (en) Device for checking operator activity
SU1478193A1 (en) Reprogrammable microprogrammer
SU1144099A1 (en) Microprogram device for data input/output
SU1462283A1 (en) Information input device
SU1119057A1 (en) Training system for radiotelegraph operator
SU1290330A2 (en) Computer system
SU851391A1 (en) Channel-to-channel adapter
SU1478247A1 (en) Indicator
SU1481781A1 (en) Data exchange unit
SU1182506A1 (en) Information input device
SU1665389A1 (en) Device for syntaxes checking
SU980088A2 (en) Device for interfacing computer with main line
SU1513496A1 (en) Information transceiver
SU1405090A1 (en) Buffer memory
SU1003066A1 (en) Device for exchange of information between digital computer and peripheral device
SU1536365A1 (en) Information input device
SU1642472A1 (en) Device for checking the sequence of operatorъs actions
SU1111150A1 (en) Interface for linking two computers
SU1677691A1 (en) Programmable time recording and documenting unit
SU1508222A1 (en) Device for interfacing two computers
SU1201841A1 (en) Interface for linking process control computer with peripheral units
SU1589288A1 (en) Device for executing logic operations
RU1835546C (en) Data-exchange adapter
SU1295393A1 (en) Microprogram control device