SU1325492A1 - Device for interfacing computer with communications line - Google Patents
Device for interfacing computer with communications line Download PDFInfo
- Publication number
- SU1325492A1 SU1325492A1 SU864043938A SU4043938A SU1325492A1 SU 1325492 A1 SU1325492 A1 SU 1325492A1 SU 864043938 A SU864043938 A SU 864043938A SU 4043938 A SU4043938 A SU 4043938A SU 1325492 A1 SU1325492 A1 SU 1325492A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- output
- inputs
- information
- trigger
- Prior art date
Links
Landscapes
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
Изобретение относитс к вьгаис- лительной технике и может использоватьс в системах телемеханики. Это устройство предназначено дл приема последовательного кода из линии св зи и преобразовани его в машинное слово, вводимое в ЭВМ параллельным кодом, и наоборот, преобразовани машинного слова, полученного из ЭВМ параллельным кодом, в последовательный код, выдаваемый в линию св зи. Целью изобретени вл етс расширение области применени . Устройство содержит триггеры 1-7, элементы И 8- 15, элемент И-НЕ 16, группу 17 элементов И, элементы ИЛИ 18-23, генератор 24, регистр 25 сдвига, счетчик 26, распределитель 27 импульсов, дешифратор 28, элемент ШШ-НЕ 29 и элемент НЕ 30. 1 ил. (Л 37The invention relates to random technology and can be used in telemechanics systems. This device is intended to receive a serial code from a communication line and convert it into a machine word entered into a computer by a parallel code, and vice versa, convert a machine word obtained from a computer with a parallel code into a serial code issued to the communication line. The aim of the invention is to expand the scope. The device contains triggers 1-7, elements AND 8- 15, element AND-NOT 16, group 17 of elements AND, elements OR 18-23, generator 24, shift register 25, counter 26, distributor 27 pulses, decoder 28, element SHSh- NOT 29 and the element NOT 30. 1 Il. (L 37
Description
Изобретение относитс к вычислительной технике и может быть использовано на контролируемых пунктах (КП) и пунктах управлени (ПУ) систем телемеханики дл приема последовательного кода из линии св зи и преобразовани его в машинное слово, . вводимое в ЭВМ параллельньм кодом, и наоборот, преобразовани машинного слова, полученного из ЭВМ параллельным кодом, в последовательньм код, выдаваемый в линию св зи.The invention relates to computing and can be used at controlled points (KP) and control points (PU) of telemechanics systems for receiving a serial code from a communication line and transforming it into a computer word,. entered into a computer by a parallel code, and vice versa, conversion of a machine word obtained from a computer by a parallel code into a serial code issued to the communication line.
Цель изобретени - расширение области применени устройства за счет обеспечени возможности его использовани в пунктах управлени и контролируемых пунктах телемеханических систем.The purpose of the invention is to expand the field of application of the device due to the possibility of its use in control points and controlled points of telemechanical systems.
На чертеже приведена функциональна схема устройства.The drawing shows a functional diagram of the device.
Устройство содержит триггеры 1-7, элементы И 8-15, элемент И-НЕ 16, группу 17 элементов И, элементы ИЛИ 18-23, генератор 24 импульсов, регистр 25 сдвига, счетчик 26, распределитель 27 импульсов, дешифратор 28, элемент ИЛИ-НЕ 29, элемент НЕ 30, входы, поступающие из микроЭВМ: Начало обмена 31, Сброс устройства 32; Передача 33; Прием 34; За10The device contains triggers 1-7, elements AND 8-15, element AND-NOT 16, group 17 elements AND, elements OR 18-23, pulse generator 24, shift register 25, counter 26, pulse distributor 27, decoder 28, element OR -NOT 29, element NOT 30, inputs from the microcomputer: Start of exchange 31, Reset device 32; Transfer 33; Reception 34; 10
1515
сигнал на вход 33, который устанавливает триггер 6 в единичное состо ние, что свидетельствует о том, что устройство настроено на работу в режиме передачи. Сигнал разрешени (единица ) получаемого на пр мом выходе триггера 6 поступает на входы элементов И 13 и 14, а сигнал запрета (ноль), получаемый на его инверсном выходе, блокирует элементы И 12 и 15. Сигнал на входе 31 устанавливает триггер 1 в единичное состо ние. Сигналом с его пр мого выхода устанавливаетс в единичное состо ние триггер 2, который разрешает прохождение импульсов с генератора 24 через элемент И 8. Одновременно сигналом с инверсного вьпсода триггера 1 блокируетс элемент И-НЕ 16, который запрещает прохождение любого сигнала через элемент И-НЕ 16 во врем работы устройства на первом этапе.a signal to the input 33, which sets the trigger 6 to one, which indicates that the device is configured to operate in the transmission mode. The enable signal (unit) of the trigger 6 received at the direct output enters the inputs of elements 13 and 14, and the inhibit signal (zero) received at its inverse output blocks the elements 12 and 15. The signal at input 31 sets trigger 1 to unity condition. The signal from its direct output sets the trigger state 2 to one, which permits the passage of pulses from generator 24 through AND 8. At the same time, the signal from the inverse trigger of trigger 1 blocks the AND-NOT element 16, which prohibits the passage of any signal through the AND-NOT element 16 during operation of the device in the first stage.
Первый импульс с выхода элемента И 8 устанавливает триггер 3 в единичное состо ние. Одновременно этот импульс через элементы ИЛИ 22 и И 9 поступает на триггер 4 и устанавливает его в единичное состо ние. Этот же импульс с выхода элемента И 9 через элемент ИЛИ 21 поступает на выход 41. В паузе, следовавшей после первого импульса, получаемого на выходе элемента И 8, на выходе 41 под20The first impulse from the output of the element AND 8 sets the trigger 3 to the one state. At the same time, this impulse through the elements OR 22 and I 9 arrives at trigger 4 and sets it into a single state. The same pulse from the output of the element And 9 through the element OR 21 is fed to the output 41. In the pause following the first pulse, received at the output of the element And 8, at the output 41 under 20
2525
30thirty
4040
. пись информации 35; Параллельные информационные 36, Считывание информации 37J выходы поступающие в- „ микроэвм: Готов к приему 38; Готоз . ерживаетсп сигнал 1 , так как еди- к передаче 39, вход 40 из линии сигнал с пр мого выхода триг- . св зи, выход 41 в линию св зи, па- Р через элементы ИЛИ 22 и И 9 раллельные информационные выходы 42, поступающие в микроЭВМ.. writing information 35; Parallel informational 36, Information reading 37J outputs coming in - „microcomputers: Ready to receive 38; Gotoz. It holds signal 1, since one transmission 39, input 40 from the signal line from the direct output signal trig. connection, output 41 into the communication line, pa- P through the elements OR 22 and AND 9 of the parallel information outputs 42 entering the microcomputer.
Устройство работает следующим образом.The device works as follows.
На первом этапе рассматривают работу устройства, когда оно синхронизирует ввод-вывод информации из линии св зи (из других КП).At the first stage, the operation of the device is considered when it synchronizes the input-output of information from the communication line (from other CPs).
В начале ввода информации из микроЭВМ в линию св зи на вход 32 поступает сигнал, который устанавливает триггеры и распределитель импульсов устройства в начальное состо ние .At the beginning of information input from the microcomputer to the communication line, input 32 receives a signal that sets the triggers and the device pulse distributor to the initial state.
На входы 36 поступает информаци из микроэвм. Затем при поступлении стробирующего сигнала на вход 35 эта информаци записываетс в регистр 25 сдвига. Одновременно этот стро- бирующий сигнал через элемент ИЛИ 23 поступает на вход сброса распредели- теп 27. Далее из микроЭВМ поступаетThe inputs 36 receives information from the microcomputer. Then, upon receipt of a strobe signal at input 35, this information is recorded in shift register 25. At the same time, this building signal through the OR element 23 is fed to the reset input of the distribution 27. Next, the microcomputer arrives
4545
5050
5555
поступают на вход элемента ИЛИ 21. Второй импульс J, получаемый на выходе элемента И 8, устанавливает триггер 3 в нулевое состо ние и одновременно, проход через элементы ИЛИ 22, И 9 и ИЛИ 21, поступает на выход 41. В паузе этого же импульса на выходе элемента ИЛИ 22 получаетс сигнал О, так как на его обоих входах имеетс сигнал О, который через элемент И 9 поступает на вход элемента ИЛИ-НЕ 29. На выходе этого элемента формируетс сигнал 1, который устанавливает триггер 5 в единичное состо ние .arrive at the input of the element OR 21. The second impulse J received at the output of the element AND 8 sets the trigger 3 to the zero state and at the same time, the passage through the elements OR 22, AND 9 and OR 21 enters the output 41. In the pause of the same pulse At the output of the element OR 22, a signal O is received, since at both its inputs there is a signal O, which through the element AND 9 is fed to the input of the element OR NOT HE. At the output of this element, a signal 1 is generated which sets the trigger 5 to one state.
После установки триггера 5 в единичное состо ние с его инверсного выхода сигнал О запрещает прохождение импульсов через элемент И 9. Таким образом, в начале вывода информации из устройства в линию св зи посылаетс импульс - синхроимпульс.After the flip-flop 5 is set to one state from its inverse output, the signal O prevents the passage of pulses through the element 9. Thus, at the beginning of the output of information from the device, a pulse — a sync pulse — is sent to the communication line.
5five
сигнал на вход 33, который устанавливает триггер 6 в единичное состо ние, что свидетельствует о том, что устройство настроено на работу в режиме передачи. Сигнал разрешени (единица ) получаемого на пр мом выходе триггера 6 поступает на входы элементов И 13 и 14, а сигнал запрета (ноль), получаемый на его инверсном выходе, блокирует элементы И 12 и 15. Сигнал на входе 31 устанавливает триггер 1 в единичное состо ние. Сигналом с его пр мого выхода устанавливаетс в единичное состо ние триггер 2, который разрешает прохождение импульсов с генератора 24 через элемент И 8. Одновременно сигналом с инверсного вьпсода триггера 1 блокируетс элемент И-НЕ 16, который запрещает прохождение любого сигнала через элемент И-НЕ 16 во врем работы устройства на первом этапе.a signal to the input 33, which sets the trigger 6 to one, which indicates that the device is configured to operate in the transmission mode. The enable signal (unit) of the trigger 6 received at the direct output enters the inputs of elements 13 and 14, and the inhibit signal (zero) received at its inverse output blocks the elements 12 and 15. The signal at input 31 sets trigger 1 to unity condition. The signal from its direct output sets the trigger state 2 to one, which permits the passage of pulses from generator 24 through AND 8. At the same time, the signal from the inverse trigger of trigger 1 blocks the AND-NOT element 16, which prohibits the passage of any signal through the AND-NOT element 16 during operation of the device in the first stage.
Первый импульс с выхода элемента И 8 устанавливает триггер 3 в единичное состо ние. Одновременно этот импульс через элементы ИЛИ 22 и И 9 поступает на триггер 4 и устанавливает его в единичное состо ние. Этот же импульс с выхода элемента И 9 через элемент ИЛИ 21 поступает на выход 41. В паузе, следовавшей после первого импульса, получаемого на выходе элемента И 8, на выходе 41 под0The first impulse from the output of the element AND 8 sets the trigger 3 to the one state. At the same time, this impulse through the elements OR 22 and I 9 arrives at trigger 4 and sets it into a single state. The same pulse from the output of the element AND 9 through the element OR 21 is fed to the output 41. In the pause following the first pulse received at the output of the element And 8, the output 41 pod0
5five
00
- „ . ерживаетсп сигнал 1 , так как еди- сигнал с пр мого выхода триг- Р через элементы ИЛИ 22 и И 9 - „. The signal is 1, since the single signal from the direct output of the Tri-P through the elements OR 22 and AND 9
00
- „ . ерживаетсп сигнал 1 , так как еди- сигнал с пр мого выхода триг- Р через элементы ИЛИ 22 и И 9 - „. The signal is 1, since the single signal from the direct output of the Tri-P through the elements OR 22 and AND 9
5five
00
5five
поступают на вход элемента ИЛИ 21. Второй импульс J, получаемый на выходе элемента И 8, устанавливает триггер 3 в нулевое состо ние и одновременно, проход через элементы ИЛИ 22, И 9 и ИЛИ 21, поступает на выход 41. В паузе этого же импульса на выходе элемента ИЛИ 22 получаетс сигнал О, так как на его обоих входах имеетс сигнал О, который через элемент И 9 поступает на вход элемента ИЛИ-НЕ 29. На выходе этого элемента формируетс сигнал 1, который устанавливает триггер 5 в единичное состо ние .arrive at the input of the element OR 21. The second impulse J received at the output of the element AND 8 sets the trigger 3 to the zero state and at the same time, the passage through the elements OR 22, AND 9 and OR 21 enters the output 41. In the pause of the same pulse At the output of the element OR 22, a signal O is received, since at both its inputs there is a signal O, which through the element AND 9 is fed to the input of the element OR NOT HE. At the output of this element, a signal 1 is generated which sets the trigger 5 to one state.
После установки триггера 5 в единичное состо ние с его инверсного выхода сигнал О запрещает прохождение импульсов через элемент И 9. Таким образом, в начале вывода информации из устройства в линию св зи посылаетс импульс - синхроимпульс.After the flip-flop 5 is set to one state from its inverse output, the signal O prevents the passage of pulses through the element 9. Thus, at the beginning of the output of information from the device, a pulse — a sync pulse — is sent to the communication line.
длительность которого равна полутора периодам частоты на втором выходе генератора. Синхроимпульс предназначен дл синхронизации работы генератора устройства ввода-вывода информации в КП.the duration of which is equal to one and a half frequency periods at the second output of the generator. The clock pulse is designed to synchronize the operation of the generator input-output information in the gearbox.
С пр мого выхода триггера 5 сигнал 1 через элемент ИЛИ 20 поступаетFrom the direct output of the trigger 5 signal 1 through the element OR 20 enters
на вход элемента И 11, тем самым раз- Q очередное слово, и передача его в лирешает прохождение импульсов от генератора 24 через элемент И 11 к тактовому входу распределител 27, входу элемента НЕ 30 и сдвигающему входу регистра 25, Одновременно этот сигнал 1 с выхода ИЛИ 20 поступает на вход элемента И 12. По импульсам, поступающим на сдвигающий вход регистра 25, содержимое его сдвигаетс the input element And 11, thereby the Q next word, and transmitting it to prevent the passage of pulses from the generator 24 through the element 11 to the clock input of the distributor 27, the input element NOT 30 and the shift input of the register 25, at the same time this signal 1 from the output OR 20 is fed to the input element And 12. On pulses arriving at the shift input of the register 25, its contents are shifted
нию св зи происходит по описанному. При отсутствии дл передачи информации микроэвм настраивает устройство в режим приема информации из линии 15 св зи. Дл этого в первой же паузе после передачи последнего слова в линию св зи на вход 34 из микроЭВМ поступает сигнал 1, который через элемент ИЛИ 23 сбрасывает распредели-communication occurs as described. If there is no information, the microcomputer sets up the device in the mode of receiving information from the communication line 15. To do this, in the first pause after the last word is transmitted, a signal 1 is sent to the input 34 from the microcomputer, which, through the OR element 23, resets the distribution
и информаци побитно с последователь- on тель 27 и через элемент ИЛИ 18 триг I and information is bit by bit with follower 27 and through the element OR 18 trig I
30thirty
3535
кого выхода через элементы И 13 и ИЛИ 21 поступает на выход 41 в линию св зи. Последовательньй выход регистра 25 сдвига стробируетс импульсами , поступившими с выхода элемента И 8 через элемент ИЛИ 19. Когда все содержимое регистра 25 сдвинетс , на выходе распределител 27 формируетс сигнал 1, поступающий на вход элемента И 14. Так как на его входе с пр мого выхода триггера 6 имеетс уже 1, в первой паузе после передачи слова из регистра сдвига 25 в линию св зи, сигнал 1 с выхода элемента НЕ 30 через элемент И 14 поступает на выход 38 устройства. Этот сигнал свидетельствует о том, что записанное в регистр 25 слово из микроэвм передано в линию св зи.Which output through the elements AND 13 and OR 21 enters the output 41 in the communication line. The sequential output of the shift register 25 is gated by pulses from the output of the element AND 8 through the element OR 19. When the entire contents of the register 25 is shifted, the output of the distributor 27 generates a signal 1, which enters the input of the element And 14. Since its input is from the direct output the trigger 6 is already 1, in the first pause after the transfer of the word from the shift register 25 to the communication line, the signal 1 from the output of the element NOT 30 through the element 14 arrives at the output 38 of the device. This signal indicates that the word from the microcomputer recorded in the register 25 is transmitted to the communication line.
При наличии информации дл переда- 40 чи из ПУ в КП в этой же паузе, из микроэвм на входы 36 поступает очередное слово.If there is information for transferring from the control panel to the control panel in the same pause, the next word comes from the microcomputers to the inputs 36.
После поступлени стробирующего сигнала на вход 35 это слово записы- 45 ваетс в регистр 25. Этот стробирую- щий сигнал одновременно через элемент ИЛИ 23 поступает на вход сброса распределител 27. Так как поступление импульсов с генератора 24 к входу 50 элемента НЕ 30, тактовому входу распределител 27 и сдвигающему входу регистра 25 не прекращены, происходит сдвиг информации в регистре 25. Сдвигаема информаци с последовательного 55 выхода регистра 25 через элементы И 13 и ИЛИ 21 поступают в линию св зи . Стробирование последовательного выхода регистра 25 осуществл етс After the strobe signal arrives at input 35, this word is written to register 25. This strobe signal simultaneously through the OR element 23 enters the reset input of the distributor 27. Since the pulses from the generator 24 to the input 50 of the HE element 30, the clock input the distributor 27 and the shift input of the register 25 are not terminated; information in the register 25 is shifted. The information is shifted from the serial 55 output of the register 25 through the elements AND 13 and OR 21 arrive in the communication line. Gating the serial output register 25 is carried out
гер 6. Сигнал О с пр мого выхода триггера 6 поступает на входы элементов И 13 и 14, и запрещает передачу информации в линию св зи, а также 25 формирование сигнала готовности к приему по выходу 38. С инверсного выхода триггера 6 сигнал 1 поступает на входы элементов И 12 и 15. Так как на выходе элемента ИЛИ 20 имеетс сигнал 1, разрешаетс прохождение информации с входа 40 через элемент И 12 на последовательный информационный вход регистра 25. Одновременно сигнал 1 с выхода ИЛИ 20 разрешает прохождение импульсов с генератора 24 через элемент И 11 на вход элемента НЕ 30, тактовый вход распределител 27 и сдвигающий вход регистра 25. По этим импульсам происходит прием информации из линии св зи в регистр 25. В первой же паузе после приема слова из линии св зи в регистр 25 сигнал 1 с выхода распределител 27 и с йыхода элемента НЕ 30 поступает на входы элемента6. The signal O from the direct output of the trigger 6 is fed to the inputs of the elements 13 and 14, and prohibits the transmission of information to the communication line, as well as 25 forming a signal ready to receive on output 38. From the inverse output of the trigger 6, the signal 1 is fed to the inputs of the elements 12 and 15. Since the output of the element OR 20 is signal 1, the passage of information from the input 40 through the element 12 to the serial information input of the register 25 is permitted. At the same time, the signal 1 from the output of OR 20 allows the passage of pulses from the generator 24 through the element And 11 at the entrance ale NOT 30, the clock input of the distributor 27 and the shift input of the register 25. These pulses receive information from the communication line to the register 25. In the first pause after receiving a word from the communication line to the register 25, the signal 1 from the output of the distributor 27 and c element output NO 30 enters the element inputs
И 15. Получаемый на выходе элемента И 15 сигнал 1 поступает на выход 39, далее в микроЭВМ. Этот сигнал свидетельствует о том, что одно слово информации из линии св зи прин то в регистр 25. В этой же паузе микро- ЭВМ, подава сигнал на вход 37 через элементы И 17 и выход 42, считывает содержимое регистра 25. Одновременно сигнал с входа 37 через элемент ИЛИ 23 поступает на вход сброса распределител 27. Ввод очередного слова из линии св зи в микроэвм происходит аналогично описанному.And 15. The output of the element And 15 signal 1 is fed to output 39, then to the microcomputer. This signal indicates that one word of information from the communication line is received in register 25. During the same pause, the microcomputer, sending a signal to input 37 through elements 17 and output 42, reads the contents of register 25. At the same time, the signal from input 37 through the element OR 23 enters the reset input of the distributor 27. Entering the next word from the communication line into the microcomputer occurs in the same way as described.
аналогично описанному. В первой же паузе после передачи очередного слова сигнал 1 с выхода элемента НЕ 30 через элемент И 14 (на остальных двух входах этого элемента уже имеетс сигнал 1) поступает на выход 38, далее в микроЭВМ. При наличии информации дл передачи микроЭВМ выводитsimilar to that described. In the first pause after the transfer of the next word, signal 1 from the output of the element NOT 30 through the element 14 and 14 (the other two inputs of this element already have signal 1) enters output 38, then into the microcomputer. With the availability of information for transmitting the microcomputer displays
нию св зи происходит по описанному. При отсутствии дл передачи информации микроэвм настраивает устройство в режим приема информации из линии св зи. Дл этого в первой же паузе после передачи последнего слова в линию св зи на вход 34 из микроЭВМ поступает сигнал 1, который через элемент ИЛИ 23 сбрасывает распредели-communication occurs as described. If there is no information, the microcomputer sets up the device in the mode of receiving information from the communication line. To do this, in the first pause after the last word is transmitted, a signal 1 is sent to the input 34 from the microcomputer, which, through the OR element 23, resets the distribution
тель 27 и через элемент ИЛИ 18 триг I tel 27 and through the element OR 18 trig I
гер 6. Сигнал О с пр мого выхода триггера 6 поступает на входы элементов И 13 и 14, и запрещает передачу информации в линию св зи, а также формирование сигнала готовности к приему по выходу 38. С инверсного выхода триггера 6 сигнал 1 поступает на входы элементов И 12 и 15. Так как на выходе элемента ИЛИ 20 имеетс сигнал 1, разрешаетс прохождение информации с входа 40 через элемент И 12 на последовательный информационный вход регистра 25. Одновременно сигнал 1 с выхода ИЛИ 20 разрешает прохождение импульсов с генератора 24 через элемент И 11 на вход элемента НЕ 30, тактовый вход распределител 27 и сдвигающий вход регистра 25. По этим импульсам происходит прием информации из линии св зи в регистр 25. В первой же паузе после приема слова из линии св зи в регистр 25 сигнал 1 с выхода распределител 27 и с йыхода элемента НЕ 30 поступает на входы элемента6. The signal O from the direct output of the trigger 6 is fed to the inputs of the elements 13 and 14, and prohibits the transmission of information to the communication line, as well as the formation of a signal ready to receive on output 38. From the inverse output of the trigger 6, the signal 1 is fed to the inputs elements 12 and 15. Since the output of the element OR 20 has a signal 1, the passage of information from the input 40 through the element 12 to the serial information input of the register 25 is permitted. At the same time, the signal 1 from the output OR 20 allows the passage of pulses from the generator 24 through the element AND 11 at the entrance element that NOT 30, the clock input of the distributor 27 and the shift input of the register 25. These pulses receive information from the communication line to the register 25. In the first pause after receiving a word from the communication line to the register 25, the signal 1 from the output of the distributor 27 and c element output NO 30 enters the element inputs
И 15. Получаемый на выходе элемента И 15 сигнал 1 поступает на выход 39, далее в микроЭВМ. Этот сигнал свидетельствует о том, что одно слово информации из линии св зи прин то в регистр 25. В этой же паузе микро- ЭВМ, подава сигнал на вход 37 через элементы И 17 и выход 42, считывает содержимое регистра 25. Одновременн сигнал с входа 37 через элемент ИЛИ 23 поступает на вход сброса распределител 27. Ввод очередного слова из линии св зи в микроэвм происходит аналогично описанному.And 15. The output of the element And 15 signal 1 is fed to output 39, then to the microcomputer. This signal indicates that one word of information from the communication line is received in register 25. In the same pause, the microcomputer, sending a signal to input 37 through elements 17 and output 42, reads the contents of register 25. The simultaneous signal from the input 37 through the element OR 23 enters the reset input of the distributor 27. Entering the next word from the communication line into the microcomputer occurs in the same way as described.
После окончани приема информацт-ш из линии св зи на вход 32 поступает сигнал 1 и сбрасывает триггеры 1--7 и через распределитель 27 устанавливает их в исходное состо ние.After the reception of the information line is completed, the signal 1 is received from the communication line at input 32 and resets the triggers 1--7 and through the valve 27 sets them to the initial state.
Устройство в режиме синхронизации ввода-вывода информации работает следующим образом.The device in the synchronization mode I / o information works as follows.
В начале обмена информации устрой ство в КП находитс в режиме приема информации из линии св зи, так как триггеры 1-7 наход тс в исходном состо нии. С инверсного выхода триггера 1 сигнал 1 поступает на вход элемента И-НЕ 16, которьй разрешает прохождение импульсов из линии св зи на вход сброса счетчика 26. Запись поступающей информации из линии св зи в регистр 25 разрешаетс только при поступлении синхроимпульсов. При поступлении синхроимпульсов на выходе элемента И-НЕ 16 получаетс сигнал О, и счетчик 26 освобождаетс от сброса. По поступак дим импульсам с выхода генератора 24 в счетчике 26 происходит счет импульсов, точнее счет времени. По поступлении определенных количеств импульсов на выходе дешифратора 28 получаетс сигнал 1 % который сбрасьгоает генератор 24 и устанавливает триггер 7 в единичное состо ние. Частота импульсов, получаема на первом выходе генератора 24 равна скорости обмена информации между устройством и линией св зи, а частота импульсов на втором входе выбираетс примерно 100 раз больше, чем на первом выходе. При поступлении сигнала 1 на вход сброса генератора 24 первьй выход его сбрасываетс , а второй выход - не сбрасываетс , т.е. не прекращаетс поступление импульсов на вход счетчика 26. В данном случае счетчик 26 с дешифратором 28 вьтолн ет функцию дискриминатора, которьй определ ет длительность импульса . Если длительность поступающего импульса из линии св зи меньше длительности синхроимпульса, на выходе , дешифратора 28 не вырабатываетс сигнал 1, тем сам)1М не происходит прием информации из линии св зи в устройство.At the beginning of the exchange of information, the device in the control station is in the mode of receiving information from the communication line, since the triggers 1-7 are in the initial state. From the inverse of the trigger 1, the signal 1 is fed to the input element AND-NOT 16, which allows the passage of pulses from the communication line to the reset input of the counter 26. The recording of incoming information from the communication line to the register 25 is allowed only when sync pulses arrive. When the clock pulses arrive, the output of the NAND 16 element receives the signal O, and the counter 26 is released from the reset. On doing dim pulses from the output of the generator 24 in the counter 26 is the counting of pulses, more precisely, the counting time. Upon receipt of certain quantities of pulses, a 1% signal is received at the output of the decoder 28, which resets the generator 24 and sets the trigger 7 to one state. The frequency of the pulses received at the first output of the generator 24 is equal to the speed of information exchange between the device and the communication line, and the frequency of the pulses at the second input is selected about 100 times greater than at the first output. When signal 1 is received at the reset input of the generator 24, its first output is reset, and the second output is not reset, i.e. The arrival of pulses at the input of counter 26 does not stop. In this case, counter 26 with decoder 28 performs a discriminator function, which determines the duration of the pulse. If the duration of the incoming pulse from the communication line is less than the duration of the sync pulse, the output of the decoder 28 does not generate a signal 1, however) 1M does not receive information from the communication line to the device.
но запускает генератор 24 с генератором устройства ввода-вывода информации в ПУ.but it starts the generator 24 with the generator of the input-output device information in the PU.
После установки триггера 7 в еди5 ничное состо ние сигнал 1 с его пр мого выхода поступает на вход элемента И 10, а также через элемент ИЛИ 20 поступает на вход элемента И 11, тем самым разрешает прохождениеAfter the trigger 7 is set to the unified state, the signal 1 from its direct output enters the input of the element AND 10 and also through the element OR 20 enters the input of the element 11 and thereby permits the passage
Ш импульсов от генератора 24 к входу элемента НЕ 30, тактовому входу распределител 27 и сдвигающему входу регистра 25, и на вход элемента И 12 (на другом входе элемента И 12 ужеW pulses from the generator 24 to the input element NO 30, the clock input of the distributor 27 and the shift input of the register 25, and the input element And 12 (at the other input element And 12 already
15 имеетс единица), которьй разрешает прохождение информации из входа 40 линии св зи через элемент И 12 к последовательному входу регистра 25. По тактам, поступающим с выхода генера20 тора 24 через элемент И 11 к сдвигающему входу регистра 25, происходит прием информации из линии св зи. В первой паузе после приема одного слова на вьпсоде 39 по вл етс сигнал15 there is a unit) which allows the passage of information from the input 40 of the communication line through the element AND 12 to the serial input of the register 25. The clocks coming from the output of the generator 20 through the element 11 to the shifting input of the register 25 receive the information from the link zi In the first pause, after receiving a single word, on signal 39, a signal appears
25 1 (та как на всех трех входах элемента И 15 имеютс единицы) и поступает в микроэвм, свидетельствующий о том, что произошел прием одного слова информации из линии св зи в25 1 (the same as on all three inputs of the element 15 and there are units) and enters the microcomputer, indicating that one word of information has been received from the communication line to
30 устройство. После этого из микроЭВМ на вход 37 поступает сигнал 1, тем самым содержимое регистра 25 через элементы И 17 и входы 42 поступает в микроэвм. Одновременно по сиг35 налу Считывание информации через элемент И 23 сбрасываетс распределитель 27. При наличии информации дл приема из линии св зи, так как на выходе триггера 7 имеетс 1,30 device. After that, the microcomputer at input 37 receives the signal 1, thus the contents of the register 25 through the elements And 17 and the inputs 42 enters the micro computer. At the same time, the signal is read out via the AND 23 element. The distributor 27 is reset. If there is information to receive from the communication line, since the output of the trigger 7 has 1,
40 прием очередных слов осуществл етс аналогично описанному.40, the reception of successive words is carried out as described.
В первой же паузе после окончани приема последнего слова микроЭВМ на вход 33 подает сигнал 1, который устанавливает триггер 6 в единичное состо ние. После этого поступающа информаци из микроЭВМ на входы 36 стробируетс сигналом 1 на входе 35, что записываетс в регистр 25. Одновременно по сигналу Запись информации через элемент ИЛИ 23 сбрасываетс распределитель 27.In the first pause after the end of the reception of the last word of the microcomputer, to the input 33 it sends a signal 1, which sets the trigger 6 to one state. After that, the incoming information from the microcomputer to the inputs 36 is gated with the signal 1 at the input 35, which is written to the register 25. At the same time, the information from the OR 23 element is reset by the distributor 27.
5050
С выхода триггера 7 сигнал 1 По окончании синхроимпульса на вы-,, через элемент ИЛИ 20 поступает на ходе элемента И-НЕ 16 по вл етс сиг- вход элемента И 11, разреша прохожнал 1 , которьй сбрасывает счетчик 26, после чего с выхода дешифратора 28 снимаетс сигнал 1, что синхронно запускает генератор 24 с генератором устройства ввода-вывода информации в ПУ.From the output of the trigger 7, the signal 1 At the end of the clock pulse on you-, through the element OR 20 enters the course of the element AND-NOT 16, the signal of the element 11 appears, resolving the bypass 1, which resets the counter 26, and then from the output of the decoder 28, the signal 1 is removed, which synchronously starts the generator 24 with the generator of the information input / output device in the PU.
После установки триггера 7 в единичное состо ние сигнал 1 с его пр мого выхода поступает на вход элемента И 10, а также через элемент ИЛИ 20 поступает на вход элемента И 11, тем самым разрешает прохождениеAfter the trigger 7 is set to one state, signal 1 from its direct output enters the input of the element AND 10, and also through the element OR 20 enters the input of the element AND 11, thereby allowing the passage
импульсов от генератора 24 к входу элемента НЕ 30, тактовому входу распределител 27 и сдвигающему входу регистра 25, и на вход элемента И 12 (на другом входе элемента И 12 ужеpulses from the generator 24 to the input element NO 30, the clock input of the distributor 27 and the shift input of the register 25, and the input element And 12 (at the other input element And 12 already
имеетс единица), которьй разрешает прохождение информации из входа 40 линии св зи через элемент И 12 к последовательному входу регистра 25. По тактам, поступающим с выхода генератора 24 через элемент И 11 к сдвигающему входу регистра 25, происходит прием информации из линии св зи. В первой паузе после приема одного слова на вьпсоде 39 по вл етс сигналthere is a unit) which allows the passage of information from the input 40 of the communication line through the element 12 to the serial input of the register 25. The clocks coming from the output of the generator 24 through the element 11 11 to the shifting input of the register 25 receive information from the communication line. In the first pause, after receiving a single word, on signal 39, a signal appears
1 (та как на всех трех входах элемента И 15 имеютс единицы) и поступает в микроэвм, свидетельствующий о том, что произошел прием одного слова информации из линии св зи в1 (the same as on all three inputs of the element 15 there are units) and enters the microcomputer, indicating that one word of information has been received from the communication line to
устройство. После этого из микроЭВМ на вход 37 поступает сигнал 1, тем самым содержимое регистра 25 через элементы И 17 и входы 42 поступает в микроэвм. Одновременно по сигналу Считывание информации через элемент И 23 сбрасываетс распределитель 27. При наличии информации дл приема из линии св зи, так как на выходе триггера 7 имеетс 1,device. After that, the microcomputer at input 37 receives the signal 1, thus the contents of the register 25 through the elements And 17 and the inputs 42 enters the micro computer. At the same time, the signal Read information through the element 23 and the distributor 27 is reset. If there is information to receive from the communication line, since the output of the trigger 7 has 1,
прием очередных слов осуществл етс аналогично описанному.the reception of successive words is carried out as described.
В первой же паузе после окончани приема последнего слова микроЭВМ на вход 33 подает сигнал 1, который устанавливает триггер 6 в единичное состо ние. После этого поступающа информаци из микроЭВМ на входы 36 стробируетс сигналом 1 на входе 35, что записываетс в регистр 25. Одновременно по сигналу Запись информации через элемент ИЛИ 23 сбрасываетс распределитель 27.In the first pause after the end of the reception of the last word of the microcomputer, to the input 33 it sends a signal 1, which sets the trigger 6 to one state. After that, the incoming information from the microcomputer to the inputs 36 is gated with the signal 1 at the input 35, which is written to the register 25. At the same time, the information from the OR 23 element is reset by the distributor 27.
дение импульсов от генератора 24 к входу элемента НЕ 30, тактовому входу распределител 27 и сдвигающемуthe impulses from the generator 24 to the input element 30, the clock input of the distributor 27 and the shifting
входу регистра 25. Одновременно сигнал 1 с выхода триггера 7 поступает на вход элемента И 10 и разрешает црохождение импульсов с выхода генератора 24 через элементы И 10 и i ИЛИ 19 на вход элемента И 13. На; другие входы элемента И 13 поступают сигналы 1 с пр мого выхода триггера 6 и последнего выхода регистра 25. По тактам информаци через эле- мент ИЛИ 21 передаетс на выход 41.the input of the register 25. Simultaneously, the signal 1 from the output of the trigger 7 is fed to the input of the element And 10 and permits the passage of pulses from the output of the generator 24 through the elements And 10 and i OR 19 to the input of the element And 13. On; the other inputs of the AND 13 element receive signals 1 from the direct output of the trigger 6 and the last output of the register 25. By the clock, the information is transmitted through the element OR 21 to the output 41.
В первой паузе после передачи первого слова в линию св зи на выход 38 по вл етс сигнал 1 (та как на входы элемента И 14 сигналы 1 пос- тупают с выходов элемента НЕ 30, распределител 27 и пр мого выхода триггера 6, свидетельствующего о том, что информаци , записанна из микроэвм в устройство, передана в линию св зи).In the first pause, after transmitting the first word, signal 1 appears at output 38 (signal 1 arrives at the inputs of element 14 and signals 1 from the outputs of element HE 30, distributor 27 and the direct output of trigger 6, indicating that the information recorded from the microcomputer to the device is transmitted to the communication line).
При наличии информации дл передачи микроэвм в этой же паузе выводит информацио в устройство. Запись очередных слов в регистр 25, а так- же передача его в линию св зи осуществл етс аналогично описанному.If there is information to transfer the microcomputer in the same pause, it displays information to the device. Writing the next words into the register 25, as well as its transfer to the communication line, is carried out in the same way as described.
После завершени передачи последнего слова в линию св зи на вход 32 поступает сигнал 1, который сбра- сьгоает триггеры 1-7 и очищает распределитель 27.After the transfer of the last word to the communication line, input 32 receives a signal 1, which resets triggers 1-7 and clears the distributor 27.
Кгис известно, быстродействие мик роЭВМ 2-4 пор дка выше скорости передачи информации по телемеханическим каналам св зи микроЭВМ заведомо успеет обработать сигналы с выходов 38, 39 и вывести дл передачи (принимать ) очередное слово за врем пау- зы импульсной последовательности, получаемой на первом ходе генератора 24.KGIS is known, the speed of a microcomputer is 2-4 orders of magnitude higher than the speed of information transmission via telemechanical communication channels of a microcomputer knowingly has time to process signals from outputs 38, 39 and output for transmitting (receiving) the next word during the pause of the pulse sequence received at the first running generator 24.
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864043938A SU1325492A1 (en) | 1986-03-28 | 1986-03-28 | Device for interfacing computer with communications line |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864043938A SU1325492A1 (en) | 1986-03-28 | 1986-03-28 | Device for interfacing computer with communications line |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1325492A1 true SU1325492A1 (en) | 1987-07-23 |
Family
ID=21228976
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU864043938A SU1325492A1 (en) | 1986-03-28 | 1986-03-28 | Device for interfacing computer with communications line |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1325492A1 (en) |
-
1986
- 1986-03-28 SU SU864043938A patent/SU1325492A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 1068925, кл. G 06 F 13/00, 1983. Авторское свидетельство СССР № 1264194, G 06 F 13/00, 1985. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US3810103A (en) | Data transfer control apparatus | |
US3735365A (en) | Data exchange system | |
US4302831A (en) | Method and circuit arrangement for clock synchronization in the transmission of digital information signals | |
US3839599A (en) | Line variation compensation system for synchronized pcm digital switching | |
SU1325492A1 (en) | Device for interfacing computer with communications line | |
SU1072035A1 (en) | Information exchange device | |
SU1381523A2 (en) | Multichannel device for interfacing data sources with computer | |
SU1420670A1 (en) | System for asynchronous matching of pulse flows | |
US4095048A (en) | Method of synchronizing a pulse code modulation (pcm) junction and an arrangement for applying this method | |
SU1307461A1 (en) | Interface for linking two computers | |
SU1160421A1 (en) | Interface for linking digital computer with communication channels | |
SU1327115A1 (en) | Apparatus for mating a group of subscribers to a communication channel | |
SU1118998A1 (en) | Information for linking with communication line | |
SU1633382A1 (en) | Device for information input | |
SU1238088A1 (en) | Interface for linking computer with using equipment | |
SU1437870A2 (en) | Multichannel device for interfacing data sources with computer | |
SU1762307A1 (en) | Device for information transfer | |
KR920003696A (en) | Data transmission device of multi system | |
SU1099321A1 (en) | Device for transmitting and receiving digital information | |
SU1647580A1 (en) | Device for interfacing a computer with a data transmission channel | |
SU1319040A1 (en) | Interface for linking the using equipment | |
SU1084794A1 (en) | Device for servicing requests according to arrival order | |
SU926646A1 (en) | Device for synchronous channel data exchange | |
SU1130854A1 (en) | Information input device | |
SU1238278A1 (en) | Device for majority sampling of signals |