SU1374232A1 - Device for interfacing computer with m external devices - Google Patents

Device for interfacing computer with m external devices Download PDF

Info

Publication number
SU1374232A1
SU1374232A1 SU864085655A SU4085655A SU1374232A1 SU 1374232 A1 SU1374232 A1 SU 1374232A1 SU 864085655 A SU864085655 A SU 864085655A SU 4085655 A SU4085655 A SU 4085655A SU 1374232 A1 SU1374232 A1 SU 1374232A1
Authority
SU
USSR - Soviet Union
Prior art keywords
output
input
information
group
computer
Prior art date
Application number
SU864085655A
Other languages
Russian (ru)
Inventor
Валерий Викторович Баранов
Геннадий Владимирович Кухарь
Валерий Ильич Потапенко
Original Assignee
Предприятие П/Я Г-4173
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 Предприятие П/Я Г-4173 filed Critical Предприятие П/Я Г-4173
Priority to SU864085655A priority Critical patent/SU1374232A1/en
Application granted granted Critical
Publication of SU1374232A1 publication Critical patent/SU1374232A1/en

Links

Landscapes

  • Use Of Switch Circuits For Exchanges And Methods Of Control Of Multiplex Exchanges (AREA)

Abstract

Изобретение относитс  к вьгаис- лительной технике и автоматике и может быть использовано в различных системах автоматизированного контрол  и автоматического управлени .Целью изобретени   вл етс  расширение номенклатуры внешних устройств за q,4eT увеличени  разр дности информации, передаваГлм 1 емой внешнему устройству. Устройство содержит блок 1 св зи с ЭВМ, блок 3 св зи с внешним устройством и блок 2 коммутации, при этом блок св зи с ЭВМ содержит три канальных приемника 4-6, две группы канальных приемников 7, 8, два шинных формировател  12, 13, две группы 19, 20 шинных формирователей , регистр 15 адреса, дешифратор 16, триггер 18, элемент сравнени  14, четыре элемента И-НЕ 10, 11, 17, 21, элемент 9 задержки} блок св зи с внешним устройством содержит канальный приемник, группу канальных передатчиков, коммутатор, дешифратор, группу триггеров, регистр , элемент И-НЕ; блок коммутации содержит канальный приемник, два элемента И-НЕ, два элемента НЕ. 1 з.п. ф-лы, 2 ил. (ЛThe invention relates to advanced technology and automation and can be used in various systems of automated control and automatic control. The purpose of the invention is to expand the range of external devices by increasing the information width q, 4eT transmitted to an external device. The device contains a computer communication unit 1, a communication unit with an external device and a switching unit 2, the computer communication unit contains three channel receivers 4-6, two groups of channel receivers 7, 8, two bus driver 12, 13 , two groups 19, 20 bus drivers, address register 15, decoder 16, trigger 18, comparison element 14, four AND-NOT elements 10, 11, 17, 21, delay element 9} the communication unit with an external device contains a channel receiver, channel transmitter group, switch, decoder, trigger group, register, AND-NOT element; the switching unit contains a channel receiver, two NAND elements, two NOT elements. 1 hp f-ly, 2 ill. (L

Description

0000

и 1ч9and 1h9

СОWITH

toto

Изобретение относитс  к вычислительной технике и автоматике и может быть использовано в различных системах автоматизированного контрол  и автоматического управлени .The invention relates to computing and automation and can be used in various systems of automated control and automatic control.

Цель изобретени  - расширение номенклатуры внешних устройств за счет увеличени  разр дности информации, передаваемой внешнему устройству.The purpose of the invention is to expand the range of external devices by increasing the size of the information transmitted to the external device.

На фиг.1 приведена блок-схема устройства; на фиг.2 - временные диаграммы , иллюстрирующие работу устройства .Figure 1 shows the block diagram of the device; figure 2 - timing diagrams illustrating the operation of the device.

Устройство содержит (фиг.1) блок 2 св зи с ЭВМ, блок 2 коммутации, блоки 3 св зи с внешним устройством.The device contains (Fig. 1) a computer communication unit 2, a switching unit 2, communication units 3 with an external device.

Блок 1 св зи с ЭВМ содержит канальные приемники А-6, группы каналь20Unit 1 of communication with a computer contains channel receivers A-6, channel groups 20

ных приемников 7 и 8, элемент 9 задержки , элементы И-НЕ 10 и 11, шинные формирователи (ШФ) 1.2 и 13, элемент 14 сравнени , регистр 15 адреса , дешифратор 16, элемент И-НЕ 17, триггер 18, группы шинных формирова- 25 телей 19 и 20, элемент И-НЕ 21.receivers 7 and 8, delay element 9, AND-HE elements 10 and 11, bus drivers (PF) 1.2 and 13, comparison element 14, address register 15, decoder 16, AND-NE element 17, trigger 18, bus form groups - 25 teli 19 and 20, the element AND-NOT 21.

Блок 2 коммутации содержит канальный приемник 22, элемент И-НЕ 23, элементы НЕ 24 и 25, элемент И-НЕ 26.The switching unit 2 contains a channel receiver 22, the element AND-NO 23, the elements NOT 24 and 25, the element AND-NOT 26.

было больше или равно 35. Любые 33 линии первой группы входов-выходов 34 блока 3 подключают к цеп м ВУ, предназначенным дл  передачи сигналов от ЭВМ к ВУ, а оставшиес  две линии подключают к цеп м ВУ, предназначенньм дл  передачи сигналов от ВУ к ЭВМ. На входы первой и второй групп канальных приемников 7 и 8 с адресной магистрали 35 ЭВМ подают (при ) соответственно 9 старших и 7 младших разр дов адрес/данные магистрали ЭВМ. На группу входов 41 устройства подают дев тиразр дный код адреса устройства . Выход элемента И-НЕ 21 соедин ют цепью СИП (сигнал ответа пассивного устройства) интерфейса ЭВМ, вход канального приемника 4 соедин ют с цепью ВЫВОД интерфейса ЭВМ,вход канального приемника 5 соедин ют с цепью ВВОД интерфейса ЭВМ, вход канального приемника 6 соедин ют с цепью СИЛ (синхронизаци  активного устройства ) интерфейса ЭВМ, вход-выход 42 устройства соедин ют с одним из разр дов адрес/данные магистрали ЭВМ. Каждый выходной сигнал дл  ВУ формируетс  при отдельном программномwas greater than or equal to 35. Any 33 lines of the first group of input-output 34 of block 3 are connected to the WU circuits intended for transmitting signals from the computer to the WU, and the remaining two lines are connected to the WU circuits intended for transmitting signals from the WU to the computer . The inputs of the first and second groups of channel receivers 7 and 8 from the address main line 35 of the computer are supplied (with), respectively, 9 older and 7 younger bits of the address / data of the main line of the computer. A group of device inputs 41 serves the nine-digit device address code. The output of the NE-21 element is connected to the SIP circuit (the response signal of the passive device) of the computer interface, the input of the channel receiver 4 is connected to the OUTPUT circuit of the computer interface, the input of the channel receiver 5 is connected to the IN input circuit of the computer interface, the input of the channel receiver 6 is connected to the SIL circuit (synchronization of the active device) of the computer interface, the input-output 42 of the device is connected to one of the address / data bits of the computer. Each output signal for the slave is generated with a separate software program.

Блок 3 св зи с внешним устройством 30 обращении ЭВМ к одному из внутреннихUnit 3 communication with an external device 30 accessing a computer to one of the internal

00

5five

00

5 five

было больше или равно 35. Любые 33 линии первой группы входов-выходов 34 блока 3 подключают к цеп м ВУ, предназначенным дл  передачи сигналов от ЭВМ к ВУ, а оставшиес  две линии подключают к цеп м ВУ, предназначенньм дл  передачи сигналов от ВУ к ЭВМ. На входы первой и второй групп канальных приемников 7 и 8 с адресной магистрали 35 ЭВМ подают (при ) соответственно 9 старших и 7 младших разр дов адрес/данные магистрали ЭВМ. На группу входов 41 устройства подают дев тиразр дный код адреса устройства . Выход элемента И-НЕ 21 соедин ют цепью СИП (сигнал ответа пассивного устройства) интерфейса ЭВМ, вход канального приемника 4 соедин ют с цепью ВЫВОД интерфейса ЭВМ,вход канального приемника 5 соедин ют с цепью ВВОД интерфейса ЭВМ, вход канального приемника 6 соедин ют с цепью СИЛ (синхронизаци  активного устройства ) интерфейса ЭВМ, вход-выход 42 устройства соедин ют с одним из разр дов адрес/данные магистрали ЭВМ. Каждый выходной сигнал дл  ВУ формируетс  при отдельном программномwas greater than or equal to 35. Any 33 lines of the first group of input-output 34 of block 3 are connected to the WU circuits intended for transmitting signals from the computer to the WU, and the remaining two lines are connected to the WU circuits intended for transmitting signals from the WU to the computer . The inputs of the first and second groups of channel receivers 7 and 8 from the address main line 35 of the computer are supplied (with), respectively, 9 older and 7 younger bits of the address / data of the main line of the computer. A group of device inputs 41 serves the nine-digit device address code. The output of the NE-21 element is connected to the SIP circuit (the response signal of the passive device) of the computer interface, the input of the channel receiver 4 is connected to the OUTPUT circuit of the computer interface, the input of the channel receiver 5 is connected to the IN input circuit of the computer interface, the input of the channel receiver 6 is connected to the SIL circuit (synchronization of the active device) of the computer interface, the input-output 42 of the device is connected to one of the address / data bits of the computer. Each output signal for the slave is generated with a separate software program.

содержит канальный приемник 27, дешифратор 28, коммутатор 29, группу канальных передатчиков 30, элемент И-НЕ 31, группу триггеров 32, регистр 33.contains a channel receiver 27, a decoder 28, a switch 29, a group of channel transmitters 30, an AND-NE element 31, a group of flip-flops 32, a register 33.

На фиг.1 обозначены также входы и выходы устройства магистрали и внутренние шины 34-43. На фиг.2 .позицией а обозначена временна  диаграмма сигнала готовности внешнего устрой- ства (ВУ); 8 - временна  диаграмма сигналов информации от ЭВМ к ВУ; В - временна  диаграмма стробирующего сигнала от ЭВМ к ВУ; i - временна  диаграмма сигнала ответа ВУ; 1 also shows the inputs and outputs of the trunk device and internal buses 34-43. In FIG. 2, position a denotes the time diagram of the readiness signal of an external device (WU); 8 is a timing diagram of information signals from a computer to a VU; B - timing diagram of the strobe signal from the computer to the VU; i - time diagram of the signal response VU;

Работу устройства рассмотрим на примере использовани  его дл  сопр жени  ЭВМ типа Электроника-60 (интерфейс типа Обща  шина,разр дность информационного слова - 16 бит) с внешним устройством, входна  информационна  шина которого имеет раз р дность 32 бита (направление дачи от ЭВМ к ВУ), число входных управл ющих сигналов от ЭВМ к ВУ - 1, число выходных управл ющих сигналов от ВУ к ЭВМ - 2. Дл  этого необходимо , чтобы суммарное число линий первой группы входов-выходов 34 блока 3Let us consider the device operation using the example of using it for interfacing an Elektronika-60 computer (a common bus interface, information word width is 16 bits) with an external device whose input bus is 32 bits wide (the direction from the computer to the PC ), the number of input control signals from the computer to the slave is 1, the number of output control signals from the slave to the computer is 2. For this, it is necessary that the total number of lines of the first group of inputs-outputs 34 of block 3

регистров устройства в магистральной цикле ВЫВОД. Выводную информацию из ВУ ЭВМ считывает при программных обращени х в магистральном цикле ВВОД. Обмен информацией .между ЭВМ и ВУ осуществл етс  в соответствии со следующим алгоритмом: ВУ при наличии готовности дл  обмена выставл ет сигнал готовности (фиг.2а, Т,), ЭВМ по данном сигналу осуществл ет формирование информационных сигналов (фиг.26, Т, ), ЭВМ формирует стробирующий сигнал (фиг.2в, Tg), ВУ, получив стробирующий сигнал, обрабатывает информационные сигналы и выставл ет сигнал ответа (фиг.2г, Тд), затем ЭВМ снимает стробирующий сигнал (фиг.2в, Т), а ВУ снимает сигнал ответа (фиг.2г, Tj-), ЭВМ осуществл ет формирование новых информационных сигналов (фиг.2г, Т(Т„)), и процесс может быть повторен. Устройство сопр жени  обеспечивает данный алгоритм обмена за счет программы, вьшолн емой в ЭВМ следующим образом. ЭВМ за счет программных циклов ВЫВОД осуществл ет последовательное заполнение информацией (логические единицы) группы триггеров 32 блоков 3. Триггеры предdevice registers in the trunk cycle OUTPUT. Output information from the WU computer reads with software applications in the main cycle ENTER. Information is exchanged between a computer and a VU in accordance with the following algorithm: VU, when it is ready to exchange, exposes a ready signal (Fig. 2a, T,), a computer generates information signals by this signal (Fig. 26, T, ), The computer generates a strobe signal (Fig. 2b, Tg), the slave receives a strobe signal, processes the information signals and exposes a response signal (Fig. 2d, Td), then the computer removes the strobe signal (Fig. 2b, T), and WU removes the response signal (Fig.2d, Tj-), the computer carries out the formation of new information 2 signals, T (T „)), and the process can be repeated. The interface device provides this exchange algorithm at the expense of the program executed in the computer as follows. The computer, through program cycles OUTPUT, sequentially fills with information (logical units) a group of triggers 32 blocks 3. Triggers before

