SU1737411A1 - Device for programmed control - Google Patents

Device for programmed control Download PDF

Info

Publication number
SU1737411A1
SU1737411A1 SU904834506A SU4834506A SU1737411A1 SU 1737411 A1 SU1737411 A1 SU 1737411A1 SU 904834506 A SU904834506 A SU 904834506A SU 4834506 A SU4834506 A SU 4834506A SU 1737411 A1 SU1737411 A1 SU 1737411A1
Authority
SU
USSR - Soviet Union
Prior art keywords
input
output
inputs
counter
program
Prior art date
Application number
SU904834506A
Other languages
Russian (ru)
Inventor
Алексей Георгиевич Пилипенко
Владимир Львович Кошкин
Эдуард Тихонович Горбенко
Анатолий Николаевич Коротков
Original Assignee
Научно-исследовательский институт технологии машиностроения
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 Научно-исследовательский институт технологии машиностроения filed Critical Научно-исследовательский институт технологии машиностроения
Priority to SU904834506A priority Critical patent/SU1737411A1/en
Application granted granted Critical
Publication of SU1737411A1 publication Critical patent/SU1737411A1/en

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

Изобретение относитс  к области автоматики и вычислительной техники и может быть использовано в системах управлени  технологическим оборудованием дл  управлени  циклическими процессами с последо- вательным возбуждением выходов исполнительного блока. В целом устройство  вл етс  функционально полным модулем дл  проектировани  наращиваемых распределенных программируемых контроллеров. Цель изобретени  - расширение области применени  путем обеспечени  произвольного управлени  электроавтоматикой с высокой точностью задани  временныхThe invention relates to the field of automation and computer technology and can be used in process control systems for controlling cyclic processes with sequential excitation of the outputs of the execution unit. In general, a device is a functionally complete module for designing scalable distributed programmable controllers. The purpose of the invention is to expand the field of application by providing arbitrary control of electroautomatics with high precision

Description

штА NJ Ыpc nj s

Х|X |

ТтТTtt

Фиг №Г FIGURE #G

интервалов. Устройство содержит генератор 1 импульсов, делитель 2 частоты, счетчик 3 времени, исполнительный блок 4, блок 5 набора программы, первый 6 и второй 7 синхронизаторы импульсов, блок 8 пам ти программы, счетчик 9 адреса, дешифратор 10 команды, элемент И 11, элемент НЕ 12, первый 13 и второй 14 элементы ИЛИ. Частота генератора 1 поступает на вход делител  2 частоты, который делит ее на три частоты: fi, h. f3, причем частоты fi и h поступают на входы синхронизаторов 6 и 7, а частота fa через элемент ИЛ И 13 поступает на вычитающий вход счетчика 3 времени, сintervals. The device contains 1 pulse generator, 2 frequency divider, time counter 3, execution unit 4, program set block 5, first 6 and second pulse synchronizers 7, program memory block 8, address counter 9, command decoder 10, element 11, element NOT 12, first 13 and second 14 elements OR. The frequency of the generator 1 is fed to the input of the divider 2 frequency, which divides it into three frequencies: fi, h. f3, and the frequencies fi and h are fed to the inputs of synchronizers 6 and 7, and the frequency fa through the element IL AND 13 enters the subtractive input of the counter 3 times, s

Изобретение относитс  к автоматике и вычислительной технике и может быть использовано в системах числового программного управлени  технологическим оборудованием дл  управлени  циклическими процессами с последовательным возбуждением выходов исполнительного блока. В целом устройство  вл етс  функционально полным модулем дл  проектировани  наращиваемых распределенных программируемых контроллеров.The invention relates to automation and computer technology and can be used in computer numerical control systems for process equipment for controlling cyclic processes with sequential excitation of the outputs of an execution unit. In general, a device is a functionally complete module for designing scalable distributed programmable controllers.

Известно устройство дл  программного управлени , состо щее из блока датчиков положени  каретки, логического блока, блока индикации, блока формировани  команд, блока питани .A device for software control is known, consisting of a carriage position sensor unit, a logic unit, an indication unit, a command generation unit, a power unit.

Недостатками данного устройства  вл ютс  его сложность и низка  надежность из-за большого числа датчиков, устанавливаемых на станке.The disadvantages of this device are its complexity and low reliability due to the large number of sensors installed on the machine.

Известно также устройство дл  программного управлени  циклическими процессами , содержащее задающий генератор, делитель частоты, блок формировани  интервалов времени, блок набора программы и исполнительные устройства.It is also known a device for software control of cyclic processes, comprising a master oscillator, a frequency divider, a time interval shaping unit, a program dialing unit and actuators.

Недостатком этого устройства  вл ютс  его ограниченные функциональные возможности , так как оно не может управл ть циклическими процессами с несколькими временными несовпадающими интервалами .A disadvantage of this device is its limited functionality, since it cannot control cyclic processes with several time mismatched intervals.

Наиболее близким по технической сущности к предлагаемому устройству  вл етс  устройство дл  программного управлени  циклическими процессами, содержащее последовательно соединенные генератор импульсов , делитель частоты, блок набора программы и исполнительный блок.The closest in technical essence to the proposed device is a device for programmed control of cyclic processes, comprising in series a pulse generator, a frequency divider, a program set block and an execution unit.

Недостатком такого устройства  вл етс  низка  точность его работы.The disadvantage of such a device is the low accuracy of its operation.

