SU734646A1 - Programmer - Google Patents
Programmer Download PDFInfo
- Publication number
- SU734646A1 SU734646A1 SU772560794A SU2560794A SU734646A1 SU 734646 A1 SU734646 A1 SU 734646A1 SU 772560794 A SU772560794 A SU 772560794A SU 2560794 A SU2560794 A SU 2560794A SU 734646 A1 SU734646 A1 SU 734646A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- output
- input
- inputs
- counter
- counting
- Prior art date
Links
Landscapes
- Debugging And Monitoring (AREA)
Description
(54) ПРОГРАММНОЕ УСТРОЙСТВО Изобретение относитс к автоматике и вычислительной технике и может быть использовано Б системах программного управлени . Известны программные устройства, содержаодие задающий генератор, подключенный к одному из входов рабочего счетчика, управл емый контрольный счетчик, соединенный входом с выходом генератора записи уставки и вторым выходом рабочего счетчика , а выходом - со входом останова генератора записи уставки. В этом устройстве запись программы в рабочий счетчик производитс путем запуска генератора записи уставки, с выхода которого импульсы одновременно поступают на входы рабочего и контрольного счетчиков. При переполнении контрольного счетчика, в котором заранее, при подготовке к записи программы в рабочий счетчик, установлен определенный коэффициент пересчета, выходной сигнал останавливает генератор записи уставки. При этом записанное в рабочий счетчик число соответствует программному 1. Однако контроль за работой рабочего счетчика при записи программы отсутствует , а о правильной записи информации в рабочий счетчик суд т не по его состо нию, а косвенно, по поданных на его вход импульсов генератора записи уставки. Эти недостатки не позвол ют вы вить неисправность в работе рабочего счетчика при занесении в него программы, что снижает надежность работы программного устройства при возможных неисправност х в рабочем счетчике. Наиболее близким к изобретению по технической сущности вл етс устройство, содержащее задающий генератор, соединенный выходом с первым входом счетчика, второй вход и выход которого подключены соответственно к выходу генератора записи уставки и выходу устройства, первый и второй входы генератора записи уставки подключены соответственно ко входу запуска устройства и выходу управл емого контрольного счетчика, первый вход и выход которого вл ютс управл ющими входом и выходом устройства, и индикатор отказов 2. Недостатком этого устройства вл етс низка надежность его работы, обусловленна тем, что исходна программа, записываема в счетчик, не контролируетс .(54) SOFTWARE The invention relates to automation and computing and can be used in software control systems. Software devices are known that contain a master oscillator connected to one of the inputs of the operating counter, a controlled supervisory counter connected to the output of the setpoint generator and the second output of the working counter, and output to the input of the setpoint generator. In this device, the program is recorded in the working counter by starting the setpoint recording generator, from whose output the pulses simultaneously arrive at the inputs of the working and control counters. When the control counter overflows, in which, in preparation for writing a program to the work counter, a certain conversion factor is set, the output signal stops the set point generator. At the same time, the number recorded in the work counter corresponds to software 1. However, control of the work of the work counter when recording a program is absent, and the correct recording of information in the work counter is judged not by the setting record generator pulses applied to its input . These shortcomings do not allow detecting a malfunction in the operation of the working counter when entering the program into it, which reduces the reliability of the software operation in case of possible malfunctions in the working counter. Closest to the invention, the technical entity is a device comprising a master oscillator connected by an output to a first counter input, a second input and an output of which are connected respectively to the output of the setpoint generator and the output of the device, the first and second inputs of the setpoint generator are respectively connected to the start input the device and the output of the controlled monitoring counter, the first input and output of which are the controlling input and output of the device, and the fault indicator 2. The disadvantage of this is The problem is the low reliability of its operation, due to the fact that the original program, recorded in the counter, is not monitored.
Цель изобретени - повышение надежности устройства.The purpose of the invention is to increase the reliability of the device.
Поставленна цель достигаетс тем, что в устройство введен формирователь сигналов переключени счетчика, входы которого соединены- с соответствующими выходами разр дов счетчика, а выход - со счетным входом управл емого контрольного счетчика и первым входом индикатора отказов, второй вход которого подключен к выходу генератора записи уставки, выходы индикатора отказов вл ютс соответствующими выходами сигнализации устройства. Кроме того, формирователь сигналов переключени счетчика содержит элемент ИЛИ, входы которого через дифференцирующие цепочки подключены к соответствующим входам формировател , выход которого подключен к выходу элемента ИЛИ. Кроме того, индикатор отказов содержит два счетных триггера, три элемента И, два элемента задержки , элемент ИЛИ и триггер, причем счетные входы счетных триггеров подключены к соответствующим входам индикатора отказов, а входы сброса соединены через первый элемент задержки с выходом первого элемента И, первым входом триггера и перЬым выходом индикатора отказов, нулевой выход первого счетного триггера и единичный выход второго счетного триггера подключены к соответствующим входам второго элемента И, единичный выход первого счетного триггера и нулевой выход второго счетного триггера подключены к соответствующим входам третьего элемента И, выход которого и выход второго элемента И соединены соответственно с первым и вторым входами элемента ИЛИ, подключенного к первому входу первого элемента И, второй вход которого через второй элемент задержки соединен со вторым входом индикатора отказов, подключенного первым входом и вторым выходом соответственно ко второму входу и выходу триггера.The goal is achieved by introducing a meter switching signal generator, the inputs of which are connected to the corresponding outputs of the counter bits, and the output to the counting input of a controlled monitoring counter and the first input of the fault indicator, the second input of which is connected to the output generator of the setpoint recording. The fault indicator outputs are the corresponding device alarm outputs. In addition, the shaper of the switching signals of the counter contains an OR element, the inputs of which through differentiating chains are connected to the corresponding inputs of the imager, the output of which is connected to the output of the OR element. In addition, the fault indicator contains two counting triggers, three AND elements, two delay elements, an OR element, and a trigger, the counting inputs of the counting triggers are connected to the corresponding inputs of the failure indicator, and the reset inputs are connected through the first delay element with the output of the first And element, the trigger input and the first output of the fault indicator, the zero output of the first counting trigger and the unit output of the second counting trigger are connected to the corresponding inputs of the second element And, the unit output of the first counting t igger and zero output of the second counting trigger are connected to the corresponding inputs of the third element AND, the output of which and the output of the second element AND are connected respectively to the first and second inputs of the OR element connected to the first input of the first element And, the second input of which is connected to the second through the second delay element input fault indicator connected to the first input and the second output, respectively, to the second input and output of the trigger.
На чертеже представлена блок-схема устройства.The drawing shows the block diagram of the device.
Схема содержит задающий генератор 1, счетчик 2, состо щий из последовательно соединенных триггеров 3 и переключател 4, генератор 5 записи уставки, состо щий из собственного генератора 6, триггера 7 управлени и элемента 8 И, управл емый контрольный счетчик 9, формирователь 10 сигналов переключени счетчика, индикатор 11 отказов . Формирователь 10 быть выполнен из параллельно подключенных к элементу 12 ИЛИ дифференцирующих цепочек 13. Индикатор 11 может быть выполнен, например , из двух счетных триггеров 14 и 15, трех двухвходовых элементов 16-19 И, двухвходового Элемента 19 ИЛИ, элементов 20 и 21 задержки и триггера 22. Схема содержит также выходы 23 и 24 индикатора 11 отказов.The circuit contains the master oscillator 1, the counter 2, consisting of series-connected triggers 3 and the switch 4, the generator 5 of the setpoint recording, consisting of its own oscillator 6, the control trigger 7 and the element 8 And, controlled by the control counter 9, the driver 10 switching signals counter, indicator 11 failures. The shaper 10 can be made of parallel-connected to the element 12 OR of the differentiating chains 13. The indicator 11 can be made, for example, of two counting triggers 14 and 15, three two-input elements 16-19 AND, two-input Element 19 OR, elements 20 and 21 delay and trigger 22. The circuit also contains outputs 23 and 24 of the fault indicator 11.
Устройство работает следующим образом. В исходном дл записи программы состо нии счетчик 2 и триггер 7 обнулены, элемент 8 И закрыт, а в управл емый контрольный счетчик 9 записано программное число, J соответствующее интервалу времени, который требуетс отработать с помощью генератора 1 и счетчика 2. Генератор 6 работает .The device works as follows. In the initial state for recording the program, the counter 2 and trigger 7 are zeroed, item 8 I is closed, and the programmed control counter 9 contains the program number J corresponding to the time interval that needs to be worked out using generator 1 and counter 2. Generator 6 is working.
Запись информации начинаетс с поступлени на вход триггера 7 пускового импульо са, которым триггер 7 опрокидываетс , открыва элемент 8 И. В результате на вход счетчика 2 и одновременно на вход индикатора 11 поступают счетные импульсы. В процессе пересчета триггеры 3 поочередноThe recording of information begins with the arrival at the input of the trigger 7 of the starting pulse, by which the trigger 7 overturns, opening the element 8 I. As a result, the input of the counter 2 and simultaneously the input of the indicator 11 receives counting pulses. In the process of recalculating triggers 3 alternately
переключаютс , причем по каждому счетному импульсу переключение из состо ни «О в состо ние «1 происходит лишь у одного триггера. Соответствующие этим переключени м сигналы, например в виде перепадов напр жени , с выходов триггеров 3 поразр дно поступают на входы формировател 10, который по каждому входному сигналу выдает один выходной импульс, поступающий одновременно на входы управл емого контрольного счетчика 9 и индикатора 11 (на счетный вход триггера 15).switches, and for each counting pulse, switching from the state "O to state" 1 occurs only in one trigger. The signals corresponding to these switches, for example, in the form of voltage drops, from the outputs of the flip-flops 3, go to the inputs of the shaper 10, which for each input signal generates one output pulse that simultaneously arrives at the inputs of the controlled control counter 9 and the indicator 11 (the counting trigger input 15).
При переполнении управл емого контрольного счетчика 9 с его выхода импульс поступает на вход останова генератора 5 и второй вход триггера 7, чем и заканчиваетс запись. При этом по срабатыванию триггера 7 элемент 8 И закрываетс , а в счетчике 2 оказываетс число, вл ющеес дополнительным к программному числу, содержащемус в управл емом контрольном счетчике 9. Записанное в счетчик 2 число хранитс там до подключени этого счетчика к задающему генератору 1. Программный интервал времени обрабатываетс с мом-с нта возврата переключател 4 в состо ние при работающем задающем генераторе 1 (см. чертеж) или с момента запуска генерар тора 1 после возврата переключател 4 до момента по влени сигнала на выходе счетчика 2 по его переполнении. Отработка новой программы требует повторени описанного цикла. Кажда нова программа определ етс своим управл ющим кодом.When the controlled control counter 9 overflows from its output, a pulse arrives at the input of the generator 5 and the second input of the trigger 7, and this is where the recording ends. At the same time, upon triggering of the trigger 7, element 8 I is closed, and in counter 2 there is a number that is additional to the program number contained in control check counter 9. The number recorded in counter 2 is stored there before connecting this counter to master generator 1. Program the time interval is processed from the time of the return switch 4 to the state when the master oscillator 1 is working (see drawing) or from the moment the generator 1 starts up after the switch 4 returns to the moment when the output signal appears Chica 2 of its overflow. Testing a new program requires repeating the described cycle. Each new program is defined by its control code.
5 в работе счетчика 2 может по витьс неисправность , при которой очередное переключение одного из триггеров 3 не происходит . В этом случае на входе управл емого контрольного счетчика 9 и индикатора 11 счетный импульс не по вл етс , в то же врем на другом входе индикатора П (на входе счетного триггера 14) счетный IM . пульс имеетс .5 in the operation of the counter 2, a malfunction may occur, in which the next switching of one of the triggers 3 does not occur. In this case, at the input of the controlled control counter 9 and the indicator 11, a counting pulse does not appear, while at the same time at another input of the indicator P (at the input of the counting trigger 14) there is a counting IM. pulse is.
Оба.счетчика пропускают счетный импульс (не реагируют на него), причем благодар вновь введенному формирователю 10 и схеме его включени , при указанной выше неисправной работе счетчика 2 управл емый контрольный счетчик 9 отслеживает состо ние счетчика 2. При последующей нормадьной работе счетчика 2 устройство функционирует нормально, не требу повторной записи предшествующей информации.Both counters pass a counting pulse (do not respond to it), and thanks to the newly entered driver 10 and its switch-on circuit, the counter control meter 9 monitors the state of counter 2 for the above malfunctioning of counter 2. During the subsequent normal operation of counter 2, the device functions normal, do not require re-recording of prior information.
При указанной неисправности в счетчике 2 на вход счетного триггера 15 импульс не поступает, а индикатор 11 в этом случае формирует на своем выходе сигнал о неисправности следующим образом. В исходном состо нии счетчные триггеры 14 и 15 наход тс в одинаковом (согласованном) состо нии, поэтому на выходе элементов 16 и 17 И, подключенных к разноименным плечам счетных триггеров, сигналы отсутствуют вследствие чего на элемент 18 И через элемент 19 ИЛИ сигнал не поступает. Аналогична картина наблюдаетс при синхронном поступлении импульсов на входы счетных триггеров 14 и 15 при исправной работе счетчика 2. В случае по влени неисправности в работе счетчика 2 при очередном импульсе триггеры приход т в рассогласованное состо ние. При этом один из элементов 16 или 17 И оказываетс открытым в зависимости от того, на каких плечах счетных триггеров по вл ютс сигналы. Сигнал с выхода сработавщего элемента 16 или 17 И через элемент 19 ИЛИ поступает на элемент 18 И, открыва его. В таком состо нии индикатор )1 находитс до приведени счетных триггеров 14 и 15 в согласованное состо ние. Одновременно со срабатыванием счетного триггера 14 возбуждаетс элемент 22 задержки, с выхода которого задержанный импульс через открытый элемент 18 И поступает на выход 24, информиру о по влении неисправности в работе счетчика 2. Тот же импульс по цепи обратной св зи, содержащей элемент 21 задержки , поступает на вход сброса счетных триггеров 14 и 15 дл устеновки их в согласованное состо ние. Согласование состо ний триггеров происходит при по влении каждой очередной неисправности, после чего индикатор 11 готов к дальнейщей работе, причем на выходе 24 при каждой очередной неисправности по вл етс импульс, что дает возможность судить о кратности по влени неисправностей, происшедших в процессе записи. Информаци о неисправности в виде длительного сигнала снимаетс с выхода 24 с помощью триггера 22. При каждой очередной неисправности импульс с выхода элемента 18 -И опрокидывает триггер 22 и на выходе 24 по вл етс сигнал о неисправности . Этот сигнал снимаетс импульсом с выхода формировател 10 при эосстановлении нормальной работы счетчика 2.When the specified fault in the counter 2 to the input of the counting trigger 15, the pulse is not received, and the indicator 11 in this case generates at its output a fault signal as follows. In the initial state, the counting triggers 14 and 15 are in the same (consistent) state, therefore, at the output of elements 16 and 17 AND connected to the opposite arms of the counting triggers, there are no signals, resulting in element 18 AND through element 19 OR the signal is not received . A similar picture is observed when the pulses are simultaneously received at the inputs of counting triggers 14 and 15 when counter 2 is working properly. In the event that counter 2 is malfunctioning at the next pulse, the triggers will be in a mismatched state. At the same time, one of the elements 16 or 17 I is open, depending on which arms of the counting triggers the signals appear on. The signal from the output of the actuating element 16 or 17 AND through the element 19 OR enters the element 18 AND, opening it. In this state, indicator (i) 1 is before the counting triggers 14 and 15 are brought into a consistent state. Simultaneously with the triggering of the counting trigger 14, a delay element 22 is excited, the output of which has a delayed pulse through the open element 18 And enters output 24, informing about the occurrence of a malfunction in counter 2. The same pulse along the feedback circuit containing delay element 21, enters the reset input of the counting triggers 14 and 15 to set them in a consistent state. The coordination of the trigger conditions occurs at the occurrence of each regular fault, after which the indicator 11 is ready for further operation, and an output appears at the output 24 at each successive fault, which makes it possible to judge the multiplicity of occurrences of faults that occurred during the recording. The malfunction information in the form of a continuous signal is removed from output 24 using trigger 22. At each successive fault, a pulse from the output of element 18 -and flip-flop trigger 22 and an output signal 24 appears at output 24. This signal is removed by a pulse from the output of the driver 10 when the normal operation of counter 2 is restored.
Таким образом, при введении в устройство формировател сигналов переключени счетчика повышаетс достоверность введени программы в счетчик и вы вл ютс моменты по влени неисправностей в нем, что повыщает надежность работы всего устройства .Thus, when introducing a switch switching signal generator into the device, the reliability of the introduction of the program into the counter increases, and the moments of occurrence of malfunctions in it are detected, which increases the reliability of the entire device.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU772560794A SU734646A1 (en) | 1977-12-26 | 1977-12-26 | Programmer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU772560794A SU734646A1 (en) | 1977-12-26 | 1977-12-26 | Programmer |
Publications (1)
Publication Number | Publication Date |
---|---|
SU734646A1 true SU734646A1 (en) | 1980-05-15 |
Family
ID=20740575
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU772560794A SU734646A1 (en) | 1977-12-26 | 1977-12-26 | Programmer |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU734646A1 (en) |
-
1977
- 1977-12-26 SU SU772560794A patent/SU734646A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU734646A1 (en) | Programmer | |
SU1388903A1 (en) | Device for checking | |
RU2022455C1 (en) | Time-slot train and intertrain space shaper | |
SU811315A1 (en) | Indication device | |
SU1050122A1 (en) | Device for checking counter code | |
SU1269098A2 (en) | Device for programmed control of object | |
SU1474655A2 (en) | Program execution time monitor | |
SU1386965A1 (en) | Device for automatic checking and indicating | |
SU881678A1 (en) | Device for testing terminals | |
SU966913A1 (en) | Checking device | |
SU1179374A1 (en) | Device for registering failures | |
SU1218386A1 (en) | Device for checking comparison circuits | |
SU949672A2 (en) | Device for monitoring machine operating time | |
SU1430958A1 (en) | Device for testing digital units | |
SU1059594A1 (en) | Device for checking number of operating cycles of equipment | |
SU682881A1 (en) | Med multicomponent metering program device | |
SU1156070A1 (en) | Device for multiplying frequency by code | |
SU920640A1 (en) | Program control device | |
SU1534461A1 (en) | Device for checking group of digital units | |
SU1048579A1 (en) | Device for checking counter | |
RU1807452C (en) | Device for automatic testing and indication | |
SU1377860A1 (en) | Device for monitoring accumulator | |
SU1191887A1 (en) | Device for checking indication elements | |
SU1270767A1 (en) | Check and control system | |
SU1242958A1 (en) | Device for checking discrete objects |