ставл ют первую ступень (буферную) пам ти. При записи информации в последний триггер группы 32 на выходе 43 одного из блоков 3 формируетс  сиг- нал, обеспечивающий перезапись накопленной информации в регистры 33. При этом сигналы логических единиц с выходов регистров 33 формируют на выходах группы канальных передатчиков 30 сигналы высокого уровн . Это позвол ет програьмировать функцию каждой линии при использовании в качестве канальных передатчиков 30 элемен- тов, реализующих на группе входов-выходов 34 блока 3 функции МОНТАЖНОГО ШШ с сигналом ВУ, т.е. при наличии на выходе данной линии сигнала высокого уровн  с выхода канального передатчика 30 обеспечиваетс  возможность использовани  как выходной от ВУ, так и входной от ЭВМ информацииput the first stage (buffer) memory. When recording information into the last trigger of group 32, the output 43 of one of the blocks 3 generates a signal that rewrites the accumulated information into registers 33. In this case, the signals from logical units from the outputs of registers 33 generate high level signals at the outputs of a group of channel transmitters 30. This allows programming the function of each line when using 30 channel elements as channel transmitters, which implement on the group of inputs-outputs 34 of block 3 of the ASSEMBLY SHW function with WU signal, i.e. if the output of this line is a high level signal from the output of the channel transmitter 30, it is possible to use both the output from the slave and the information from the computer