выхода которого импульс поступает на счетчик 9, в нем устанавливаетс  новый адрес, на выходе блока 8 по вл етс  команда. Дешифратор 10 команды дешифрирует ее номер и включает соответствующий исполнительный орган в блоке 4. Импульсы частоты f поступают через элемент ИЛИ 14 на вход счетчика 3 до тех пор. пока он не переполнитс . При этом его выходной сигнал поступит на вход счетчика 9 адреса и будет выбрана нова  команда с новым временем действи , после чего цикл повтор етс . 5 ил., 2 табл.the output of which a pulse arrives at counter 9, a new address is set in it, a command appears at the output of block 8. The decoder 10 command decrypts its number and includes the corresponding executive authority in block 4. The frequency pulses f are received through the element OR 14 to the input of the counter 3 until then. until it overflows. At the same time, its output signal will go to the input of the counter 9 of the address and a new command will be selected with a new operating time, after which the cycle repeats. 5 ill., 2 tab.

Цель изобретени  - расширение области применени  путем обеспечени  произвольного управлени  электроавтоматикой с высокой точностью задани  временных интервалов .The purpose of the invention is to expand the field of application by providing arbitrary control of electroautomatics with a high accuracy of setting time intervals.

Указанна  цель достигаетс  тем, что в устройство дл  программного управлени , содержащее генератор импульсов, делитель частоты, счетчик времени, блок набораThis goal is achieved by the fact that in a device for programmed control, comprising a pulse generator, a frequency divider, a time counter, a dialing unit

программы и исполнительный блок, введены первый и второй синхронизаторы импульсов , блок пам ти программы, счетчик адреса, дешифратор команды, элемент И, элемент НЕ, первый и второй элементыprograms and executive unit, the first and second pulse synchronizers, program memory block, address counter, command decoder, AND element, NOT element, first and second elements are entered

ИЛИ, причем выход генератора импульсов подключен к первому входу элемента И, выход которого подключен к информационному входу делител  частоты, первый и второй выходы которого соединены с первымиOR, the output of the pulse generator is connected to the first input of the element I, the output of which is connected to the information input of the frequency divider, the first and second outputs of which are connected to the first

входами первого и второго синхронизатора импульсов соответственно, а третий выход подключен к первому входу первого элемента ИЛИ, второй вход которого подключен к выходу второго синхронизатораthe inputs of the first and second pulse synchronizer, respectively, and the third output is connected to the first input of the first OR element, the second input of which is connected to the output of the second synchronizer

импульсов, а выход первого элемента ИЛИ - к вычитающему входу счетчика времени , кодовые входы которого подключены к первой группе выходов блока пам ти программы , а вход записи счетчика времениpulses, and the output of the first element OR is to the subtractive input of a time counter, the code inputs of which are connected to the first group of outputs of the program memory block, and the time counter recording input

подключен к выходу первого синхронизатора импульсов, выход счетчика времени подключен к входам управлени  первого и второго синхронизаторов импульсов и к суммирующему входу счетчика адреса, задающие входы которого подключены к первому выходу блока набора программы, выходы счетчика адреса и группо-задаю- щих выходов блока набора программы - соответственно к группам адресных и информационных входов блока пам ти программы , втора  группа выходов которогоconnected to the output of the first pulse synchronizer, the output of the time counter is connected to the control inputs of the first and second pulse synchronizers and to the summing input of the address counter, the input inputs of which are connected to the first output of the program set block, the outputs of the address counter and the group-setting outputs of the program set block - respectively to the groups of address and information inputs of the program memory block, the second group of outputs of which

подключена к входам дешифратора команд, группа выходов которого соединена с группой входов исполнительного блока, выход последнего разр да - с первым входом вто- 45 рого элемента ИЛИ, выход которого через элемент НЕ подключен к второму входу элемента И. выходы Запись адреса кодового слова и Запись кодового слова блока набора программы подключены соответственно ко входам записи счетчика адреса и 50 блока пам ти программы, второй вход второго элемента ИЛИ подключен ко входу задани  предварительной установки блока набора программ, который соединен также с входами предварительной установки счет- 55 чика времени, первого и второго синхронизаторов импульсов, счетчика адреса, входы Набор, Пуск и Предварительна  устра- новка блока набора программ и вход блокировка генератора импульсов  вл ютс  одноименными входами устройства.connected to the inputs of the command decoder, the group of outputs of which is connected to the group of inputs of the execution unit, the output of the last bit to the first input of the second OR element, whose output through the element is NOT connected to the second input of the element I. outputs Writing the address of the code word and Recording the code word of the program set block is connected respectively to the inputs of the record of the address counter and 50 program memory block, the second input of the second element OR is connected to the input of the task of presetting the program set block, which It is also connected to the preset inputs of the time counter, the first and second pulse synchronizers, the address counter, the Dial, Start and Preset inputs of the program set block and the input of the pulse generator are the same-name inputs of the device.

На фиг. 1 приведена структурна  схема устройства; на фиг. 2 - временна  диаграмма его работы; на фиг. 3 - структурна  схема инхронизатрорэ 6(7) импульсов; на фиг. 4 - 5 структурна  схема делител  2 частоты; на фиг. 5 - структурна  схема блока 5 набора программы.FIG. 1 shows a block diagram of the device; in fig. 2 - time diagram of his work; in fig. 3 - block diagram of synchronization of 6 (7) pulses; in fig. 4 - 5 structured frequency divider circuit; in fig. 5 is a block diagram of the program set block 5.

