SU881678A1 - Device for testing terminals - Google Patents

Device for testing terminals Download PDF

Info

Publication number
SU881678A1
SU881678A1 SU802889873A SU2889873A SU881678A1 SU 881678 A1 SU881678 A1 SU 881678A1 SU 802889873 A SU802889873 A SU 802889873A SU 2889873 A SU2889873 A SU 2889873A SU 881678 A1 SU881678 A1 SU 881678A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
digital computer
bus
trigger
Prior art date
Application number
SU802889873A
Other languages
Russian (ru)
Inventor
Владимир Григорьевич Жуковский
Николай Филиппович Твердохлебов
Борис Вячеславович Черчепов
Original Assignee
Предприятие П/Я А-1081
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Предприятие П/Я А-1081 filed Critical Предприятие П/Я А-1081
Priority to SU802889873A priority Critical patent/SU881678A1/en
Application granted granted Critical
Publication of SU881678A1 publication Critical patent/SU881678A1/en

Links

Landscapes

  • Debugging And Monitoring (AREA)

Description

(54) УСТРОЙСТВО ДЛЯ КОНТРОЛЯ ТЕРМИНАЛОВ(54) DEVICE FOR CONTROL OF TERMINALS

1one

Изобретение относитс  к автоматике и вычислительной технике и предназначено дл  программного управлени  технологическими процессами и агрегатами.The invention relates to automation and computer technology and is intended for software control of technological processes and aggregates.

Известна система цифрового управлени , содержаща  цифровую вычислительную машину (ЦВМ) и блоки контрол . В известной системе обнаружение неисправности в работе терминалов осуществл етс  косвенно, по превышению допустимого времени выполнени  подпрограммы того приоритетного уровн , к которому относитс  подпрограмма, обслуживающа  данный терминал fl) .A known digital control system comprising a digital computer (DVM) and control units. In the known system, the failure detection in the operation of the terminals is carried out indirectly, by exceeding the permissible execution time of the subroutine of the priority level to which the subroutine serving this terminal fl) belongs.

Недостатком известной системы  вл етс  то, что контроль неисправности системы осуществл етс  с запаздыванием и не обеспечивает диагностику причин неисправности с точностью до терминала. Это снижает надежность функционировани  систеивл.A disadvantage of the known system is that the control of the system malfunction is carried out with a delay and does not provide diagnostics of the causes of the malfunction with accuracy to the terminal. This reduces the reliability of the system.

Наиболее близкой к изобретению по технической сущности  вл етс  система цифрового управлени ,содержаща  ЦВМ, терминалы (устройства ввода - вывода информации, пульт управлени , устройства управлени  исполнительными органами станка) и контрольный счетчик, причем вход терминала и контрольного счетчика подключены к выходной шине ЦВМ,первые выходам терминалов соединены с входной шиной ЦВМ, а вторые выходы с шиной прерывани  ЦВМ 2.Closest to the invention, the technical entity is a digital control system comprising a digital computer, terminals (information input - output devices, a control panel, machine control devices) and a control counter, the input of the terminal and the control counter being connected to the output bus of the digital computer, the first the terminals of the terminals are connected to the input bus of the digital computer, and the second outputs with the bus of the digital computer 2.

Недостатком данной системы  вл ютс  ограниченные функциональные возможности, обусловленные тем, что The disadvantage of this system is limited functionality due to the fact that

10 определение неисправности система производит без указани  неисправного терминала и характера его отказа по сигналу готовности.10, the system detects a fault without indicating the faulty terminal and the nature of its failure based on the ready signal.

цель изобретени  - расширениеthe purpose of the invention is the expansion

15 функциональных возможностей системы.15 functionality of the system.

Поставленна  цель достигаетс  тем, что в устройство дл  контрол  терминалов, содержащее ЦВМ, соединенную выходной шиной со входами контролируемых терминалов, первой The goal is achieved by the fact that the device for controlling terminals, containing a digital computer connected by an output bus to the inputs of monitored terminals, first