Таким образом, запись высоких уровней в регистры 33 эквивалентна сигналу начальной установки группы канальных передатчиков 30. Затем ЭВМ программными циклами ВВОД осуществл ет анализ информации на линии сигнала готовности от ВУ (фиг.2а). Обнаружив изменение уровн  на данной линии, ЭВМ осуществл ет заполнение информацией первой ступени триггеров 32 в циклах ВЫВОД. Затем производитс  перезапись информации в регистр 3 и выдача ее на магистраль 34 (фиг.26 После этого производитс  запись стро бирующей информации в соответствующий триггер 32 и перезапись его зна- чени  в разр д регистра 33 и далее на соответствующий выход магистрали 34 (фиг.2в). Далее ЭВМ осуществл ет программньй анализ сигнала ответа ВУ (фиг.2г). Обнаружив данный сигнал, ЭВМ осуществл ет сн тие стробирующе- го сигнала, осуществл   запись соответствующей информации в один из триггеров 32. Далее лроцесс может быть продолжен за счет логики программы ЭВМ, использующей циклы ВВОД и ВЫВОД по соответствующим адресам триггеров 32.Thus, the recording of high levels in registers 33 is equivalent to the initial setup signal of a group of channel transmitters 30. Then, the software program enters the computer to analyze information on the ready signal line from the slave unit (Fig. 2a). Having detected a change in the level on this line, the computer performs the filling of information with the first stage of the triggers 32 in the OUTPUT cycles. Then, information is rewritten into register 3 and issued to trunk 34 (FIG. 26. After this, the recording information is written to the corresponding trigger 32 and its value is overwritten in register bit 33 and then to the corresponding output of highway 34 (FIG. Next, the computer performs a software analysis of the response signal of the control unit (Fig. 2d). Upon detecting this signal, the computer removes the strobe signal by recording the corresponding information in one of the triggers 32. Then the process can be continued due to the program logic we have a computer that uses the cycles of the input and output of the respective flip-flops 32 addresses.

Устройство в цикле ЭВМ ВЫВОД работает следующим образом.The device in the computer cycle OUTPUT works as follows.

Адресна  часть цикла. В соответствии с временной последовательностью сигналов интерфейса ЭВМ в начале цикла формирует на цеп х адресной магистрали 35 адрес  чейки, в которую предполагаетс  запись информации.Address part of the cycle. In accordance with the time sequence of signals of the computer interface at the beginning of the cycle, it forms on the chains of the address highway 35 a cell address into which information is supposed to be recorded.

00

5five

5 five

00

5five

00

5five

00

5five

Старшие разр ды адреса через первую группу канальных приемников 7 подаютс  на первую группу входов элемен- та 14 сравнени . Канальные приемники 7 могут быть реализованы на базе серийно выпускаемых ИМС серии КР 559. На вторую группу входов элемента 14 сравнени  подают код группового адреса 41 устройства. При совпадении кода группового адреса с сигналами старших разр дов адреса интерфейса на выходе элемента 14 сравнени  формируетс  сигнал логической единицы, поступающий на D-вход D-триггера 18. . После выдачи адреса ЭВМ формирует сигнал СИА, поступающий через канальный приемник 6 на вход записи (С-вход) триггера 18 и устанавливающий его в единичное состо ние. При этом триггер 18 сигналом с нулевого выхода осуществл ет запоминание в регистре 15 младших разр дов адреса, поступакщих на информационные входы регистра через группу канальных приемников В.. Сигналы с выхода регистра 15 раздел ютс  на две группы. Перва  группа (старша ), представл юща  код адреса канала, поступает на дешифратор 16 номера канала, который на одном из своих выходов формирует сигнал логической единицы, поступакнций на информационный вход одного из . группы ШФ 20. Так как в данный момент на разрешающий вход группы ШФ 20 поступает разрешающий потенциал с единичного выхода триггера 18, то сигнал выбора номера канала поступает на вход выбранного блока 3. В качестве ИФ могут быть использованы элемен-. ты 585 АП16. Таким образом, на первый стробирующий вход дешифратора 28 и первый вход элемента И-НЕ 31 выбранного блока 3 подаетс  разрешающий потенциал. Аналогично втора  группа (младша ) сигналов с выхода регистра 15 адреса, представл юща  код адреса одной из линий магистрали ВУ 34 в блоке 3, поступает на входы группы ШФ 19 и при разрешающего потенциала с единичного выхода триггера 18 проходит на группу информационных входов канального приемника 27 каждого из блоков 3. Сигналы кода адреса с группы информационных выходов канального приемника 27 поступают на адресные (управл ющие) входы коммутатора 29, который пропускает на свой выход сигнал с выбранной линии в магистради ВУ 34, а также поступают на группу информационных входов дешифратора 28, осуществл   подготовку к формированию одного из сигналов, по- ступающих на вход записи соответствующего триггера 32 блока 3.The higher address bits through the first group of channel receivers 7 are fed to the first group of inputs of the reference element 14. Channel receivers 7 can be implemented on the basis of commercially available IC series KP 559. To the second group of inputs of the comparison element 14 serves the code of the group address 41 of the device. When the group address code coincides with the high-order bits of the interface address, a logical unit signal is generated at the output of the comparison element 14 and is fed to the D input of the D flip-flop 18.. After issuing the address, the computer generates an SIA signal, which is fed through the channel receiver 6 to the record input (C input) of the trigger 18 and sets it to one state. In this case, the trigger 18 by the signal from the zero output stores in the register 15 lower bits of the address, which arrive at the information inputs of the register through the channel receivers B group. Signals from the output of the register 15 are divided into two groups. The first group (senior), representing the channel address code, arrives at the channel number decoder 16, which at one of its outputs generates a signal of the logical unit, the inputs to the information input of one of. of the ShF 20 group. Since at the moment the resolving potential of the single output of the trigger 18 arrives at the enabling input of the ShF 20 group, the signal for selecting the channel number is fed to the input of the selected block 3. The elemental element can be used as an IF. You are 585 AP16. Thus, the first potential input is supplied to the first gate input of the decoder 28 and the first input of the NAND element 31 of the selected unit 3. Similarly, the second group (younger) signals from the output of the address register 15, representing the address code of one of the main lines of the WU 34 in block 3, goes to the inputs of the ShF 19 group and, when allowing the potential output from the trigger 18, goes to the group of information inputs of the channel receiver 27 each of the blocks 3. The address code signals from the group of information outputs of the channel receiver 27 are sent to the address (control) inputs of the switch 29, which passes a signal from the selected line to VU 34 on its output, and also receives on the group of information inputs of the decoder 28, carried out the preparation for the formation of one of the signals arriving at the recording input of the corresponding trigger 32 of block 3.

Информационна  часть цикла ВЫВОД инфорации. После выдачи сигнала СИЛ ЭВМ осуществл ет сн тие адреса и формирование информационного сигнала (логический ноль или единица), поступающего на вход-выход устройства 42 и далее через канальный приемник 22 на второй вход элемента И-НЕ 23, на первом входе которого в данный момент присутствует разрешающий сигнал, так как на выходе элемента И-НЕ 11 формируетс  сигнал высокого уровн . Информационный сигнал с выхода эле- мента И-НЕ 23 поступает на внутреннюю информационную шину-37 устройства и далее через вход-выход каждого блока 3 на D-входы группы триггеровInformational part of the cycle CONCLUSION information. After issuing a signal, the SIL of the computer removes the address and generates an information signal (logical zero or one) entering the input-output of the device 42 and then through the channel receiver 22 to the second input of the element IS-NOT 23, at the first input of which a resolution signal is present, since a high level signal is generated at the output of the NAND 11 element. The information signal from the output of the NAND 23 element goes to the internal information bus-37 of the device and then through the input-output of each block 3 to the D-inputs of the trigger group

32, Затем ЭВМ формирует на интерфейсе 25 который анализируетс  ЭВМ и восприни32, Then the computer forms on the interface 25 which is analyzed by the computer and perceive

сигнал Вывод , которьй через канальный приемник 4 поступает на первый вход элемента И-НЕ 10 и информационный вход второго ШФ 13. При этом на выходе элемента И-НЕ 10 устанавлива- етс  сигнал логического нул , на выходе второго ШФ 13 - сигнал активного уровн , а на выходе первого ШФ 12 и на выходе элемента И-НЕ 11 - сигналы пассивного и активного уровн  соответственно (за счет сигнала логического нул  на вторых входах).Signal Output, which through the channel receiver 4 is fed to the first input of the element AND-NOT 10 and the information input of the second SchF 13. At the output of the element AND-NOT 10 a logic zero signal is set, at the output of the second SchF 13 - an active level signal, and at the output of the first ShF 12 and at the output of the AND-NE 11 element - signals of the passive and active level, respectively (due to the signal of the logical zero at the second inputs).

Активный сигнал записи с выхода ШФ 13 поступает на внутреннюю управл ющую шину устройства 39 (шина записи) и через второй информационный вход канального приемника 27 поступает на второй стробирующий вход дешифратора 28 каждого блока 3, обеспечива  формирование на одном из выходов дешифратора 28 в выбранном блоке 3 сигнала активного уровн , поступающего на вход записи соответствующего триггера 32. При этом информаци  с внутренней информационной шины 37 записываетс  в триггер 32, адресуемый ЭВМ. Сигнал с выхода триггер.а 32 поступает на вход соответствующего разр да регистра 33. При записи информации в один из триггеров 32 (на фиг.1 нижний триггер 32 первого блока) осуществл етс  перезапись информации из групп триггеров 32 всехThe active recording signal from the output of the PF 13 enters the internal control bus of the device 39 (recording bus) and through the second information input of the channel receiver 27 enters the second gate input of the decoder 28 of each block 3, ensuring that the decoder 28 is formed at one of the outputs 3 the active level signal input to the recording of the corresponding trigger 32. In this case, information from the internal information bus 37 is recorded in the trigger 32 addressed by the computer. The signal from the trigger output 32a is fed to the input of the corresponding register bit 33. When writing information to one of the triggers 32 (in FIG. 1, the lower trigger 32 of the first block), information from the trigger groups 32 of all

блоков 3 в соответствующие регистры 33 блоков 3.blocks 3 in the corresponding registers 33 blocks 3.

С выходов регистра 33 информаци  поступает через группы канальных передатчиков 30 на линии магистрали внешнего устройства 34. В качестве канальных- передатчиков 30 могут быть использованы элементы с открытым коллектором , например 559 ИП1.From the outputs of the register 33, the information enters through groups of channel transmitters 30 on the trunk lines of the external device 34. As channel transmitters 30, elements with an open collector can be used, for example, IP1 559.

Завершающа  часть цикла. Сигналы высокого уровн  на входах элемента И-НЕ 10 формируют на его выходе сигнал низкого уровн , который, поступа  на второй вход элемента И-НЕ 17, формирует на его выходе сигнал высокого уровн . С выхода элемента И-НЕ 17 сигнал высокого уровн  поступает на первый вход элемента И-НЕ 21 и через элемент 9 задержки на его второй вход. В результате на выходе элемента И-НЕ 21 через врем  t, определ емое элементом задержки, формируетс  сигнал низкого уровн  (СИП),The final part of the cycle. The high level signals at the inputs of the NAND 10 element form a low level signal at its output, which, acting on the second input of the NAND element 17, forms a high level signal at its output. From the output of the element AND-NOT 17, the high level signal arrives at the first input of the element AND-NOT 21 and through the delay element 9 to its second input. As a result, the output element AND-NOT 21 after a time t determined by the delay element, a low-level signal (CIP) is generated,

5five

00

g g

5five

00

маетс  как результат окончани  операции Вывод. Длительность задержки выбираетс  большей или равной сумме времени распространени  сигнала от выхода ШФ 13 до записывающего входа триггеров 32 и времени, требуемого дл  записи информации в триггер 32. При получении сигнала СИП (низкий уровень - активный) от устройства ЭВМ снимает сигнал Вывод на входе канального приемника 4. В результате на выходе второго ШФ 13 и внутренней шине 39 устанавливаетс  пассивный уровень сигнала, что в итоге приводит к сн тию сигналов записи на входах триггеров 32 и регистра 33. На втором входе элемента И-НЕ 17 по в- л е;тс  сигнал высокого уровн , а на его выходе - сигнал низкого уровн , устанавливающий на выходе элемента И-НЕ 21 сигнал высокого уровн ,  вл ющийс  дл  ЭВМ пассивным. При получении пассивного уровн  по цепи СИП ЭВМ снимает сигнал СИА.is raised as a result of the termination of the operation Output. The delay duration is chosen greater than or equal to the sum of the propagation time of the signal from the output of the SchF 13 to the recording input of the trigger 32 and the time required to record information in the trigger 32. When receiving an SIP signal (low level - active) from a computer device, it removes the signal Output to the channel receiver 4. As a result, a passive signal level is established at the output of the second PF 13 and the internal bus 39, which ultimately leads to the removal of the recording signals at the inputs of the flip-flops 32 and the register 33. At the second input of the AND-17 element along the way; a high level signal as its output - the low-level signal, setting the output element to AND-21 high-level signal is yuschiys computer for passive. Upon receipt of a passive level through the CIP computer circuit, it removes the signal from the AIA.

Работа устройства в цикле ЭВМ ВВОД. Адресна  часть цикла Ввод аналогична рассмотренной в цикле Вывод. Информационна  часть цикла начинает- с  с момента сн ти  ЭВМ адреса на магистрали и формировани  сигнала Ввод, который поступает через канальный приемник 5 на первый вход элемента И-НЕ 11 и информационный вход ШФ 12. Уровень сигнала на данных входах в этот момент высокий, что приводит к по влению активного сигнала на внутренней управл ющей шине 38. Данный сигнал через первьш информационный вход канального приемника 27 высоким активным уровнем поступает на второй вход элемента И-НЕ 31. На первом входе элемента И-НЕ 31 в выбранном блоке 3 (сигнал с соответствующего выхода группы ШФ 20) также присутствует сигнал логической единицы. На третьем входе элемента И-НЕ 31 присутствует информационный сигнал, поступающий из магист- рали внешнего устройства 34 через коммутатор 29. Номер (адрес) сигнала поступает через группу информационных входов канального приемника 27 на управл ющий вход коммутатора 29. Ком- мутатор может быть реализован на базе серийно выпускаемых ИМС серии К133 например К133 КПЗ, КП7. Таким образом , только в выбранном блоке 3 на первом и втором входах элемента И-НЕ 31 формируютс  услови  (логические единицы), при которых его выходной сигнал определ етс  информационным сигналом на третьем входе. На выходах элементов И-НЕ 31 оставшихс  М-1 блоков 3 формируетс  сигнал высокого уровн . При реализации элементов И-НЕ 31 на элементах, допускающих объединение выходов по схеме МОНТАЖНОГО ИЛИ (например, К133 ЛА7), сигнал на внутренней информационной шине 37 определ етс  выбранным информационным сигналом с магистрали 34 внешнего устройства. Сигнал с внутренней информационной шины 37 устройства пос- тупает через элемент НЕ 24 на первый вход элемента И-НЕ 26. Элемент НЕ 24 компенсирует инверсию информационного сигнала на элементе И-НЕ 31. На вто-ром входе элемента И-НЕ 26 в данный The operation of the device in the computer cycle ENTER. The address part of the Input cycle is similar to that considered in the Output cycle. The information part of the cycle starts from the moment when the computer removes the address on the trunk and forms the Input signal, which is fed through the channel receiver 5 to the first input of the AND-NOT element 11 and the ShF 12 information input. The signal level at these inputs is high at that moment leads to the appearance of an active signal on the internal control bus 38. This signal, through the first information input of the channel receiver 27, reaches a high active level at the second input of the AND-31 element. At the first input of the AND-31 element in the selected block 3 (signal ShF corresponding output group 20) also present a logic one signal. At the third input of the NAND 31 element there is an information signal coming from the trunk of the external device 34 through the switch 29. The signal number (address) goes through the group of information inputs of the channel receiver 27 to the control input of the switch 29. The switch can be implemented based on commercially available IC series K133 for example K133 KPZ, KP7. Thus, only in the selected block 3, at the first and second inputs of the NAND element 31, conditions (logical units) are formed, at which its output signal is determined by the information signal at the third input. At the outputs of the AND-31 elements of the remaining M-1 blocks 3, a high level signal is generated. When implementing NE elements 31 on elements that allow the outputs to be combined according to the INSTALLATION OR scheme (for example, K133 LA7), the signal on the internal information bus 37 is determined by the selected information signal from the external device highway 34. The signal from the internal information bus 37 of the device enters through the element NOT 24 at the first input of the element AND-NOT 26. The element NOT 24 compensates for the inversion of the information signal at the element AND-NOT 31. At the second input of the element AND-NOT 26 into this

момент времени присутствует разрешающий сигнал, так как на выходе элемента И-НЕ 11 формируетс  сигнал низкого уровн , инвертирующийс  элементом НЕ 25 и, кроме того, запрещающий прохождение информации через элемент И-НЕ 23 и обеспечивающий на его выходе высокий уровень. Таким образом, сигнал, подаваемый на ЭВМ с выхода элемента И-НЕ 26, определ етс  информационным сигналом на внутренней ий- формационной шине устройства 37. Одновременно сигнал низкого уровн  с выхода элемента И-НЕ 11 поступает наthe time moment there is a resolving signal, since at the output of the NANDI element 11 a low level signal is formed, the inverting element is NOT 25 and, besides, it prohibits the passage of information through the NAND element 23 and provides a high level at its output. Thus, the signal supplied to the computer from the output of the NAND 26 element is determined by the information signal on the internal information bus of the device 37. At the same time, the low level signal from the output of the NAND 11 element goes to

j 0 5 Q л j 0 5 Q l

,,

эuh

5five

00

первый вход элемента И-НЕ 17. При этом на вьгходе элемента И-НЕ 21 формируетс - сигнал СИП, аналогично рассмотренному циклу ВЫВОД. Длительность задержки в данном случае определ етс  суммой времени распространени  сигнала от выхода первого ШФ 12 до второго входа элемента И-НЕ 31 и времени распространени  сигнала от выхода элемента И-НЕ 31 до выхода элемента И-НЕ 26. Дл  устойчивости работы устройства врем  задержки элемента 22 выбираетс  равным максимальному значению суммы в циклах ВЫВОД или ВВОД. ЭВМ, получив сигнал СИП, осуществл ет прием информации по входу-выходу устройства 42 и затем снимает сигнал Ввод. Далее процесс завершаетс  аналогично рассмотренному , т.е. в ответ на сн тие сигнала Ввод устройство снимает сигнал СИП на выходе элемента И-НЕ 21, затем ЭВМ снимает сигнал СИА..the first input of the NAND element 17. At the same time, on the input of the NAND 21 element, a CIP signal is formed, similarly to the considered OUTPUT cycle. The delay time in this case is determined by the sum of the propagation time of the signal from the output of the first SchF 12 to the second input of the NAND 31 element and the propagation time of the signal from the output of the NAND 31 element to the output of the NAND 26. For the stability of the device, the delay time of the element 22 is chosen equal to the maximum value of the sum in the OUTPUT or INPUT cycles. The computer, having received an SIP signal, receives information on the input-output of device 42 and then removes the Input signal. Further, the process is completed as described, i.e. in response to the removal of the signal, the input device removes the SIP signal at the output of the element IS-NOT 21, then the computer removes the signal SIA.

Claims (2)

1. Устройство дл  сопр жени  ЭВМ с М внешними устройствами, содержащее блок коммутации и М блоков св зи с внешним устройством, каждый из которых содержит дешифратор, регистр, коммутатор, причем первый информационный вход-выход блока коммутации  вл етс  входом-выходом устройства дл  подключени  к информационному входу-выходу ЭВМ, отличающеес  тем, что, с целью расширени  номенклатуры внешних устройств дл  счет увеличени  разр дности информации , передаваемой внешнему устройству , в него введен блок св зи с ЭВМ, а в каждый блок св зи с внешним устройством введены группа канальных передатчиков, канальный приемник , группа триггеров, элемент И-НЕ, причем/первый, второй и третий информационные входы блока св зи с ЭРМ |Явл ютс  входами устройства дл  под- ключени  к выходам ввода/вывода синхронизации ЭВМ соответственно, первый информационный выход блока св зи с ЭВМ  вл етс  выходом устройства дп  подключени  к входу синхронизации ЭВМ, перва , втора  группы информационных входов блока св зи с ЭВМ образуют группы входов устройства дл  подключени  соответственно к группам старших и младших разр дов адресного1. A device for interfacing a computer with M external devices, comprising a switching unit and M communication units with an external device, each of which contains a decoder, a register, a switch, the first information input / output of the switching unit being the input-output device for connecting to an information input-output of a computer, characterized in that, in order to expand the range of external devices to increase the information width transmitted to an external device, a communication unit with a computer is inserted into it, and in each communication unit with external the device introduces a group of channel transmitters, a channel receiver, a group of triggers, an AND-NOT element, with the first, second and third information inputs of the communication unit with ERM | These are the device inputs for connecting to the computer clock input / output outputs, respectively The first information output of the computer communication unit is the output of the device connected to the synchronization input of the computer, the first, second groups of information inputs of the computer communication unit form the device input groups for connecting respectively to the groups Tarsch and low bits of the address 913913 выхода ЭВМ, группа информационных входов коммутатора и информационные выходы канальных передатчиков i-ro (i 1,М) блока св зи с внешним устройством образуют группы входов-выходов устройства дл  подключени  к группе информационных входов-выходов i-ro внешнего устройства, при этом второй информационный выход бло ка св зи с ЭВМ соединен с управл ющим входом блока коммутации, второй информационный вход-выход которого соединен с выходом элемента И-НЕ и информационными входами триггеров группы 1-го блока св зи с внешним устройством, группа информационных выходов блока св зи с ЭВМ соединена с группой информационных входов канального приемника i-ro блока св - зи с внешним устройством, третий, четвертый информационные выходы блока св зи с ЭВМ соединены соответственно с первым, вторым информационными входами канального приемника i-ro блока св зи с внешним устройст- вом, j-й информационный выход (j 5, М+5) блока св зи с ЭВМ соединен с первым стробирующим входом дешифратора и первым входом элемента И-НЕ блока св эcomputer outputs, a group of information inputs of the switch and information outputs of channel transmitters i-ro (i 1, M) of a communication unit with an external device form groups of device inputs-outputs for connection to a group of information inputs / outputs of an i-ro external device, while the second the information output of the computer communication unit is connected to the control input of the switching unit, the second information input / output of which is connected to the output of the NAND element and the information inputs of the triggers of the group of the 1st communication unit with an external device, info group of the communication outputs of a computer communication unit connected to a group of information inputs of a channel receiver i-ro communication unit with an external device, the third, fourth information outputs of a communication unit with a computer are connected respectively to the first, second information inputs of a channel receiver i-ro block of a communication unit The j with the external device, the j-th information output (j 5, M + 5) of the communication unit with the computer is connected to the first gate input of the decoder and the first input of the element of the IS-NOT unit i-ro (i 1, И) блока св э с внешни устройством, при этом в каждом блоке св зи с внешним устройством первый информационный выход канального приемника соединен с вторым входом элемента И-НЕ, третий вход которого соединен с выходом коммутатора, группа управл ющих входов которого соединена с группой информационных входов дешифратора и с группой информационных выходов канального приемника, второй информационный выход которого соединен с вторым стробирующим входом дешифратора, выходы которого соединены с синхровходами триггеров группы, выходы которых соединены с информационными входами регистра, информационные выходы которого соединены с входами канальных передатчиков группы, причем выход старшего разр д дешифратора первого блока св зи с внешним устройством соединен с входом записи своего регистра и с входами записи регистров i-ro блока св зи с внешним устройством (i 2,М), причем блок св зи с ЭВМ содержит элемент сравнени , регистр адреса, дешифратор , две группы шинных формирователей , два шинных формировател . i-ro (i 1, I) of the unit connected to an external device, in each communication unit with an external device the first information output of the channel receiver is connected to the second input of the NAND element, the third input of which is connected to the output of the switch, the control group which inputs are connected to the group of information inputs of the decoder and to the group of information outputs of the channel receiver, the second information output of which is connected to the second gate input of the decoder, the outputs of which are connected to the synchronous inputs of the group triggers, The ports of which are connected to the information inputs of the register, the information outputs of which are connected to the inputs of the channel transmitters of the group, the output of the senior bit of the decoder of the first communication unit with the external device connected to the recording input of its register and the recording inputs of the i-ro communication unit with an external device (i 2, M), and the computer communication unit contains a comparison element, an address register, a decoder, two groups of bus drivers, two bus drivers. 10ten 5 0 5 о 5 0 5 o 5five 00 с with 00 5five триггер, две группы канальных приемников , три канальных приемника, четы- ре элемента И-НЕ, элемент задержки, причем информационные входы первого, второго, третьего канальных приемников  вл ютс  соответственно первым, вторым, третьим информационными входами блока св зи с ЭВМ, информационные входы канальных приемников первой , второй групп образуют соответственно первую, вторую группу информационных входов блока св зи с ЭВМ, выход первого элемента -И-НЕ  вл етс  первым информационным выходом блока св зи с ЭВМ, выход второго элемента И-НЕ соединен с первым входом третьего элемента И-НЕ и  вл етс  вторым информационным выходом блока св зи с ЭВМ, выходы первого, второго шинных формирователей  вл ютс  соответственно третьим, четвертым информационными выходами блока св зи с ЭВМ, выход j-ro шинного формировател  первой группы  вл етс  j-м (j 5, М+5) информационным выходом блока св зи с ,ЭВМ, при этом в блоке св зи с ЭВМ выход первого канального приемника соединен с информационным входом второго шинного формировател  и с первым входом четвертого элемента И-НЕ, выход которого соединен с вторым входом третьего элемента И-НЕ, выход которого соединен с первым входом первого элемента И-НЕ и с входом элемента задержки, выход которого соединен с вторым входом первого элемента И-НЕ, выход второго канального приемника соединен с информационным входом первого шинного формировател  и с первым входом второго элемента И-НЕ, второй вход которого соединен с вторым входом четвертого элемента И-НЕ, с разрешающими входами первого, второго шинных формирователей, с разрешающими входами щинных формирователей первой , второй- групп и с единичным выходом триггера, синхровход которого соединен с информационным выходом . третьего канального приемника, выходы канальных приемников первой групг пы соединены с первой группой входов элемента сравнени , выход которого соединен с информационным входом триггера, нулевой выход которого сое-; динен с входом записи регистра адреса , группа младших разр дов информационного выхода которого соединена с информационньми входами шинных trigger, two groups of channel receivers, three channel receivers, four NAND elements, a delay element, the information inputs of the first, second, and third channel receivers being the first, second, and third information inputs of the computer communication unit, information inputs channel receivers of the first, second groups form, respectively, the first, second group of information inputs of a communication unit with a computer, the output of the first element -I-NOT is the first information output of a communication unit with a computer, the output of the second element AND- NOT connected to the first input of the third element AND-NOT and is the second information output of the communication unit with the computer, the outputs of the first, second bus drivers are respectively the third, fourth information outputs of the communication unit with the computer, the output of the j-ro driver of the first group is the j-th (j 5, M + 5) information output of the communication unit with a computer, while in the communication unit with a computer the output of the first channel receiver is connected to the information input of the second bus driver and the first input of the fourth AND-NOT element whose output with Connected to the second input of the third NAND element, the output of which is connected to the first input of the first NAND element and to the input of the delay element, the output of which is connected to the second input of the first NAND element, the output of the second channel receiver is connected to the information input of the first bus driver and with the first input of the second NAND element, the second input of which is connected to the second input of the fourth NAND element, with the enabling inputs of the first, second bus drivers, with the enabling inputs of the first, second, second shaper drivers SCP and with a single trigger output whose clock terminal is connected to data output. the third channel receiver, the outputs of the channel receivers of the first group are connected to the first group of inputs of the comparison element, the output of which is connected to the information input of the trigger, the zero output of which is co-; It is connected to the input of the record of the address register, the group of the lower bits of the information output of which is connected to the information inputs of the bus мирователей второй группы, информационные входы шинных формирователей первой группы соединены с группой выходов дешифратора, группа входов которого соединена с группой старших разр дов информационного выхода регистра адреса, группа информационных входов которого соединена с выходами канальных приемников второй группы, втора  группа входов элемента сравнени  образует группу адресных входов устройства.worlds of the second group, the information inputs of the bus drivers of the first group are connected to the output group of the decoder, the input group of which is connected to the group of senior bits of the information output of the address register, the group of information inputs of which is connected to the outputs of the channel receivers of the second group, the second group of inputs of the comparison element forms the address group device inputs. 2. Устройство ПОП.1, отличающеес  тем, что блок коммутации содержит канальный приемник, два элемента И-НЕ, два элемента НЕ, причем2. The device POP.1, characterized in that the switching unit contains a channel receiver, two AND-NOT elements, two NOT elements, and иand 1212 выход первого элемента И-НЕ и вход канального приемника образуют первый информационный вход-выход блока коммутаций , выход второго элемента И-НЕ и вход первого элемента НЕ образуют второй информационный вход-выход блока коммутации, первый вход второго элемента И-НЕ соединен с входом второго элемента НЕ и  вл етс  управл ющим входом блока коммутации, при этом в блоке коммутации выход канального приемника соединен с вторым входом второго элемента И-НЕ, выход первого элемента НЕ соединен с первым входом первого элемента И-НЕ, второй вход которого соединен с выходом второго элемента НЕ.the output of the first NAND element and the input of the channel receiver form the first information input / output of the switching unit; the output of the second NAND element and the input of the first element do NOT form the second information input / output of the switching unit; the first input of the second AND element is NOT connected to the input of the second element is NOT and is the control input of the switching unit, while in the switching unit the output of the channel receiver is connected to the second input of the second NAND element, the output of the first element is NOT connected to the first input of the first NAND element, the second input which is connected to the output of the second element is NOT.
SU864085655A 1986-07-07 1986-07-07 Device for interfacing computer with m external devices SU1374232A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU864085655A SU1374232A1 (en) 1986-07-07 1986-07-07 Device for interfacing computer with m external devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU864085655A SU1374232A1 (en) 1986-07-07 1986-07-07 Device for interfacing computer with m external devices

Publications (1)

Publication Number Publication Date
SU1374232A1 true SU1374232A1 (en) 1988-02-15

Family

ID=21244466

Family Applications (1)

Application Number Title Priority Date Filing Date
SU864085655A SU1374232A1 (en) 1986-07-07 1986-07-07 Device for interfacing computer with m external devices

Country Status (1)

Country Link
SU (1) SU1374232A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР № 636603, кл. G 06 F 13/26,1978. Авторское свидетельство СССР 1091151, кл. G 06 F 13/10, 1984. *

Similar Documents

Publication Publication Date Title
SU1374232A1 (en) Device for interfacing computer with m external devices
SU1564628A1 (en) Device for simulation of computer failures and malfunctions
SU1290336A1 (en) Device for entering information in memory of microcomputer with common bus
SU1104498A1 (en) Interface
SU1667089A1 (en) Device for computers interfacing
SU1751738A1 (en) Device for controlling image input
SU1550523A1 (en) Device for interfacing two trunks
SU907569A1 (en) Serial code receiver
SU1596341A1 (en) Computer to computer interface
SU1149272A1 (en) Processor-to-storage interface
SU1481779A1 (en) Processor/memory interface
SU955008A1 (en) Data input-output device
SU966699A1 (en) Integrated circuit testing device
SU1660014A1 (en) Information system
SU1314330A1 (en) Device for preprocessing information
SU1117626A1 (en) Channel-to-channel interface
SU1012235A1 (en) Data exchange device
SU1594555A2 (en) Interface between two computers
SU1198505A2 (en) Device for preprocessing information
SU1642472A1 (en) Device for checking the sequence of operatorъs actions
SU1638793A1 (en) Multichannel programmable pulse generator
SU1508222A1 (en) Device for interfacing two computers
SU1644148A1 (en) Buffer memory
SU1605241A1 (en) Computer to computer interface
SU1399768A1 (en) Information retrieval device