SU1464165A1 - Device for interfacing computer with communication channels - Google Patents
Device for interfacing computer with communication channels Download PDFInfo
- Publication number
- SU1464165A1 SU1464165A1 SU874216845A SU4216845A SU1464165A1 SU 1464165 A1 SU1464165 A1 SU 1464165A1 SU 874216845 A SU874216845 A SU 874216845A SU 4216845 A SU4216845 A SU 4216845A SU 1464165 A1 SU1464165 A1 SU 1464165A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- output
- input
- messages
- block
- trigger
- Prior art date
Links
Landscapes
- Communication Control (AREA)
- Detection And Prevention Of Errors In Transmission (AREA)
Abstract
Изобретение относитс к области .вычислительной техники и может быть использовано в автоматизированных системах управлени . Целью изобретени вл етс сокращение аппаратурных затрат устройства и повышение достоверности контрол поступающей в ЭВМ информации. Устройство содержит коммутатор, преобразователь последовательного кода, два блока формировани задержки, счетчик числа сообщений, формирователь импульса, блок, пам ти, триг.гер готовности, триггер ошибки. Устройство работает совместно с ЭВМ. Изобретение позвол ет осуществл ть контроль количества принимаемых ЭВМ сообщений (тактируемой информации) от каналов св зи. При отклонении числа сообщений от заданного, например, под действием помехи в каналах св зи устройство выдает сигнал ошибки. В зависимости от решаемых задач ЭВМ имеет возможность производить повторньм прием или или отбраковку получаемых сообщений. 5 ил. SThe invention relates to the field of computing technology and can be used in automated control systems. The aim of the invention is to reduce the hardware costs of the device and increase the reliability of monitoring information received by the computer. The device contains a switch, a serial code converter, two blocks for generating a delay, a counter for the number of messages, a pulse shaper, a block, a memory, a trigger ready trigger, an error trigger. The device works in conjunction with a computer. The invention allows the monitoring of the number of messages (clocked information) received by the computer from the communication channels. If the number of messages deviates from a given one, for example, under the action of interference in the communication channels, the device generates an error signal. Depending on the tasks to be solved, the computer has the ability to repeat the reception or rejection of received messages. 5 il. S
Description
1one
Изобретение относитс к вычислительной технике и может быть использовано при создании устройств сопр жени вычислительных машин с каналами св зи, например, Б автоматизированных системах управлени (АСУ).The invention relates to computing and can be used to create devices to interface computers with communication channels, for example, B automated control systems (ACS).
Цель изобретени - сокращение аппаратурных затрат устройства и повышение достоверности контрол поступав ющей в ЭВМ информации.The purpose of the invention is to reduce the hardware costs of the device and increase the reliability of monitoring information received by the computer.
На фиг. 1 представлена блок-схема устройства; на фиг. 2 - функциональна схема блока формировани задержки; на фиг. 3-5 - временные диаграммы работы устройства при нормальном приеме информации, при потере вFIG. 1 is a block diagram of the device; in fig. 2 is a functional block diagram of the formation of a delay; in fig. 3-5 - time diagrams of the device operation during the normal reception of information, with the loss of
канале св зи одного тактового импульса , при возникновении в канале св зи одного лишнего тактового импульса.the communication channel of one clock pulse, when a single excess clock pulse occurs in the communication channel.
Устройство (фиг. 1) содержит коммутатор 1, преобразователь 2 после- довательного кода, второй блок 3 формировани задержки, счетчик 4 числа (рообщений, формирователь 5 импульсов, блок 6 пам ти, первый блок 7 формировани задержки, триггер 8 готовности , триггер 9 ошибки, входы 10.1- 10.п подключени каналов св зи, выходы 11 и 12, входы 13 и 14 и выходы 15 и 16 подключени к ЭВМ 17.The device (Fig. 1) contains a switch 1, a sequential code converter 2, a second delay formation unit 3, a number counter 4 (messages, a pulse shaper 5, a memory unit 6, a first delay generation unit 7, a readiness trigger 8, a trigger 9 errors, inputs 10.1-10. of connection of communication channels, outputs 11 and 12, inputs 13 and 14 and outputs 15 and 16 of connection to the computer 17.
Блоки 3 и 7 формировани задержки (фиг. 2) содержат генератор 18 кмпульсов , счетчик 19,, .триггер 20 и элемент ИЛИ 21. На чертежах показаны также линии 22-26 вкодо з и выходов блоков и элементов устройства.Blocks 3 and 7 for the formation of a delay (Fig. 2) contain a generator of 18 cm pulses, a counter 19 ,, trigger 30, and an element OR 21. The drawings also show lines 22-26 of the outputs of the blocks and elements of the device.
Временные диаграты (фиг.3-5) составлены дл следующих условий; в блок 6 пам ти записываетс код ко- мандЫр состо щий из адреса .соответствующего канапа св зи и кода числа сообщенийS равного двум длина одного сообщени равна двум четьфехразр д- ным словам; за.штри 5сова.нные области соответствуют неопределенному состо нию сигнапов; буквой И обозначена область существовани достоверной информации на выходе 11,Timing diagrams (Figures 3-5) are made for the following conditions; In memory block 6, a code CODE consisting of the address of the corresponding communication canister and a message number code equal to two is written to the length of one message equal to two times; The 5ssa.three fields correspond to the uncertain state of the alarms; the letter I indicates the area of existence of reliable information at output 11,
Устройство работает следующим образом ,The device works as follows
ЭВМ 17 устанавливает на входе 13 код команды и формирует сигнал, на входе 14. В состав команды входит код номера коммутируемого канала св зи и код, определ кщнй сколько сообщений должно быть прин то нз данного канала св зи (код числа сообщений ) , Код команды поступает на вход блока 6 пам ти. Сигнал с вко- да 14 поступает на блок 6 дл записи кода команды в блоке 6 и на вход формировател 5, который формирует по линии 23 стартовый сигнал начала цикла приема дл блока 7 и установки в исходное состо ние триггеров 8 и 9 а -также сигнал записи кода числа сообщений н счетчик 4, Поступивиий по информационному входу счетчтаса 4 код числа сообщений запоминаетс в этом счетчике. Поступивший на вход 23 , блока 7 сигнал нач,ал,а цикла приема устанавливает триггер 20 в.состо ние разрешени счета рда. счетчика 19 Последний разблокируетс и начинает заполн тьс импульсами с генератору 18. Величину за ержки блоков 3 и 7 определ ет врем заполнеша счетчика 19, Дл блока 7 величину задержки выбирают большей времени приема МсШсимально возможного числа сообщений по любому из каналов св зи .на врем 5 равное или большее величины периода следовани оактовых сигналов . При заполнении счетчика 19 (т.е. после окончани формируемого блоком 7 времени задержки) на выходе этого счетчика вырабатываетс сигнал которьй поступает через -элемент ИЛИ 21 на вход сброса триггера 20. При этом сигнал с выхода последнего усThe computer 17 sets the command code at input 13 and generates a signal at input 14. The command includes a dial-up channel number code and a code that determines how many messages should be received on this communication channel (message number code). enters the input of block 6 of memory. The signal from input 14 goes to block 6 to record the command code in block 6 and to the input of driver 5, which generates, on line 23, the starting signal of the start of the reception cycle for block 7 and resetting the triggers 8 and 9 and also the signal write the code of the number of messages on the counter 4; The input signal 23, input 7, block 7, beginning, al, and the receive cycle sets the trigger 20 into. The state of resolution of the counting registers. counter 19 The latter is unblocked and begins to fill with pulses from generator 18. The value of holding the blocks 3 and 7 determines the time of filling the counter 19, For block 7, the delay value is chosen greater than the reception time with the maximum possible number of messages on any of the communication channels. equal to or greater than the value of the period of the following signals. When the counter 19 is filled (i.e. after the delay time formed by the block 7 ends), the output of this counter produces a signal which goes through the OR element 21 to the reset input of the trigger 20. At the same time, the signal from the output of the last
41654165
танавливает счетчик 19 в исходное состо ние и удерживает его в этом состо нии до начала следующего цикла приема сообщений. Сигнал с выкода счетчика 19 блока 7, поступает на второй вход триггера 9.turns counter 19 back to its original state and keeps it in this state until the beginning of the next message receiving cycle. The signal from counter code 19 block 7, is fed to the second input of the trigger 9.
Если во врем формировани временной задержки на вход 22 блока 7 .If during the formation of the time delay at the input 22 of the block 7.
10 поступает сигнал установки в исходное состо ние, то формирование задержки прекращаетс , а счетчик 19 удерживаетс в исходном состо нии до следующего стартового сигнала.10, the setup signal is returned to the initial state, the delay generation is stopped, and the counter 19 is kept in the initial state until the next start signal.
15 Сигналы информации, сопровождаемые тактовыми сигналами, поступают из каналов св зи через входы 10 устройства на входы коммутатора 1. Подключение того или иного канала св 20 зи к преобразователю 2 осуществл етс кодом номера канала св зи, поступающим с выхода блока 6 пам ти на вход коммутатора 1.15 Information signals, followed by clock signals, come from communication channels through inputs 10 of the device to inputs of switch 1. Connection of one or another communication channel 20 to converter 2 is performed by the code of the communication channel number received from the output of memory block 6 to the input switch 1.
5five
00
5five
00
5five
00
5five
Информационные и тактовые сигналы с выходов коммутатора 1 поступают в преобразователь 2, где осуществл етс преобразование последовательного кода в парапипельный и передача сообщений отдельными словами на выходы 11 в ЭВМ 17 . После приема последнего слова каждого сообщени преобразователь 2 вьщает на счетчик 4 и на выход 12 сигнал 1сонца сообщени , что обеспечивает считьшание оче,- редного сообщени ЭВМ 17. Сигналы конца сообщени , поступ;ающие на счетик 4, каждый раз з меньшают код в этом счетчике на 1. После приема последнего сообщени ЭВМ 17 и при совпадении количества прин тых по данному каналу сообщений с числом, предварительно записанным в счетчик .4, последний вьщает сигнал окончани сообщений на вход 25 блока 3, который работает аналогично блоку 7. Блок 3 задерживает сигнал со счетчика,4 на врем , равное или большее периода Следовани тактовых сигналов, поступающих на вход 26 блока 3. Если за врем задержки, формируемое блоком 3, тактовый сигнал не поступает (число сообщений равно ,анному), то после истечени этого времени блок 3 вырабатьйает сигнал окончани сообщений по данному каналу,, На. выходе триггера 8 устанавливаетс сигнал окончани сообщений, который транслируетс на выход 15 устройства. The information and clock signals from the outputs of the switch 1 are fed to the converter 2, where the serial code is converted into a para-pixel one and the messages are transmitted by separate words to the outputs 11 in the computer 17. After the last word of each message has been received, converter 2 sends a 1 message message to counter 4 and output 12, which ensures that the next computer message is received. 17. Signals of the end of the message are received; they go to counter 4 each time the code in this counter is counted by 1. After receiving the last computer message 17 and when the number of messages received on this channel coincides with the number previously recorded in counter .4, the latter signals the end of messages to input 25 of unit 3, which operates similarly to unit 7. Unit 3 is closed the signal from the counter, 4 for a time equal to or greater than the period of the Following clock signal, arriving at the input 26 of block 3, lives. If during the delay time generated by block 3 the clock signal does not arrive (the number of messages is equal to), then after this time has expired Block 3 generates a message termination signal for the given channel, On. The output of the trigger 8 sets a message termination signal that is transmitted to the output 15 of the device.
5five
Поступление сигнала окончани сообщений с блока 3 на вход 22 блока прекращает, формирование задержки i блоком 7, и на выходе этогЬ блока сигнал ошибки не вырабатываетс . ЭВМ 17 воспринимает сигнал с выхода 15, как сигнал нормального окончани сообщений, и переходит к приему информации с другого канала св зи. Триггер 20 блока 3 устанавливаетс в исходное состо ние первым тактовы сигналом, поступившим с выхода коммутатора 1 с началом следующего цикла приема информации.The arrival of the message termination signal from block 3 to block input 22 stops, the formation of delay i by block 7, and no error signal is generated at the output of this block. The computer 17 perceives the signal from output 15 as a signal for the normal termination of messages, and proceeds to receive information from another communication channel. The trigger 20 of block 3 is reset with the first clock signal received from the output of switch 1 with the start of the next information reception cycle.
, Циклы приема информации повтор ютс .The information reception cycles are repeated.
Если количество сообщений меньше или больше количества сообщений, соответствующего коду числа сообщеч НИИ, записанному в счетчик 4, сигнал окончани сообщений на выход 15 не транслируетс . При этом формируетс сигнал ошибки на выходе 16 слет дующим образом.If the number of messages is less than or greater than the number of messages corresponding to the number code of the message of the scientific research institute recorded in counter 4, the message termination signal is not transmitted to output 15. In so doing, an error signal is generated at output 16 in the following manner.
Если количество прин тых сообщени меньше числа сообщений, определ емого кодом, записанным в счетчик 4, счетчик 4 сигнал окончани сообщений не вьщает. В этом случае на вход блока 7 сигнал прекращени формировани задержки с выхода 22 блока 3 не приходит. После окончани времени задержки, формируемой блоком 7, на вход триггера 9 поступает сигнал, которьш измен ет состо ние этого триггера. С выхода триггера 9 на выIf the number of received messages is less than the number of messages defined by the code recorded in counter 4, the counter 4 does not signal the end of messages. In this case, a signal to stop the formation of a delay from the output 22 of block 3 does not come to the input of block 7. After the end of the delay time generated by the block 7, the input of the trigger 9 receives a signal that changes the state of this trigger. From trigger 9 to you
ход 16 устройства будет транслироватьс сигнал, который воцпринимает с ЭВМ 17 как сигнал ошибкой. На выход 15 сигнал окончани сообщений транслироватьс не будет.course 16 of the device will transmit a signal that receives from the computer 17 as an error signal. At output 15, the message termination signal will not be broadcast.
Если количество прин тых сообщений больше числа сообщений, определ емого кодом, записанным в счетчик 4, то с поступлением числа сообщений соответствующего коду, записанному в счетчик 4, этот счетчик вьфабаты- вает сигнал окончани , сообщений, который поступает на вход 25 блока 3. Последний формирует задержку этого сигнала. Очередным тактовым сигналом (сообщени еще не закончились) с выхода 26 коммутатора 1, который поступит на вход блока 3, прекращаетс формирование задержки этим блоком . Сигнал окончани сообщений на . выходе лока 3 не формируетс и на входы 22 триггера 8 и блока 7 неIf the number of received messages is greater than the number of messages defined by the code recorded in counter 4, then with the arrival of the number of messages corresponding to the code recorded in counter 4, this counter indicates the end signal of the messages that are received at input 25 of block 3. Last generates a delay of this signal. The next clock signal (the messages have not yet expired) from the output 26 of the switch 1, which is fed to the input of the block 3, the formation of the delay by this block stops. Signal end messages on. the output of the lock 3 is not formed and the inputs 22 of the trigger 8 and block 7 do not
66
поступает. Блок 7 не прекращает, формирование времени задержки, по окончании которой сигнал с выхода блока 7 измен ет состо ние триггера 9. На выход 16 поступает сигнал ошибки. На выходе 15 сигнал окончани сообщений отсутствует.arrives. Block 7 does not stop generating a delay time, at the end of which the signal from the output of block 7 changes the state of trigger 9. Output 16 receives an error signal. At output 15, there is no message ending signal.
00
5five
5five
ФF
00
ормула изобретени Устройство дл сопр жени вычислительной машины с каналами св зи, i содержащее преобразователь последовательного кода в параллельный, ком- NfyTaTop, группа информационных входов которого вл етс группой входов устройства дл подключени к инфор- мационньм лини м св зи, а адресньш вход соединен с первымовыходом блока пам ти, первый блок формировани задержки, триггер готовности, выход которого вл етс выходом устройства дл подключени к входу готовности вычислительной машины, отличающеес тем, что, с целью сокра™ щени аппаратурных затрат устройства , в него введены формирователь импульсов , счетчик числа сообщений, триггер ошибки и второй блок форми- Q ровани задержки, причем информационный и тактовый входы преобразовател последовательного кода в парал- лельньй соединены соответственно с первым и вторым выходами коммутатора , а информационный и синхронизирующий выходы ЯВЛ5ПОТСЯ соответствующими выходами устройства дл подключени к информационному и синхроFormula of the Invention A device for interfacing a computer with communication channels, i containing a serial-to-parallel code converter, a NfyTaTop group, the information input group of which is a group of device inputs for connecting to an information communication line, and the address input is connected to the first output of the memory block, the first delay shaping block, the readiness trigger, the output of which is the output of the device for connecting to the readiness input of the computer, characterized in that, in order to reduce The device’s hardware costs, a pulse driver, a message count counter, an error trigger and a second delay shaping unit are entered, the information and clock inputs of the serial-to-parallel converter are connected to the first and second switches of the switch, and the information and sync outputs YABL5POTSYA corresponding outputs of the device for connecting to the information and sync
5five
00
5five
00
5five
низирующему входам вычислительной машины, информационный и синхронизирующий входы блока пам ти и выход триггера опшбки вл ютс соответствующими входами и выходом устройст-, ва дл подключени к командному и синхронизирзшэщему выходам и входу ошибки вычислительной машины, информационный , счетный входы и вход записи счетчика числа сообщений подключены соответственно к вторым выходам преобразовател последовательного кода в параллельньй и блока пам ти и первому выходу, формировател импульсов, вход которого соединен с входом устройства дл подключени к синхронизирующему выходу вычислительной машины, а второй выход - с входами сброса триггеров готовности и ошибки и входом пуска первого блока формировани задержки, выходомThe computer’s downstream inputs, the information and synchronization inputs of the memory unit and the trigger output are the corresponding inputs and output of the device; they are connected to the command and synchronization outputs and error input of the computer, the information, counting inputs and the write input of the message number are connected respectively, to the second outputs of the serial-to-parallel converter and the memory unit and the first output of the pulse shaper, whose input is connected to the input of the device for connecting to the synchronization output of the computer, and the second output - with the reset inputs of the ready and error triggers and the start input of the first delay shaping unit, the output
соединенного с установочным входом триггера ошибки, а входом сброса - с установочным входом триггера готов ности и выходом второго блока формировани задержки, входы сброса и пуска которого подключены соответст . венно к второму вьгходу коммутатора и выходу счетчика числа сообщений,.connected to the setup input of the error trigger, and the reset input to the setup input of the availability trigger and the output of the second delay shaping unit, the reset and start inputs of which are connected respectively. to the second switch of the switch and the output of the message count counter.
1one
//
жWell
&&
//
// л// l
1212
чh
«Ч"H
1$ 1 $
--,-,
16sixteen
n KuJJUuecmeo разр дов cooffafef ua, к- монс. кал-So cooffi effift/.n KuJJUuecmeo bits cooffafef ua, k-mons. cal-so cooffi effift /.
Фиг.FIG.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874216845A SU1464165A1 (en) | 1987-03-30 | 1987-03-30 | Device for interfacing computer with communication channels |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874216845A SU1464165A1 (en) | 1987-03-30 | 1987-03-30 | Device for interfacing computer with communication channels |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1464165A1 true SU1464165A1 (en) | 1989-03-07 |
Family
ID=21293458
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU874216845A SU1464165A1 (en) | 1987-03-30 | 1987-03-30 | Device for interfacing computer with communication channels |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1464165A1 (en) |
-
1987
- 1987-03-30 SU SU874216845A patent/SU1464165A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 433.482, кл. G 06 F 13/00, 1974. Авторское свидетельство СССР № 703799, кл. С 06 F 13/00, 1977. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1464165A1 (en) | Device for interfacing computer with communication channels | |
CA1091372A (en) | Telephone message timing system | |
SU1679644A1 (en) | Digital data receive-transmit system | |
SU1751859A1 (en) | Multichannel converter of series-to-parallel code | |
SU1656685A2 (en) | Serial-to-parallel converter | |
SU1679495A1 (en) | Hoist-to-subscriber communication interface unit | |
SU1234974A1 (en) | Serial code-to-parallel code converter | |
SU640284A1 (en) | Command information receiving device | |
SU1156111A1 (en) | Telecontrol device | |
SU1322300A1 (en) | Interface for linking digital computer with using equipment | |
SU1520530A1 (en) | Device for interfacing computer with communication channel | |
SU1310827A1 (en) | Interface for linking information source and receiver | |
SU809293A1 (en) | Information receiving and transmitting apparatus | |
SU1061128A1 (en) | Device for data input/output | |
SU1283980A1 (en) | Serial code-to-parallel code converter | |
SU1497755A1 (en) | Adaptive discrete message transmission system | |
SU857967A1 (en) | Interface | |
SU1322344A1 (en) | Device for transmission and reception of digital information | |
SU1633494A1 (en) | Decoder for phase-shift code | |
SU1259506A1 (en) | Start-stop reception device | |
SU1238088A1 (en) | Interface for linking computer with using equipment | |
SU1193655A1 (en) | Serial code-to-parallel code converter | |
SU1072035A1 (en) | Information exchange device | |
SU418880A1 (en) | ||
SU1099395A1 (en) | Receiver of commands for slaving velocity |