Как видно из фиг. 1. устройство содержит генератор 1 импульсов, делитель 2 час- 10 тоты, счетчик 3 времени, исполнительный блок 4, блок 5 набора программы, первый 6 и второй 7 синхронизаторы импульсов, блок 8 пам ти программы, счетчик 9 адреса, дешифратор 10 команды, элемент И 11, эле- 15 мент НЕ 12, первый 13 и второй 14 элементы ИЛИ.As can be seen from FIG. 1. The device contains a pulse generator 1, a divider 2 hours-10 tons, a time counter 3, an execution unit 4, a program set block 5, a first 6 and a second 7 pulse synchronizers, a program memory block 8, an address counter 9, a decoder 10 commands, Element AND 11, Element 15 NOT 12, first 13 and second 14 elements OR.

Как видно из фиг. 3, синхронизатор 6(7) состоит из Д-триггера и элемента И 16. Импульс В частоты fa с выхода переполнени  20 счетчика 3 устанавливает выход триггера 15 в состо ние логической единицы, открыва  элемент И 16. Импульс А частоты fi проходит через элемент И 16 на его выход Б и далее на вход параллельной загрузки счет- 25 чика 3. По заднему фронту импульса А триггер 15 установитс  в состо ние логического нул  и закроет элемент И 16 до прихоа следующего импульса В.As can be seen from FIG. 3, the synchronizer 6 (7) consists of a D-flip-flop and an element 16. The impulse B of the frequency fa from the overflow output 20 of the counter 3 sets the output of the trigger 15 to the state of a logical unit, opening the element 16. The impulse A of the frequency fi passes through the element AND 16 to its output B and then to the input of parallel loading of the counter-25. On the falling edge of pulse A, the trigger 15 is set to the logical zero state and closes the AND 16 element until the next pulse B.

Счетчик 3 времени построен на синх- 30 ронных двоичных счетчиках типа К531ИЕ17, сигнал переполнени  которых устанавливатс  по достижению счетчиками состо ни , равного нулю. Этот сигнал стробируетс  входным импульсом частоты fa, и стробиро- 35 ванный сигнал переполнени  строго синхронно с частотой fa поступает на блоки 6-9.The time counter 3 is built on synchronous 30 binary binary counters of the type K531IE17, the overflow signal of which is set when the counters reach a state equal to zero. This signal is gated by the input pulse of the frequency fa, and the strobed overflow signal is strictly synchronized with the frequency fa to the blocks 6–9.

Как видно из фиг. 4, делитель 2 частоты с самовосстановлением состоит из триггеров 17 - 19; дешифратора 20; элементов И 40As can be seen from FIG. 4, the frequency divider 2 with self-healing consists of triggers 17-19; decoder 20; elements and 40

21 - 23; элементов ИЛИ 24, 26 и элемента НЕ 25.21-23; elements OR 24, 26 and element NOT 25.

Как видно из фиг. 5, блок 5 набора программы состоит из регистра 27 адреса модул , дешифратора 28 адреса, элементов И 29 - 31, счетчика 32 циклов, регистра 33 выбора режима работы; дешифратора 34 содержимого счетчика циклов, элементов ИЛИ 35, 37. элементов 2-2И-2 ИЛИ 36. 38, триггера 39.As can be seen from FIG. 5, block 5 of the program set consists of the register 27 of the address of the module, the decoder 28 of the address, the elements of AND 29-31, the counter of 32 cycles, the register 33 of the selection of the operating mode; the decoder 34 of the contents of the loop counter, elements OR 35, 37. elements 2-2И-2 OR 36. 38, trigger 39.

Блок 5 набора программы в зависимости от применени  устройства может иметь или не иметь средства повторени  цикла счетное (несчетное)число раз.The program set unit 5, depending on the application of the device, may or may not have the means for repeating the cycle a countable (uncountable) number of times.

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

Перед началом работы программа управлени  цикловой(релейной)автоматикой с помощью блока 5 набора программы зано- . ситс  в блок 8 пам ти: при этом адрес каждой команды вводитс  в счетчик 9 адреса, а содержимое команды - в блок 8 пам ти. Формат команды (кодового слова) состоит из номера возбуждаемого выхода, бита операции и кода выдержки времени. Кодовое слово вводитс  через внешний разъем блока 5 (условно обозначен Набор на фиг. 1) от внешнего устройства программировани .Before starting the program control cyclic (relay) automation using block 5 of the program set zano-. sets in memory block 8: the address of each command is entered into address counter 9, and the contents of the command in memory block 8. The format of the command (code word) consists of the number of the output being excited, the operation bit and the time delay code. The code word is entered through the external connector of the unit 5 (conventionally marked Set in Fig. 1) from an external programming device.

Сигнал предварительной установки ПУ сбрасывает в ноль делитель 2 частоты, счетчики 3 и 9, синхронизаторы импульсов 6, 7. Кроме того, пройд  через элемент ИЛИ 14, сигнал ПУ держит закрытым элемент И 11. В счетчике - ноль, а в нулевой  чейке блока 8 пам ти в разр дах номера команды записан код нулей, поэтому на выходе дешифратора 10 команд отсутствуют возбужденные выходы. Исполнительный блок 4 выключен. Сигналом ПУ триггеры синхронизаторов 6 и 7 устанавливаютс  в ноль.The preset signal of the PU resets the 2 frequency divider to zero, counters 3 and 9, pulse synchronizers 6, 7. In addition, it passed through the OR 14 element, the PU signal keeps the AND 11 element closed. In the counter, zero and in the zero cell of block 8 the memory in the bits of the command number contains a code of zeros, therefore, at the output of the decoder of 10 commands there are no excited outputs. Executive unit 4 is turned off. By the signal of the PU, the triggers of the synchronizers 6 and 7 are set to zero.

