SU1401469A1 - Device for interfacing a computer with controlled objects - Google Patents
Device for interfacing a computer with controlled objects Download PDFInfo
- Publication number
- SU1401469A1 SU1401469A1 SU864161887A SU4161887A SU1401469A1 SU 1401469 A1 SU1401469 A1 SU 1401469A1 SU 864161887 A SU864161887 A SU 864161887A SU 4161887 A SU4161887 A SU 4161887A SU 1401469 A1 SU1401469 A1 SU 1401469A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- information
- group
- inputs
- Prior art date
Links
Abstract
Изобретение относитс к вычислительной технике и может быть применено дл группового управлени манипул торами и монтажно-сбо- рочным оборудованием в системах реального масштаба времени. Целью изобретени вл етс сокращение аппаратурных затрат. Устройство содержит блок св зи с каналом ЭВМ, регистр, дешифратор, мультиплексор , счетчик, блок контрол на четность, сдвиговый регистр, узел блокировки, анализатор сигналов, формирователь сигнала прерьюани , буферный регистр пам ти, блок ввода-вывода , регистр вектора прерывани , блок синхронизации, два элемента И. 3 з.п. ф-лы, 9 ил.The invention relates to computing and can be applied to group control of manipulators and assembly equipment in real-time systems. The aim of the invention is to reduce hardware costs. The device contains a communication unit with a computer channel, a register, a decoder, a multiplexer, a counter, a parity control unit, a shift register, a blocking node, a signal analyzer, a transducer signal generator, a buffer memory register, an input / output unit, an interrupt vector register, a unit synchronization, two elements I. 3 z.p. f-ly, 9 ill.
Description
4four
OfSOfS
соwith
Изобретение относитс к вычислительной технике и может быть применено дл группового управлени манипул торами и монтажно-сборочным оборудованием в системах реального масштаба времени.The invention relates to computing and can be applied to group control of manipulators and assembly and assembly equipment in real-time systems.
Цель изобретени - сокращение аппаратурных затрат.The purpose of the invention is to reduce hardware costs.
На фиг.1 представлена блок-схема устройства; на фиг.2 - схема анализатора сигналов; на фиг.З - блок св зи с каналом ЭВМ; на фиг.4 - схема формировател сигнала прерывани на фиг.З - схема узла блокировки; на фиг.6 - схема блока контрол на четность; на фиг.7 - схема регистра вектора прерывани ; на фиг.8 - блок ввода-вывода; на фиг.9 - блок синхронизации .Figure 1 presents the block diagram of the device; figure 2 - diagram of the signal analyzer; FIG. 3 shows a communication unit with a computer channel; 4 is a diagram of the interrupt signal generator in FIG. 3 is a block node diagram; figure 6 - block diagram of the control of parity; Fig. 7 is a schematic of an interrupt vector register; on Fig - block I / o; figure 9 - block synchronization.
Устройство дл сопр жени ЭВМ с объектами управлени (фиг.1) содержит первый блок 1 св зи с каналом ЭВМ, канал 2 ЭВМ, группу 3 информационных входов-выходов блока 1, ин- формационный вход 4 устройства, регистр 5, дешифратор 6, мультиплек-° сор 7, счетчик 8,группу 9 информационных выходов мультиплексора 7, элемент И 10, информационньй вход 11 устройства, блок 12 контрол на четность, сдвиговый регистр 13, шину 14 синхронизации, анализатор 15 сигналов, узел 16 блокировки,элемент И 17, формирователь 18 сигнала прерывани , цепь 19 предоставлени прерывани , цепь 20 требовани прерывани , буферный регистр 21,пам ти регистр 22 вектора прерывани , блок 23 ввода-вывода, блок 24 синхронизации .The device for interfacing a computer with control objects (Fig. 1) contains the first communication unit 1 with a computer channel, channel 2 of the computer, group 3 information inputs-outputs of unit 1, information input 4 of the device, register 5, decoder 6, multiplex - ° Sor 7, counter 8, group 9 of information outputs of multiplexer 7, element 10, information input 11 of the device, block 12 parity control, shift register 13, synchronization bus 14, signal analyzer 15, blocking node 16, element 17, interrupt signal generator 18, interrupt supply circuit 19, circuit 20 interrupt request, buffer register 21, memory register 22 of interrupt vector, input / output unit 23, synchronization unit 24.
Анализатор 15 сигналов (фиг.2) содержит мультиплексор 25, элемент ИСКЛЮЧАЮЩЕЕ ИЛИ 26, элемент И 27 и узел 28 пам ти.The signal analyzer 15 (FIG. 2) contains a multiplexer 25, an EXCLUSIVE element OR 26, an AND element 27, and a memory node 28.
Блок 1 св зи с каналом ЭВМ 2 (фиг.З) содержит шинный формировател 29, дешифратор 30, элемент И 31, триггер 32, элементы И 33 и 34 и элемент ИЛИ 35.The communication unit 1 with the computer channel 2 (FIG. 3) contains a bus driver 29, a decoder 30, an AND 31 element, a trigger 32, And 33 and 34 elements, and an OR 35 element.
Формирователь 18 сигнала прерывани (фиг.4) содержит триггеры 36 и 37, элементы И 38 и 39.Interrupt signal generator 18 (Fig. 4) contains triggers 36 and 37, elements 38 and 39.
Узел 16 блокировки (фиг.5) содержит элемент И 40, триггер 41 и од- новибратор 42.The blocking block 16 (FIG. 5) contains an element 40, a trigger 41 and a single-axis 42.
Блок 12 контрол на четность (фиг.6) содержит элемент И 43, тригThe parity check block 12 (FIG. 6) contains an AND 43 element, trig
Q 5 0Q 5 0
g g
00
00
5 five
5five
гер 44, триггер 45, элементы И 46 и 47.ger 44, trigger 45, elements And 46 and 47.
Регистр 22 вектора прерывани (фиг.7) содержит наборное поле 48 перемычек и шинный формирователь 49.The interrupt vector register 22 (Fig. 7) contains a jumper dial pad 48 and a bus driver 49.
Блок 23 ввода-вывода (фиг.8) содержит сдвиговый регистр 50, узел 51 контрол на четность, вход 52 приема дискретной информации, элемент НЕ 53, сдвиговый регистр 54, элемент ИЛИ 55, элемент 56 задержки, узлы 57 и 58 пам ти, регистр 59,сумматор 60 по модулю два, линию 61 передачи дискретной информации к управл емому объекту.The input / output unit 23 (FIG. 8) contains a shift register 50, a parity check node 51, a discrete information input input 52, a HE element 53, a shift register 54, an OR element 55, a delay element 56, memory nodes 57 and 58, register 59, modulo two modulator 60, discrete information transfer line 61 to the controlled object.
Блок 24 синхронизации (фиг.9) содержит узел 62.св зи с каналом 2 ЭВМ, идентичный блоку 1, в группе информационных выходов используетс только один из разр дов,например младший, подключенньй к D-входу триггера 63, а в группе информационных входов также используетс тот же разр д , соединенный с выходом триггера 64, элемент И 65, элемент ИЛИ 66, элемент И 67, одновибратор 68, генератор 69 импульсов, счетчик 70, регистр 71 усилителей, предназначенный дл передачи синхросигналов в управл емые объекты, счетчик 72, одновиб- раторы 73 и 74.The synchronization unit 24 (Fig. 9) contains a node 62. The communication with channel 2 of the computer, identical to unit 1, in the group of information outputs uses only one of the bits, for example, the younger one, connected to the D input of trigger 63, and in the group of information inputs the same bit is also used, connected to the output of trigger 64, element AND 65, element OR 66, element 67, one-shot 68, pulse generator 69, counter 70, amplifier register 71 for transmitting clock signals to controlled objects, counter 72 , one-shot 73 and 74.
Устройство работает следующим образом .The device works as follows.
При включении напр жени питани Б цепи общего сброса (не показана) канала 2 вырабатываетс сигнал, которым устанавливаютс в исходное (нулевое) состо ние триггеры 36 и 37 в формирователе 18 сигнала преры- вани , триггеры 44 и 45 в блоках 12 и 51 контрол на четность,тригге-- ры 63 и 64 и счетчики 70 и 72 в блоке 24 синхронизации , а триггер 41 в узле 16 блокировки устанавливаетс в единичное состо ние. В результате формирователь 18 сигнала прерывани устанавливаетс в пассивное состо ние , сигнал требовани прерывани на линии 20 не формируетс ,на первом входе элемента И 39 устанавливаетс сигнал Лог.1, и сигнал предоставлени прерывани из канала 2 по линии 1 9 предоставлени прерывани может передаватьс дл обслуживани других устройств, имеющих меньший приоритет относительно предлагаемого устройства.When the power supply B is turned on, the general reset circuit (not shown) of channel 2 generates a signal that sets the initial (zero) state of the triggers 36 and 37 in the interrupt signal generator 18, the triggers 44 and 45 in the control blocks 12 and 51 the parity, the trigger 63 and 64, and the counters 70 and 72 in the synchronization block 24, and the trigger 41 in the blocking block 16 is set to one. As a result, the interrupt signal generator 18 is set to a passive state, the interrupt request signal is not formed on line 20, the Log.1 signal is set to the first input of element 39, and the interrupt grant signal from channel 2 can be transmitted for servicing line 1 9. other devices that have lower priority relative to the proposed device.
31А31A
В пассивном состо нии находитс также блок 24 синхронизации, так как сигнал Лог.О с выхода триггера 64 через элемент И 67 запрещает работу генератора 69.The synchronization unit 24 is also in the passive state, since the signal Log.O from the output of the trigger 64 through the AND 67 element prohibits the operation of the generator 69.
Обмен информацией между устройством и ЭВМ осуществл етс через блок 1. Машинный цикл обмена информацией разбит.на. две части: адресную и информационную. В адресной части машинного цикла информаци из канала 2 ЭВМ пропускаетс шинным формирователем 29 от канала В к каналу С и устанавливаетс на входы регистра 5 и дешифратора 30. К входам дешифратора 30 подключены старшие разр ды кода, определ ющие адрес обращени к устройству. К входам регистра 5 подключены младшие разр ды кода, определ ющие подадрес обращени к регистрам устройства или чейкам узлов 28, -57 и 58 пам ти, причем старший из них (разр д Q4 регистра 5) определ ет обращение через дешифратор 6 к одному из конкретных элементов. Число подадресов определ етс количеством групп анализируемых сигналов. Адресна часть отдел етс от информационной сигналом на первом синхровходе блока 1. Если ад- р ес обращени соответствует конфигурации дешифратора 30, то на выходе элемента И 31 устанавливаетс сигнал логической 1, и сигнал на первом синхровходе блока 1 фиксирует сигнал логической 1 на выходе триггера 32 и код подадреса на выходах регистра 5, а также, проход через элемент И 10, переключает мультиплексор 7 на передачу кода подадреса с выхода регистра 5 на шину 9. При несоответствии кода обращени к устройству к щине 9 подключаютс выходы счетчика 8.The exchange of information between the device and the computer is carried out through block 1. The computer information exchange cycle is broken. two parts: address and information. In the address part of the machine cycle, information from channel 2 of the computer is passed by bus driver 29 from channel B to channel C and installed at the inputs of register 5 and decoder 30. The higher bits of the code defining the address of addressing the device are connected to the inputs of decoder 30. The lower bits of the code that determine the subaddress for accessing the device registers or the cells of the 28, 57 and 58 memory are connected to the inputs of register 5, and the most significant one (bit Q4 of register 5) defines access through the decoder 6 to one of the specific items. The number of subaddresses is determined by the number of groups of signals analyzed. The address part is separated from the information signal at the first synchronization of block 1. If the address of the address corresponds to the configuration of the decoder 30, then the output of element 31 is set to a logical 1 signal, and the signal on the first synchronous input of block 1 captures the signal of logical 1 at the trigger output 32 and the subaddress code at the outputs of register 5, as well as passage through element 10, switches multiplexer 7 to transmit the subaddress code from the register 5 output to bus 9. If the access code does not match the device, the output of the counter is connected to the bus 9 eight.
В информационной части цикла Вывод данные из канала 2 проход т через щинньй формирователь 29 по группе информационных выходов блока 1 на информационные входы узлов 28 и 58 оперативной пам ти. Сигнал на втором синхровходе блока 1,пройд через элемент И 34, на второй син- хровход дешифратора 6 вызовет, в зависимости от уровн сигнала на D- входе дешифратора 6, по вление сигнала на четвертом или на первом выходе дешифратора и тем самым произведет запись информации в выбран469In the information part of the cycle, the output from channel 2 passes through the shaper 29 through the group of information outputs of block 1 to the information inputs of nodes 28 and 58 of the RAM. The signal at the second synchronization input of unit 1, having passed through element 34, to the second synchronization input of the decoder 6, will cause, depending on the signal level at the D-input of the decoder 6, the appearance of the signal at the fourth or the first output of the decoder and thereby record information in selected469
ную чейку выбраююго узла оперативной пам ти. Вместе с тем сигнал с выхода элемента Н 34 пройдет через элемент ИЛИ 35 в канал 2, информиру ЭВМ о приеме информации устройством .Node cell selectable memory node. However, the signal from the output of the element H 34 will pass through the element OR 35 to channel 2, informing the computer about the reception of information by the device.
В информационной части цикла - Ввод сигнал с третьего синхровходаIn the information part of the cycle - Input signal from the third sync-input
Q блока 1, пройд через элемент И 33, произведет переключение шинного формировател 29 на передачу информа- .ции из канала А в канал В и, пройд на первый стробирзлощий вход дешифра5 тора 6, вызовет, в зависимости от урбвн сигнала на D-входе дешифратора 6, по вление сигнала на третьем или втором выходе дешифратора 6, активизиру выходы регистра 21 или ре0 гистра 59 соответственно. При этом в канал 2 ЭВМ будет выставлена либо информаци , содержаща с в регистре 21, либо информаци выбранной чейки узла 57 пам ти,Вместе с тем сигналQ block 1, having passed through the element AND 33, will switch the bus driver 29 to transfer information from channel A to channel B and, passing to the first gateway of the decoder 5 of the torus 6, will cause, depending on the signal level at the D-input of the decoder 6, the appearance of a signal at the third or second output of the decoder 6, activating the outputs of register 21 or register 59, respectively. In this case, either the information containing c in register 21, or the information of the selected cell of the memory node 57 will be displayed in channel 2 of the computer. At the same time, the signal
5 с выхода элемента И 33 пройдет через элемент ИЛИ 35 в канал 2, информиру ЭВМ о выдаче информации из устройства .5 from the output of the element AND 33 will pass through the element OR 35 to channel 2, informing the computer about the issuance of information from the device.
Дл окончани подготовки устрой0 ства к работе после вк.пючени питани ЭВМ последовательно производит запись кода нул во все чейки узлов 28 и 58 оперативной пам ти дл исключени пересылки ложных команд в управл емый объект через регистр 54 и ложных прерываншЧ из анализатора 15 при включении блока 24 синхронизации .To finish preparing the device for operation after powering the computer power, it sequentially records the zero code in all cells of the main memory nodes 28 and 58 to prevent sending false commands to the controlled object through the register 54 and false interrupts from the analyzer 15 when the block 24 is turned on sync.
Ввслючение блока 24 синхронизацииInclusion of sync block 24
Q осуществл етс записью логической 1 в триггер 63 (обрап;ение ЭВМ к блоку 24 синхронизации через узел 62, идентично описанное дл блока 1) .Q is carried out by writing logical 1 to trigger 63 (processing of the computer to the synchronization unit 24 via the node 62, identically described for block 1).
Сигнал логической 1 с выхода триггера 63, поступа на D-вход триггера 64 и, пройд через элемент ИЛИ 66 на его синхровход, переводит его в единичное состо ние. Поскольку на первом входе элемента И 67 ус0U tr 4 tiThe signal of logic 1 from the output of the trigger 63, arriving at the D input of the trigger 64 and passing through the OR 66 element to its synchronous input, translates it into a single state. Since the first input element And 67 us0U tr 4 ti
тановлен сигнал логической 1 сset the logical signal 1 s
выхода одновибратора 74, сигнал Лог.1 с выхода триггера 64 передаетс через элемент И 67 и возбуждает одновибратор 68, который формирует сигнал на второй линии синхросигнала шины 14 синхронизации. Сигнал Лог.Г с выхода элемента И 67 включает также генератор 69, в результа5the output of the one-shot 74, the signal Log.1 from the output of the trigger 64 is transmitted through the element And 67 and excites the one-shot 68, which generates a signal on the second clock line of the sync bus 14. The signal Log.G from the output of the element And 67 also includes a generator 69, as a result
5five
5five
514514
те чего на выходах регистра усилителей 71 на третьей линии синхросигнала шины 1Д синхронизации формируютс сигналы, управл ющие сдвигом информации в сдвиговых регистрах 13, 50 и 54 и во взаимосв занных регистрах объекта управлени (не показаны).Those at the outputs of the register of amplifiers 71 on the third line of the sync bus 1D sync signal generate signals controlling the shift of information in the shift registers 13, 50 and 54 and in the interconnected registers of the control object (not shown).
Счетчики 70 и 72 осуществл ют деление частоты импульсов генератора 69 с коэффициентом делени , задающим количество разр дов в передаваемом сообщении. Сообщени , которыми обмениваетс устройство с управл емым объектом, состо т из групп, количе- ство которых задаетс коэффициентом делени счетчика 72,а число разр дов в группе - коэффициентом делени счетчика 70. Количество разр дов в группе передаваемого (принимаемого), со- общени соответствует числу разр дов в группе анализируемых сигналов.Counters 70 and 72 divide the frequency of the generator pulses 69 with a division factor specifying the number of bits in the transmitted message. The messages exchanged by the device with the controlled object consist of groups, the number of which is determined by the division factor of the counter 72, and the number of bits in the group is the division factor of the counter 70. The number of bits in the group transmitted (received), the message corresponds to the number of bits in the group of analyzed signals.
По окончании пересылки ка;ждой группы сигналов с выхода счетчика 70 возбуждаетс одновибратор 73 и посылает импульсный сигнал в линию пер-, вого синхросигнала шины 14 с.инхрони- зации. По окончании пересылки сообщени - возбуждаетс одновибратор 74 и через элемент И 67 блокирует генератор 69, формиру паузу между пересылками сообщений. По концу импульса одновибратора 74 через элемент И 67 снимаетс блокировка генератора 69, и вновь возбужд.аетс одновибра- тор 68.At the end of the transfer to each group of signals from the output of counter 70, the one-shot 73 is energized and sends a pulse signal to the first sync line of the bus 14 sec. Synchronization. At the end of the message transfer, the one-shot 74 is energized and, through element 67, blocks generator 69, creating a pause between message transfers. At the end of the pulse of the one-shot 74, the blocking of the generator 69 is removed through the AND 67 element, and the one-shot 68 is re-energized.
Выключение блока 24 синхронизации осуществл етс записью логического О и в триггер 63. При этом, если блок 24 синхронизации находитс в состо нии Пауза, то на первом входе элемента И 65 установлен уровень логической 1, и сигнал с инверсного выхода триггера 63 через элементы И 65 и ИЛИ 66 проходит на синхровход триггера 64, переключает его в пассивное состо ние, и через элемент И 67 подтверждаетс сигнал блокировки генератора 69. Если в момент запи си логического О в триггер 63 блок 24 синхронизации находитс в состо нии пересылки сообщени , на D- входе триггера 64 устанавливаетс уровень логического О, на втором вх оде элемента И 65 уровень логической 1 и по окончании пересылки сообщени сигнал с выхода одновибратора 74 проходит через элементы И 65The synchronization unit 24 is turned off by writing logical O and to the trigger 63. At the same time, if the synchronization unit 24 is in the Pause state, then the first input of the AND 65 element is set to logical level 1, and the signal from the inverse output of the trigger 63 through AND 65 elements and OR 66 passes to the synchronous input of the trigger 64, switches it to the passive state, and through the element 67 it confirms the blocking signal of the generator 69. If at the moment of recording the logical O to the trigger 63 the synchronization unit 24 is in the forwarding state of the message, on D- the entrance trigger 64 sets the logic level O, on the second input of the element AND 65 the level of logical 1 and after the message is sent, the signal from the output of the one-shot 74 passes through the elements 65
Q g о Q g o
5five
00
5 five
0 5 0 5 0 5 0 5
696696
и НИИ 66, перевод триггер 64 в пассивное состо ние.and NII 66, transferring trigger 64 to a passive state.
Таким образам, обеспечиваетс корректное завершение передачи сообще- Н1-Ш в управл емые объекты. Состо ние блока синхронизации ЭВМ оценивает в цикле Ввод через узел 62, чита сигнал с выхода триггера 64.Thus, it ensures the correct completion of the transfer of the message H1-III to the controlled objects. The state of the computer synchronization unit evaluates in the Input cycle through node 62, the signal from the output of the trigger 64 is read.
Отсутствие сбоев в принимаемой с входов 11 и 52 информации провер етс блоками 12 и 51 контрол на четность следующим образом. Каждый бит последовательного кода, поступающий на первый вход элемента И 43, стро- бируетс импульсами третьей линии синхросигнала шины 14 синхронизации, в результате чего на стробирующий вход триггера 44, включенного по схеме однотактного делител на два,проход т только стробы информационных битов с уровн ми логической 1.The absence of failures in the information received from inputs 11 and 52 is checked by parity blocks 12 and 51 as follows. Each bit of the serial code arriving at the first input of the AND 43 element is built up by pulses of the third sync signal line of the sync bus 14, as a result of which only the gates of the information bits with levels are passed to the gate input of the trigger 44 included in the single-ended divider circuit. logical 1.
Окончание приема каждой группы сигналов сопровождаетс импульсом на первой линии синхросигнала щины 14 синхронизации, подключенной к первому входу элемента И 47. Если к моменту прихода этого импульса на триггер 44 проходит четное количество стробов , триггер 44 находитс в исходном состо нии, разреша прохождение импульса с выхода элемента И 47 через элемент И 46 на выход блока 12. Этот же импульс с выхода элемента И 47, поступа на синхровход триггера 45, подтверждает его исходное состо ние. Если к моменту прихода импульса по первой лини и синхросигнала шины 14 синхронизации на триггер 44 проходит нечетное количество стробов,то на D-BXO- де триггера 45 устанавливаетс сигнал .1, а на первом входе элемента И 46 сигнал лог.О. Импульс с выхода элемента И 47 переключит триггер 45 в единичное состо ние, после чего прохождение очередных импульсов через элемент И 47, а следовательно , и через элемент И 46, блокируетс . Возврат блока в исходное состо ние происходит перед началом очередной посылки импульсов с второй линии синхросигнала шины 14 синхронизации , поступающих на входы сброса триггеров 44 и 45.The end of the reception of each group of signals is accompanied by a pulse on the first clock line of the synchronization zone 14 connected to the first input of element 47. If at the moment of arrival of this pulse a flashing trigger 44 passes an even number of gates, the trigger 44 is in the initial state, allowing the pulse to exit from the output element And 47 through element And 46 at the output of block 12. The same pulse from the output of element And 47, arriving at the synchronous input of the trigger 45, confirms its initial state. If by the moment of arrival of the pulse, an odd number of gates passes through the first line and the sync signal of the sync bus 14 to the trigger 44, then the signal .1 is set to D-BXO-de flip-flop 45, and the signal Log.O. The pulse from the output of the element AND 47 will switch the trigger 45 to one state, after which the passage of successive pulses through the element AND 47, and consequently, through the element And 46, is blocked. The block returns to its initial state before the next sending of pulses from the second sync line of the sync bus 14 arriving at the reset inputs of the flip-flops 44 and 45.
Пересылка информации блоков 23 ввода-вывода осуществл етс следующим образом. Перед началом каждой пересылки передним фронтом сигнала во второй линии шины 14 синхронизацииThe information is transferred to the I / O unit 23 as follows. Before the start of each transfer of the leading edge of the signal in the second line of the bus 14 synchronization
устапав.11ивае-1ч; в нулевое состо ние счетчик 8, в результате чего на выходах 9 устанавливаетс код нулевого адреса, подготавливающий работу с нулевыми чейками узлов 57 и 58 па- м ти. Задним фронтом этого импульса через элемент ИЛН 55 и элемент 56 задержки осуществл етс запись содержимого нулевой чейки 58 пам ти в регистр 54.ostapav.11ivae-1h; The counter 8 is in the zero state, as a result of which the zero address code is set at the outputs 9, which prepares the work with the zero cells of the nodes 57 and 58 of the memory. The falling edge of this pulse, through the LNI element 55 and the delay element 56, records the contents of the memory zero cell 58 into the register 54.
Пересылка осуществл етс импульсами , поступающими по третьей линии синхросигнала шины 14 синхронизации,The transfer is carried out by pulses arriving at the third sync signal line of the sync bus 14,
формируемым в с т-1мат(.1ре 60 по моду. по два. Затем ЭВМ ос тдествл ет ввод информации из чеек узла 57 пам ти (процесс ввода описан в описании функционировани блока 1). При каждом вводе синхросигнал с второго выхода дешифратора 6 переводит выходы регистра 59 из высокоимпедансно- го состо ни в активное.formed in t-1mat (.1ре 60 mod. two each. Then the computer stops entering information from the memory node 57 of the memory (the input process is described in the description of the operation of block 1). With each input, the sync signal from the second output of the decoder 6 translates register 59 outputs from high impedance clear to active state.
Через регистр 50 в устройство поступает информаци о параметрах управл емого объекта и изменени х состо ни , не требующих немедленногоThrough the register 50, the device receives information about the parameters of the controlled object and state changes that do not require immediate
при этом передним фронтом каждого им- ig отклика, и обрабатываема ЭВМ поat the same time, the leading edge of each imig response, and the computer processed by
пульса осуществл етс сдвиг информации в приемном регистре 50, а задним фронтом через элемент НЕ 53 - сдвиг в передающем регистре 54. Таким образом, при аналогичной организации регистров приема и передачи в управл емом объекте обеспечиваетс корректна пересылка информации (сначала принимаетс ранее подготовленный бит, а затем на передатчике выставл етс новый бит-информации. Завершение пересылки каждой группы, как указаной при описании функционировани блока 24 синхронизации, сопровождаетс одиночным импульсом на первой линии синхросигнала щины 14 синхронизации.pulse is shifted information in the receiving register 50, and the falling edge through the element 53 is the shift in the transmitting register 54. Thus, with a similar organization of the receive and transmit registers in the controlled object, the information is transmitted correctly (first the previously prepared bit is received, and then the transmitter exposes a new bit-information. The completion of the transfer of each group, as indicated in the description of the operation of the synchronization unit 24, is accompanied by a single pulse on the first line of the sync Signals of sync 14.
Передним фронтом этого импульса ос-уществл етс перепись информаци из регистра 50 в чейку узла 57 пам ти, адрес которой определ етс состо нием счетчика 8. Задним фрон- том осуществл етс увеличение содержимого счетчика 8 на единицу, подготавлива узлы 57 и 58 пам ти дл работы с очередными группами пересылаемых сигналов. Задний фронт этого сигнала, проход через первый вхо элемента ИЛИ 55 и элемент 56 задержки , производит запись очередной группы в регистр 54.The leading edge of this pulse is the transfer of information from the register 50 to the cell of the memory node 57, whose address is determined by the state of the counter 8. The trailing edge increases the content of the counter 8 by one, preparing the memory nodes 57 and 58 for work with regular groups of sent signals. The leading edge of this signal, the passage through the first input of the OR 55 element and the delay element 56, records the next group in the register 54.
Дл анализа информации о состо нии управл емого объекта, зафиксированного в узле 57 пам ти, и модификации (или подтверждени ) управл ющей информации в узле 58 пам ти ЭВМ периодически выключает блок 24 синхронизации и после получени информации о переходе блока 24 в состо ние паузы производит засылку инфор мации в чейки узла 58 пам ти (процесс записи описан при описании функционировани блока 1) . Код каждой группы дополн етс битом четности.To analyze information about the state of the controlled object recorded in the memory node 57 and to modify (or confirm) the control information in the computer memory node 58, the synchronization unit 24 periodically turns off the synchronization unit 24 and after receiving information about the transition of the unit 24 to the pause state sending information to the cells of the memory node 58 (the recording process is described in the description of the operation of block 1). The code of each group is supplemented by a parity bit.
00
5five
00
5five
00
5five
00
5five
принципу периодического опроса. Изменени в состо нии управл емого объекта, требующие немедленной реакции , реализующей функционирование в реальном масштабе времени, поступают через регистр 13 и обрабатываютс анализатором 15 сигналов с выработкой сигналов требовани прерывани через формирователь 18 сигналов прерывани .the principle of a periodic survey. Changes in the state of the controlled object that require an immediate response, realizing the operation in real time, are received through the register 13 and are processed by the signal analyzer 15 with the generation of interrupt request signals through the interrupt signal generator 18.
Когда в процессе работы возникает необходимость контролировать состо ние определенного разр да в принимаемом сообщении, ЭВМ записывает в узел 28 оперативной пам ти по адресу, соответствующему номеру группы, содержащей контролируемый разр д, код настройки анализатора 15 сигналов. Код настройки содержит код номера контролируемого разр да в группе (разр ды Q1-Q3 узла 28 пам ти),выделенный бит дл настройки на ожидаемый уровень сигнала (разр д Q4) и выделенный бит с уровнем логической 1 (разр д Q6) дл разрешени прохождени сигналов через элемент И 27.When in the course of operation it becomes necessary to monitor the state of a certain bit in a received message, the computer writes to the node 28 of the operational memory at the address corresponding to the group number containing the controlled bit the setup code of the signal analyzer 15. The tuning code contains the code of the controlled bit number in the group (bits Q1-Q3 of the memory node 28), the allocated bit for setting the expected signal level (bit Q4) and the selected bit with a logic level 1 (bit Q6) to allow the passage signals through the element And 27.
Если в процессе управлени потребуетс , не дожида сь поступлени сигнала от выбранного разр да, отключить контроль его состо ни , ЭВМ записывает в узел 28 оперативной пам ти по тому же адресу код нул , перевод в пассивное состо ние контроль соответствующей группы сигналов .If the control process requires, without waiting for the signal from the selected bit, to disable monitoring of its state, the computer writes a zero code to the operating memory node 28 at the same address, putting the corresponding group of signals into a passive state.
Аналогично независимо друг от друга может быть активизирован или переведен в пассивное состо ние контроль остальных групп сигналов, принимаемых регистром 13 в предлагаемом устройстве или в таких же устройствах,подключенных к каналу 2 и шине 14 синхронизации и отличающихс друг от друга конфигурацией перемычек в дешифраторе 30 и в наборном поле 48.Similarly, independently of each other, the control of other groups of signals received by register 13 in the proposed device or in the same devices connected to channel 2 and synchronization bus 14 and differing from each other in the configuration of jumpers in the decoder 30 and in the dial pad 48.
В процессе приема регистром 13 группы сигналов код номера этой группы устанавливаетс на выходе счетчика 8 и, проход через мультиплек- сор 7 на адресные входы узла 28 оперативной пам ти, выставл ет на его выходах код контрол принимаемой группы сигналов, В момент окончани пересылки группы сигнал контролируемого разр да с выхода регистра 13 передаетс на выход мультиплексора 25. Если в процессе пересылки группы блоком 12 не фиксируетс сбой по четности, импульс с первой линии синхросигнала шины 14 синхронизации проходит через элемент И 46 на выход блока 12 и через элемент И 17 поступает на третий вход элемента И 27. Если при этом уровень контролируемого разр да на выходе мультиплексора 25 не совпадает с ожидаемым уровнем,на выходе Q4 узла 28 пам ти , на выходе элемента ИСКЛЮЧАЮЩЕЕ ИЛИ 26 устанавливаетс уровень логического О, и импульс через элемент И 27 на выход анализатора сигналов 15 не проходит.In the process of receiving by the register 13 of the signal group, the code of the number of this group is set at the output of the counter 8 and, passing through the multiplexer 7 to the address inputs of the operational memory 28, exposes at its outputs the control code of the received signal group. controlled bit from the output of register 13 is transmitted to the output of multiplexer 25. If in the process of sending a group, block 12 does not detect a parity failure, the pulse from the first sync line of the sync bus 14 passes through element 46 on the output of the block 12 and through the element AND 17 enters the third input of the element AND 27. If the level of the controlled discharge at the output of the multiplexer 25 does not match the expected level, the output Q4 of the memory node 28, the output of the EXCLUSIVE OR 26 element sets the logical level Oh, and the pulse through the element And 27 to the output of the signal analyzer 15 does not pass.
Задним фронтом импульса с первой линии синхросигнала шины 14 синхронизации содержимое счетчика 8 увеличиваетс на единицу, и устройство бу- первом входе элемента И 39. Поступдет готово к приему и анализу очередной группы сигналов.With the falling edge from the first sync line of the sync bus 14, the contents of counter 8 are incremented by one, and the device is the first input of the AND 39 element. It is ready to receive and analyze the next group of signals.
Если в момент контрол очередной группы сигналов уровень контролируемого разр да на выходе мультиплексора 25 совпадает с ожидаемым уровнем на выходе Q4 элемента ИСКЛЮЧАЮЩЕЕ ИЛИ 26, импульс с выхода элемента И 17 проходит через элемент И 27 на выход анализатора 15 сигналов и переключает в единичное состо ние триггер 36 в формирователе 18 сигнала прерываний.If, at the time of monitoring the next group of signals, the level of the controlled bit at the output of multiplexer 25 coincides with the expected level at the output Q4 of the EXCLUSIVE OR 26 element, the pulse from the output of the AND 17 element passes through the AND 27 element to the output of the signal analyzer 15 and switches to one state trigger 36 in the driver 18 interrupt signal.
Сигнал с выхода триггера 36 подготавливает к переключению триггер 37 и выставл ет по линии 20 в канал 2 сигнал требовани прерывани . Одновременно этот сигнал поступает на синхровход буферного регистра 21 и фиксирует в нем код номера группы, вызвавшей прерывание. Этот же сигнал , поступа в узел 16 блокировки, установит уровень логического О на выходе элемента И 40 и переклю40The output signal from flip-flop 36 prepares the flip-flop 37 for switching and exposes the interrupt demand signal via line 20 to channel 2. At the same time, this signal arrives at the synchronous input of the buffer register 21 and fixes in it the code of the number of the group that caused the interruption. The same signal, arriving at the blocking block 16, will set the logic level O at the output of the element 40 and switch 40
ление сигнала предоставлени прерыва ни вызывает по вление сигнала на выходе элемента И 38. Этим сигналом устанавливаетс в нулевое состо ние триггер 36, в результате чего подготавливаетс к установке в нулевое состо ние триггер 37 и снимаетс сиг нал с линии 20 требовани прерывани Кроме того, сигнал с выхода элемен- g та И 38 переводит выходы шинного фор мировател 49 из состо ни высокого импеданса в активное, а также, пройд через элемент ИЛИ 35, поступает в канал 2, информиру ЭВМ о выдаче кода из устройства в канал В. В результате этого в канал поступит код- вектора прерывани , установленный перемычками наборного пол 48, и используетс ЭВМ дл программной реализации обслуживани прерывани .The interrupt supply signal causes the appearance of a signal at the output of the element 38. This signal sets the trigger 36 to the zero state, as a result of which the trigger 37 is prepared for the zero state and the signal from the interrupt signal 20 is removed. from the output of the element g 38 translates the outputs of the bus driver 49 from the state of high impedance to active, and also, having passed through the element e 35, enters channel 2, informing the computer about issuing a code from the device to channel B. As a result in can It will receive the interrupt vector code set by the jumpers of dial pad 48 and will be used by a computer to implement the interrupt service software.
После этого с линии 19 предоставлени црер зшани снимаетс сигнал, что приводит к сн тию сигнала с выхода элемента И 38 и переводу выходоThereafter, a signal is removed from line 19 of the distributor, which leads to the removal of the signal from the output of the AND 38 element and the translation of the output
5050
5555
чит в нулевое состо ние триггер 41, в результате чег о на выходе одновиб- ратора 42 сформируетс импульс,.который перепишет О с выхода элемента И 40 в шестой разр д узла пам ти 28 по адресу,соответствующему номеру группы, вызвавшей прерывание, перевод контроль этой группы в пассивное состо ние. Кроме того, сигнал с выхода триггера 41 запретит прохождение импульсов с выхода: блока контрол на четность 12 через элемент Н 17, обеспечива тем самымcheat into the zero state trigger 41, as a result of the output of the one-shot 42, an impulse is formed that will overwrite O from the output of the AND 40 element to the sixth bit of the memory node 28 at the address corresponding to the group number that caused the interrupt. This group is in a passive state. In addition, the signal from the output of the trigger 41 will prohibit the passage of pulses from the output: the parity control unit 12 through the H 17 element, thereby ensuring
корректное завершение ,. обработки прерывани ЭВМ.correct completion,. computer interrupt handling.
Переключение триггера 37 происходит при поступлении на синхровход формировател 18 сигнала прерывани The trigger switch 37 occurs when the interrupt signal is received by the synchronizer input of the driver 18.
по линии третьего синхровхода блока 1 очередного синхронизирующего импульса канала 2, после чего формирователь 18 сигнала прерывани переходит в состо ние ожидани сигнала предоставлени прерывани по линии 19, которым должна ответить ЭВМ в ответ на сигнал в линии 20 требовани прерывани . Если прохождение сигнала по линии 19 не заблокировано устройствами, имеющими более высокий приоритет, то дальнейшее прохождение сигнала по линии 19 предоставлени прерывани через элемент И 39 блокируетс сигналом Лог.О наon the line of the third synchronous input of the unit 1 of the next synchronizing pulse of channel 2, after which the interrupt signal generator 18 enters a state of waiting for the interruption grant signal on line 19, which the computer must respond to in response to the signal on line 20 of the interrupt request. If the signal passing through line 19 is not blocked by devices that have a higher priority, then further signal passing through interrupt supply line 19 through AND 39 is blocked by the signal Log.
00
ление сигнала предоставлени прерывани вызывает по вление сигнала на выходе элемента И 38. Этим сигналом устанавливаетс в нулевое состо ние триггер 36, в результате чего подготавливаетс к установке в нулевое состо ние триггер 37 и снимаетс сигнал с линии 20 требовани прерывани . Кроме того, сигнал с выхода элемен- g та И 38 переводит выходы шинного формировател 49 из состо ни высокого импеданса в активное, а также, пройд через элемент ИЛИ 35, поступает в канал 2, информиру ЭВМ о выдаче кода из устройства в канал В. В результате этого в канал поступит код- вектора прерывани , установленный перемычками наборного пол 48, и используетс ЭВМ дл программной реализации обслуживани прерывани .The interrupt grant signal causes the output signal of the element 38 to appear. This signal sets the trigger 36 to the zero state, as a result of which the trigger 37 prepares for the zero state and removes the signal from the interrupt demand line 20. In addition, the signal from the output of the element g 38 translates the outputs of the bus driver 49 from the high impedance state to active, and also, having passed through the element 35, enters channel 2, informing the computer about issuing a code from the device to channel B. As a result, the interrupt code vector set by the jumpers of dial pad 48 will arrive in the channel and is used by the computer for software implementation of the interrupt service.
После этого с линии 19 предоставлени црер зшани снимаетс сигнал, что приводит к сн тию сигнала с выхода элемента И 38 и переводу выходовThereafter, a signal is removed from line 19 of the distributor, which leads to the removal of the signal from the output of the AND 38 element and the translation of the outputs
00
5five
n1n1
ш иниого формироват л 49 в состо ние высокого импеданса. При поступлении по линии третьего синхровхода блока 1 очередного синхронизирующего импульса происходит установка триггера 37 в нулевое состо ние,и формирователь 18 сигнала прерывани возвращаетс в исходное состо ние.In the form of a high impedance. When the third synchronizing input of the block 1 of the next synchronizing pulse arrives, the trigger 37 is set to the zero state, and the interrupt signal generator 18 returns to the initial state.
Дл выхода в нужную подпрограмму ЭВМ осуществл ет дополнительное обращение к регистру 21. Сигнал, формирующийс на третьем выходе дешифратора 6, активизирует выходы регистра 21 , а также устанавливает в единичное состо ние триггер 41 в узле 16 блокировки. На первом входе элемента И 17 устанавливаетс сигнал, разрешающий прохождение через элемент И 17 сигналов с выхода блока 12 контрол на четность на вход разрешени анализатора 15 сигналов .To access the desired subroutine, the computer makes additional access to register 21. The signal formed on the third output of the decoder 6 activates the outputs of register 21, and also sets the trigger 41 in the blocking unit 16 to one state. At the first input of the element 17, a signal is established allowing the signals through the element 17 to pass from the output of the parity control unit 12 to the resolution input of the signal analyzer 15.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864161887A SU1401469A1 (en) | 1986-12-10 | 1986-12-10 | Device for interfacing a computer with controlled objects |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864161887A SU1401469A1 (en) | 1986-12-10 | 1986-12-10 | Device for interfacing a computer with controlled objects |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1401469A1 true SU1401469A1 (en) | 1988-06-07 |
Family
ID=21273049
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU864161887A SU1401469A1 (en) | 1986-12-10 | 1986-12-10 | Device for interfacing a computer with controlled objects |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1401469A1 (en) |
-
1986
- 1986-12-10 SU SU864161887A patent/SU1401469A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1129600, кл. G 06 F 13/00, 1984. Авторское свидетельство ССОР № 1208557, кл. G 06 F 13/00, 1986. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0051332B1 (en) | Two-wire bus-system comprising a clock wire and a data wire for interconnecting a number of stations | |
US4569017A (en) | Duplex central processing unit synchronization circuit | |
EP0183273B1 (en) | Serial interface system flexibly applicable to a one-to-plurality connection | |
CA1240399A (en) | Duplex controller synchronization circuit | |
US5133078A (en) | Serial frame processing system in which validation and transfer of a frame's data from input buffer to output buffer proceed concurrently | |
US4651298A (en) | Selection of data from busses for test | |
JPH026148B2 (en) | ||
US4972345A (en) | Apparatus for error detection and reporting on a synchronous bus | |
US5197065A (en) | Distribution mechanism for establishing communications between user interfaces of a communication system | |
SU1401469A1 (en) | Device for interfacing a computer with controlled objects | |
SU1410041A1 (en) | Device for interfacing subscribers with computer | |
SU1667088A1 (en) | Device for user interfacing to a communication channel | |
EP0286907B1 (en) | Pulse code modulation decommutator interfacing system | |
SU1388878A1 (en) | Device for interfacing subscriber with communications link | |
EP0076494B1 (en) | Data transmission bus system for a plurality of processors | |
SU1486990A1 (en) | System for numerical program control of group of machines | |
SU802957A1 (en) | Communication system for computing system | |
SU1282108A1 (en) | Interface for linking transducers with electronic computer | |
SU1238088A1 (en) | Interface for linking computer with using equipment | |
RU1839258C (en) | Device for connection of local area network bus to computer | |
SU1179233A1 (en) | Device for testing digital printed board assemblies | |
SU1003064A1 (en) | Information exchange device | |
SU1368883A1 (en) | Device for interfacing computers in multiprocessor computing system | |
SU1718226A1 (en) | Distributed controlling system data i/o device | |
SU1587523A2 (en) | Two-channel device for interfacing two electronic machines |