20 входной шиной с первыми входами терминалов , и блоки контрол  по числу терминалов, включающие счетчих, введены первый, второй, третий и четвертый триггеры, первый, второй20 input bus with the first inputs of terminals, and blocks of control by the number of terminals, including counters, introduced the first, second, third and fourth triggers, first, second

третий, четвертый и п тый элементы И, элемент задержки, элемент ИЛИ,регистр , выход которого соединен с первой входной шиной ЦВМ, первыйthe third, fourth and fifth elements AND, the delay element, the OR element, the register, the output of which is connected to the first input bus of the digital computer, the first

30 вход - с первыми входами первого.30 input - with the first inputs of the first.

второго, третьего и четвертого триггеров , счетчика и выходной шиной ЦВМ второй вход - с первым входом элемента ИЛИ и выходом первого элемента И, третий вход - со вторым входом элемента ИЛИ и выходом второго Элемента И, четвертый вход - с выходом третьего элемента И и третьим входом элемента ИЛИ, соединенного выходом со вторым входом четвертого триггера, выход которого соединен со второй входной шиной ЦВМ и входом элемента задержки, соединенного выходом с перйымй входами третьего и четвертого элементов И, соединенных вторыми входами соответственно с выходами второго и третьего триггеров, вторые входы которых соединены с выходной шиной ЦВМ, первый вход п того элемента И соединен с выходом третьего триггера, второй вход с выходом генератора импульсов, выход со вторым входом счетчика, первый выход которого соединен с третьим вхдом третьего элемента И, второй выход - с третьим входом четвертого элемента И, соединенного выходом со вторым входом первого триггера, соединенного первым выходом с первым входом второго элемента И, вторым выходом - с первым входом первого элемента И, в-1;орой вход которого соединен со вторым входом второго элемента И и вторым выходом соответствующего терминала.second, third and fourth triggers, counter and output bus of digital computer second input - with the first input of the OR element and output of the first element AND; the third input - with the second input of the OR element and output of the second Element AND, the fourth input - with the output of the third AND element and the third the input of the OR element connected by the output to the second input of the fourth trigger, the output of which is connected to the second input bus of the digital computer and the input of the delay element connected by the output to the first inputs of the third and fourth elements AND connected by the second inputs It is actual with the outputs of the second and third flip-flops, the second inputs of which are connected to the output bus of the digital computer, the first input of the fifth element I is connected to the output of the third trigger, the second input to the output of the pulse generator, the output to the second input of the counter, the first output of which is connected to the third input of the third element I, the second output - with the third input of the fourth element I, connected by the output to the second input of the first trigger, connected by the first output to the first input of the second element I, and the second output - to the first input of the first element And, in-1; ory whose entrance is connected to the second input of the second element And and the second output of the corresponding terminal.

На чертеже приведена структурна  схема устройства.The drawing shows a block diagram of the device.

Устройство содержит ЦВМ 1/ терминалы 2, блоки контрол  3, включающие третий триггер 4, первый элемент И 5 регистр 6, второй триггер 7, генератор импульсов 8, п тый элемент И 9, счетчик 10, четвертый элемент И 11, первый триггер 12, второй элемент И 13, элемент ИЛИ 14, четвертый триггер 15, элемент задержки 16, третий элемент И 17, выходную шину 18 ЦВМ, первую 19 и вторую 20 входные шины ЦВМ 1.The device contains digital computers 1 / terminals 2, control units 3, including the third trigger 4, the first element And 5 register 6, the second trigger 7, the pulse generator 8, the fifth element And 9, the counter 10, the fourth element And 11, the first trigger 12, the second element And 13, the element OR 14, the fourth trigger 15, the delay element 16, the third element And 17, the output bus 18 of the digital computer, the first 19 and the second 20 input bus of the digital computer 1.

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