При нажатии кнопки Пуск на пульте блока 5 набора программы на его выходе исчезает потенциал предварительной установки ПУ. в результате чего исчезает запрет на входе элемента И11. Частота генератора 1 поступает на вход делител  2 частоты, который делит ее на три частоты: f 1, h, fa (см. фиг. 2), причем частоты f 1 и fa поступают на входы синхронизаторов 6 и 7, а частота fa через элемент ИЛ И13 поступает на вычитающий вход счетчика 3 времени. Частоты fi, f2, fa одинаковы и равны f/З и сдвинуты относительно друг друга на 120°.When you press the Start button on the remote control unit 5 of the program set, the potential of the preset PU disappears at its output. as a result, the prohibition on the input of element I11 disappears. The frequency of the generator 1 is fed to the input of the splitter 2 frequency, which divides it into three frequencies: f 1, h, fa (see Fig. 2), and the frequencies f 1 and fa are fed to the inputs of synchronizers 6 and 7, and the frequency fa through the element IL I13 enters the subtracting input of the counter 3 times. The frequencies fi, f2, fa are the same and equal to f / W and shifted relative to each other by 120 °.

Так как счетчик 3 времени в нулевом состо нии, то при поступлении с выхода элемента ИЛИ 13 импульса частоты fa на выходе переполнени  счетчика 3 по вл етс  импульс, который поступает на вход счетчика 9 адреса и входы синхронизаторов 6,7.Since the time counter 3 is in the zero state, when the output of the OR 13 impulse frequency fa at the output of the overflow of counter 3 arrives, a pulse arrives at the input of the counter 9 of the address and the synchronizer inputs 6.7.

8счетчике 9 устанавливаетс  новый адрес, на выходе блока 8 пам ти по вл етс  команда .In counter 8, a new address is set, a command appears at the output of memory block 8.

Точность задани  времени действи  команды определ етс  величиной At 1:f/3 З/f, а диапазон выдержек ТМакс. - величиной Дг -N, где N - период счетчика 3.The accuracy of setting the command time is determined by the value of At 1: f / 3 G / f, and the exposure range TMmax. - the value of Dg -N, where N is the period of the counter 3.

Выходной импульс с синхронизатора 6 переписывает из блока 8 пам ти в счетчик 3 врем  действи  команды, а выходной импульс с выхода синхронизатора 7 через элемент ИЛИ 13 вычитает единицу из содержимого счетчика 3, Дешифратор 10 команды дешифрирует ее номер и включает соответствующий исполнительный орган в блокЪ 4.The output impulse from synchronizer 6 rewrites from the memory block 8 into the counter 3 the time of command operation, and the output impulse from the output of the synchronizer 7 through the element OR 13 subtracts one from the contents of counter 3, the decoder 10 command decodes its number and includes the corresponding executive in block 4 .

Импульсы частоты f поступают через элемент ИЛИ 14 на вход счетчика 3 до тех пор, пока он не переполнитс . При этом его выходной сигнал поступит на вход счетчикаPulses of frequency f are fed through the element OR 14 to the input of counter 3 until it overflows. At the same time, its output signal will go to the counter input.

9адреса и выбираетс  нова  команда с новым временем действи , после чего цикл повтор етс .9address and a new command is selected with a new action time, after which the cycle is repeated.

Когда в  чейке блока 8 пам ти окажетс  команда Конец программы, она с выхода дешифратора 10 поступит через элемент ИЛИ 14 на вход элемента НЕ 12, и его выходной сигнал закроет элемент И 11, Обработка программы закончена.When the End of Program command appears in the memory cell 8 of the memory, it will go from the output of the decoder 10 through the element OR 14 to the input of the element NOT 12, and its output signal will close the element And 11, the processing of the program is completed.

Цикл работы хорошо виден на фиг. 2. Точность задани  времени определ етс  частотой генератора и может быть получена любой.The work cycle is clearly visible in FIG. 2. The accuracy of setting the time is determined by the frequency of the generator and can be obtained any.

Делитель 2 частоты (фиг. 4) работает следующим образом.Divider 2 frequency (Fig. 4) works as follows.

Если возбужден сигнал ПУ, то работа дешифратора 20 запрещена, а выходы триггеров 17, 18, 19 по асинхронным входам сброса установлены в ноль и закрывают выдачу частот fj, f2, Тз через элементы И 21,22, 23. Как только исчезает сигнал ПУ, разрешаетс  работа дешифратора 20, на информационные входы которого подаетс  трехбитный код состо ни  триггеров 17,18, 19. Выходные сигналы дешифратора 20 совместно с элементами ИЛИ 24, 26 и НЕ 25 обеспечивают синхронное в нормальном режиме и асинхронное при сбое изменение состо ни  триггеров 17,18,19.If the PU signal is excited, the operation of the decoder 20 is prohibited, and the outputs of the flip-flops 17, 18, 19 are set to zero by the asynchronous reset inputs and close the output of the frequencies fj, f2, Tz through elements 21.21, 23. As soon as the PU signal disappears, the decoder 20 is allowed to work, the information inputs of which are supplied with a three-bit status code of the trigger 17,18, 19. The output signals of the decoder 20 together with the OR elements 24, 26 and HE 25 provide synchronous in normal mode and asynchronous in case of failure the change in the state of the trigger 17, 18.19.

Таблица переходов и состо ний триггеров 17,18,19 выгл дит следующим образом (см. табл. 1).The table of transitions and states of triggers 17,18,19 looks as follows (see Table 1).

