SU1488748A1 - Program control unit - Google Patents
Program control unit Download PDFInfo
- Publication number
- SU1488748A1 SU1488748A1 SU874269496A SU4269496A SU1488748A1 SU 1488748 A1 SU1488748 A1 SU 1488748A1 SU 874269496 A SU874269496 A SU 874269496A SU 4269496 A SU4269496 A SU 4269496A SU 1488748 A1 SU1488748 A1 SU 1488748A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- output
- input
- block
- inputs
- elements
- Prior art date
Links
Landscapes
- Programmable Controllers (AREA)
Description
Изобретение относится к автоматике, в частности к программному управлению циклически работающего оборудования. Цель изобретения повышение надежности за счет упрощения его конструкции и расширение области применения. Устройство содержит первый счетчик 1, первый блок 2 памяти, первый и второй блоки 4 и 3 сравнения, второй счетчик 5, генератор 6 импульсов, элемент ИЛИ 7, элемент НЕ 8, элементы И 9-12, причем первый элемент И 9 является групповым, мультиплексор 13, блок 14 логики, второй блок 15 памяти, третийThe invention relates to automation, in particular to the software control cyclically operating equipment. The purpose of the invention is improving reliability by simplifying its design and expanding the scope. The device contains the first counter 1, the first memory block 2, the first and second blocks 4 and 3 of the comparison, the second counter 5, the generator 6 pulses, the element OR 7, the element NOT 8, the elements AND 9-12, the first element AND 9 is the group, multiplexer 13, logic block 14, second memory block 15, third
0000
0000
чh
0000
>>
ВыхOut
33
14887481488748
4four
блок 16 сравнения и задатчик 17. В блоке 2 записывается программа улравнения циклом технологического агрегата, представляющая собой последовательность шагов (слов). Каждое слово имеет три зоны. Выборка и считывание содержимого ячеек всех трех зон выполняются параллельно в соответствии с кодом на выходе счетчика 10block 16 comparison and setting unit 17. In block 2, a program for leveling by the cycle of the technological unit is written, which is a sequence of steps (words). Each word has three zones. Sampling and reading the contents of the cells of all three zones are performed in parallel in accordance with the code at the output of the counter 10
I. При совпадении фактической комбинации состояний датчиков цикла с заданной счетчик 1, изменив свое содержимое на единицу, вызывает переадресацию блока 2 на следующий шаг программы. В случае, если заданный программой механизм или датчик не $ сработал на данном шаге, сигнал на выходе блока 3 не появляется и последующие шаги программы не отрабатываются. По сигналам от датчиков блокI. If the actual combination of states of the loop sensors coincides with the specified counter 1, changing its content by one causes the block 2 to be redirected to the next program step. If the mechanism or sensor specified by the program did not work at this step, the signal at the output of block 3 does not appear and the subsequent steps of the program are not processed. According to the signals from the sensor unit
14 логики вырабатывает дополнительные сигналы, которые передаются в блок14 logic generates additional signals that are transmitted to the block
15 памяти для хранения и использования устройством для контроля за состоянием объекта. 1 з.п. ф-лы, 2 ил.15 memory for storage and use by the device to monitor the state of the object. 1 hp f-ly, 2 ill.
Изобретение относится к автоматике, а именно к устройствам для 20The invention relates to automation, namely, devices for 20
программного управления технологическим оборудованием дискретного циклического действия.software control of technological equipment of discrete cyclic action.
Цель изобретения - повышение надежности устройства за счет упрощения 25 его конструкции и расширение области применения.The purpose of the invention is to increase the reliability of the device by simplifying 25 of its design and expanding the scope.
На фиг, 1 представлена блок-схема предлагаемого устройства; на фиг» 2функциональная схема блоков логики, зо памяти и сравнения.Fig, 1 shows the block diagram of the proposed device; Fig 2 is a functional diagram of logic blocks, zo memory and comparison.
Устройство содержит первый счетчик 1, первый блок 2.памяти, первый 3 и второй 4 блоки.сравнения, второй счетчик 5, генератор 6 импульсов, элемент ИЛИ 7, элемент НЕ 8, первый 9, второй 10, третий 11 и четвертый 12 элементы И, причем первый элемент И 9 является групповым, мультиплексор 13, блок 14 логики, второй блок 15 памя- до ти, третий блок 16 сравнения, задатчик 17.The device contains the first counter 1, the first block 2. memory, the first 3 and the second 4 blocks of comparison, the second counter 5, the generator 6 pulses, the element OR 7, the element NOT 8, the first 9, the second 10, the third 11 and the fourth 12 elements AND , the first element AND 9 is a group multiplexer 13, the logic block 14, the second memory block 15, the third comparison block 16, the setting device 17.
На фиг. 2 изображены функциональные схемы блоков логики 14, памяти 15, сравнения 16 для технологического 45 оборудования лини химической обработки труб.FIG. 2 shows functional diagrams of logic blocks 14, memory 15, comparisons 16 for technological 45 equipment of the pipe chemical processing line.
Блоки 14-16 содержат элементы И 18-26, ИЛИ 27-30, одновибраторы 3134, триггеры 35 и 36, элемент НЕ 37, элемент И-ИЛИ 38, счетчики 39 и 40.Blocks 14-16 contain the elements AND 18-26, OR 27-30, one-shot 3134, triggers 35 and 36, the element NOT 37, the element AND-OR 38, counters 39 and 40.
Триггер 35 и счетчики 39 и 40 выполнены с неразрушаемой информацией при отключении питания и реализованы на элементах серии К561ТР2 и ИЕ8 с $$ питанием от аккумуляторов. Остальные блоки устройства могут быть выпол- . йены на элементах серии К155ЛАЗ,The trigger 35 and the counters 39 and 40 are made with indestructible information when the power is turned off and are implemented on the elements of the K561TP2 and IE8 series with $$ battery power. The remaining units of the device can be executed. Yen on the elements of the K155LAZ series,
ТМ2, ЛРЗ, АП и т.п. ,TM2, LRZ, AP, etc. ,
В блоке 14 логики формируются (по комбинациям входных сигналов) импульсы, по которым записывается информация для хранения в блоке 15 памяти.In block 14 of logic, pulses are formed (by combinations of input signals), according to which information is stored for storage in block 15 of memory.
Входные сигналы блока 14 следующие:The input signals of block 14 are as follows:
ДП1-ДПЗ и ДП9 - спецкран находится над соответствующей ванной 1-3 и 9;DP1-DPZ and DP9 - the special crane is located above the corresponding bath 1-3 and 9;
"Корзины 1, 9 вверху" - сигнал о том, что соответствующая корзина находится в верхнем крайнем положении;“Baskets 1, 9 above” - a signal that the corresponding basket is in the upper extreme position;
"Корзины 2-8 вверху" - любая или несколько корзин (2-8) в верхнем крайнем положении;"Baskets 2-8 at the top" - any or several baskets (2-8) in the upper extreme position;
КЗР - команда "Захваты раскрыть", чтобы МТВ были з&гружены в корзину ванны, над которой находится спецкран.KZR - command "Grasp to open", so that MTVs are loaded in the basket of the bath above which the special crane is located.
Узел, содержащий элементы 24,The node containing the elements 24,
25, 31, 32, 29, 30 и 40, обеспечивает слежение за порядковым номером подцикла в цикле.25, 31, 32, 29, 30 and 40, provides tracking of the sequence number of a sub-cycle in the loop.
В данном примере реализации блока 14 логики окончанием любого подцикла является загрузка МТВ в ванну корзи- . ны 2 (комбинация сигналов: ДП2 и "Корзина 2 вверху" и КЗР) или корзины 3 (комбинация сигналов, ДПЗ и "Корзина 3 вверху" и КЗР).In this example of implementation of block 14 of logic, the end of any subcycle is the loading of the MTV into the basket basket. 2 (a combination of signals: DP2 and "Basket 2 above" and KZR) or basket 3 (combination of signals, DPZ and "Basket 3 above" and KZR).
Появившийся на выходе элемента И 24 (25) сигнал запускает одновибратор 31 (32), сигнал с которого проходит через элементы ИЛИ 29 и 30 и записывает "+1" в счетчик 40, последний изменяет свое состояние на единицу. На фиг. 2 счетчик 40 изображен с коэффициентом пересчета "3", так как при переходе в состояние "4" происходит автоматический сбросAppeared at the output of the element And 24 (25) signal triggers the one-shot 31 (32), the signal from which passes through the elements OR 29 and 30 and writes "+1" in the counter 40, the latter changes its state by one. FIG. 2, the counter 40 is depicted with a recalculation factor of "3", since when switching to the state "4" an automatic reset occurs
66
5 1688// счетчика в состояние "1" (по 5К-пхоДУ) . 5 1688 // counter to the state "1" (5K-PSDU).
Узел, содержащий элементы И 18-23,The node containing the elements And 18-23,
ИЛИ 27 и 28, триггер 35, одновибратор 33 и счетчик 39, обеспечивает слежение за порядковым номером шага в подцикле.OR 27 and 28, the trigger 35, the one-shot 33 and the counter 39, provides tracking of the sequence number of the sub-cycle.
В данном примере реализации блокаIn this block implementation example
14 логики признаком окончания любого ю14 logic sign of the end of any u
шага является возвращение любой из корзин (1-9) в крайнее нижнее положение, если до этого она была в крайнем верхнем положении. При этом триггер 35 сначала, переходит в "1", а 15 затем в "О", от этого перепада его сигнала происходит запуск одновибратора 33, который обеспечивает запись "+1" в счетчик 39, последний переходит в следующее положение. 20step is to return any of the baskets (1-9) to the lowest position, if before that it was in the highest position. In this case, the trigger 35 first, goes to "1", and 15 then to "O", from this differential of its signal, the one-shot 33 starts up, which ensures the recording of "+1" to the counter 39, the latter moves to the next position. 20
Устройство работает следующим образом.The device works as follows.
В блок 2 записывается программа управления циклом технологического агрегата, представляющая собой после- 25 довательность шагов (слов). Каждое слово имеет три зоны: I - команды управления механизмами на данном шаге программы; II - комбинации состояний, в которые должны придти меха- 30 низмы по команде зоны I (комбинации состояний датчиков цикла); III - коды условий и адреса возможных переходов. Выборка и считывание содержимого ячеек всех трех зон выполняются параллельно в соответствии с кодом на выходе счетчика 1.Block 2 records the process unit cycle control program, which is a sequence of steps (words). Each word has three zones: I - commands for controlling mechanisms at this step of the program; II - combinations of states to which mechanisms must come in at the command of zone I (combinations of states of the cycle sensors); III - condition codes and addresses of possible transitions. Sampling and reading the contents of the cells of all three zones are performed in parallel in accordance with the code at the output of counter 1.
В исходном состоянии счетчики 1 и 5 находятся в нулевом состоянии (шины сброса счетчиков 1 и 5 не показаны),с выходов блоков 3 и 4 сравнения выдаются нулевые сигналы, при которых генератор 6 выключен, элементы И 11 и .12 закрыты по обоим входам.In the initial state, counters 1 and 5 are in the zero state (the reset buses of counters 1 and 5 are not shown), from the outputs of blocks 3 and 4 of the comparison, zero signals are issued, at which generator 6 is turned off, elements 11 and .12 are closed at both inputs.
В процессе работы блок 14 логики 45 по сигналам датчиков объекта формирует производные (комбинационные) сигналы, определяющие характерные состояния объекта, которые одиночными сигналами датчиков не могут быть определены. Сформированные в блоке 14 производные сигналы передаются в блокIn operation, block 14 of logic 45, based on the signals from the object's sensors, generates derivative (combinational) signals that determine the characteristic states of the object, which cannot be determined by single sensor signals. Formed in block 14 derived signals are transmitted to the block
15 памяти, где хранятся до момента15 memory where stored until
изменения состояния объекта (до момента стирания хранящегося сигнала), 55changes in the state of the object (until the erasing of the stored signal), 55
когда при помощи блока 14 логики сигналы в блоке 15 памяти стираются.when, using logic block 14, signals in memory block 15 are erased.
Находящиеся в блоке 15 памяти производные сигналы от датчиковDerived signals from sensors located in memory block 15
1818
объекта поступают на второй информационный вход мультиплексора 13 и ис-. пользуются наряду с сигналами датчиков для контроля состояния объекта. Ячейки блока 15 памяти могут быть выполнены с неразрушаемой информацией при снятии напряжения питания устройства, что позволит при восстановлении питания привести устройство в нужный шаг программы.·object is fed to the second information input of the multiplexer 13 and is-. use along with the sensor signals to monitor the state of the object. The cells of memory block 15 can be executed with non-destructible information when removing the supply voltage of the device, which will allow bringing the device to the desired program step when power is restored. ·
Для исключения части программы, начинающейся С характерного состояния объекта (сигнал о котором формируется блоком 14 логики но комбинации сигналов датчиков), при помощи задатчика 17 задается код (коды) этого состояния, поступающий на первый вход блока 16 сравнения. Б момент появления установленного на задатчике 17 кода исключаемого состояния объекта (например, одного из подциклов цикла обработки МТБ на линии травления) на выходе блока 15 памяти блок 16 сравнения формирует сигнал, который поступает в блок 14 логики для организаций исключения появившегося комбинационного сигнала от датчиков объекта. По поступившему с выхода блока 16 сравнения сигналу блок 14 логики формирует очередной возможный по технологии сигнал (определяется структурой конструкции блока 14 логики), который поступает на вход блока 15 памяти.To exclude part of the program, starting with the characteristic state of the object (the signal about which is generated by the logic block 14 but the combination of sensor signals), using the setting device 17, the code (codes) of this state is input to the first input of the comparison unit 16. The moment the code of the excluded state of the object (for example, one of the subcycles of the MTB processing cycle on the etch line) installed at the setting unit 17 is outputted by the memory unit 15, the comparison unit 16 generates a signal that enters the logic unit 14 for organizations eliminating the combinational signal from object sensors . According to the signal received from the output of the comparison block 16, the logic block 14 forms the next possible signal with respect to technology (determined by the structure of the logic block 14), which is fed to the input of the memory block 15.
При считывании первого слова программы из блока 2 (шина запуска программы не показана) по командам зоны I включаются соответствующие механизмы, происходит изменение их состояний, которые фиксируются датчиками состояний механизмов (датчиками цикла). Сигналы от датчиков цикла поступают на первый информационный вход мультиплексора 13, второй вход которого соединен с блоком 15 памяти, на третий вход приходит адрес комбинации состояний, записанный в зоне II блока 2.When reading the first word of the program from block 2 (the program launch bus is not shown), the corresponding mechanisms are turned on by the commands of zone I, their state changes, which are fixed by the sensors of the states of the mechanisms (by the sensors of the cycle). The signals from the cycle sensors arrive at the first information input of the multiplexer 13, the second input of which is connected to the memory unit 15, the address of the state combination recorded in the zone II of the unit 2 arrives at the third input.
Комбинация состояний, соответствующая поступившему на третий вход мультиплексора 13'адресу, проходит с выхода мультиплексора 13 на входы блоков 3 и 4 сравнения. Если в данном слове программы отсутствует признак условного перехода, то переход к следующему слову программы происходит следующим образом.The combination of states corresponding to the address 13'address received at the third input of the multiplexer passes from the output of the multiplexer 13 to the inputs of the units 3 and 4 of the comparison. If in this word of the program there is no indication of a conditional transition, then the transition to the next word of the program occurs as follows.
77
14887481488748
8eight
При совпадении фактической комбинации состояний датчиков цикла с заданной (при правильной отработке данного шага программы) на выходе блока 3 появляется сигнал "1", который открывает элемент И 11 пройдя через элемент ИЛИ 7, снимает через элемент НЕ 8 сигнал сброса счетчика 5 и запускает генератор 6, с выхода которого импульсы начинают поступать на счетный вход счетчика 5. При η-кратном контроле (кратность определяется емкостью счетчика) правильности срабатывания-датчиков цикла на выходе счетчика 5 появляется сигнал переполнения счетчика, который поступает на другой вход открытого элемента И 11, и, пройдя на его выход, проходит через открытый (инверсным сигналом с выхода элемента И 12) элемент И 10, на счетный вход счетчика 1, который,изменив свое содержимое на единицу, вызывает переадресацию блока 2 на следующий шаг программы.When the actual combination of states of the cycle sensors coincides with a given one (when this program step is correctly processed), the output of block 3 is a signal "1", which opens AND 11 after passing through the OR 7 element, removes the reset signal of the counter 5 through the HE 8 element and starts the generator 6, from the output of which the pulses start to flow to the counting input of the counter 5. At η-fold control (the multiplicity is determined by the counter capacity) of the correct response of the cycle sensors, the counter overflow signal appears at the output of the counter 5, which th arrives at another input of an open element And 11, and, having passed to its output, passes through an open (with an inverted signal from the output of element And 12) element And 10, to the counting input of counter 1, which, changing its contents by one, causes the block to be redirected 2 on the next program step.
В случае, если срабатывание блока 3 вызвано помехой' на входе устройства или кратковременным относительно заданной длительности контроля ложным срабатыванием датчика, на выходе блока 3 восстанавливается сигнал, устанавливающий счетчик 5 посредством элемента НЕ 8 в состояние "0” и выключающий генератор 6. При восстановлении сигнала на выходе блока 3 работа генератора 6 и счетчика 5 восстанавливается.In the event that the operation of unit 3 is caused by interference at the device input or a short-time relative to the specified monitoring duration by a false sensor response, the output of unit 3 restores the signal setting counter 5 through the element HE 8 to the state "0" and turning off the generator 6. When the signal is restored at the output of block 3, the operation of generator 6 and counter 5 is restored.
Для реализации условного перехода, т.е. перехода к следующему или любому другому заданному шагу программы в зависимости от отсутствия или наличия сигнала условия, в качестве которого могут быть использованы сигналы, от датчиков состояния механизмов, органов управления и других устройств, рассматриваемых в общем случае в качестве датчиков условий переходов, в том числе от блока 15 памяти, используется зона III блока 2, второй блок 4 сравнения, элементы 7-9, генератор 6 и счетчик 5* В этом случае на заданном шаге программы код условия возможного перехода из зоны III блока 2 поступает на первый вход элемента И 9 и на первый вход блока 4, который проверяет наличие сигнала от датчика условного перехода, соответствующего введенному в блок 4 коду условия. При наличии сигнала от соответствующего датчика условного перехода на выходе блока 4 появляется сигнал, который по второму входу открывает элемент И 12 и через элемент ИЛИ 7 запускает генератор 6 и счетчик 5 (по аналогии с изложенным), После появления сигнала на выходе счетчика 5 появляется сигнал на выходе элемента И 12, который блокирует по первому входу срабатывание элемента И 10 и подгот;вливает к срабатыванию по второму входу элемент 9 И. На выход элемента 9 И проходит код адреса слова программы условного перехода, который записывается в счетчик 1 параллельным кодом. Счетчик 1 обеспечивает переадресацию блока 2 на заданный шаг программы. Последующие шаги программы отрабатываются аналогично описанным. При этом длительность отработки шагов определяется быстродействием управляемых механизмов и контролируемых датчиков,To implement the conditional transition, i.e. transition to the next or any other specified step of the program depending on the absence or presence of a condition signal, which can be used as signals, from sensors of the state of mechanisms, controls and other devices, considered in the general case as sensors of transition conditions, including from memory block 15, zone III of block 2 is used, the second comparison block 4, elements 7-9, generator 6 and counter 5 * In this case, at a given program step, the code for the condition of a possible transition from zone III of block 2 enters the vy input AND gate 9 and the first input unit 4, which checks whether the signal from the sensor conditional jump corresponding to the entered code in block 4 conditions. If there is a signal from the corresponding conditional transition sensor, a signal appears at the output of block 4, which opens element 12 at the second input and starts generator 6 and counter 5 through the element OR 7 (by analogy with the above). After the signal appears at the output of counter 5, a signal appears at the output of the element I 12, which blocks the operation of the element 10 and the first input and prepares; infuses the element 9 I to the operation of the second input. At the output of the element 9 and passes the address code of the word of the conditional transition program, which is written to chik 1 parallel code. Counter 1 provides the redirection of block 2 to the specified program step. The subsequent steps of the program are processed in the same way as described. In this case, the duration of the steps is determined by the speed of the controlled mechanisms and monitored sensors,
В случае, если заданный программой механизм или датчик не срабатывает на данном шаге, единичный сигнал на выходе блока 3 не появляется, последующие шаги программы не отрабатываются и включается сигнализация (не показана) для оповещения технологического персонала о происшедшей задержке в выполнении программы. После этого оператор может применять те или иные меры по устранению нарушения в работе устройства.If the mechanism or sensor specified by the program does not work at this step, a single signal at the output of block 3 does not appear, the subsequent steps of the program are not processed and an alarm (not shown) is turned on to alert the process personnel about the delay in program execution. After that, the operator can apply these or other measures to eliminate violations in the operation of the device.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874269496A SU1488748A1 (en) | 1987-06-29 | 1987-06-29 | Program control unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU874269496A SU1488748A1 (en) | 1987-06-29 | 1987-06-29 | Program control unit |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1488748A1 true SU1488748A1 (en) | 1989-06-23 |
Family
ID=21313762
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU874269496A SU1488748A1 (en) | 1987-06-29 | 1987-06-29 | Program control unit |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1488748A1 (en) |
-
1987
- 1987-06-29 SU SU874269496A patent/SU1488748A1/en active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SU1082341A3 (en) | Control device in data processing system | |
US4047245A (en) | Indirect memory addressing | |
SU1488748A1 (en) | Program control unit | |
SU1481713A1 (en) | Program-control unit | |
SU1451649A1 (en) | Program control device | |
CA1106979A (en) | System for randomly accessing a recirculating memory | |
SU1179375A1 (en) | Device for checking memory large-scale integration circuits | |
SU1363210A1 (en) | Signature analyser | |
SU1711166A1 (en) | Computer system throughput evaluator | |
SU1004975A1 (en) | Program control device | |
SU1462308A1 (en) | Variable priority device | |
SU1721587A1 (en) | Logical concurrent programmable controller | |
RU1801223C (en) | Device for remote program controlling signalling and conducting mechanisms | |
RU1306360C (en) | Device for information input with restricted access | |
SU676987A2 (en) | Device for addressing moving objects | |
RU2095846C1 (en) | Software-control device for logical control of electric drives and guarding alarm | |
SU1640697A1 (en) | Command execution time controller | |
RU1815644C (en) | Device for control of program execution in computer | |
SU879563A1 (en) | Device for checking programs | |
SU1476464A1 (en) | Single-bit processor of programmed controller | |
SU1695266A1 (en) | Multichannel device for program-simulated control | |
SU1649547A1 (en) | Signatures analyzer | |
RU94044779A (en) | Program-control time setting device | |
SU1087979A1 (en) | Iformation input device | |
SU1142822A1 (en) | Timer |