В начале обмена одновременно с выдачей информации на вход соответствующего терминала ЦВМ 1 по выходной шине 18 выдает установочные сигналы триггерам 4 и 7, на выходах которых формируютс  сигналы, открывгиощие элементы И 9, 11 и 17. При этом импульсы от генератора 8 через элемент И 9 начинают поступать на счетчик 10, имек ций два выхода. Счетчик 10 вырабатывает сигнал на втором выходе при достижении минимально допустимой величины интервала задержки сигнала готовности, а на первом - при достижении максимально допустимой величины.At the beginning of the exchange, simultaneously with the output of information to the input of the corresponding terminal of the digital computer 1, the output bus 18 issues the setting signals to the triggers 4 and 7, the outputs of which generate signals that open the AND 9, 11 and 17 elements. At the same time, the pulses from the generator 8 through the And 9 element begin to arrive at the counter 10, transactions two outputs. Counter 10 generates a signal at the second output when the minimum permissible value of the ready signal delay interval is reached, and at the first output, when the maximum permissible value is reached.

Блок контрол  3 различает три ситуации в работе терминала 2. ВThe control unit 3 distinguishes between three situations in the operation of the terminal 2. In

первом случае интервал времени между моментом выдачи информации из ЦВМ 1 и моментом поступлени  сигнала готовности от терминала 2 меньше минимально допустимого, во втором случае (нормальна  ситуаци ) - больше минимально допустимого, но меньше максимально допустимого, в третьем больше максимально допустимого.in the first case, the time interval between the moment of information output from the digital computer 1 and the moment of receipt of the ready signal from terminal 2 is less than the minimum allowable;

Перва  ситуаци  характеризуетс  отсутствием сигналов на выходах :четчика 10 в момент поступлени  сигнала готовности от терминала, при этом элемент И 5 открыт сигналом с инверсного выхода триггера 12, сигнал готовности, сформированный на втором выходе терминала 2, через элемент И 5 поступает на вход регистра 6 и через элемент ИЛИ 14 устанавливает триггер 15 в единичное состо ние . Сигнал с выхода триггера 15 через элемент задержки 16 закрывает элементы И 11 и 17 и запрещает прохождение сигналов с выходов счетчика 10 после фиксации конкретной ситуации .The first situation is characterized by the absence of signals at the outputs: the even 10 at the moment of receipt of the ready signal from the terminal, while element 5 is opened by the signal from the inverse output of trigger 12, the ready signal formed at the second output of terminal 2 through element 5 is fed to the input of register 6 and through the element OR 14 sets the trigger 15 to the one state. The signal from the output of the trigger 15 through the delay element 16 closes the elements 11 and 17 and prohibits the passage of signals from the outputs of the counter 10 after fixing a specific situation.

Втора  ситуаци  отличаетс  от первой тем, что при поступлении сигнала готовности с терминала 2 после по влени  сигнала на втором выходе счетчика 10, которым взводитс  триггер 12, сигнал готовности терминала через открытый элемент И 13 поступает на вход регистра контрольного слова 6.The second situation differs from the first one in that when the readiness signal arrives from terminal 2 after the signal appears at the second output of counter 10, by which trigger 12 is activated, the terminal readiness signal through the open element 13 arrives at the input of the control word register 6.

Треть  ситуаци  характеризуетс  тем, что до момента поступлени  сигнала готовности от терминала 2 на первом выходе счетчик 10 формирует сигнал, который поступает через открытый элемент И 17 йа третий вход регистра контрольного слова 6 и через элемент ИЛИ 14 взводит триггер 15.The third situation is characterized by the fact that until the readiness signal arrives from terminal 2 at the first output, the counter 10 generates a signal that enters through the open element AND 17 and the third input of the control word 6 and triggers the trigger 15 through the element OR 14.

Таким образом, каждой ситуации в момент формировани  сигнала триггера 15 соответствует свой код на выходе регистра 6, например, первой ситуации соответствует код 100,второй 010 и третьей - 001.Thus, each situation at the time of forming the trigger signal 15 corresponds to its own code at the output of register 6, for example, the first situation corresponds to code 100, the second 010, and the third - 001.

