SU1068926A1 - Device for mating subscribers with computer - Google Patents

Device for mating subscribers with computer Download PDF

Info

Publication number
SU1068926A1
SU1068926A1 SU823414284A SU3414284A SU1068926A1 SU 1068926 A1 SU1068926 A1 SU 1068926A1 SU 823414284 A SU823414284 A SU 823414284A SU 3414284 A SU3414284 A SU 3414284A SU 1068926 A1 SU1068926 A1 SU 1068926A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
computer
communication unit
trigger
Prior art date
Application number
SU823414284A
Other languages
Russian (ru)
Inventor
Борис Владимирович Шевкопляс
Original Assignee
Предприятие П/Я Р-6429
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 Предприятие П/Я Р-6429 filed Critical Предприятие П/Я Р-6429
Priority to SU823414284A priority Critical patent/SU1068926A1/en
Application granted granted Critical
Publication of SU1068926A1 publication Critical patent/SU1068926A1/en

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

УСТРОЙСТВО ДЛЯ СОПРЯЖЕНИЯ АБОНЕНТОВ С ЭЛЕКТРОННОЙ ВЫЧИСЛИТЕЛЬНОЙ МАШИНОЙ (ЭВМ), содержащее блок св зи с ЭВМ и первый блок св зи с абонентом, причем линейный выход; блока св зи с ЭВМ соединен через линию св зи с первым линейным входом первого блока св зи с абонентом, первый линейный выход которого через линию св зи соединен: с линейным входом блока св зи с ЭВМ, ко- j торый содержит первый и второй триггеры,; первый элемент задержки и первый элемент НЕ, выход которого через нагрузочный резистор соединен с положительной шиной источника питани  блока св зи с ЭВМ, выход первого триггера соединен с первым входом первого элемента И, выход которого соединен с входом установки второго триггера, выход которо/о  вл етс  выходом сигнала прерывани  устройства и соединен через первый элемент задержки с входом первого элемента НЕ, входы установки и сброса первого триггера, второй вход первого элемента И и вход сброса второго триггера  вл ютс  соответственйо входами установки, запрета прерывани , опроса наличи  прерывани , квитировани  блока св зи с ЭВМ устройст-, ва, отличающеес  7ем, что, с целью увеличени  гибкости работы устройства, в него введены п-1 блоков св зи с абонентами, причем первые линейные вход и выход каждого i-ro блока св зи с абонентом соединены соответственно через линию св зи с вторыми линейными выходом и входом (i-1)-го .блока св зи с абонентом, а вторые линейные выход и вход i-ro блока св зи с абонентом соединены соответственно через линию св -{ зи с первыми линейными входом и выходом (i + 1)-го блока св зи с абонентом, npri. этом блок св зи с ЭВМ дополнительно содержит генератор тока, первые передающий и приемные оптроны, второй элемент НЕ, первый и второй входы первого передающего оп трона соединены соответственно с выходом первого элемента НЕ и отрицательной ши-; ной источника питани  блока св зи с ЭВМ,1 первый и второй выходы первого передающего оптрона подключены соответственно,к выходу генератора тока и к линейному выходу блока св зи с ЭВМ, а вход генератора тока соединен с положительной шиной линейного источника питани , линейный вход блока св зи с ЭВМ подсоединен к первому входу первого приемного оптрона, второй вход которого соединен с отрицательной шиСП ной линейного источника питани , выход первого приемного оптрона через второй элес: мент НЕ соедине н с третьим входом первого элемента И, i-й блок св зи с абонентом содержит вторые приемный и передающий оптроны, третий и четвертый элементы НЕ, второй элемент задержки, второй элемент И, элемент И-НЕ и третий, четвертый, п тый триггеры, причем синхровход третьего О5 триггера  вл етс  входом запроса св зи с оо со ЭВМ от абонента, вход сброса четвертого триггера  вл етс  входом квитировани  блока св зи с абонентом устройства, единичN ный выход четвертого триггера  вл етс  выGD ходом сигнала разрешени  св зи с ЭВМ устройства , нулевой выход четвертого триггера соединен с входом сброс  п того триггера , синхровход четвертого фиггера соединен с выходом элемента И-НЕ и входом сброса третьего триггера, выход которого соединен с первым входом второго элемента И, второй вход которого соединен с выходом второго приемного оптрона и с входомтретьего элемента НЕ, выход которого соединен с первым входом элемента И-НЕ И: через второй элемент задержки с вторым входом элемента И-НЕ, третий вход котоA DEVICE FOR PAIRING USERS WITH ELECTRONIC COMPUTER MACHINE (COMPUTER), containing a communication unit with a computer and the first communication unit with a subscriber, and a linear output; a computer communication unit is connected via a communication line to a first linear input of a first communication unit with a subscriber, the first linear output of which is connected through a communication line: to a linear input of a communication unit with a computer, which contains the first and second triggers, ; the first delay element and the first element NOT, the output of which through the load resistor is connected to the positive bus of the power supply unit of the communication unit with the computer, the output of the first trigger is connected to the first input of the first element And, the output of which is connected to the input of the installation of the second trigger The output of the interrupt signal of the device and connected through the first delay element to the input of the first element is NOT, the inputs of setting and resetting the first trigger, the second input of the first element AND and the reset input of the second trigger are co installation, prohibiting interruptions, interrogating the presence of interruptions, acknowledging a communication unit with a computer device, which is different, that, in order to increase the flexibility of the device operation, n-1 communication units with subscribers are inserted into it, and the first linear inputs and the output of each i-ro communication unit with the subscriber is connected respectively via a communication line to the second line output and the input of the (i-1) -th communication unit to the subscriber, and the second linear output and input of the i-ro communication unit the subscriber is connected, respectively, through the line sv - {zi with the first linear by the input and output of the (i + 1) -th communication unit with the subscriber, npri. By this, the computer communication unit additionally contains a current generator, the first transmitting and receiving optocouplers, the second element NOT, the first and second inputs of the first transmitting optron are connected respectively to the output of the first element NO and the negative bus; power supply unit of the communication unit with a computer, 1 the first and second outputs of the first transmitting optocoupler are connected respectively to the output of the current generator and to the linear output of the communication unit with a computer, and the input of the current generator is connected to the positive bus of the linear power source; A computer is connected to the first input of the first receiving optocoupler, the second input of which is connected to the negative linear input power source, the output of the first receiving optocoupler through the second power supply: is NOT connected to the third input of the first element enta And, the i-th communication unit with the subscriber contains the second receiving and transmitting optocouplers, the third and fourth elements are NOT, the second delay element, the second element AND, the element AND-NOT and the third, fourth, fifth triggers, and the synchronous input of the third O5 trigger is the input of the request for communication from the computer with the computer from the subscriber, the reset input of the fourth trigger is the input of the acknowledgment of the communication unit with the subscriber of the device, the unit output of the fourth trigger is the output signal of the communication enable signal from the computer of the device, zero output of the fourth trigger connection with the reset input of the fifth trigger, the sync input of the fourth figger is connected to the output of the NAND element and the reset input of the third trigger, the output of which is connected to the first input of the second element AND, the second input of which is connected to the output of the second receiving optocoupler and connected to the first input of the element AND NONE AND: through the second delay element with the second input of the element NONE, the third input is

Description

poro соединен с выходом п того триггера и с входом четвертого элемента НЕ, выход которого соединен с первым входом-второго передающего оптрона, второй вход которого через второй нагрузочный резистор подсоединен к положительной шине источника питани  блока св зи с абонентом, выход второго элемента И соединен с синхровходом п того триггера, первый выход второго передающего оптрона соединен с первым линейным входом и вторым линейным выходомблока св зи с абонентом, второй выхбд второго передающего оптрона соединен с вторым линейным входом блока св зи с абонентом и с первым входом второго приемного оптрона, второй вход которого соединен с первым линейным выходом блока св зи с .абонентом.poro is connected to the output of the fifth trigger and to the input of the fourth element HE, the output of which is connected to the first input of the second transmitting optocoupler, the second input of which through the second load resistor is connected to the positive bus power source of the communication unit with the subscriber, the output of the second element I is connected to by the synchronous input of the fifth trigger, the first output of the second transmitting optocoupler is connected to the first linear input and the second linear output of the communication unit with the subscriber, the second output of the second transmitting optocoupler is connected to the second linear input House communication with the subscriber unit and the first input receiving the second photocoupler, a second input coupled to an output of the first linear connection with .abonentom.

Изобретение относитс  к цифровой вычислительной технике и может, быть использовано дл  сопр жени  удаленных периферийных устройств с электронной вычислительной машиной (ЭВМ) с использованием двухпроводной линии св зи как дл  передачи в ЭВМ запросов на прерывание, так и дл  приоритетного выбора одного из конкурИруюш ,их устройств.The invention relates to digital computing and can be used to interface remote peripheral devices with an electronic computer (computer) using a two-wire communication line both for transmitting interrupt requests to a computer and for selecting one of their competitors in priority. .

Известно устройство дл  подключени  абонентов к ЭВМ, содержащее блок сопр жени  с ЭВМ и группу абонентских блоков, объединенные трехпроводной линией св зи 11.A device for connecting subscribers to a computer is known, comprising a computer interface unit and a group of subscriber units combined by a three-wire communication line 11.

Недостатком устройства  вл етс  большое врем  реакции на прерывание так как при отсутствии конкурентов периферийное устройство должно ждать обслуживани  в течение целого периода следовани  команд запроса на прерывание. Увеличение частоты следовани  команд запроса на прерывание снижает производительность ЭВМ, так как в(;е больша  часть jvIaшиннoгo времени расходуетс  на выполнение команд сканировани .The drawback of the device is a large response time to an interrupt, since in the absence of competitors the peripheral device must wait for service for the whole period following the commands of the interrupt request. An increase in the frequency of the following interrupt request commands reduces the performance of the computer, since (; e most of the jvI-wide time is spent on executing scan commands.

Наиболее близким к изобретению по технической сущности  вл етс  устройство дл  сопр жени  абонентов с ЭВМ, содержащее блоки св зи с абонентом и с ЭВМ, св занные между собой двухпроводной линией св зи , блок св зи с ЭВМ содержит два триггера , элемент И, элемент задержки и первый инвертор с внешним нагрузочным резистором , выход первого триггера соединен с первым входом элемента И, выход которого соединен с входом установки второго триггера, выход которого  вл етс  выходом прерывани  блока св зи с ЭВМ и соединен через элемент задержки с входом первого инвертора , входы установки и сброса первого триг гера, второй вход элемента И и вход сброса второго триггера  вл ютс  управл ющими входами блока св зи с ЭВМ. При запросе на обслуживание внешнее устройство посылает в ЭВМ потенциальный сигнал запроса на прерывание и получает ответ «т ЭВМ по .той же лини в виде потенциального сигналаThe closest to the invention to the technical essence is a device for interfacing subscribers with a computer, containing communication units with a subscriber and a computer, interconnected by a two-wire communication line, the communication unit with a computer contains two triggers, the And element, the delay element and the first inverter with an external load resistor, the output of the first trigger is connected to the first input of the element I, the output of which is connected to the input of the installation of the second trigger, the output of which is the output of the interruption of the communication unit with the computer and connected through the delay element move the first inverter and the reset inputs of the first trig ger, the second input of AND gate and the reset input of the second flip-flop are input by the control unit communicating with a computer. When requesting a service, the external device sends a potential interrupt request signal to the computer and receives a response "t computer via the same line as a potential signal

Двухсторонний обмен этими сигналами производитс  по асинхронному принципу 2. Недостатком известного устройства  вл  .етс  невозможность подключени  к двухпроводной линии св зи дополнительных внешних устройств -абонентов.The two-way exchange of these signals is carried out according to the asynchronous principle 2. A disadvantage of the known device is the impossibility of connecting to the two-wire communication line additional external devices of the subscriber.

Целью изобретени   вл етс  увеличение гибкости устройства.The aim of the invention is to increase the flexibility of the device.

, Эта цель достигаетс  тем, что в устройство дл  сопр жени  абонентов с ЭВМ, содержащее блок св зи с ЭВМ и первый блок св зи с абонентом, причем линейный выход блока св зи с ЭВМ соединен через линию св зи с первым линейным входом первого блока св зи с абонентом, первый линейныйThis goal is achieved by the fact that a device for interfacing subscribers with a computer containing a communication unit with a computer and a first communication unit with a subscriber, the linear output of the communication unit with a computer being connected via a communication line with the first linear input of the first communication unit first subscriber with subscriber

5 выход которого соединен через линию св зи с линейным входом блока св зи с ЭВМ, который содержит первый и второй триггеры , первый элемент задержки и первый элемент НЕ, выход которого через нагрузочны резистор соединен с положительной шиной5 the output of which is connected through a communication line with a linear input of a communication unit with a computer, which contains the first and second triggers, the first delay element and the first element NOT, the output of which through the load resistor is connected to the positive bus

0 исфочника питани  блока св зи с ЭВМ, выход первого триггера соединен с первым вхот. дом первого э.пемента И, выход которого соединен с входом установки второго триггера , выход которого  вл етс  выходом сигнала прерывани  устройства и соединен через первый элемент задержки с входом первого Элемента НЕ, входы установки и сброса первого триггера, второй вход первого элемента И и вход сброса второго триггера  вл ютс  соответственно входами установки,0 of the source of the power supply of the communication unit with a computer, the output of the first trigger is connected to the first inlet. the house of the first e.pement And, the output of which is connected to the installation input of the second trigger, the output of which is the output of the device interrupt signal and connected via the first delay element to the input of the first Element NOT, the installation inputs and the reset of the first trigger, the second input of the first And element and the input the reset of the second trigger are respectively installation inputs,

0 запрета прерывани , опроса наличи  прерывани , квитировани  блока св зи с ЭВМ, введены п-I блоков св зи с абонентами, причем линейные вход и выход каждого i-ro блока св зи с абонентом соединены соответственно через линию св зи с-вторыми0 prohibition of interruption, interrogation of the presence of an interruption, acknowledgment of a communication unit with a computer, p-I communication units with subscribers are entered, and the line input and output of each i-ro communication unit with the subscriber are connected via a second line respectively

5 линейными выходом и входом (i-1)-го блока св зи с абонентом, а вторые линейные выход и вход 1-го блока св зи с абонентом соединены соответственно через линию св зи с первыми линейными вводом и выходом -{i -f 1)-го блока св зи с абонентом, при5 linear output and input of the (i-1) -th communication unit with the subscriber, and the second linear output and input of the 1st communication unit with the subscriber are connected via a communication line with the first linear input and output - {i -f 1 ) th communication unit with the subscriber, with

этом блок св зи с ЭВМ дополнительно, содёр-жит генератор тока, первые передающий и приемные оптроны, второй элемент НЕ, перчый и второй входы первого передающегоThis unit of communication with the computer additionally contains a current generator, the first transmitting and receiving optocouplers, the second element NOT, the pepper and the second inputs of the first transmitting

оптроиа соединены соответственно с выходом первого элемента НЕ и отрицательной шиной источника питани  блокч св зи с ЭВМ, первый и второй выходы первого передающего оптрона подключены соответственно к выходу генератора тока и к линейному выходу блока св зи с ЭВМ, а вход генератора тока соединен с положительной шиной линейного источника питани , линейный вход блока св зи с ЭВМ подсоединен к первому входу первого приемного оптрона, второй вход которого соединен с отрицательной Шиной линейного источника питани , выход первого приемного оптрона через второй элемент НЕ соединен с третьим входом первого элемента И, i-й блок св зи с абонентом содержит вторые приемный и передающий оптроны, третий и четвертый элементы НЕ, второй элемент Зс;держки, второй элемент И, элемент И-г-НЕ и третий, четвертый, п тый триггеры, причем синхровход третьего триггера  вл етс  входом запроса св зи с ЭВМ от абонента, вход сброса четвертого триггера  вл етс  входом квитировани  блока св зи с абонентом устройства, единичный выход четвертого триггера  вл етс  выходом сигнала разрешени  св аи с ЭВМ устройства- , нулевой выход четвертого триггера соединен с входом сброса п того триггера , синхровход четвертого триггера соединен с выходом элемента И-НЕ и входом сброса третьего триггера, выход которого соединен с первым входом второго элемента И, второй вход которого соединен с выходом второго приемного оптрона и с входом третьего элемента НЕ, выход которого соединен с первым входом элемента и через второй элемент задержки с вторым входом элемента И-НЕ, третий вход которого соединен с выходом п того триггера и с входом четвертого элемента НЕ, выход которого соединен с первым входом второго передающего оптрона, второй вход которого через второй нагрузочный .резистор подсоединен к положительной шине источника питани  блока св зи с абонентом, выход второго элемента И соединен с синхровходом п того .триггера , первый выход второго передающего опт ррна соединен с первым линейным входом и вторым линейным выходом блока св зи с: абонентом, второй выход второго передаюш ,его оптрона соединен с вторым линейным входом блока св зи с абонентом и с первым входом второго приемного оптрона, второй вход которого соединен с первым линейным выходом блока св зи с абонентом.The optocouplers are connected respectively with the output of the first element and the negative bus of the power source of the communication block with the computer, the first and second outputs of the first transmitting optocoupler are connected respectively to the output of the current generator and to the linear output of the communication unit with the computer, and the input of the current generator is connected to the positive bus the linear power supply, the linear input of the computer communication unit is connected to the first input of the first receiving optocoupler, the second input of which is connected to the negative linear power supply bus, the output of the first About an optocoupler is NOT connected to the third input of the first element I via the second element, the i-th communication unit with the subscriber contains the second receiving and transmitting optocouplers, the third and fourth elements NO, the second element 3c; NOT and third, fourth, fifth triggers, the synchronization of the third trigger is the input of the request for communication with the computer from the subscriber, the reset input of the fourth trigger is the input of the acknowledgment of the communication unit with the subscriber of the device, the single output of the fourth trigger is the output of the enable signal ai with the computer device-, the zero output of the fourth trigger is connected to the reset input of the fifth trigger, the sync input of the fourth trigger is connected to the output of the NAND element and the reset input of the third trigger, the output of which is connected to the first input of the second element And, the second input of which is connected to the output of the second receiving optocoupler and with the input of the third element NOT, the output of which is connected to the first input of the element and through the second delay element to the second input of the element NAND, whose third input is connected to the output of the fifth trigger and to the input quarter HE element, the output of which is connected to the first input of the second transmitting optocoupler, the second input of which through the second load resistor is connected to the positive bus of the power source of the communication unit with the subscriber, the output of the second element I is connected to the synchronous input of the fifth trigger, the first output of the second transmitting Opt prna is connected to the first linear input and the second linear output of the communication unit with: the subscriber, the second output of the second transmission, its optocoupler is connected to the second linear input of the communication unit with the subscriber and to the first input of the second terminal a receiving optocoupler, the second input of which is connected to the first linear output of the communication unit with the subscriber.

На фиг. 1 предсталена блок-схема предлагаемого устройства; на фиг. 2 - функциональна  схема блока св зи с ЭВМ; на фиг. 3 - функциональна  схема блока св А с абонентом.FIG. 1 shows the block diagram of the proposed device; in fig. 2 is a functional diagram of a computer communication unit; in fig. 3 - a functional diagram of the block of communication with the subscriber.

Устройство дл  сопр жени  абонентов ЭВМ содержит блок I св. зи с ЭВМ и п блоков 2 св зи с абонентами. Эти блоки соедин ютс  между собой двухпроводной линией 3 св зи, содержащей линейный выход 4 и линейный вход 5,A device for interfacing subscribers of a computer contains a block I St. zi with a computer and n blocks of 2 communication with subscribers. These blocks are interconnected by a two-wire communication line 3 containing a linear output 4 and a linear input 5,

Блок 1 св зи с ЭВМ имеет вход 6 установки , вход 7 запрета прерыййни , вход 8 опроса наличи  прерывани , вход 9 квитировани  блока св зи с ЭВМ, линейный вход 10, выход 11 сигнала прерывани  и линей ный выход 12.The computer communication unit 1 has a setup input 6, an interrupt disable input 7, an interrupt presence input 8, a computer communication unit input 9 input, a line input 10, an output 11 of the interrupt signal and a linear output 12.

Блок 2 св зи с абонентом имеет вход 1Э запроса св зи с ЭВМ, вход 14 квитировани Unit 2 of communication with the subscriber has input 1E of communication request with a computer, input 14 of acknowledgment

блока св зи с абонентом, первый 15 и второй 16 линейные входы, выход 17 сигнала разрешени  св зи с ЭВМ, первый 18 и второй 19 линейные выходы.the communication unit with the subscriber, the first 15 and second 16 line inputs, the output 17 of the communication permission signal from the computer, the first 18 and second 19 line outputs.

Блок I св зи с ЭВМ содержит (фиг. 2) два триггера 20 и 21, элемент И 22, элементUnit I of communication with a computer contains (Fig. 2) two trigger 20 and 21, the element And 22, the element

5 23; задержки, два элемента НЕ 24 и 25, генератор 26 тока, передающий оптрон 27, приемный оптрон 28, нагрузочный резистор 29, положительную 30 и отрицательную 31 шины источника питани  блока св зи t; ЭВМ, положительную 32, отрицательную 33 и ну0 левую 34 шины линейного источника пита ни . Генератор 26 тока содержит, например, транзи-тор 35, включенный по схеме с общей шиной -базой, и нагрузочный резистор36 . Коллектор транзистора 35  вл етс 5 23; delays, two elements 24 and 25, a current generator 26, transmitting the optocoupler 27, receiving optocoupler 28, a load resistor 29, a positive 30 and a negative 31 bus power supply of the communication unit t; Computers, 32 positive, 33 negative and 0 left 34 tires of a linear power source. The current generator 26 comprises, for example, a transistor 35 connected in a circuit with a common bus base, and a load resistor 36. The collector of transistor 35 is

5 выходом генератора тока, св занным с i pвым выходом передающего оптрона 27, второй выход которого соединен с линейным вы ходом 12. Линейный вход 10 соединен с первым входом приемного оптрона 28, второй вход которого соединен с отрицательной5 by the generator output connected to the i p output of the transmitting optocoupler 27, the second output of which is connected to the linear output 12. Line input 10 is connected to the first input of the receiving optocoupler 28, the second input of which is connected to the negative

0 шнной 33 линейного источника питани .0 shnnaya 33 linear power supply.

Входы 6 и 7 блока I подключены к входам установки и сброса триггера 20, вход 8 к второму входу элемента И 22, вход 9 - к входу сброса триггера 21, а выход триггера21 соединен с выходом И.Inputs 6 and 7 of block I are connected to the inputs of the installation and reset of the trigger 20, input 8 to the second input of the element 22, input 9 to the reset input of the trigger 21, and the output of the trigger 21 is connected to the output I.

5 Каждый блок 2 св зи с абонентом (фиг. З) - содержит приемный оптрон 37, передающий оптрон 38, элементы НЕ 39 и 40, элемент 41 задержки, элемент И 42, элемент 43, три Триггера 44-46, резистор 47 и положительную шину 48 источника питани  блока св зи с абонентом.5 Each communication unit 2 with a subscriber (FIG. 3) contains a receiving optocoupler 37, transmitting optocoupler 38, elements HE 39 and 40, delay element 41, element I 42, element 43, three Triggers 44-46, resistor 47 and positive bus 48 of the power source of the communication unit with the subscriber.

Вход синхронизации триггера 44 соединен с входом 13 запроса св зи, вход сброса триггера 45 соединен с входом 14 квитировани  блока св зи с абонентом, а первый выS ход триггера 45  вл етс  выходом сигнала разрешени  св зи с ЭВМ.The trigger input of the trigger 44 is connected to the input 13 of the communication request, the reset input of the trigger 45 is connected to the acknowledgment input 14 of the communication unit with the subscriber, and the first output of the trigger trigger 45 is the output of the computer communication enable signal.

Первый выход передающего оптрона 38 подключен к первому линейному входу 15 и второму линейному выходу 19 блока св зи с абонентом, второй выход передающегоThe first output of the transmitting optocoupler 38 is connected to the first linear input 15 and the second linear output 19 of the communication unit with the subscriber, the second output of the transmitting

6 оптрона 38 соединен с вторым линейным входом 16 и первым входом приемного оптрона 37, второй вход которого соединен с первым-линейным выходом 18. .6 optocoupler 38 is connected to the second linear input 16 and the first input of the receiving optocoupler 37, the second input of which is connected to the first linear output 18..

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

При по влении одного или нескольких запросов, св зи от абонентов по входам 13 устройство вырабатывает обобщенный сигнал запроса и если нет запрета со стороны ЭВМ, передает к ЭВМ через блок 1 сигнал прерывани  по выходу П. ЭВМ, временно приостанавлива  выполнение текущего задани , перехолит к подпрограмме св зи с абонентами . К этому моменту времени устройстве подготавливает один из нескольких инициативных блоков св зи с абонентами (если имелось несколько запросов) к работе, послав ему по соответствующему выходу 17 сигнал разрешени  св зи с ЭВМ, поэтому гчплл .ЭВМ , запрашива  адрес абонента, Подготовленного к обмену, получает однозначный ответ , указывающий, с каким именно абонентом предстоит обмен. Процесс передачи обобщенного сигнала запроса в ЭВМ и выдачи ответа одному из абонентов идет без участи  ЭВМ с использованием двухпроводной линии 3 св зи.. Блок 1 св зи с ЭВМ предназначен дл  обеспечени  св зи между ЭВМ и двухпроводной линией 3 св зи. В исходном состо нии триггер 20 разрешени  прерывани  установлен в единичное положение за счет ранее прии1едщего сигнала по входу 6. В одном из последних тактов выполнени  каждой текущей команды- на вход 8 из ЭВМ поступает положительный импульс . При отсутствии запросов на прерывание на выходе элемента НЕ 25 поддерживаетс  сигнал логического нул , триггер 21 прерывани  остаетс  в сброщенном состо нии . Сигнал прерывани  на выходе I отлутствует , элемент НЕ 24 выключен и ток иротекает через резистор 29 и светодиод опт ()она 27. Транзистор передающего оптрона 27 насыщен , однако его коллекторный ток близок к нулю, т. е. .при отсутствии запросов все транзисторы оптронов 38 блоков 2 св зи с абонентами выключены. ТЪк через светодиод приемного оптрона 28 также практически йабен нулю, поэтому на его выходе сформирована логическа  единица. Такое состо рие поддерживаетс  до того момента, когда .по вл етс  один или несколько запросов на обслуживание, в результате чего включаетс  один или несколько оптронов 38 и сопротивление между выходом 4 и входом 5 становитс  низким. В этом случае ток от генератора 26 тока протекает через насыщенный транзистор оптрона 27 в замкнутую линию 3 и далее через светодиод оптрона 28. Поскольку при этом светодиод излучает энергию, на выходе оптрона 28 формируетс  сигнал ло гического нул , а на выходе инвертора 19 - сигнал логической единицы. При окончании выполнени  очередной, команды из устройства управлени  ЭВМ на вхдд 8 устройства поступает сигнал опроса наличи  прерывани , срабатывает элемент И 22, триггер 21 прерывани  устанавливаетр  в единичное состо ние, сигнал прерываНЦЯ поступает в ЭВМ с выхода И. Этот же кигнал проходит через элемент 23 задержки и включает элемент НЕ 24. Светодиод оптро на 27 выключаетс , транзистор этого оптро на переходит в высокоомное состо ние, светодиод оптрона 28 выключаетс , элемент И, 22 блокируетс  нулевым сигналом с выхода элемента НЕ 25. Такое состо ние блока 1 поддерживаетс . до прихода из ЭВМ на вход 9 сигнала квитировани . Этот сигнал поступает либо после ркончани  обмена данными с абонентом, лиipo в процессе обмена. После сброса тригге-i . 21 блок 1 переходит в описанный режим дроверки линии 3 на наличие обобщенного Запросного сигнала прерывани . Запрет при- ема сигналов прерывани  от абонентов про-. изводитс  установкой триггера 20 по 7 в нулевое состо ние. Блок 2 св зи с абонентом работает следующим образом. Сигнал запроса св зи с ЭВМ поступает от абонента по входу 13 на синхррвход триггера 44, устанавлива  этот триггер в единичное состо ние. Если ток через светодиод оптрона 37 отсутствует, то на выходе его сформирована логическа  единица. В этом случае элемент И 42 устанавливает в единичноесосто ние триггер 46 и включаетс  светодиод оптрона 38. Если конкурирующие запросы отсутствуют , то ток, поступающий с первого линейного входа 15 из блока 1, проходит через транзистор оптрона 38 и включает светодноды оптронов 37 «своего и всех последующих приемных оптронов блоков св зи с абонентами , расположенных в направлении к блоку 1. После срабатывани  оптронов 37 в указанных блоках эти блоки блокируютс , поскольку элементы И 42 в них закрыты нулевыми сигналами с выходов соответствующих оптронов 37. Остальные блоки 2 св зи с абонентами удалены от блока 1 св зи с ЭВМ, в сравнении с выбранным блоком 2 также не могут передать в ЭВМ сигналы запросов прерывани , т. е. включенный транзистор оптрона 38 щунтирует аналогичные цепи и ни один из удаленных блоков не получает ответного сигнала в данном цикле работы устройства. В выбранном блоке 2 сигнал с выхода элемента НЕ 39, если он имеет достаточно большую длительность (превышающую врем  задержки элемента 41), взаимодействует с единичным сигналом с выхода триггера 46 и включает элемент И-НЕ 43. Нулевой сигнал с вь1хода этого элемента сбрасывает триггер 44, триггер 45 продолжает нахрдитьс  в сброщенном состо нии. Через врем , определ емое задержкой элемента 23 блока J, ток от генератора 26 тока перестает поступать на выход 4, следовательно , все светодиоды оптронов 37, которые ранее включены, выключаютс . Выклю, чение светодиода оптрона 37 в блоке приво-; дит к выключений элемента И-НЕ 43, т. е к формированию на выходе оптрона 37 единичногб сигнала. При этом триггер 45 переходит в единичное состо ние и сбрасываетс  триггер 46. Светодиод оптрона 38 выключаетс . Сигнал с выхода 17 разрешает данному абоненту производить обмен информацией с ЭВМ. Сброс триггера 45 по входу 14 производитс  либо в конце обмена, либо в процессе обмена информацией в зависимости от особенностей построени  программного обеспечени  ЭВМ и конструкции аппаратуры абонентов.When one or several requests appear, the communication from subscribers on inputs 13, the device generates a generalized request signal and, if there is no prohibition from the computer, sends an interrupt signal to the computer through the block 1 on the output of the computer, temporarily halts the execution of the current task. communication with subscribers. At this point in time, the device prepares one of several initiative blocks of communication with subscribers (if there were several requests) to work by sending it a computer communication enable signal to the corresponding output 17, therefore the computer gpm, requesting the address of the subscriber Prepared for the exchange, receives an unequivocal answer indicating which subscriber will be exchanged. The process of transmitting a generalized request signal to a computer and issuing a response to one of the subscribers goes without the fate of a computer using a two-wire communication line 3. A computer communication unit 1 is designed to provide a connection between a computer and a two-wire communication line 3. In the initial state, the interrupt enable trigger 20 is set to a single position at the expense of the previously incoming signal at input 6. In one of the last cycles of execution of each current command, a positive impulse is received at input 8 from the computer. In the absence of interrupt requests at the output of the NOT element 25, the logical zero signal is maintained, the interrupt trigger 21 remains in the merged state. The interrupt signal at output I is absent, the element 24 is turned off and the current flows through the resistor 29 and the opt () LED 27. The transmitter of the transmitting optocoupler 27 is saturated, but its collector current is close to zero, i.e. in the absence of requests, all the transistors of the optocouplers 38 units 2 communications with subscribers are turned off. The TNC through the LED of the receiving optocoupler 28 is also practically Yaben zero, so a logical unit is formed at its output. Such a state is maintained until the moment when one or more service requests are received, as a result of which one or several optocouplers 38 are turned on and the resistance between output 4 and input 5 becomes low. In this case, the current from the current generator 26 flows through the saturated transistor of the optocoupler 27 into the closed line 3 and then through the LED of the optocoupler 28. Since the LED emits energy, a logical zero signal is generated at the output of the optocoupler 28 and a logical signal at the output of the inverter 19. units. When the next command is completed, the command from the control unit of the computer on the device's input 8 receives the interrogation signal for the presence of an interrupt, the element 22 triggers, the interrupt trigger 21 sets to one, the interrupt signal enters the computer from the output I. The same signal passes through element 23 delay and turns on the element NOT 24. The LED on the optro on 27 is turned off, the transistor of this optro does not go high, the LED on the optocoupler 28 turns off, the And element, 22 is blocked by a zero signal from the output of the HE 25. This hundred of block 1 is maintained. before the acknowledgment signal arrives from the computer at input 9. This signal comes either after the end of the data exchange with the subscriber, liipo in the process of exchange. After resetting trigger-i. 21, unit 1 goes into the described mode of checking the line 3 for the presence of a generalized Request Interrupt signal. Prohibition of receiving interrupt signals from subscribers is worn by setting trigger 20 through 7 to the zero state. The communication unit 2 with the subscriber operates as follows. The request signal of communication with the computer comes from the subscriber at the input 13 to the sync input of the trigger 44, setting this trigger to one state. If there is no current through the LED of the optocoupler 37, then a logical unit is formed at its output. In this case, And 42 sets the trigger 46 and the LED of the optocoupler 38 to turn on. If there are no competing requests, then the current coming from the first linear input 15 from block 1 passes through the transistor of the optocoupler 38 and turns on the LEDs of the optocouplers 37 "of its own and all the subsequent receiving optocouplers of communication units with subscribers located in the direction of unit 1. After the operation of the optocouplers 37 in the indicated units, these units are blocked, since the And 42 elements in them are closed with zero signals from the outputs of the corresponding optocouplers 37. The remaining blocks 2 of communication with subscribers are far from the unit 1 of communication with a computer, in comparison with the selected unit 2 also can not transmit to the computer signals of interrupt requests, i.e. the switched on transistor of the optocoupler 38 shunts similar circuits and none of Remote blocks do not receive a response signal in a given device operation cycle. In the selected block 2, the signal from the output of the element HE 39, if it has a sufficiently long duration (greater than the delay time of the element 41), interacts with a single signal from the output of the trigger 46 and turns on the element IS-NOT 43. The zero signal from the output of this element resets the trigger 44 , trigger 45 continues to collapse in a bridged state. After a time determined by the delay of the element 23 of the block J, the current from the current generator 26 ceases to arrive at output 4, therefore, all the LEDs of the optocouplers 37, which were previously turned on, are turned off. Turning off the LED of the optocoupler 37 in the power supply unit; Dites to turn off the element AND-43, i.e. to the formation of the output of the optocoupler 37 unit signal. In this case, the trigger 45 goes into one state and the trigger 46 is reset. The LED of the optocoupler 38 turns off. The signal from output 17 allows this subscriber to exchange information with a computer. The trigger 45 is reset by the input 14 either at the end of the exchange or in the process of information exchange, depending on the features of the computer software building and the design of the subscriber equipment.

При одновременном поступлении несколь. ких сигналов по входам 13 возможны «гонки , св занные с «перехватом тока блоками 2, расположенными ближе к блоку 1 (имеющими более высокий приоритет). Одиако этот процесс не может привести к неоднозначному выбору одного из инициативных блоков св зи с абонентами.With the simultaneous receipt of several. Signals on inputs 13 are possible “races associated with“ interception of current by blocks 2 located closer to block 1 (having a higher priority). However, this process cannot lead to an ambiguous choice of one of the initiative blocks of communication with subscribers.

Действительно, врем  Т существовани  этих «гонок ограничено временем срабатывани  блокирующих цепей, выполненных на элементах 39, 41 и 43, а так как задержка элемента 41 выбираетс  большей, чем врем  Т, то в устройстве может быть выбран только один блок св зи с абонентом.Indeed, the time T for the existence of these races is limited by the response time of the blocking circuits made on the elements 39, 41 and 43, and since the delay of the element 41 is chosen longer than the time T, only one communication unit with the subscriber can be selected in the device.

Использование предлагаемого устройства позвол ет либо сэкономить одну линию св зи, либо повысить быстродействие системы за счет исключени  из программ периодически выполн емых команд сканировани  абонентов.The use of the proposed device allows either to save a single communication line or to increase the system performance by eliminating periodically executed subscriber scanning commands from programs.

Claims (1)

УСТРОЙСТВО ДЛЯ СОПРЯЖЕНИЯ АБОНЕНТОВ С ЭЛЕКТРОННОЙ ВЫЧИСЛИТЕЛЬНОЙ МАШИНОЙ (ЭВМ), содержащее блок связи с ЭВМ и первый блок связи е абонентом, причем линейный выход: блока связи с ЭВМ соединен через линию’ связи с первым линейным входом первого блока связи с абонентом, первый линейный выход которого через линию связи соединен: с линейным входом блока связи с ЭВМ, ко-; торый содержит первый и второй триггеры, · первый элемент задержки и первый элемент НЕ, выход которого через нагрузочный резистор соединен с положительной шиной источника питания блока связи с ЭВМ, выход первого триггера соединен с первым входом первого элемента И, выход которого соединен с входом установки второго триггера, выход которого является выходом сигнала прерывания устройства и соединен через первый элемент задержки с входом первого элемента НЕ, входы установки и сброса первого триггера, второй вход первого элемента И и вход сброса второго триггера являются соответственно входами установки, запрета прерывания, опроса наличия прерывания, квитирования блока связи с ЭВМ устройст-. ва, отличающееся тем, что, с целью увеличения гибкости работы устройства, в него введены η-l блоков связи с абонентами, причем первые линейные вход и выход каждого i-ro блока связи с абонентом соединены соответственно через линию связи с вторыми линейными выходом и входом (i-—1)-го блока связи с абонентом, а вторые линейные выход и вход 1-го блока связи с абонентом соединены соответственно через линию свя-j зи с первыми линейными входом и выходом (i + 1)-го блока связи с абонентом, прк. этом блок связи с ЭВМ дополнительно содержит генератор тока, первые передающий й приемные оптроны, второй элемент НЕ, первый и второй входы первого передающего оп< трона соединены соответственно с выходом первого элемента НЕ и отрицательной шиной источника питания блока связи с ЭВМ,) первый и второй выходы первого передающего оптрона подключены соответственно, к выходу генератора тока и к линейному выходу блока связи с ЭВМ, а вход генератора тока соединен с положительной шиной ли. нейного источника питания, линейный вход яблока связи с ЭВМ подсоединен к первому ' входу первого приемного оптрона, второй вход которого соединен с отрицательной шиной линейного источника питания, выход первого приемного оптрона через второй элемент НЕ соединен с третьим входом первого элемента И, i'-й блок связи с абонентом содержит вторые приемный и передающий оптроны, третий и четвертый элементы НЕ, второй элемент задержки, второй элемент И, элемент И—НЕ и третий, четвертый, пятый триггеры, причем синхровход третьего триггера является входом запроса связи с ЭВМ от абонента, вход сброса четвертого триггера является входом квитирования блока связи с абонентом устройства, единич-‘ ный выход четвертого триггера является выходом сигнала разрешения связи с ЭВМ устройства, нулевой выход четвертого триггера соединен с входом сброс;· пятого триггера, синхровход четвертого (риггера соединен с выходом элемента И—НЕ и входом сброса третьего триггера, выход которого соединен с первым входом второго элемента И, второй вход которого соединен с выходом второго приемного оптрона и с входомтретьего элемента НЕ, выход которого соединен с первым входом элемента И—НЕ и; через второй элемент задержки с вторым’ входом элемента И—НЕ, третий вход кото о сь QO ς© ю 05 рого соединен с выходом пятого триггера и с входом четвертого элемента НЕ, выход которого соединен с первым входом-второго передающего оптрона, второй вход которого через второй нагрузочный резистор подсоединен к положительной шине источника питания блока связи с абонентом, выход второго элемента И соединен с синхровходом пятого триггера, первый выход второго пере дающего оптрона соединен с первым линейным входом и вторым линейным выходомблока связи с абонентом, второй выхбд второго передающего оптрона соединен с вторым линейным входом блока связи с абонентом и с первым входом второго приемного оптрона, второй вход которого соединен с первым линейным выходом блока связи с абонентом.A DEVICE FOR INTERFERING SUBSCRIBERS WITH AN ELECTRONIC COMPUTER MACHINE (COMPUTER), comprising a communication unit with a computer and a first communication unit e by a subscriber, the line output of: a communication unit being connected to a computer being connected via a communication line with a first linear input of a first communication unit with a subscriber, a first linear output which is connected through a communication line: to the linear input of a communication unit with a computer, co-; which contains the first and second triggers, the first delay element and the first element NOT, the output of which through the load resistor is connected to the positive bus of the power supply of the communication unit with the computer, the output of the first trigger is connected to the first input of the first element And, the output of which is connected to the input of the installation of the second trigger, the output of which is the output of the device interrupt signal and is connected through the first delay element to the input of the first element NOT, the inputs of the installation and reset of the first trigger, the second input of the first element And and the input with dew second flip-flop are respectively setting inputs prohibition interrupt polling presence interrupt acknowledgment block ustroyst- connection with a computer. VA, characterized in that, in order to increase the flexibility of the device, η-l communication units with subscribers are introduced into it, and the first linear input and output of each i-ro communication unit with a subscriber are connected respectively through a communication line with the second linear output and input (i -— 1) -th communication unit with the subscriber, and the second linear output and input of the 1st communication unit with the subscriber are connected respectively through a communication line-j with the first linear input and output of the (i + 1) -th communication unit with subscriber this, the communication unit with the computer additionally contains a current generator, the first transmitting receiving optocouplers, the second element NOT, the first and second inputs of the first transmitting optocoupler are connected respectively to the output of the first element NOT and the negative bus of the power source of the communication unit with the computer,) the first and second the outputs of the first transmitting optocoupler are connected respectively to the output of the current generator and to the linear output of the communication unit with the computer, and the input of the current generator is connected to the positive bus. a linear power supply, the linear input of the computer communication apple is connected to the first input of the first receiving optocoupler, the second input of which is connected to the negative bus of the linear power supply, the output of the first receiving optocoupler through the second element is NOT connected to the third input of the first element And, i'th the communication unit with the subscriber contains the second receiving and transmitting optocouplers, the third and fourth elements NOT, the second delay element, the second element AND, the element AND NOT and the third, fourth, fifth triggers, and the sync input of the third trigger is the input of the communication request with the computer from the subscriber, the reset input of the fourth trigger is the acknowledgment input of the communication unit with the device subscriber, the single output of the fourth trigger is the output of the communication enable signal from the computer of the device, the zero output of the fourth trigger is connected to the reset input; · the fifth trigger, the fourth sync input (the trigger is connected to the output of the AND element and the reset input of the third trigger, the output of which is connected to the first input of the second element And, the second input of which is connected to the output of the second receiving optocoupler and the input of the third element NOT, the output of which is connected to the first input of the AND AND NOT element ; through the second delay element with the second input of the AND-NOT element, the third input of which is connected to the output of the fifth trigger and to the input of the fourth element NOT, the output of which is connected to the first input of the second transmitting optocoupler, the second input of which through the second load resistor is connected to the positive bus of the power supply unit of the communication unit with the subscriber, the output of the second element And is connected to the fifth input of the fifth trigger, the first output of the second transmitting optocoupler is connected to the first linear input and the second linear output of the unit with ides with the subscriber, the second optocoupler vyhbd second transmission line connected to a second input of the connection with the subscriber and to a first input receiving the second photocoupler, a second input coupled to the first output of the linear connection with the subscriber.
SU823414284A 1982-03-25 1982-03-25 Device for mating subscribers with computer SU1068926A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU823414284A SU1068926A1 (en) 1982-03-25 1982-03-25 Device for mating subscribers with computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU823414284A SU1068926A1 (en) 1982-03-25 1982-03-25 Device for mating subscribers with computer

Publications (1)

Publication Number Publication Date
SU1068926A1 true SU1068926A1 (en) 1984-01-23

Family

ID=21003519

Family Applications (1)

Application Number Title Priority Date Filing Date
SU823414284A SU1068926A1 (en) 1982-03-25 1982-03-25 Device for mating subscribers with computer

Country Status (1)

Country Link
SU (1) SU1068926A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
1. Патент US № 4156277, кл. 364-200, опублик. 1979. 2. Патент US № 4271464, кл. ,; Ч)публик. 1981 (прототип). *

Similar Documents

Publication Publication Date Title
US4390969A (en) Asynchronous data transmission system with state variable memory and handshaking protocol circuits
JPH0448010B2 (en)
EP0273080A1 (en) Process and device for high speed polling
CN201336032Y (en) Software simulation serial data transmission device
KR100352568B1 (en) Circuit and method for reliably performing bus reset regardless of cable length
SU1068926A1 (en) Device for mating subscribers with computer
JPH0564384B2 (en)
SU1596339A1 (en) Computer to peripheral interface
SU1693611A1 (en) Computer interface with communication line
SU1003064A1 (en) Information exchange device
SU1386993A1 (en) Multichannel priority device
RU1777137C (en) Device for control over access to common trunk
SU1038945A1 (en) Multi-channel priority device
SU1128257A1 (en) Multichannel device for priority connecting of information sources with unibus
SU474807A1 (en) Priority device
SU1381520A1 (en) Multichannel device for connecting subscribers to trunk line
SU1474661A1 (en) Multichannel multicomputer system interface
SU1024896A1 (en) Device for information exchange
SU1076895A1 (en) Device for linking end users with computer
SU1728867A1 (en) Device for interfacing computer with main line
KR0145451B1 (en) Matching apparatus for transmitting multi node common bus making use of arbiter
SU1689963A1 (en) Communication device of annular fiber-optics net
SU1130854A1 (en) Information input device
SU1709312A1 (en) Subscribers-no-common bus foreground communication multichannel interface unit
SU1109730A1 (en) Interface for linking with microprocessor