SU1462325A1 - Device for monitoring the succession of performance of program modules - Google Patents
Device for monitoring the succession of performance of program modules Download PDFInfo
- Publication number
- SU1462325A1 SU1462325A1 SU864155323A SU4155323A SU1462325A1 SU 1462325 A1 SU1462325 A1 SU 1462325A1 SU 864155323 A SU864155323 A SU 864155323A SU 4155323 A SU4155323 A SU 4155323A SU 1462325 A1 SU1462325 A1 SU 1462325A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- input
- address
- output
- program
- register
- Prior art date
Links
Landscapes
- Programmable Controllers (AREA)
Abstract
Изобретение относитс к автоматике и вычислительной технике и используетс дл контрол правильности выполнени программ в автоматизированнь:х системах управлени объектами и технологическими процессами. Цель изобретени - повышение досто- .верности контрол . Цель достигаетс тем, что устройство содержит блок 13 пам ти, три элемента задержки 2,7 и 8, элемент И 10, два регистра 9 и 11 и схемы сравнени 3 и 4, счетчик 12 адреса, триггер 5, блок 6 индикации, преобразователь 1 с соответствующими св з ми. Это обеспечивает разбивку программы на взаимосв занные модули, обеспечивает автоматическое присвоение текущим адресам программы соответствующих номеров модулей и сравнение последовательности номеров модулей с хран щейс в блоке пам ти. 2 ил. e слThe invention relates to automation and computing and is used to monitor the correctness of the execution of programs in an automated object management system and technological processes. The purpose of the invention is to increase the reliability of control. The goal is achieved by the fact that the device contains a memory block 13, three delay elements 2.7 and 8, element 10, two registers 9 and 11, and comparison circuits 3 and 4, an address counter 12, trigger 5, an indication block 6, a converter 1 with appropriate communications. This provides a breakdown of the program into interconnected modules, provides automatic assignment of the current module addresses to the corresponding module numbers and a comparison of the sequence of module numbers stored in the memory block. 2 Il. e cl
Description
ОдOd
юYu
0000
юYu
СПSP
Фиг,1Fig, 1
114114
Изобретение относитс к автоматике и вычислительной технике и используетс дл контрол правильности выполнени программ в автоматизированных системах управлени объектами и технологическими процессами, в станках с числовым программным управлением и других устройствах и системах с программным управлением.The invention relates to automation and computer technology and is used to control the correctness of program execution in automated systems for managing objects and technological processes, in numerical control machines and other devices and systems with program control.
Целью изобретени вл етс повыше : ние достоверности контрол . I На фиг.1 изображена структурна схема устройства; на фиг.2 - схема j преобразовател адреса в код номера i модул программы.The aim of the invention is to increase the reliability of the control. I Figure 1 shows the block diagram of the device; FIG. 2 is a diagram j of the address transformer to the code number i of the program module.
: Устройство содержит преобразова- ; тель 1 адреса в код номера модул : программы, первый элемент 2 задержки , первую 3 и вторую 4 схемы сравнени , i триггер 5, блок 6 индикации, второй i 7 и третий 8 элементы задержки, пер- вый регистр 9, элемент И 10, второй i регистр II, счетчик 12 адреса, блок : 13 оперативной пам ти, выход блока 14 оперативной пам ти, вход 15 записи , адресный вход 16, тактовый вход 17, информационный вход 18, вход 19 признака записи, вход 20 признака изменени адреса устройства, вход 21 сброса, вход 22 записи эталонной последовательности .A: The device contains a transform; address 1 in the code of the module number: the program, the first delay element 2, the first 3 and second 4 comparison circuits, i trigger 5, indication block 6, second i 7 and third 8 delay elements, first register 9, And 10, second i register II, address counter 12, block: 13 RAM, output of RAM block 14, write input 15, address input 16, clock input 17, information input 18, record sign input 19, sign input change attribute 20 , reset input 21, reference sequence entry input 22.
Преобразователь содержит регистр 23, п блоков анализа адресов программ, формирователь 25 сигналов начальной установки, шифратор 26, информационный вход 27, тактовый вход 28, вход 29 записи, схемы 30, 31 сравнени , регистры 32, 33, элемент И 34.The converter contains a register 23, n blocks of address analysis of programs, a shaper 25 of the initial setup signals, an encoder 26, information input 27, clock input 28, write input 29, comparison circuits 30, 31, registers 32, 33, and element 34.
Устройство дл контрол выполнени программы работает в следующих режимах: запись в блок 1 адресов значений нижних и верхних границ участков модулей программ; запись в блок The device for monitoring the execution of the program operates in the following modes: writing in the block 1 addresses of the values of the lower and upper boundaries of the sections of the program modules; write to block
14 пам ти последовательности номеров модулей программ контролируемого процесса .14 memories of the sequence of program module program numbers.
Запись в блок I адресов значений нижних и верхних границ участков модулей программ происходит следующим образом.The entry in the block I of the addresses of the values of the lower and upper boundaries of the sections of the program modules is as follows.
На вход 16 устройства поступают адреса значений 1шжних и верхних границ участков модулей программ, которые записьшаютс в соответствующие регистры 32 и 33 узлов 24 анализа диапазонов пшфратора. Этими действи ми осуществл етс запись верхних иThe input 16 of the device receives the addresses of the values of 1 and the upper boundaries of the sections of the program modules, which are written into the corresponding registers 32 and 33 of the nodes 24 of the pffrator analysis. These actions record the top and
00
5five
00
гg
00
нижних адресов модул программ в соответствующий узел 24 анализа диапазона изменени адресов модул , а пор дковый номер узла анализа диапазона теперь будет соответствовать номеру модул . Адреса, поступающие на вход 27 шифратора 1 и принадлежащий одному из диапазонов адресов модул программы,,будут зашифрованы пор дковым номером узла 24 анализа,the lower addresses of the module of the programs to the corresponding node 24 of the range analysis of the addresses of the module, and the sequence number of the node of the analysis of the range will now correspond to the number of the module. The addresses received at the input 27 of the encoder 1 and belonging to one of the address ranges of the program module will be encrypted with the sequence number of the analysis node 24,
Режим записи в блок пам ти ОЗУ последовательности номеров модулей программ контролируемого процесса.The mode of writing to the memory block of the RAM of the sequence of numbers of the modules of the programs of the monitored process.
На вход 21 Сброс устройства подаетс сигнал, по которому производитс установка в О счетчика 12 адреса и -установка триггера 5 в исходное нулевое состо ние, на блоке 6 индикации индицируетс нормальное функционирование устройства. Значение содержимого счетчика 12 адреса, равное нулю, поступает на адресный вход блока 14 пам ти. На информацион- 5 ный вход 18 устройства подаетс код номера первого модул программы выполн емого технологического процесса, выход 18 устройства вл етс информационным входом блока 14 пам ти. По сигналу Запись, поступающему с входа 19 устройства, а блоке 14 пам ти запоминаетс номер первого модул программы, с которого начинаетс выполнение контролируемого процесса. Дл записи последующих номеров модулей цикл повтор етс с подачи сигнала на вход 20 устройства, который соединен со счетным входом счетчика 12 адреса, и увеличивает содержимое счетчика на два, и это значение поступает на адресный вход блока 14 пам ти. Количество последовательности номеров модулей программы, записываемых в блок 14 пам ти, определ етс циклом контролируемого процесса . По завершении записи последовательности номеров программы в блок 14 пам ти подаетс сигнал Сброс на вход 21 устройства, который устанавливает счетчик 12 адреса в О. Значени регистров 9 и 11 равны нулю, линии сброса на.фиг.1 не показаны. С входа 8 устройства поступает первый сигнал, который разрешает прохождение информации с выхода регистра 11 через элемент И 10 на вход регистра 9, где и запоминаетс ; сигнал, проход через элемент 8 задержки поступает сигналом считывани в блок 14The input 21 Reset the device is given a signal, which is used to set the address in O of the counter 12 and the installation of the trigger 5 to the initial zero state, on the display unit 6 the normal operation of the device is indicated. The value of the contents of the counter 12 of the address, equal to zero, arrives at the address input of the memory block 14. The information number 5 of the device 18 is fed to the code number of the first module of the program of the technological process being carried out, the device output 18 is the information input of the memory block 14. The Recording signal from the input 19 of the device, and the memory block 14, remember the number of the first module of the program from which the execution of the monitored process begins. To record the subsequent module numbers, the cycle repeats from feeding the signal to the input 20 of the device, which is connected to the counting input of the address counter 12, and increases the counter contents by two, and this value goes to the address input of the memory block 14. The number of sequences of program module numbers recorded in memory block 14 is determined by the cycle of the monitored process. Upon completion of the recording of the sequence of program numbers, the Reset signal is sent to memory block 14 at the device input 21, which sets the address counter 12 to O. The values of registers 9 and 11 are zero, the reset lines are not shown in figure 1. From the input 8 of the device, a first signal is received that permits the passage of information from the output of the register 11 through the element 10 to the input of the register 9, where it is memorized; the signal passing through the delay element 8 is sent by the read signal to block 14
5five
00
00
5five
- 1462325- 1462325
пам ти, а так как значение счетчика пределами значений нижних и верхних 12 адреса равно нулю, то содержимое границ адресов модулей и формируетс memory, and since the value of the counter is equal to zero outside the values of the lower and upper 12 addresses, the contents of the boundaries of the module addresses are formed
нулевой чейки блока 14 пам ти считываетс , поступает на вход регистра I 1 и запоминаетс в нем. В нулевой чейке блока 14 пам ти был записан первый номер модул программы, с которого начинаетс технологический процесс; первьй сигнал с входа 22 устройства, проход через элемент 8 задержки поступает на счетный вход счетчика 12 адреса и увеличивает его содержимое на два, т.е. значение содержимого счетчика 12 адреса стало равным двум. С установочного входа 22 устройства поступает второй сигнал , который разрешает прохождение информации с выхода регистра I1 через элемент И 10 на вход регистра 9, где и запоминаетс , т.е. на регистре 9 записан первый номер модул программы , с которого начинаетс процесс далее содержимое регистра 9 будем называть номером текущего модул программы; сигнал, проход через элемент 7, поступает сигналом считывани в блок 14 пам ти, при этом если значение счетчика 12 адреса равно двум, то содержимое второй чейки блока 14 пам ти считьшаетс , поступает на вход регистра 1I и запоминаетс в нем. Во второй чейке блока 14 пам ти был записан второй номер модул программы выполн емого технологического процесса, далее содержимое регистра 1I будем называть номером следующего модул программы; сигнал с выхода элемента 7 задержки, проход через элемент 8 задержки, поступает на счетный вход счетчика 12 адреса и увеличивает его значение на два, т.е. содержимо.е счетчика 12 адреса равно четырем.the zero cell of memory block 14 is read, is fed to the input of register I 1, and is stored in it. In the zero cell of the memory block 14, the first number of the program module was recorded, from which the technological process begins; The first signal from the device input 22, the passage through the delay element 8 enters the counting input of the address counter 12 and increases its contents by two, i.e. the value of the contents of the counter 12 addresses became equal to two. From the installation input 22 of the device, a second signal is received, which permits the passage of information from the output of register I1 through element 10 to the input of register 9, where it is stored, i.e. register 9 contains the first number of the program module, from which the process begins; then the contents of register 9 will be called the number of the current program module; the signal, passing through element 7, is received by the read signal to memory block 14, and if the value of the counter of address 12 is two, the contents of the second cell of memory block 14 are read, input to register II and stored in it. In the second cell of the memory block 14, the second module number of the program of the technological process being executed was written; further, the contents of register 1I will be called the number of the next module of the program; the signal from the output of the delay element 7, the passage through the delay element 8, enters the counting input of the counter 12 of the address and increases its value by two, i.e. The content of the counter 12 addresses is four.
. После выполнени подготовительных операций устройство готово к работе. Работа устройства происходит следующим образом.. After performing preparatory operations, the device is ready for operation. The operation of the device is as follows.
В процессе выполнени программы, управл ющей технологическим процессом , происходит формирование адресов программы, которые по адресному входу 16 поступают на вход 27 блока 1 и сопровождаютс тактовым сигналом на входе 17 устройства, который поступает на вход 28 шифратора 1. По сигналу на входе 17 шифратор 1 осуществл ет сравнение текущего адреса программы (по входу 16 устройства) сIn the process of executing the process control program, the program addresses are formed, which at address input 16 are fed to input 27 of block 1 and are accompanied by a clock signal at input 17 of the device, which is fed to input 28 of encoder 1. By a signal at input 17, encoder 1 compares the current program address (at input 16 of the device) with
10ten
позиционный код номера модул прог- рамкы, который подаетс на первьш вход схемы 3 сравнени . По этому же сигналу, который поступает на управл ющий вход схемы 3 сравнени , происходит сравнение значени регистра I (номера текущего модул , записанного в блок 14 пам ти) с реальным номером, который поступает из шифратора I.the position code of the program module number, which is fed to the first input of the comparison circuit 3. This signal, which is fed to the control input of the comparison circuit 3, compares the value of register I (the number of the current module recorded in memory block 14) with the real number, which comes from encoder I.
В случае равенства значений кода номера выполн емого модул , поступаю- 5 щего с блока 1 оцифровки, и кода номера текущего модул , хран щегос в регистре 9, на втором выходе схемы 3 сравнени по вл етс сигнал, поступающий на триггер 5, который уста- Q навливаетс в нулевое состо ние, и блок 6 индикации указьшает на нормальное функционирование технологического процесса.In the case of equality of the values of the code of the number of the module being executed, coming from the digitizing unit 1, and the code of the number of the current module stored in register 9, the second output of the comparison circuit 3 will receive a signal arriving at the trigger 5, which Q is brought to the zero state, and the display unit 6 indicates normal operation of the process.
В случае неравенства на первом 5 выходе схемы 3 сравнени по вл етс сигнал, которьй поступает на управл ющий вход второй схемы А сравнени , На первый вход второй схемы 4 сравнени при этом поступает код номера вы- 0 полн емого модул , поступающего с блока 1, а на второй вход второй схе- мь1 4 сравнени поступает номер сле- дугацего модул программы, хран щегос в регистре II. В случае неравенства на втором выходе второй схемы 4 сравнени по вл етс сигнал, который производит установку триггера 5 в еди- ничное значение, при этом блок 6 индикации укажет на сбой в технологическом процессе.In case of inequality, a signal appears at the first 5 output of the comparison circuit 3, which is fed to the control input of the second comparison circuit A, and the first input of the second comparison circuit 4 receives the code of the number of the executable module coming from block 1, and the number of the next module of the program stored in register II is fed to the second input of the second scheme1 4 of the comparison. In case of inequality, a signal appears at the second output of the second comparison circuit 4, which sets the trigger 5 to a single value, and the display unit 6 will indicate a failure in the process.
В случае равенства на первом выходе второй схемы сравнени 4 по вл етс сигнал, который разрешает прохождение через элеме1 т И 10 информации с регистра И на вход регистра 9 и одновременно поступает на вход записи регистра 9, т.е. код номера следующего модул записалс в регистр I I и стал кодом номера текущего модул ; проход через элемент 7 задержки , поступает на элемент 8 задержки , на вход Считывание блока 14 пам ти и информаци из блока 14 пам ти поступает на вход регистра I1, на вход записи регистра II, что приводит к запоминанию на регистре I 1 нового кода номера следующего модул ; проход через элемент 8 задержки , поступает на счетный вход счетчи5In the case of equality at the first output of the second comparison circuit 4, a signal appears that permits the passage of information through register I and 10 from register I to register 9 and simultaneously enters input to register entry 9, i.e. the code of the number of the next module was recorded in the register I I and became the code of the number of the current module; passage through delay element 7 enters delay element 8, read input to memory block 14, and information from memory block 14 enters input of register I1, input to register entry II, which leads to memorization of next code number on register I 1 module; passage through delay element 8 arrives at the counting input of the counter5
00
5five
00
5five
14623251462325
ка 12.адреса, т.е. увеличивает значение счетчика на два - подготавливает содержимое счетчика 13 адреса к следующему изменению последовательности номеров модулей программ.12. addresses, i.e. increases the value of the counter by two - prepares the contents of the counter 13 addresses for the next change in the sequence of numbers of program modules.
Технологический процесс представл ет собой бесконечную последовательность циклов, такую последовательность невозможно разместить в блоке 14 пам ти, да и нецелесообразно. Поэтому за два такта до завершени одного цикла и началом другого в предлагаемое устройство по входу 21 подаетс сигнал Сброс, который устанавливает счетчиц 12 адреса в О , что и вл етс началом нового цикла.The technological process is an infinite sequence of cycles, such a sequence cannot be placed in memory block 14, and it is also inexpedient. Therefore, two clocks before the end of one cycle and the beginning of the other, the proposed device, at input 21, sends a Reset signal, which sets the address counters 12 to O, which is the beginning of a new cycle.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864155323A SU1462325A1 (en) | 1986-12-02 | 1986-12-02 | Device for monitoring the succession of performance of program modules |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU864155323A SU1462325A1 (en) | 1986-12-02 | 1986-12-02 | Device for monitoring the succession of performance of program modules |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1462325A1 true SU1462325A1 (en) | 1989-02-28 |
Family
ID=21270581
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU864155323A SU1462325A1 (en) | 1986-12-02 | 1986-12-02 | Device for monitoring the succession of performance of program modules |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1462325A1 (en) |
-
1986
- 1986-12-02 SU SU864155323A patent/SU1462325A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 842823, кл. G 06 F 11/30, 1979. Авторское свидетельство СССР № 1254493, кл. G 06 F 11/30, 1985. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1462325A1 (en) | Device for monitoring the succession of performance of program modules | |
US4305136A (en) | Method of symptom compression | |
SU458814A1 (en) | Centralized program management system | |
SU1381429A1 (en) | Multichannel device for programmed control | |
SU634291A1 (en) | Wiring checking arrangement | |
SU1164718A1 (en) | Control unit for memory block | |
SU1182526A1 (en) | System for checking and testing memory blocks of airborne computers | |
SU1283768A1 (en) | Device for servicing interrogations | |
SU1357963A1 (en) | Device for determining programm access frequency | |
SU1509908A1 (en) | Device for monitoring digital computer | |
SU1615725A1 (en) | Device for monitoring running of programs | |
SU1446624A1 (en) | Arrangement for debugging multiprocessor system | |
SU809345A1 (en) | Storage unit control device | |
SU1280578A1 (en) | Multichannel device for monitoring parameters | |
SU1642472A1 (en) | Device for checking the sequence of operatorъs actions | |
SU1013956A2 (en) | Logic circuit checking device | |
SU507886A1 (en) | Device to control the operation and simple equipment | |
SU1236483A1 (en) | Device for checking digital units | |
SU1377829A1 (en) | Device for checking parameters | |
SU1247877A1 (en) | Device for debugging microcomputers | |
SU526882A1 (en) | Device for entering information about object parameters into an electronic computer | |
SU1606978A1 (en) | Device for checking wiring connections | |
SU1501064A1 (en) | Device for monitoring pulse sequences | |
SU1283769A1 (en) | Device for checking logic units | |
SU1640698A1 (en) | Processor-bound program verifier |