Обмен между ЦВМ 1 и терминалами 1 инициирует сигнал, сформированный на выходе триггера 15 и поступающий в ЦВМ 1. по входной шине 20. После получени  такого инициативного сигнала ЦВМ 1 по входной шине 19 считывает информацию с регистра 6., распознает ситуацию в работе терминала, осу1 ествл ет сброс триггеров 4,7,12 и 15, счетчика 10, и регистра б, и, в случае нормгипьной ситуации, начинает обмен с терминалов 2 по входной и выходной шинам 18 и 20. После окончани  обмена ЦВМ 1 по выходной шине 18 -вновь устанавливает триггеры 4 и 7 в единичное состо ние.The exchange between digital computer 1 and terminal 1 initiates a signal generated at the output of trigger 15 and arriving at digital computer 1. on the input bus 20. After receiving such an initiative signal, digital computer 1 on the input bus 19 reads information from the register 6. recognizes the situation in the terminal, performs resetting of the triggers 4, 7, 12 and 15, counter 10, and register b, and, in the event of a normal situation, starts the exchange from terminals 2 on the input and output buses 18 and 20. After the end of the exchange, the digital computer 1 on the output bus 18 - sets triggers 4 and 7 back to one.

Claims (2)

В случае обнаружени  ненормальиой ситуации (первой или третьей) дальнейшие действи  система определ ет типом терминала 2 и его местом в работе всей системы. В случае, когда необходимость осу ществл ть контроль сверху интервалов задержки сигналов готовности от терминала отсутствует, ЦВМ 1 не взво дит триггер 7 и сигналы, поступающие с первого выхода счетчика 10 о превы шении максимально допустимого времени , не проход т на выход блока контрол  3 через закрытый элемент И 17. Таким образом, использование изобратани  позвол ет обеспечить оперативную реакцию на возможные неисправности терминалов и проведение предварительной диагностики характера неисправности по сигналу готовности, что существенно расшир ет функциональ ные возможности системы. Формула изобретени  Устройство дл  контрол  терминалов , содержащее ЦВМ, соединенную выходной шиной со входами контролируемых терминалов, первой входной шиной - с первьали выходами терминалов , и блоки контрол  по числу терминалов , включающие счетчик, о тличающеес  тем, что, с целью расширени  функциональных возможностей устройства, в блок контрол  дополнительно введены первый,второй, третий и четвертый триггеры, первый, второй, третий, четвертый и п тый элементы И, элемент задержки, элемент ИЛИ и регистр, выход которого соединен с первой входной шиной ЦВМ, первый вход - с первыми входами первого , второго, третьего и четвертого триггеров, счетчика и выходной ЦВМ, второй вход - с первым входом элемента ИЛИ и выходом первого элемента И, третий вход - со вторым входом элемента ИЛИ и выходом второго элемента И, четвертый вход с выходом третьего элемента И и третьим 4ХОДОМ элемента ИЛИ, соединенного выходом со вторым входом чет вертого триггера, выход которого соединен со второй входной шиной ЦВМ и входом элемента задержки, соединенного выходом с первыми входами третьего и. четвертого элементов И, соединенных вторыми входами соответственно с выходами второго и третьего триггеров, вторые входы которых соединены с выходной шиной ЦВМ, первый вход п того элемента И соединен с выходом третьего триггера, второй вход - с выходом генератора импульсов , выход - со вторым входом счетчика , первый выход которого соединен с третьим входом третьего элемента ,И, второй выход - с третьим входом четвертого элемента И, соединенного выходом со вторым входом первого триггера, соединенного первым выходом с первым входом второго элемента И, вторым выходом - с первым входом первого элемента И, второй вход которого соединен со вторым входом второго элемента И и вторым выходом соответствующего терминала. Источники информации, прин тые во внимание при экспертизе 1. Патент США № 3996567, кл. G 06 F 9/18, опублик. 1975. If an abnormal situation is detected (first or third), the system determines the type of terminal 2 and its place in the entire system. In the case when there is no need to control the delay intervals of the ready signals from the terminal from the top, DV 1 does not pick up trigger 7 and signals from the first output of counter 10 about exceeding the maximum allowable time do not pass to the output of the control 3 through closed element And 17. Thus, the use of the invention allows for an operative response to possible terminal malfunctions and carrying out a preliminary diagnosis of the nature of the malfunction on the readiness signal, which is This expands the functionality of the system. Claims An apparatus for monitoring terminals, comprising a digital computer connected by an output bus to the inputs of monitored terminals, a first input bus to the first outputs of terminals, and control units for the number of terminals that include a counter, in order to expand the functionality of the device, The first, second, third, and fourth triggers, the first, second, third, fourth, and fifth elements AND, the delay element, the OR element, and the register whose output is connected to the first the first input bus of the digital computer, the first input with the first inputs of the first, second, third and fourth triggers, the counter and the output digital computer, the second input with the first input of the OR element and the first input of the AND element, the third input with the second input of the OR element and the output of the second And, the fourth input with the output of the third element AND and the third 4 input of the OR element connected by the output to the second input of the fourth trigger, the output of which is connected to the second input bus of the digital computer and the input of the delay element connected to the output of the first inputs of the third and. the fourth And elements connected by the second inputs respectively to the outputs of the second and third triggers, the second inputs of which are connected to the output bus of the digital computer, the first input of the fifth element I is connected to the output of the third trigger, the second input to the output of the pulse generator, the output to the second input of the counter , the first output of which is connected to the third input of the third element, And, the second output - to the third input of the fourth element And, connected by the output to the second input of the first trigger, connected by the first output to the first input of the second th element and the second output - to a first input of the first AND gate, a second input coupled to a second input of the second AND gate and a second output corresponding terminal. Sources of information taken into account in the examination 1. US Patent No. 3996567, cl. G 06 F 9/18, published 1975. 2. Патент США № 3746845, кл. G 05 В 15/02, опублик. 1973.2. US patent No. 3746845, cl. G 05 B 15/02, published 1973.
SU802889873A 1980-02-27 1980-02-27 Device for testing terminals SU881678A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU802889873A SU881678A1 (en) 1980-02-27 1980-02-27 Device for testing terminals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU802889873A SU881678A1 (en) 1980-02-27 1980-02-27 Device for testing terminals