Символом f обозначен синхронный переход; смена состо ний триггеров 17,18,19 происходит по заднему фронту импульса частоты f. Символом х обозначен асинхронный переход при сбое делител  2,The symbol f denotes a synchronous transition; the change of states of the trigger 17,18,19 occurs on the trailing edge of the frequency f pulse. The x symbol denotes asynchronous transition when divider 2 fails,

Возникающие при сбое нерабочие состо ни  триггеров 17,18.19, а также первоначальное состо ние О к моменту прихода очередного синхроимпульса частоты f установ т состо ние триггеров под кодом 4 (см. таблицу) и безусловно выдаетс  импульс частоты fa, а ло заднему фронту синхроимпульса частоты f произведена смена состо ний триггеров 17, 18, 19 из состо ни  под кодом 4 (см. таблицу) в состо ние под кодом 1. Далее при нормальной работе делител  2 состо ни  триггеров мен ютс  в соответствии со схемой кодов: 4,2,3,1. Фактически делитель 2 частоты представл ет собой сдвиговый регистр с исправлением ошибки при себе, отдельные биты входовThe failure states of the triggers 17,18.19, as well as the initial state O, at the time of arrival of the next frequency clock f, the status of the flip-flops under code 4 (see the table) are generated and the impulse frequency fa is unconditionally outputted on the back edge of the frequency clock f, the state of triggers 17, 18, 19 from state under code 4 (see table) to state under code 1 was changed. Further, during normal operation of divider 2, the status of triggers change in accordance with the code scheme: 4.2, 3.1. In fact, the frequency divider 2 is a shift register with error correction on yourself, the individual bits of the inputs

которого (выходы триггеров 17, 18, 19) управл ют поочередно выдачей импульсов частоты fl, T2, f3.which (outputs of the flip-flops 17, 18, 19) are controlled alternately by issuing pulses of the frequency fl, T2, f3.

Сброс делител  2 частоты производитс  сигналом ПУ перед началом исполнени  цикла. По вы влению сигнала Конец программы генератор 1 блокируетс  (см. фиг. 1) и делитель не работает, так как прекращаетс  подача на его вход частоты f. После этого может быть произведено перепрограммирование устройства или возобновлено выполнение прежней программы нажатием кнопок ПУ, Пуск.The frequency divider 2 is reset by the PU signal before the start of the cycle. Detection of the signal The end of the program, the generator 1 is blocked (see Fig. 1) and the divider does not work, since the frequency f is terminated at its input. After that, the device can be reprogrammed or the previous program can be resumed by pressing the buttons PU, Start.

Блок 5 набора программ (см. фиг, 5) вы- полн ет следующие функции:Program set block 5 (see FIG. 5) performs the following functions:

-выбор модул  в соответствии с адресом , заданным из внешнего устройства программировани ;-selection of the module in accordance with the address specified from the external programming device;

-передача программы из устройства программировани  в ЗУ модул ;-transmission of the program from the programming device to the memory module;

-организаци  режима работы модул  в соответствии с командой, переданной из устройства программировани .- organization of the mode of operation of the module in accordance with the command transmitted from the programming device.

Блок 5 набора программы работает следующим образом.Block 5 of the program set works as follows.

Предварительно из внешнего устройства программировани  поступает команда ПУ-К, котора  обнул ет содержимое регистров 27, 33, счетчика 32 и триггера 39. Инверсный выход последнего установитс  в состо ние 1 - возникнет сигнал ПУ,действие которого на элементы устройства дл  программного управлени  описано выше. На все врем  программировани  устройства (модул ) его генератор 1 (см. фиг. заблокирован сигналом Блк и частота f с его выхода не выдаетс .Previously, an external command from the external programming device receives the PU-K command, which zeroes the contents of registers 27, 33, counter 32 and flip-flop 39. The inverse output of the latter is set to state 1 - a PU signal will appear, whose effect on the elements of the program control unit is described above. During the entire programming time of the device (module), its generator 1 (see Fig. Is blocked by the Blok signal and the frequency f from its output is not output.

С началом программировани  внешнее устройство программировани  помещает вWith the start of programming, the external programming device places in

шину кодового слова операнд, состо щий из 3-х полей: пол  адреса модул , пол  параметра цикла работы модул  (число повторений цикла), пол  режима работы модул  - и выдает синхросигналы Выбор модул  (Выбор М) и Запись режима (Зп. реж.).The codeword bus operand consisting of 3 fields: module address field, module module cycle parameter field (number of cycle repetitions), module mode field — and generates sync signals Module selection (M selection) and Record mode (Sp. ).

Но синхросигнал Выбор М из пол  адреса модул  считываетс  код адреса в регистр 27. Выходы регистра 27 подключены к дешифратору 28, последний имеет N + 1 выходов. Такие дешифраторы наход тс  на всех модул х контроллера, однако в каждом из модулей используетс  лишь один из выходов дешифратора, причем в разных модул х не могут использоватьс  одинаковые выходы. Таким образом происходит выбор какого-то l-oro модул . В следующий момент приходит сигнал Зп. режЛ который записывает в счетчик 32 циклов из пол  параметры цикла , число повторений цикла дл  выбранного модул  и одновременно в регистр 33 режима из пол  режима работы записывает код режима работы. Последний состоит из 3 битов , кодируемых в соответствии с табл. 2.But the clock signal. Selecting M from the module address field reads the address code into the register 27. The outputs of the register 27 are connected to the decoder 28, the latter has N + 1 outputs. Such decoders are located on all modules of the controller, however, only one of the decoder outputs is used in each of the modules, and the same outputs cannot be used in different modules. Thus, the selection of some l-oro module occurs. The next moment, the signal comes Zp. The mode that writes the cycle parameters to the counter of 32 cycles from the field, the number of cycle repeats for the selected module and simultaneously writes the mode code to the mode register 33 from the field of operation. The latter consists of 3 bits encoded in accordance with the table. 2

После того как l-ый модуль выбран, установлены режим его работы и число повто- рений цикла, внешнее устройство программировани  передает в блок 8 пам ти модул  программу цикла, т.е. совершает следующие действи  в изложенной последовательности .After the l-th module is selected, its mode of operation and the number of cycle repetitions are set, the external programming device sends to the module 8 of the module memory the cycle program, i.e. performs the following actions in the order outlined.

Устанавливает на шине адреса кодового слова адрес блока пам ти, по которому должно быть записано очередное кодовое слово. Подает синхросигнал записи адреса кодового слова в счетчик 9 адреса блока 8 пам ти Зп. Адр. КС. Устанавливает на шине кодового слова кодовое слово. Подает синхросигнал записи кодового слова в блок 8 пам ти по адресу, наход щемус  в счетчике адреса 9 Зп. КС.Sets the address of the code word on the bus to the address of the memory block over which the next code word should be written. Delivers the sync signal of writing the address of the code word to the counter 9 of the address of the block 8 of the memory. Addr Cop. Sets a code word on the code word bus. Delivers the sync signal of writing the code word to the memory block 8 at the address located in the address counter 9 Kp. Cop.

Така  последовательность действий повтор етс  до тех пор, пока все команды (кодовые слова) цикла программы не записаны в ЗУ - блок 8 пам ти. Далее ликвидируетс  сигнал Блк и вслед за этим, если все другие модули уже запрограммированы, возникает сигнал Пуск. Если установлен один из режимов работы модул , т. е. на одном из выходов регистра 33 режима есть высокий логический уровень, то по сигналу Пуск триггер 39 установитс  в состо ние нул  на инверсном выходе, т.е. сигнал ПУ исчезнет, и начнетс  отработка программы. После того как из блока 8 пам ти извлечена последн   команда Конец программы, одноименный сигнал установит триггер 39 в состо ние единицы на инверсном выходе, т. е. возникнет сигнал ПУ, а сигнал Конец программы исчезнет, так как из блока 8 пам ти по нулевому адресу извлечена команда Нет операции и дешифратор 10 команд переключит уровень единицы с выхода Конец программы на неиспользуемый выход (индифферентный). Сформированный таким образом импульсный сигнал КонецThis sequence of actions is repeated until all the commands (code words) of the program cycle are recorded in the memory block 8 of the memory. Then, the Blok signal is eliminated, and after this, if all the other modules are already programmed, a Start signal is generated. If one of the module operation modes is set, i.e., one of the outputs of the register 33 of the mode has a high logic level, then by the Start signal, the trigger 39 is set to the zero state on the inverse output, i.e. the PU signal disappears and the program is started. After the last End of Program command is extracted from memory block 8, the signal of the same name will set trigger 39 to unity on the inverse output, i.e. the control signal will appear and the end of program signal will disappear, since zero from memory block 8 The address No command is extracted to the address and the 10 command decoder will switch the unit level from the output End of the program to the unused output (indifferent). The pulse signal generated in this way. End

программы вычтет единицу из счетчика 32 циклов. Дешифратор 34 установит на своем единственном выходе логический ноль, если содержимое счетчика 32 равно нулю, илиprograms will subtract 32 cycles from the counter. The decoder 34 will set a logical zero at its only output if the contents of counter 32 are zero, or

5 логическую единицу, если оно не равно нулю .5 logical unit, if it is not equal to zero.

На элементы 2-2И-2ИЛИ собраны услови , когда после возникновени  сигнала ПУ, устанавливающего исходное положе0 ние схемы модул  перед началом отработки программы, необходимо автоматически сформировать сигнал Пуск в самом модуле . Это происходит в случае, если счетчик 32 еще не обнулилс  и выбран режим 2 (см.The 2-2I-2ILI elements are assembled with the conditions when, after the occurrence of a signal from the PU, which establishes the initial position of the module circuit, before starting the program, it is necessary to automatically generate a Start signal in the module itself. This occurs if counter 32 has not yet reset and mode 2 is selected (see

5 табл. 2) или в случае, если выбран режим 3. Если же выбран режим 4, повторного запуска программы не произойдет, т.е. программа (цикл) отработаетс  однократно.5 tab. 2) or if mode 3 is selected. If mode 4 is selected, the program will not restart, i.e. the program (cycle) is run once.

0 Форм а изобретени 0 Form and invention

Устройство дл  программного управлени , содержащее генератор импульсов, делитель частоты, счетчик времени, блок набора программы и исполнительный блок,A software control device comprising a pulse generator, a frequency divider, a time counter, a program set block and an execution unit,

5 отличающеес  тем, что, с целью расширени  области применени  путем обеспечени  произвольного управлени  электроавтоматикой с высокой точностью задани  временных интервалов, в него вве0 дены первый и второй синхронизаторы импульсов , блок пам ти программы, счетчик адреса, дешифратор команды, элемент И, элемент НЕ, первый и второй элементы ИЛИ, причем выход генератора импульсов5 characterized in that, in order to expand the scope of application by providing arbitrary control of electroautomatics with high precision of setting time intervals, the first and second pulse synchronizers, a program memory, an address counter, a command decoder, an element AND, an element NOT, the first and second elements OR, and the output of the pulse generator

5 подключен к первому входу элемента И, выход которого подключен к информационному входу делител  частоты, первый и второй выходы которого соединены с первыми входами первого и второго синхронизаторов5 is connected to the first input element And, the output of which is connected to the information input of the frequency divider, the first and second outputs of which are connected to the first inputs of the first and second synchronizers

0 импульсов соответственно, а третий выход подключен к первому входу первого элемента ИЛИ, второй вход которого подключен к выходу второго синхронизатора импульсов, а выход первого элемента ИЛИ - к вычита5 ющему входу счетчика времени, кодовые входы которого подключены к первой группе выходов блока пам ти программы, а вход записи счетчика времени - к выходу первого синхронизатора импульсов, выход счетчика0 pulses, respectively, and the third output is connected to the first input of the first OR element, the second input of which is connected to the output of the second pulse synchronizer, and the output of the first OR element to the subtracter input of a time counter, whose code inputs are connected to the first group of outputs of the program memory block , and the input of the recording of the time counter - to the output of the first pulse synchronizer, the output of the counter

0 времени подключен к входам управлени  первого и второго синхронизаторов импульсов и к суммирующему входу счетчика адреса , задающие входы которого подключены к первому выходу блока набора программы,0 time is connected to the control inputs of the first and second pulse synchronizers and to the summing input of the address counter, which defines the inputs of which are connected to the first output of the program set block,

5 выходы счетчика адреса и группа задающих выходов блока набора программы - соответственно к группам адресных и информационных входов блока пам ти программы, втора  группа выходов которого подключена к входам дешифратора команд, группа5 outputs of the address counter and a group of programmable outputs of the program set block — respectively to the groups of address and information inputs of the program memory block, the second group of outputs of which is connected to the inputs of the command decoder, group

выходов которого соединена с группой входов исполнительного блока последнего разр да , с первым входом второго элемента ИЛИ, выход которого через элемент НЕ подключен к второму входу элемента И, выходы Запись адреса кодового слова и Запись кодового слова блока набора программы подключены соответственно к входам записи счетчика адреса и блока пам ти программы , второй вход второго элемента ИЛИthe outputs of which are connected to the group of inputs of the execution unit of the last bit, with the first input of the second element OR, whose output through the element is NOT connected to the second input of the AND element, outputs Writing the code word address and Writing the code word of the program set block, respectively, to the write inputs of the address counter and the program memory block, the second input of the second element OR

подключен к выходу задани  предварительной установки блока набора программ, который соединен также с входами предварительной установки счетчика времени , первого и второго синхронизаторов импульсов, счетчика адреса, входы Набор, Пуск и Предварительна  установка блока набора программ и вход Блокировка генератора импульсов  вл ютс  одноименными входами устройства.connected to the output of the preset installation of the program set block, which is also connected to the preset inputs of the time counter, the first and second pulse synchronizers, the address counter, the set inputs, the start and the preset settings of the program set block and the input of the pulse generator are the same inputs of the device.

Таблица 1Table 1

Таблица 2table 2

Выход счетчика JCounter output J

8eight

ГR

лl

1one

АBUT

гg

§§

гg

Фиг. 2FIG. 2

Фиг.ЗFig.Z

tt

иand

16sixteen

Зп ASp KAZp ASp KA

8 Сч одр 9 Фиг. 58 Midrange 9 FIG. five

Зп Адр КСSn Adr COP

Claims (1)

Формула изобретенияClaim Устройство для программного управления, содержащее генератор импульсов, делитель частоты, счетчик времени, блок набора программы и исполнительный блок, отличающееся тем, что, с целью расширения области применения путем обеспечения произвольного управления электроавтоматикой с высокой точностью задания временных интервалов, в него введены первый и второй синхронизаторы импульсов, блок памяти программы, счетчик адреса, дешифратор команды, элемент И, элемент НЕ, первый и второй элементы ИЛИ, причем выход генератора импульсов подключен к первому входу элемента И, выход которого подключен к информационному входу делителя частоты, первый и второй выходы которого соединены с первыми входами первого и второго синхронизаторов импульсов соответственно, а третий выход подключен к первому входу первого элемента ИЛИ, второй вход которого подключен к выходу второго синхронизатора импульсов, а выход первого элемента ИЛИ - к вычитающему входу счетчика времени, кодовые входы которого подключены к первой группе выходов блока памяти программы, а вход записи счетчика времени - к выходу первого синхронизатора импульсов, выход счетчика времени подключен к входам управления первого и второго синхронизаторов импульсов и к суммирующему входу счетчика адреса, задающие входы которого подключены к первому выходу блока набора программы, выходы счетчика адреса и группа задающих выходов блока набора программы - соответственно к группам адресных и информационных входов блока памяти программы, вторая группа выходов которого подключена к входам дешифратора команд, группа подключен к выходу задания предварительной установки блока набора программ, который соединен также с входами предварительной установки счетчика времени, первого и второго синхронизаторов импульсов, счетчика адреса, входы Набор, Пуск и Предварительная установка блока набора программ и вход Блокировка генератора импульсов являются одноимен10 ными входами устройства.A device for program control, comprising a pulse generator, a frequency divider, a time counter, a program dialing unit and an executive unit, characterized in that, in order to expand the scope by providing arbitrary control of electroautomatics with high accuracy of setting time intervals, the first and second pulse synchronizers, program memory, address counter, command decoder, element AND, element NOT, first and second elements OR, and the output of the pulse generator is connected to the first input of the AND element, the output of which is connected to the information input of the frequency divider, the first and second outputs of which are connected to the first inputs of the first and second pulse synchronizers, and the third output is connected to the first input of the first OR element, the second input of which is connected to the output of the second pulse synchronizer , and the output of the first element OR to the subtracting input of the time counter, the code inputs of which are connected to the first group of outputs of the program memory block, and the input of the recording of the time counter to the output of the first pulse synchronizer, the output of the time counter is connected to the control inputs of the first and second pulse synchronizers and to the summing input of the address counter, the input of which is connected to the first output of the program set block, the outputs of the address counter and the group of set outputs of the program set block are respectively the address and information inputs of the program memory block, the second group of outputs of which is connected to the inputs of the command decoder, the group is connected to the output of the preset job A set of programs, which is also connected to the inputs of the preset time counter, the first and second pulse synchronizers, the address counter, the inputs Set, Start and Preset of the block of the program set and the input Blocking the pulse generator are the same device inputs. выходов которого соединена с группой входов исполнительного блока последнего разряда, с первым входом второго элемента ИЛИ, выход которого через элемент НЕ подключен к второму входу элемента И, выходы 5 Запись адреса кодового слова и Запись кодового слова блока набора программы подключены соответственно К входам записи счетчика адреса и блока памяти программы, второй вход второго элемента ИЛИthe outputs of which are connected to the group of inputs of the executive unit of the last bit, with the first input of the second OR element, the output of which through the element is NOT connected to the second input of the AND element, outputs 5 Write the address of the code word and Write the code word of the block of the program set respectively connected to the inputs of the record counter address and a program memory block, the second input of the second OR element Таблица 1Table 1 Код состояний Status code Исходное состояние The initial state Синхроимпульс частоты Clock frequency Новое состояние New condition Код состояний Status code Т4 T4 тз tk Т2 T2 Т4 T4 тз tk Т2 T2 0 0 0 0 0 0 0 0 X X 1, 1, 0 0 0 0 4 4 1 1 0 0 0 0 1 1 f f 0 0 1 1 0 0 2 2 2 2 0 0 1 1 0 0 t t 1 1 0 0 0 0 4 4 3 3 0 0 1 1 1 1 X X 1 1 0 0 0 0 4 4 4 4 1 1 0 0 0 0 0 0 0 0 1 1 1 1 5 5 1 1 0 0 1 1 X X 1 1 0 0 0 0 4 4 6 6 1 1 1 1 0 0 X X 1 1 0 0 0 0 4 4 7 7 1 1 1 1 1 1 X X 1 1 0 0 0 0 4 4
Таблица 2table 2 Номер п/п Number p / p Выходы регистра 33 Register outputs 33 Режим работы Mode of operation 3 3 2 2 1 1 1 1 0 0 0 0 0 0 Модуль не должен работать The module should not work 2 2 0 0 0 0 1 • 1 • Модуль должен повторить записанную в ЗУ 8 программу цикла К раз; число К находится в счетчике 32 The module must repeat the cycle program K times recorded in memory 8; the number K is in the counter 32 3 3 0 0 1 1 0 0 Модуль должен остановить повторение цикла лишь тогда, когда извне поступит сигнал Блк The module should stop repeating the cycle only when the Blk signal arrives from the outside 4 4 1 1 0 0 0 0 Модуль должен выполнить цикл однократно The module should execute the cycle once
Фиг. 3FIG. 3
SU904834506A 1990-06-05 1990-06-05 Device for programmed control SU1737411A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
SU904834506A SU1737411A1 (en) 1990-06-05 1990-06-05 Device for programmed control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
SU904834506A SU1737411A1 (en) 1990-06-05 1990-06-05 Device for programmed control

Publications (1)

Publication Number Publication Date
SU1737411A1 true SU1737411A1 (en) 1992-05-30

Family

ID=21518304

Family Applications (1)

Application Number Title Priority Date Filing Date
SU904834506A SU1737411A1 (en) 1990-06-05 1990-06-05 Device for programmed control

Country Status (1)

Country Link
SU (1) SU1737411A1 (en)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Авторское свидетельство СССР Мг 411435. кл. G 05 В 19/18. 1971. Авторское свидетельство СССР № 337763, кл. G 05 В 19/18. 1970. *

Similar Documents

Publication Publication Date Title
CA1077151A (en) Plural-sequence control system
SU1737411A1 (en) Device for programmed control
SU1336013A1 (en) Test forming device
JPS6157600B2 (en)
SU1251033A1 (en) System for programmed control
SU1721587A1 (en) Logical concurrent programmable controller
SU877475A1 (en) Program control device
SU1018107A1 (en) Program time device
SU1003025A1 (en) Program time device
SU1238035A1 (en) Programmed control device
SU798844A1 (en) Digital object testing device
SU1228276A1 (en) Counter for subtraction
SU1403084A2 (en) Program control device
SU1661768A1 (en) Digital unit testing device
SU1295420A1 (en) Device for monitoring parameters
RU2112313C1 (en) Device for conversion of m sequences
SU691808A1 (en) Programmed control arrangement
SU991374A1 (en) Function interpolator
RU1805500C (en) Memory circuit
SU1437833A2 (en) Program regulator
SU1583921A1 (en) Programmable controller
SU463117A1 (en) Device for averaging number pulse codes
SU1357939A1 (en) Timer
SU849464A2 (en) Random process generator
SU635460A1 (en) Engraving machine programme control device