Publications (1)

Publication Number Publication Date
SU881678A1 true SU881678A1 (en) 1981-11-15

Family

ID=20880924

Family Applications (1)

Application Number Title Priority Date Filing Date
SU802889873A SU881678A1 (en) 1980-02-27 1980-02-27 Device for testing terminals

Country Status (1)

Country Link
SU (1) SU881678A1 (en)

Similar Documents

Publication Publication Date Title
JPS5983254A (en) Watchdog timer
SU881678A1 (en) Device for testing terminals
JPS5884351A (en) Error display adding apparatus
US4327409A (en) Control system for input/output apparatus
SU1474662A1 (en) Input/output controller
SU370609A1 (en) SOFTWARE FOR TROUBLESHOOTING IN DIGITAL COMPUTING
SU1691842A1 (en) Tester
JPS6236270B2 (en)
SU1029176A1 (en) Analog information input device
SU962913A1 (en) Device for registering malfanctions of electronic computer
SU1520483A1 (en) Monitoring device
SU1474655A2 (en) Program execution time monitor
SU584323A1 (en) System for checking information-transmitting units
SU972515A1 (en) Device for checking operation control units
SU1425682A1 (en) Device for test monitoring of dicital units
SU1264182A2 (en) Multichannel device for automatic checking of microprocessors
RU2042192C1 (en) Device for generation of interrupt signals for debugging programs
RU1784981C (en) Device for signal consequence testing
SU955072A1 (en) Logic circuit functioning checking device
SU1125628A1 (en) Fault detection device for synchronized digital units
SU1335933A1 (en) Programmed-control device
SU1265774A1 (en) Device for time checking of input-output operations
SU1059594A1 (en) Device for checking number of operating cycles of equipment
SU1443166A1 (en) Counting element with check
SU734646A1 (en) Programmer