SU1661721A1 - Device for checking and control of item winding equipment - Google Patents
Device for checking and control of item winding equipment Download PDFInfo
- Publication number
- SU1661721A1 SU1661721A1 SU894635490A SU4635490A SU1661721A1 SU 1661721 A1 SU1661721 A1 SU 1661721A1 SU 894635490 A SU894635490 A SU 894635490A SU 4635490 A SU4635490 A SU 4635490A SU 1661721 A1 SU1661721 A1 SU 1661721A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- block
- interface
- unit
- inputs
- serial
- Prior art date
Links
- 238000004804 winding Methods 0.000 title claims abstract description 14
- 230000015654 memory Effects 0.000 claims abstract description 61
- 230000007246 mechanism Effects 0.000 claims abstract description 9
- 238000009434 installation Methods 0.000 claims description 5
- 238000012546 transfer Methods 0.000 claims description 5
- 230000005540 biological transmission Effects 0.000 claims description 4
- 230000033764 rhythmic process Effects 0.000 claims description 4
- 230000001360 synchronised effect Effects 0.000 claims description 4
- 238000003860 storage Methods 0.000 claims description 3
- 238000009825 accumulation Methods 0.000 claims description 2
- 238000006243 chemical reaction Methods 0.000 claims description 2
- 230000015572 biosynthetic process Effects 0.000 claims 6
- 206010051602 Laziness Diseases 0.000 claims 2
- 241000555745 Sciuridae Species 0.000 claims 2
- 101150087426 Gnal gene Proteins 0.000 claims 1
- CDBYLPFSWZWCQE-UHFFFAOYSA-L Sodium Carbonate Chemical compound [Na+].[Na+].[O-]C([O-])=O CDBYLPFSWZWCQE-UHFFFAOYSA-L 0.000 claims 1
- 238000004519 manufacturing process Methods 0.000 abstract description 11
- 238000000034 method Methods 0.000 abstract description 6
- 230000008569 process Effects 0.000 abstract description 6
- 238000005516 engineering process Methods 0.000 abstract description 2
- 238000004891 communication Methods 0.000 description 12
- 238000012545 processing Methods 0.000 description 10
- 238000012360 testing method Methods 0.000 description 8
- 238000003825 pressing Methods 0.000 description 7
- 230000002093 peripheral effect Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 2
- 238000013479 data entry Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 2
- 230000002950 deficient Effects 0.000 description 2
- 230000002085 persistent effect Effects 0.000 description 2
- TVZRAEYQIKYCPH-UHFFFAOYSA-N 3-(trimethylsilyl)propane-1-sulfonic acid Chemical compound C[Si](C)(C)CCCS(O)(=O)=O TVZRAEYQIKYCPH-UHFFFAOYSA-N 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 239000003550 marker Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
Landscapes
- Programmable Controllers (AREA)
Abstract
Изобретение относитс к автоматике и вычислительной технике и может быть использовано в системах управлени автоматизированными технологическими комплексами дл производства намоточных изделий. Цель изобретени - расширение области применени устройства. Поставленна цель достигаетс тем, что в известное устройство, содержащее программный блок управлени , блок оперативной пам ти, первый и второй последовательные интерфейсы, дисплей, первый, второй и третий параллельные интерфейсы, табло отклонений, блок таймеров, контроллер прерываний, пульт управлени , блок печати, элемент ИЛИ, дополнительно введены блок посто нной пам ти, четвертый параллельный интерфейс, блок пам ти дискретных сигналов, группа датчиков отклонений, группа агрегатов, включающих последовательный интерфейс, пульт рабочего места, программируемый контроллер, группу датчиков положени механизмов и группу приводов исполнительных механизмов. Введение новых элементов позвол ет программно осуществл ть управление и контроль за ходом технологического процесса производства издели , легко перенастраивать устройство на новый технологический процесс и опловещать оператора о ходе выполнени технологического процесса. 14 ил.The invention relates to automation and computer technology and can be used in control systems of automated technological systems for the production of winding products. The purpose of the invention is to expand the field of application of the device. The goal is achieved by the fact that in a known device comprising a software control unit, a RAM unit, first and second serial interfaces, a display, first, second and third parallel interfaces, a deviation board, a timer unit, an interrupt controller, a remote control unit, a print unit , the OR element, additionally introduced a block of permanent memory, a fourth parallel interface, a block of discrete signals, a group of deviations sensors, a group of units, including a serial interface, a console its location, a programmable controller, a group of position sensors of mechanisms and a group of actuators of actuators. The introduction of new elements allows the software to control and monitor the process of production of the product, it is easy to reconfigure the device to a new process and to frighten the operator about the progress of the process. 14 il.
Description
Изобретение относитс к автоматике и вычислительной технике и может быть использовано в системах управлени автоматизированными технологическими комплексами дл производства намоточных изделий.The invention relates to automation and computer technology and can be used in control systems of automated technological systems for the production of winding products.
Цель изобретени - расширение области применени устройства.The purpose of the invention is to expand the field of application of the device.
На фиг. 1 приведена функциональна схема устройства; на фиг. 2 - алгоритм функционировани устройствFIG. 1 shows a functional diagram of the device; in fig. 2 - device operation algorithm
ва при решении задач контрол и управлени технологическим комплексом; на фиг. 3 - алгоритм функционировани блоков устройства при вводе данных; на фиг. 4 - алгоритм обработки и обмена информацией между блоками устройства; на фиг. 5 - пример конкретного технического решени программного блока 1 управлени ; на фиг. 6 - то же, последовательного интерфейса 4; на фиг. 7 - то же,va when solving problems of control and management of the technological complex; in fig. 3 shows an algorithm for the operation of device blocks during data entry; in fig. 4 - processing algorithm and the exchange of information between the units of the device; in fig. 5 is an example of a specific technical solution of the software control unit 1; in fig. 6 - the same, serial interface 4; in fig. 7 - the same
лока 8 таймеров; на фиг. 8 - то же, онтроллера 9 прерываний; на фиг.9- о же, пульта 10 управлени ; на иг. 10 - то же, параллельных интерейсов 13-15; на фиг. 11 - то же, блока 17 пам ти дискретных сигналов; на фиг. 12 - то же, пульта 21 рабочего места; на фиг. 13 - то же, программируемого контроллера 22; на иг. 14 - алгоритм функционировани программируемого логического контроллера .Lock 8 timers; in fig. 8 - the same, ontroller 9 interrupts; Fig. 9 is about the same, the remote control 10; on ig. 10 - the same, parallel interests 13-15; in fig. 11 is the same, block 17 of the memory of discrete signals; in fig. 12 - the same, console 21 workplace; in fig. 13 is the same as the programmable controller 22; on ig. 14 shows an algorithm for operating a programmable logic controller.
Устройство (фиг.1) содержит программный блок 1 управлени , блок 2 оперативной пам ти, блок 3 посто нной пам ти, первый последовательный интерфейс 4, дисплей 5, третий параллельный интерфейс 6, табло 7 отклонений , блок 8 таймеров,.контроллер 9 прерываний, пульт 10 управлени , второй последовательный интерфейс 11, блок 12 печати, второй 13, четвертый 14 и первый 15 параллельные интерфейсы , элемент ИЛИ 16, блок 17 пам ти дискретных сигналов, группу датчиков 18 отклонений и дл каждого агрегата 19 технологического комплекса - последовательный интерфейс 20, пульт 21 рабочего места, программируемый контроллер 22, группу датчиков 23 положений механизмов и группу привода 24 исполнительных механизмов, шину 25 адреса и шину 26 данных (по- зици ми 27-52 обозначены св зи между блоками).The device (Fig. 1) contains a program block 1 of control, a block 2 of RAM, a block 3 of permanent memory, a first serial interface 4, a display 5, a third parallel interface 6, a board 7 of deviations, a block 8 of timers, an interrupt controller 9 , control panel 10, second serial interface 11, print unit 12, second 13, fourth 14 and first 15 parallel interfaces, OR element 16, discrete signal memory block 17, deviation sensor group 18 and for each unit 19 of the technological complex a serial interface 20, ult workstation 21, a programmable controller 22, the sensor group 23 and the drive mechanism positions a group of actuators 24, the address bus 25 and data bus 26 (-to zitsi E 27-52 are designated communication between blocks).
| Программный блок 1 управлени (фиг.5) содержит генератор 53 тактовых импульсов, центральный процессорный элемент 54, системный контроллер 55 и кнопку 56 сброса.| The software control unit 1 (Fig. 5) comprises a clock pulse generator 53, a central processing unit 54, a system controller 55 and a reset button 56.
Последовательный интерфейс 4 (фиг.6) содержит дешифратор 57 адреса , интерфейс 58 св зи, генератор 59 синхроимпульсов передатчика и приемника , входной 60 и выходной 61 усилители каналов.Serial interface 4 (FIG. 6) contains address decoder 57, communication interface 58, transmitter and receiver clock generator 59, input 60 and output 61 channel amplifiers.
Блок 8 таймеров (фиг.7) содержит генератор 62 секундных импульсов, дешифратор 63 адреса и программируемые таймеры 64 и 64 Ј.Timer unit 8 (FIG. 7) contains a 62 second pulse generator, address decoder 63 and programmable timers 64 and 64.
Контроллер 9 прерываний (фиг.8) содержит дешифратор 65 адреса и программируемый контроллер 66 прерываний .The interrupt controller 9 (FIG. 8) comprises an address decoder 65 and a programmable interrupt controller 66.
Пульт 10 управлени (фиг.9) содержит кнопку 67 пуска, кнопку 68 ос танова устройства, первый 69 - четThe control panel 10 (FIG. 9) contains the start button 67, the stop button 68 of the device, the first 69 — even
00
5five
00
5five
00
5five
00
5five
вертый 72 элементы И-НЕ, элемент ИЛИ 73 и триггер 74.Vertical 72 elements NAND, element OR 73 and trigger 74.
Параллельный интерфейс 13 (фиг.10) содержит дешифратор 75 адреса и интерфейс 76 периферийных устройств. Параллельный интерфейс 14 (фиг.10) содержит дешифратор 77 адреса и интерфейс 78 периферийных устройств. Параллельный интерфейс 15 (фиг.10) содержит дешифратор 79 адреса и интерфейс 80 периферийных устройств.The parallel interface 13 (FIG. 10) comprises an address decoder 75 and a peripheral interface 76. The parallel interface 14 (FIG. 10) comprises an address decoder 77 and a peripheral interface 78. The parallel interface 15 (FIG. 10) comprises an address decoder 79 and a peripheral interface 80.
Блок 17 пам ти дискретных сигналов (фиг.11) содержит первую 81,, ..., 81т, и вторую 824,..., 82п группы триггеров и первую 83,..., вторую 84,(,..., 84р, группы элементов ИЛИ.Block 17 of the memory of discrete signals (Fig. 11) contains the first 81 ,, ..., 81t, and the second 824, ..., 82p trigger groups and the first 83, ..., second 84, (, ..., 84r, groups of elements OR.
Пульт 21 рабочего места (фиг.12) содержит первый 85 и второй 86 усилители , первый 87 элемент НЕ, первый 88 - третий 90 элементы И-НЕ, второй 91 элемент НЕ, четвертый 92 - шестой 94 элементы И-НЕ, третий 95 элемент НЕ, седьмой 96 - дев тый 98 элементы И-НЕ, четвертый 99 элемент НЕ, первую 100 и вторую 101 лампы, первую 102 - четвертую 105 кнопки.The work station console 21 (Fig. 12) contains the first 85 and second 86 amplifiers, the first 87 element is NOT, the first 88 is the third 90 elements AND-NOT, the second 91 elements are NOT, the fourth 92 are the sixth 94 elements AND-NOT, the third 95 elements NOT, the seventh 96 is the ninth 98 elements NAND, the fourth 99 is NOT, the first 100 and the second 101 lamps, the first 102 are the fourth 105 buttons.
Программируемый контроллер 22 (фиг.13) содержит программный блокThe programmable controller 22 (FIG. 13) contains a program block.
106управлени , блоки оперативной106 control blocks operational
107и посто нной 108 пам ти, последовательный интерфейс 109, первый 110 и второй 111 параллельные интерфейсы .107 and a permanent 108 memory, a serial interface 109, the first 110 and the second 111 parallel interfaces.
Устройство работает следующим образом .The device works as follows.
В блок 3 посто нной пам ти записываютс все программы контрол и управлени устройством. В пам ть программируемых логических контроллеров 22 записываютс программы управлени перемещением механизмов каждого агрегата 19. Каждой программой предусматриваетс выполнение алгоритма управлени соответствующим агрегатом 19 последовательном по шагам, при этом в зависимости от комбинации сигналов датчиков 23 положений механизмов, установленных на агрегате 19, обеспечиваетс выдача необходимых команд включени , приводов 24 исполнительных механизмов . Кроме того, в каждой программе организован счетчик шагов, содержимое которого инкриминируетс после отработки очередного шага программы . Таким образом, в каждый моS1661721All the programs for monitoring and controlling the device are recorded in block 3 of the permanent memory. The memory of programmable logic controllers 22 records the movement control mechanisms of each unit 19. Each program provides for the execution of the control algorithm of the corresponding unit 19 sequential steps, and depending on the combination of sensor signals 23 positions of the mechanisms installed on unit 19, the necessary commands are issued power up, actuators 24 actuators. In addition, a step counter is organized in each program, the contents of which are incriminated after the next step of the program. Thus, in each moS1661721
мент времени на агрегате 19 выполн етс шаг программы, номер которого на единицу меньше числа, записанного в счетчике шагов.The time unit on unit 19 executes a program step, the number of which is one less than the number recorded in the step counter.
При включении устройства программный блок 1 управлени на выходе 31 формирует импульс, по которому блоки устройства устанавливаютс в исходное положение (оператор 1, фиг.2) после чего программный блок 1 управлени выполн ет программу инициализации режимов блоков 4, 6, 8, 9, 11, 13, 14 и 20 (оператор 2, фиг.2).When the device is turned on, the software control unit 1 at the output 31 generates a pulse, according to which the device blocks are set to their initial position (operator 1, figure 2), after which the software control unit 1 executes the mode initialization program of blocks 4, 6, 8, 9, 11 , 13, 14 and 20 (operator 2, figure 2).
Дл последовательных интерфейсов 4, 11, и 20 задаетс асинхронный режим двусторонней одновременной передачи данных. Дл параллельных интерфейсов 6 и 13 все каналы перевод тс в режим вывода, первый канал параллельного интерфейса 14 - в режим ввода, второй канал - в режим вывода данных. Все каналы параллельного интерфейса 15 сигналом сброса перевод тс в режим ввода.For serial interfaces 4, 11, and 20, asynchronous, two-way simultaneous data transfer is specified. For parallel interfaces 6 and 13, all channels are switched to output mode, the first channel of parallel interface 14 is in input mode, the second channel is in output mode. All channels of the parallel interface 15 are reset to input mode.
Дл таймеров блока 8 задаютс величины числовых уставок. Дл контроллера 9 прерываний задаютс начальные адреса подпрограмм обслуживани прерываний .For block 8 timers, numeric setpoints are set. For the interrupt controller 9, the starting addresses of the interrupt service routines are set.
Затем программный блок 1 управлени начинает отработку программы ввода сменного задани , записанной в блоке 3 посто нной пам ти (операторы 3-7, фиг.2). С помощью клавиатуры дипле 5 оператор вводит дл каждого исполнени издели , предусмотренного к изготовлению на каждом из агрегатов 19 в соответствии со сменным заданием , план, такт выпуска и параметры издели (переменную часть программы работы агрегата 19: например, при намотке статоров электродвигателей вводитс количество групп катушек, подлежащих изготовлению в цикле, количество катушек в группе, число витков в катушках и т.д.), а также допустимые величины брака по видам в партии изделий.Then, the software control unit 1 starts testing the input program for the shift task recorded in the persistent memory unit 3 (operators 3-7, fig.2). Using the keyboard, dipole 5 introduces the operator for each version of the product to be manufactured on each of the units 19 in accordance with the shift task, the plan, the release cycle and the parameters of the product (the variable part of the work program of the unit 19: for example, when winding the stators of electric motors coils to be manufactured in a cycle, the number of coils in a group, the number of turns in coils, etc.), as well as the permissible values of defects by types in a batch of products.
Ввод этих данных осуществл етс в диалоговом режиме путем заполнени таблиц, последовательно индицируемых на экране диспле , причем заноситс числовое значение запрашиваемого параметра в место таблицы, указанное маркером. Каждый символ указанных данных передаетс передатчиком диспле 5 в последовательном коде на входThese data are entered in the dialog mode by filling in the tables sequentially displayed on the display screen, with the numerical value of the requested parameter being entered in the place of the table indicated by the marker. Each character of the specified data is transmitted by the transmitter of the display 5 in serial code to the input
00
5five
00
приемника последовательного интерфейса 4 (лини св зи 36).receiver serial interface 4 (line 36).
Последовательный код, поступивший на вход интерфейса 4, преобразуетс последним в параллельный код, который по шине 26 данных поступает в программный блок 1 управлени , а затем в выделенную зону блока 2 оперативной пам ти.The serial code received at the input of interface 4 is converted last into a parallel code, which is fed to the program control unit 1 via the data bus 26, and then to the dedicated zone of the operational memory 2.
Запуск устройства в работу осуществл етс оператором нажатием соответствующей клавиши (операторы 3, 18, 19 и 20) на пульте 10 управлени , в результате чего на его выходе 40 возникает сигнал разрешени работы блока 8 таймеров, а на выходе 38 формируетс сигнал, который через контроллер 9 прерываний поступает по св зи 34 в программный блок 1 управлени .The device is put into operation by the operator by pressing the corresponding key (operators 3, 18, 19 and 20) on the control panel 10, with the result that at its output 40 a signal is issued to allow the operation of the timer unit 8, and at the output 38 a signal is generated which 9 interrupts are transmitted via communication 34 to program block 1 of control.
По этому сигналу программный блок 1 управлени переходит к отработке программы ввода данных в программи- 5 руемые контроллеры 22 каждого из агрегатов 19 (операторы 11-17), при этом из блока.2 оперативной пам ти (по шине 26 данных, программный блок 1 управлени , последовательный ин- 0 терфейс 20 в пам ть контроллера 22 вводитс программа намотки исполнени издели , изготовление которого предусмотрено первым в данную смену , а из блока 3 посто нной пам ти - управл юща информаци , устанавливающа контроллер в автоматический режим работы. Цикл работы каждого агрегата 19 начинаетс по сигналу с соответствующего пульта 21 рабочего места, который поступает на вход 46 программируемого контроллера 22.According to this signal, the software control unit 1 proceeds to the development of the data entry program in the programmable controllers 22 of each of the units 19 (operators 11-17), while from the operational memory unit 2 (via the data bus 26, the software control unit 1 The serial interface 0 interface 20 introduces into the memory of the controller 22 a product winding program, the production of which is foreseen first on this shift, and from the block 3 of the permanent memory, control information that sets the controller to automatic mode. zhdogo unit 19 is started by a signal from the respective remote workstation 21, which receives at input 46 of the programmable controller 22.
Отработка программы агрегата 19 осуществл етс в циклическом ре- 5 жиме, при этом в соответствии с программой, записанной в контроллере 22, опрашиваютс датчики 23 положений механизмов, производитс логическое сравнение состо ний входов и 0 выходов и по результатам сравнени включаютс или выключаютс те или иные приводы 24 исполнительных механизмов , После отработки очередного шага программы число в счетчике ша- 5 гов программируемого контроллера 22 увеличиваетс на единицу, а после окончани цикла изготовлени издели агрегатов с выхода 48 программируемого контроллера 22 на первыйThe testing of the program of the unit 19 is carried out in a cyclic mode; in this case, according to the program recorded in the controller 22, the sensors of the 23 positions of the mechanisms are polled, a logical comparison of the states of the inputs and 0 outputs is made, and according to the results of comparison actuators 24 drives. After the next program step has been worked out, the number in the counter of 5-step steps of the programmable controller 22 is increased by one, and after the end of the manufacturing cycle of an assembly product from output 4 8 programmable controller 22 at first
5five
00
вход блока 17 пам ти дискретных сигналов поступает импульс. На вторые входы 50 блока 17 поступают сигналы от датчиков 18 отклонений параметров изделий, установленных на испытательном оборудовании (не показано ) .the input of the discrete signal memory block 17 receives a pulse. The second inputs 50 of the block 17 receives signals from the sensors 18 deviations of the parameters of the products installed on the test equipment (not shown).
Последнее контролирует параметры изделий, определ ет годное оно или нет и вы вл ет, в последнем случае, дефект изготовлени (при испытании статоров электродвигателей, например отклонение сопротивлени , обрыв провода, корпусное или витковое замыкание статора), в результате чего включаетс один из датчиков 18.The latter controls the parameters of the products, determines whether it is suitable or not, and reveals, in the latter case, a manufacturing defect (when testing the stators of electric motors, for example, resistance deviation, wire breakage, stator short circuit or short circuit), which results in one of the sensors 18 .
Блок 17 пам ти дискретных сигналов содержит группу триггеров, каждый из которых запоминает один из сигналов, стохастически поступающих в течение цикла на его первые и вторые входы.Block 17 of the memory of discrete signals contains a group of triggers, each of which memorizes one of the signals stochastically arriving during a cycle at its first and second inputs.
Первый таймер блока 8 с тактом работы комплекса формирует на одном из выходов 39 сигнал прерывани (второго уровн ), который через контроллер 9 прерываний, линию св зи 34 поступает в программый блок 1 управлени , который по этому сигналу (операторы 3, 18, 19, 25 и 26 (фиг.2):The first timer of the block 8 with the complex operation clock forms on one of the outputs 39 an interrupt signal (second level), which through the interrupt controller 9, the communication line 34 enters the program control unit 1, which by this signal (operators 3, 18, 19, 25 and 26 (FIG. 2):
считывает через входы 51 разр дов первого канала четвертого параллельного интерфейса 14 содержимое триггеров блока 17 пам ти дискретных сигналов , заносит в один из своих внутренних регистров, а затем считанное слово через выходы 52 разр дов второго канала этого же интерфейса возвращает в блок 17 пам ти дискретных сигналов , осуществл установку в исходное состо ние именно тех триггеров, с которых были посланы сигналы,reads through inputs of 51 bits of the first channel of the fourth parallel interface 14 the contents of the triggers of block 17 of the memory of discrete signals, enters into one of its internal registers, and then reads the word through the outputs of 52 bits of the second channel of the same interface returns to block 17 of memories of discrete signals, set to the initial state of exactly those triggers from which the signals were sent,
анализирует слово, считанное из блока 17 пам ти дискретных сигналов, и дл тех агрегатов 19, с которых поступил сигнал об изготовлении изделий , осуществл ет чтение числа из со- ответствующей чейки блока 2 оператив1 ной пам ти, прибавление к прочитанному числу единицы и запись в ту же чейку, аналогичным образом осуществл етс накопление с начала смены величины брака каждого вида,analyzes the word read from block 17 of the memory of discrete signals, and for those units 19 from which the signal about the manufacture of products was received, reads the number from the corresponding cell of block 2 of the operational memory, adds to the read unit number and writes to the same cell, similarly, accumulates from the beginning of the change in the size of the marriage of each species,
анализирует состо ние оборудовани : если с агрегата поступил сигнал об изготовлении издели , фиксируетс его работа, не поступил первый раз - отсутствие выпуска, не поступил втоanalyzes the state of the equipment: if the unit received a signal to manufacture the product, its operation is recorded, did not arrive for the first time - no release, did not enter
00
5five
00
5five
00
5five
00
5five
рой раз подр д - простой агрегата (простой считаетс при отсутствии выпуска в течение заданного такта - двух последовательных циклов контрол ) в последнем случае программный блок 1 управлени через шину 26 данных , параллельный интерфейс 6 выдает на табло 7 отклонений команду на включение соответствующей сигнальной лампы;;a second time is a simple unit (idle time is considered if there is no release for a given clock cycle — two consecutive control cycles) in the latter case, the software control unit 1 via the data bus 26, the parallel interface 6 issues 7 deviations on the corresponding signal lamp on the display 7; ;
анализирует слово, считанное из блока 17 пам ти дискретных сигналов, и записывает код, соответствующий результату испытаний, в определенную чейку блока 2 оперативной пам ти, при этом в блоке 2 оперативной пам ти хран тс результаты заданного количества последних испытаний (результаты испытаний контрольной партии),analyzes the word read from discrete signal memory block 17, and writes a code corresponding to the test result to a specific cell of the RAM block 2, while in the RAM block 2 the results of the specified number of recent tests are stored (test batch test results) ,
вычисл ет количество бракованных изделий каждого вида в контрольной партии, сравнивает с допустимыми величинами и при наличии превышений через шину 26 данных, параллельный интерфейс 6 посыпает об этом сигнал на табло 7 отклонений,calculates the number of defective items of each type in the control batch, compares with the permissible values and, if there are elevations through the data bus 26, the parallel interface 6 sprinkles the signal on the board 7 deviations,
следит за ходом выполнени плановых заданий каждым агрегатом 19 путем сопоставлени планового и фактического количества изделий, зафиксированных в блоке 2 оперативной пам ти, при их равенстве программный блок 1 управлени через шину 26 данных, параллельный интерфейс 13 посылает на соответствующий пульт 21 рабочего места сигнал выполнени задани .monitors the progress of the planned tasks by each unit 19 by comparing the planned and actual number of products recorded in the RAM block 2, if they are equal, the program control unit 1 via the data bus 26 sends the parallel interface 13 to the corresponding work station console 21 .
По этому сигналу оператор агрегата 19 нажатием соответствующей клавиши на пульте 21 рабочего места запрашивает программу намотки следующего исполнени издели , в результате чего поступает сигнал йа один из входов 43 разр дов одного из каналов параллельного интерфейса 15 и через элемент ИЛИ 16 на вход 41 контроллера 9 прерываний, который формирует сигнал прерывани (первого уровн ) программному блоку 1 управлени , который считывает содержимое параллельного интерфейса 15, определ откуда поступил запрос программы, а затем обеспечивает запись запрашиваемой программы из блока 2 оперативной пам ти через шину 26 данных, программный блок 1 управлени и последовательный интерфейс 20 в программируемый контроллер 22 данного агрегата 19. По окончании записи программы программный блок 1 управлени через параллельный интерфейс 13 на пульт 21 рабочего места агрегата подает световой сигнал и осуществл ет изменение адреса чейки блока 2 оперативной пам ти дл накоплени информацииAccording to this signal, the operator of the unit 19 by pressing the corresponding key on the console 21 of the workplace requests the program for winding the next version of the product, as a result of which one of the inputs 43 of the bits of one of the channels of the parallel interface 15 enters the input 41 of the controller 9 interrupts which generates an interrupt (first level) signal to the program control unit 1, which reads the contents of the parallel interface 15, determines where the program request came from, and then provides a record from the requested memory from block 2 of the main memory via the data bus 26, the program control unit 1 and the serial interface 20 to the programmable controller 22 of this unit 19. When the program is finished recording, the program control unit 1 sends a light to the control unit 21 via the parallel interface 13 signal and changes the address of the cell of the main memory unit 2 for accumulating information
0выпуске данным агрегатом выбранного исполнени издели (операторы0 the release of this unit of the selected version of the product (operators
3, 18, 19 и 22-24).3, 18, 19 and 22-24).
Второй таймер блока 8 с. тактомSecond block timer 8 s. tact
1мин на втором из выходов 39 формирует сигнал прерывани (третьего уровн ), по которому осуществл етс накопление времени просто оборудовани (операторы 3, 18, 19, 27 и 28) При этом программный блок 1 управлени :1min at the second of the outputs 39 generates an interrupt signal (the third level), over which the equipment simply accumulates time (operators 3, 18, 19, 27 and 28). At the same time, the program control unit 1:
дл тех агрегатов 19, дл которых зафиксирован простой, осуществл ет чтение числа из соответствующей чейки блока 2 оперативной пам ти, прибавление к прочитанному числу единицы и запись в ту же чейку,for those units 19 for which a simple number is fixed, reads the number from the corresponding cell of the operational memory unit 2, adds to the read number of the unit and writes to the same cell,
дл тех агрегатов, дл которых зафиксировано рабочее состо ние, осуществл ет очистку соответствующей чейки блока 2 оперативной пам ти.for those units for which the operating state is fixed, cleans the corresponding cell of the RAM block 2.
Кроме того, программный блок 1 управлени с момента запуска устройства в работу путем подсчета минутных импульсов обеспечивает накопление в блоке 2 оперативной пам ти величины текущего рабочего времени.In addition, the software control unit 1, from the moment the device is put into operation by counting minute pulses, ensures the accumulation in the memory unit 2 of the current working time.
Дл диагностики причины просто агрегата 19 оператор с помощью клавиатуры диспле 5 набирает его номер код которого через последовательный интерфейс 4 и шину 26 данных поступает в программный блок 1 управлени Последний через шину 26 данных, послдовательный интерфейс 20 обращаетс к программируемому контроллеру 22 выбранного агрегата 19 и считывает содержимое его счетчика шагов. Затем программный блок 1 управлени , использу в программе полученное число , обращаетс к блоку 3 посто нной пам ти, считыва из него сообщение о причине просто агрегата (такими сообщени ми, например, при намотке статоров электродвигателей могут быть: Не подан статор, Обрыв провода , Нет поворота стола, Блок г1 намотки не закончил цикл и т.д.), и к блоку оперативной пам ти, считыва из него врем просто агрегатаTo diagnose the cause of a simple aggregate 19, the operator dials his code using the keyboard 5 of the code through serial interface 4 and the data bus 26 enters the program control unit 1 Last through the data bus 26, the successive interface 20 accesses the programmable controller 22 of the selected aggregate 19 and reads the contents of its step counter. Then, the software control unit 1, using the received number in the program, refers to the permanent memory unit 3, reading from it a message about the cause of a simple unit (such messages, for example, when winding the stators of electric motors can be: No stator, wire break, There is no rotation of the table, the Block r1 winding has not completed a cycle, etc.), and to the RAM block, reading the time from it is just an aggregate
oo
5five
00
5five
00
5five
00
5five
00
5five
19. Эти данные из программного блока 1 управлени через шину 26 данных, последовательный интерфейс 4 поступают на экран диспле 5. Функционирование устройства в этом случае определ етс операторами 3-5, 9 и 10.19. This data from the software control unit 1 via the data bus 26, the serial interface 4 is fed to the display screen 5. The operation of the device in this case is determined by operators 3-5, 9 and 10.
По сигналу контрол ритма намотки изделий (сигналу прерывани четвертого уровн ), поступающему от третьего таймера блока 8, программный блок 1 управлени по данным, накопленным к данному моменту в блоке 2 оперативной пам ти, вычисл ет разность между, временем текущим рабочим и полезным (произведением такта намотки на разность количества изготовленных и забракованных изделий). Если эта разность превышает допустимую величину, программный блок 1 уп- равлени формирует сигнал отклонени от заданного ритма, который через шину 26 данных, параллельный интерфейс 6 поступает на табло 7 отклонений (операторы 3, 18, 19, 29 и 30). Устройство позвол ет получить по требованию оператора информацию о ходе, намотки изделий комплексом (сколько изделий изготовлено и осталось изготовить на момент запроса, величину отклонени от заданного ритма в минутах , номера агрегатов, которые простаивают ) , о причине и времени просто в минутах любого агрегата, о бракованной продукции (величину, допустимого и фактического брака в контрольной партии и с начала смены дифференцированно по видам брака). При этом соответствующие запросы, введенные оператором с помощью клавиатуры диспле 5, поступают через последовательный интерфейс 45 шину 26 данных в программный блок 1 управлени , который в результате об- ,работки данных, имеющихс в блоке 2 оперативной пам ти, формирует информационный массив, поступающий через шину 26 данных и последовательный интерфейс 4 на экран диспле 5 (операторы 3-10).The signal of the control of the rhythm of the winding of the products (the fourth level interrupt signal) received from the third timer of block 8, the program control unit 1 calculates the difference between the current working time and the useful time (product tact of winding the difference in the number of manufactured and rejected products). If this difference exceeds the allowable value, the software control unit 1 generates a deviation signal from the specified rhythm, which via the data bus 26, the parallel interface 6 enters the 7 deviations board (operators 3, 18, 19, 29 and 30). The device allows to obtain, upon request of the operator, information on the progress, winding of the products by the complex (how many products are manufactured and left to be manufactured at the time of the request, deviation from the given rhythm in minutes, numbers of units that are idle), the reason and time just in minutes of any unit, about defective products (size, allowable and actual marriage in the control lot and from the beginning of the shift differentially by type of marriage). At the same time, the corresponding requests entered by the operator via the keyboard of the display 5 are received via the serial interface 45 data bus 26 into the program control unit 1, which, as a result of processing the data in block 2, creates an information array arriving through data bus 26 and serial interface 4 on display screen 5 (operators 3-10).
В случае возникновени аварийной ситуации оператор нажимает на пульте 10 управлени клавишу Стоп, в результате чего контроллер 9 прерываний посылает в программный блок 1 управлени сигнал прерывани (нулевого уровн ), вызыва отработку последним соответствующей программы (операторы 3, 18, 19, 21 и 33-39).In the event of an emergency, the operator presses the Stop key on the remote control 10, with the result that the interrupt controller 9 sends an interrupt (zero) signal to the program control unit 1, causing the latter to work out the corresponding program (operators 3, 18, 19, 21 and 33- 39).
11 - 1611 - 16
По сигналу окончани смены (сигналу прерывани п того уровн ), формируемому четвертым таймером блока 8 таймеров блок 12 печати регистрирует итоговые данные о работе комплекса за смену, которые поступают из блока 2 оперативной пам ти через программный блок 1 управлени , шину 26 данных и последовательный интерфейс 11 (операторы 3, 18, 19, 31 и 32).The signal of the end of the shift (interrupt signal of the fifth level) generated by the fourth timer of the block 8 of the timers print block 12 records the total data on the operation of the complex for the shift, which comes from the RAM 2 via the program control unit 1, the data bus 26 and the serial interface 11 (operators 3, 18, 19, 31 and 32).
На фиг, 3 приведен алгоритм функционировани программного блока 1 управлени , блока оперативной 2 и посто нной 3 пам ти и интерфейсаFig. 3 illustrates the operation algorithm of the program control unit 1, the operational unit 2 and the permanent 3 memory and the interface.
4при вводе данных с диспле 5 (на фиг.2 - оператор 7).4 when entering data from the display 5 (in figure 2 - the operator 7).
Программный блок 1 управлени обеспечивает вывод на экран диспле The software control unit 1 provides a display output.
5из блока 3 посто нной пам ти наименовани очередного параметра (операторы 1-14), после чего устройство переходит в режим ожидани величины этого параметра, которую должен ввести оператор с помощью клавиатуры диспле 5.5 from block 3 of the permanent memory of the name of the next parameter (operators 1-14), after which the device enters the mode of waiting for the value of this parameter, which the operator must enter using the keyboard of the display 5.
Прием программным блоком 1 управлени данных и занесение их в блок 2 оперативной пам ти осуществл етс с помощью операторов 15-24. Обмен данными между последовательным интерфейсом 4 и дисплеем 5 осуществл етс последовательным кодом в режиме двусторонней одновременной передачи (операторы 6, 7 и 16, 22). Когда программный блок 1 управлени вл етс передающей стороной, он осуществл ет контроль за правильностью обмена путем сравнени (оператор 11) посланного информационного символа с полученным ретранслированным . При наличии искажений обеспечиваетс прекращение обмена информацией (оператор 12). Выполнение обмена данными осуществл етс по командам программного блока 1 управлени . При выполнении любой команды программный блок 1 управлени по тине 25 адреса выдает код адреса на входы того устройства, к которому обращаетс ; управл ющие сигналы, формируемые программным блоком 1 управлени , возникают на выходах:The reception by the software control unit 1 of the data and their entry into the memory unit 2 is carried out with the help of operators 15-24. The data exchange between the serial interface 4 and the display 5 is carried out by a serial code in a two-way simultaneous transmission mode (operators 6, 7 and 16, 22). When the software control unit 1 is the transmitting side, it controls the correctness of the exchange by comparing (operator 11) the information symbol sent with the received retransmitted. In the presence of distortions, the exchange of information is stopped (operator 12). The data exchange is carried out according to the commands of the software control unit 1. When executing any command, the software control unit 1 of the address bus 25 issues an address code to the inputs of the device being accessed; control signals generated by the software control unit 1 occur at the outputs:
ческую обработку информации и реак- 27 - при выполнении команды чтени 55 ЦШ) на требование прерывани хода27 information processing and response - when executing the read command 55 TSSH) on the requirement to interrupt
блока 3 посто нной пам ти,block 3 of permanent memory,
28 - при выполнении команды запи- си в блок 2 оперативной пам ти,28 - when executing a command to write to memory block 2,
выполнени программы. Центральный процессорный элемент 54 блока работает от тактовых импульсов генераprogram execution. The central processing unit 54 of the block is powered by clock pulses
5five
00
5five
721721
00
5five
00
5five
00
1212
29 и 30 - при выполнении команд записи и чтени информации в последовательном интерфейсе 4.29 and 30 - when executing commands for writing and reading information in the serial interface 4.
По шине 26 данных информаци поступает с выходов программного блока 1 управлени на входы блока 2 оперативной пам ти (команда Запись в пам ть) или последовательного интерфейса 4 (команда Запись в устройство ввода-вывода), либо с выходов блока 3 посто нной пам ти (команда Чтение пам ти) или последовательного интерфейса 4 (команда Чтение устройств ввода-вывода) на входы программного блока 1 управлени .Via the data bus 26, the information is received from the outputs of the software control unit 1 to the inputs of the main memory unit 2 (Write command to the memory) or serial interface 4 (Write command to the I / O device), or from the outputs of the fixed memory unit 3 ( read memory command) or serial interface 4 (read I / O device command) to the inputs of the program control unit 1.
В процессе работы устройства между его блоками осуществл етс обмен данными, возникающими во врем выполнени команд программы (фиг.4).During the operation of the device between its blocks, data is exchanged that occurs during the execution of program instructions (Fig. 4).
При включении устройства программный блок 1 управлени на выходе 31 формирует сигнал сброса, по которому блоки 4, 6, 10, 11, 13, 14, 15, 17 и 20 устанавливаютс в исходное состо ние (операторы 1 и 2). Затем из программного блока 1 управлени на шину 25 адреса поступает адрес чейки блока 3 посто нной пам ти, а на выход 27 - сигнал чтени из блока пам ти , в результате чего код команды из блока 3 посто нной пам ти по шине 26 данных поступает в программный блок 1 управлени (оператор 3). Происходит дешифрирование кода операции (оператор 4), а все последующие действи полностью завис т от того, кака именно команда была выбрана из блока 3 посто нной пам ти.When the device is turned on, the software control unit 1 at the output 31 generates a reset signal, according to which the blocks 4, 6, 10, 11, 13, 14, 15, 17 and 20 are reset to the initial state (operators 1 and 2). Then from the program control unit 1 the address of the cell of the fixed memory 3 enters the address bus 25, and the output 27 receives the read signal from the memory block, as a result of which the command code from the fixed memory unit 3 goes to data bus 26 software block 1 control (operator 3). The operation code is decrypted (operator 4), and all subsequent actions completely depend on what command was selected from the block 3 of permanent memory.
Возможные варианты передачи информации представлены в таблице.Possible options for the transmission of information are presented in the table.
Программный блок 1 управлени i осуществл ет также обработку данных (операторы 56 и 57), контроль наличи сигнала прерывани после выполнени каждой команды программы, переход к соответствующей подпрограмме обслуживани (операторы 58-60) и возврат к прерванной программе (операторы 54 и 55).The program block 1 of control i also processes the data (operators 56 and 57), monitors the presence of an interrupt signal after executing each program command, goes to the corresponding service subroutine (operators 58-60) and returns to the interrupted program (operators 54 and 55).
Программный блок 1 управлени (фиг.5) осуществл ет адресацию бло- ков устройства, обмен информацией с ними по лини м шины данных, логивыполнени программы. Центральный процессорный элемент 54 блока работает от тактовых импульсов генератора 53, поступающих также на вход 32 программного блока управлени . При подаче питани или нажатии кнопки 56 генератор 53 вырабатывает сигнал сброса, который поступает на выход 31 и обеспечивает установку центрального процессорного элемента 54 в исходное состо ние , после чего он начинает функционировать с нулевой чейки пам ти. Доступ к программе, расположенный в блоке 3 посто нной пам ти, осуществл етс путем обращени к последовательным чейкам пам ти. При этом на шину 25 выводитс содержимое счетчика команд центрального про- цессорного элемента 54. Управление потоком данных на шине данных осуществл етс сигналами приема ИМ и выдачи БД информации, выдаваемых из центрального процессорного элемента 54. В конце первого такта каждого машинного цикла центральный процессорный элемент 54 посылает на шину данных информацию о состо нии, котора фиксируетс в системном контроллере 55 импульсом строба, поступающим из генератора 53. Эта информаци говорит о том, какие действи центральный процессорный элемент 54 будет выполн ть в текущем машинном цикле, а также используетс дл управлени потоками данных на ине 26 данных, при этом системным контроллером 55 формируютс команды Чтение пам ти (выход 27), Запись в пам ть (выход 28), Запись в устройство ввода-вывода (выход 29) и Чтение устройств ввода-вывода (выход 30).The software control unit 1 (FIG. 5) addresses the device units, exchanges information with them via the data bus lines, and logs the program. The central processing unit 54 of the unit is driven by the clock pulses of the generator 53, also fed to the input 32 of the software control unit. When power is applied or the button 56 is pressed, the generator 53 generates a reset signal, which is outputted to output 31 and provides for setting the central processing unit 54 to its initial state, after which it starts functioning from the zero memory cell. Access to the program, located in block 3 of the permanent memory, is accomplished by accessing consecutive memory cells. At the same time, the contents of the command counter of the central processing unit 54 are output to bus 25. The data flow on the data bus is controlled by the signals receiving the MI and issuing a database of information outputted from the central processing unit 54. At the end of the first clock cycle of each computer cycle, the central processing unit 54 sends the state information to the data bus, which is detected in the system controller 55 by a strobe pulse, coming from the generator 53. This information tells you what action the central processing unit element 54 will execute in the current machine cycle, and is also used to control data streams on the other 26 data, while the system controller 55 generates the commands Memory read (output 27), Write to memory (output 28), Write to device input-output (output 29) and reading input-output devices (output 30).
При поступлении на вход 34 запроса прерывани осуществл етс запись в СТЕК (область блока 2 оперативной пам ти) содержимого счетчика команд (текущего адреса прерванной програмы ) и выдача на выходе 33 сигнала разрешени прерывани , с помощью которого обеспечиваетс чтение команы и адреса подпрограммы обслуживаи прерывани из контроллера 9 преываний в программный блок 1 управени .When an interrupt request is received at input 34, the contents of the command counter (current address of the interrupted program) are written to the STACK (area of block 2 of the operating memory) and the interrupt enable signal is output at output 33, which provides for reading the commands and the addresses of the interrupt service subroutine controller 9 experiences in software block 1 control.
Последовательный интерфейс 4 (фиг.6) осуществл ет преобразование параллельного формата данных, прин ого по шине 26 данных, в последоваельный , а также обратное преобразо- ание последовательного формата дан0Serial interface 4 (FIG. 6) converts a parallel data format received over the data bus 26 into a serial one, as well as the reverse conversion of a serial data format.
5five
00
5five
00
5five
00
5five
00
5five
ных, прин тых от диспле 5. В интерфейсе используетс асинхронный режим работы интерфейса 58 св зи. Дешифратор 57 адреса осуществл ет выбор интерфейса 4 в адресном поле программного блока 1 управлени . При этом младший адрес шины 25 адреса, подключенный ко входу У/Д (Управление/ /данные) интерфейса 58 св зи, обеспечивает ввод в интерфейс 58 команды или данных при поступлении сигнала записи (вход 29), вывод слова состо ни или данных из интерфейса 58 при поступлении сигнала чтени (вход 30). Синхронизаци входа приемника (СПР) и выхода передатчика (СПД) интерфейса 58 св зи осуществл етс тактовыми импульсами генератора 59, а синхронизаци интерфейса 58 с программным блоком 1 управлени - импульсами,- поступающими по входу 32. Входной 60 и выходной 61 усилители каналов обеспечивают необходимые -параметры цепей взаимосв зи с дисплеем 5.received from the display 5. The interface uses the asynchronous mode of operation of the communication interface 58. Address decoder 57 selects interface 4 in the address field of software control unit 1. In this case, the lowest address of the bus 25 address, connected to the input of the U / D (Management / / data) of the communication interface 58, provides input to the interface 58 of a command or data when a recording signal arrives (input 29), outputting a status word or data from the interface 58 upon receipt of a reading signal (input 30). Synchronization of the receiver input (DSS) and the transmitter output (PDS) of the communication interface 58 is performed by the clock pulses of the generator 59, and the interface 58 is synchronized with the software control unit 1 - the pulses - incoming at the input 32. The input 60 and output 61 channel amplifiers provide the necessary -parameters of interconnection with the display 5.
Установка в исходное состо ние последовательного интерфейса осуществл етс сигналом, поступающим по входу 31. Задание режима производитс перед началом работы в процессе инициализации , при этом в интерфейс 58 св зи вводитс управл ющее слово, соответствующее режиму двусторонней одновременной передачи. Синхронизаци обмена информацией между программным блоком 1 управлени и последовательным интерфейсом 4 осуществл етс программным опросом программным блоком 1 управлени слова состо ни интерфейса 4, которое содержит информацию о готовности передатчика интерфейса 58 св зи прин ть данные от программного блока 1 управлени и о готовности приемника интерфейса 58 св зи передать данные в программный блок 1 управлени .The initialization of the serial interface is performed by a signal received at input 31. The mode is set before starting operation during the initialization process, and a control word corresponding to the two-way simultaneous transmission mode is entered into the communication interface 58. The synchronization of information exchange between the software control unit 1 and the serial interface 4 is performed by a software interrogation by the software control unit 1 of the interface word status control unit 4, which contains information about the readiness of the transmitter of the communication interface 58 to receive data from the software control unit 1 and about the readiness of the receiver interface 58 communication to transfer data to the software unit 1 control.
Блок 8 таймеров (фиг.7) предназначен дл формировани временных импульсов , которые используютс в уст- ройстве как сигналы прерывани определенного уровн , поступающие в контроллер 9.The timer unit 8 (Fig. 7) is designed to generate temporal pulses, which are used in the device as interrupt signals of a certain level, which enter the controller 9.
Дешифратор 63 адреса при наличии на старших разр дах шины 25 нужного сочетани сигналов осуществл ет выбор (лини св зи ВМ) одного из программируемых таймеров 64. Сигналы младших разр дов шины 25 поступают на таймеры 64 непосредственно и обеспечивают обращение (линии св зи А) к каждому из счетчиков. Величины временных уставок поступают по шине 26 данных и ввод тс сигналом записи (вход 29).The address decoder 63, when the higher bits of the bus 25 have the desired signal combination, selects (VM communication line) one of the programmable timers 64. The lower bits of the bus 25 go to the timers 64 directly and provide access (links A) to each of the counters. The time settings are received via the data bus 26 and inputted by a write signal (input 29).
На входы СО и С1 поступают импульсы генератора 62 секундных импульсов, Выход окончани счета первого счетчика , запрограммированного на уставку 1 мин, таймера 64 соединен со входами СО и С1 таймера 64g. Прием импульсов счетчиками таймеров разрешаетс сигналом 40, поступающим с пульта 10 управлени на входы стро- бировани . При равенстве содержимого какого-либо счетчика нулю на одном из выходов 39 блока по вл етс сигнал , который может использоватьс как сигнал запроса на прерывание программного блока 1 управлени .The inputs of the CO and C1 receive the generator pulses of 62 second pulses. The output of the counting of the first counter programmed to the setpoint of 1 min, the timer 64 is connected to the inputs CO and C1 of the timer 64g. The reception of pulses by the timer counters is enabled by the signal 40 received from the control console 10 to the inputs of the clock. When the content of any counter is equal to zero, one of the outputs of the block 39 results in a signal that can be used as an interrupt request signal of the software control unit 1.
Контроллер 9 (фиг.8) прерываний позвол ет реализовать многоуровневую векторную систему прерываний. Дешифратор 65 адреса обеспечивает выбор контроллера в адресном поле программного блока 1 управлени . Программирование контроллера осуществл етс командами инициализации перед началом его работы. Эти команды задают начальные адреса подпрограмме обслуживани прерываний. Вывод команд контроллер осуществл ет по шине 26 данных по сигналу Запись (вход 29). Запросы на прерывание от внешних устройств поступают на входы 38, 39 и 41, в результате чего контроллер посылает сигнал прерывани программному блоку 1 управлени . При получении от последнего сигнала подтверждени прерывани контроллер выводит на шину 26 данных команду и начальный адрес подпрограммы обслуживани прерывани .The interrupt controller 9 (FIG. 8) allows the implementation of a multi-level vector interrupt system. The address decoder 65 provides for the selection of a controller in the address field of the software control unit 1. The programming of the controller is carried out by initialization commands before starting its operation. These commands specify the starting addresses of the interrupt service routine. The command output by the controller is made via the data bus 26 on the Record signal (input 29). Interrupt requests from external devices are received at inputs 38, 39 and 41, as a result of which the controller sends an interrupt signal to the software control unit 1. When receiving from the last interrupt acknowledge signal, the controller outputs to the data bus 26 a command and the starting address of the interrupt service routine.
При нажатии кнопки 67 (или кнопки 68) пульта 10 управлени (фиг.9) на одном из его выходов 38 по вл етс сигнал пуска (или сигнал останова ) устройства, который поступает на вход контроллера 9 прерываний. Во врем работы устройства (от нажати кнопки 67 до нажати кнопки 68) триггер 74 находитс в единичном состо нии и дает разрешение (выход 40) на работу блока 8 таймеров. Начальна установка триггера 74 осуществл етс по входу 31 через элемент ИЛИ 73. Элементы И-НЕ 69-72 необходимы дл формировани одиночWhen the button 67 (or button 68) of the control panel 10 is pressed (FIG. 9), a start signal (or a stop signal) of the device appears at one of its outputs 38 and is fed to the input of the interrupt controller 9. During operation of the device (from pressing the button 67 to pressing the button 68), the trigger 74 is in a single state and gives permission (output 40) to the operation of the block 8 of timers. The initial setup of the trigger 74 is carried out at the input 31 through the element OR 73. The elements AND-NO 69-72 are necessary to form a single
00
5five
00
5five
00
5five
00
5five
ных импульсов при нажатии кнопок 67 и 68.impulses when pressing buttons 67 and 68.
Параллельные интерфейсы 13-15 (фиг.10) обеспечивают синхронный обмен в параллельном формате данных с пультами 21 рабочих мест и блоком 17 пам ти дискретных сигналов.Parallel interfaces 13-15 (FIG. 10) provide synchronous data exchange in parallel data format with 21 workstations consoles and a discrete signal storage unit 17.
Дешифраторы 75, 77 и 79 осуществл ют выбор соответственно интерфейсов 76, 78 и 80 периферийных устройств в адресном поле программного блока 1 управлени . При этом младшие разр ды шины 25 адреса, подключенные ко входам А (Адрес) интерфейсов 76, 78 и 80, обеспечивают обращение к каждому из каналов ввода-вывода или регистру управл ющего слова соответствующего интервала.The decoders 75, 77 and 79 select, respectively, the interfaces 76, 78 and 80 of peripheral devices in the address field of the software control unit 1. At the same time, the lower bits of the bus 25 addresses connected to the A (Address) inputs of interfaces 76, 78 and 80 provide access to each of the I / O channels or the control word register of the corresponding interval.
Установка в исходное состо ние интерфейсов осуществл етс сигналом, поступающим по входу 31, при этом все их каналы перевод тс в режим ввода данных.The initialization of the interfaces is carried out by a signal arriving at input 31, and all their channels are put into data entry mode.
Задание режимов производитс перед началом работы в процессе инициализации , при этом в интерфейс 76 периферийных устройств вводитс управл ющее слово, соответствующее режиму вывода информации всех его каналов, а в интерфейс 78 - слово, соответствующее режиму ввода дл первого его канала и вывода - дл второго.The modes are set before starting work in the initialization process, while the control word is entered into the interface 76 of the peripheral devices corresponding to the output mode of all its channels, and the interface 78 is entered the word corresponding to the input mode for its first channel and output for the second one.
Информаци , поступающа из программного блока 1 управлени по шине 26 данных, по сигналу записи (вход 29) запоминаетс в буферном регистре соответствующего канала (адрес которого присутствует на шине 25) и сразу же передаетс на его выходы.The information received from the program control unit 1 via the data bus 26 is stored in the buffer register of the corresponding channel (the address of which is present on the bus 25) via the write signal (input 29) and is immediately transmitted to its outputs.
При вводе информации данные с каналов записываютс в буферные регистры этих каналов без стробирова- ни и далее при поступлении сигнала чтени (вход 30) передаютс на шину 26 данных.When entering information, the data from the channels is written to the buffer registers of these channels without gating and then, upon receipt of a read signal (input 30), are transmitted to data bus 26.
Триггеры 814,...,81т, 82,...,82„ блока 17 пам ти дискретных сигналов (фиг.11) устанавливаютс в исходное состо ние при включении устройства по сигналу сброса, поступающему на них от программного блока 1 управлени через третий вход 31 и соответственно элементы ИЛИ 83,...,83W и 844,...,84ft.The triggers 814, ..., 81t, 82, ..., 82 of the block 17 of the memory of discrete signals (Fig. 11) are reset when the device is turned on by a reset signal received from the program control unit 1 through the third input 31 and respectively elements OR 83, ..., 83W and 844, ..., 84ft.
На первые 48 и вторые 50 входы блока стохастически в течение такта работы технологического комплекса поступают сигналы со вторых выходов программируемых логических контроллеров 22 (об окончании изготовлени издели соответствующих агрегатов ) и от датчиков 18 отклонени параметров изделий. Эти сигналы запоминаютс в соответствуют ™ триггерах блока. Программный блок 1 управлени после опроса состо ни триггеров через входы 51 первого канала параллельного интерфейса 14 обеспечивает установку в исходное положение именно тех триггеров, с которых были посланы сигналы. При этом сигналы установки от программного блока 1 управлени поступают через выходы второго канала параллельного интерфейса 14, третьи входы 52 блока и элементы ИЛИ 83 ,.. .,83 m и 84 ..., 84П.The first 48 and second 50 inputs of the unit are stochastically during the operation cycle of the technological complex, signals are received from the second outputs of the programmable logic controllers 22 (about the end of production of the product of the respective units) and from the sensors 18 deviations of the product parameters. These signals are stored in the corresponding block triggers. The software control unit 1, after polling the state of the triggers through the inputs 51 of the first channel of the parallel interface 14, ensures that the triggers from which the signals were sent are reset to the initial position. At the same time, the installation signals from the program control unit 1 are received via the outputs of the second channel of the parallel interface 14, the third block inputs 52 and the elements OR 83, ..., 83 m and 84 ..., 84П.
Цикл работы каждого агрегата 19 комплекса начинаетс при нажатии на его пульте 21 (фиг.12) кнопки 102, при этом с выхода элемента НЕ 87 на второй вход программируемого контроллера 22 посылаетс сигнал.The cycle of operation of each unit 19 of the complex begins when the button 102 is pressed on its console 21 (Fig. 12), and a signal is sent from the output of the element HE 87 to the second input of the programmable controller 22.
Программный блок 1 управлени устройства следит за ходом выполнени плановых заданий каждым агрегатом путем сопоставлени планового и фактического количества, зафиксированных в блоке 2 оперативной пам ти . При их равенстве процессор через параллельный интерфейс 13 посылает на соответствующий пульт 21 рабочего места сигнал выполнени задани , который поступает на усилитель 86, вызыва загорание лампы 101, и элементы И-НЕ 90, 94 и 98, подготавлива их к срабатыванию. По этому сигналу оператор агрегата Т9 нажатием одной из клавиш 103-105 запрашивает программу намотки следующего исполнени издели , в результате чего поступает сигнал на один из каналов ввода параллельного интерфейса 15, что, в конечном счете, приводит к записи запрашиваемой программы в программируемый контроллер 22 данного агрегата 19. По окончании ввода программный блок 1 управлени через параллельный интерфейс 13 подает сигнал на усилитель 85, в результате чего загораетс лампа 100.The software control unit 1 of the device monitors the progress of the planned tasks by each unit by comparing the planned and actual quantities recorded in the operational memory block 2. When they are equal, the processor, via the parallel interface 13, sends a task execution signal to the corresponding console 21 of the workplace, which is fed to the amplifier 86, causing the lamp 101 to light up, and the elements AND-NO 90, 94 and 98, preparing them for operation. By this signal, the operator of the T9 unit, by pressing one of the keys 103-105, requests the program for winding the next version of the product, resulting in a signal to one of the input channels of the parallel interface 15, which ultimately leads to the recording of the requested program in the programmable controller 22 of this unit 19. At the end of the input, program control unit 1 via parallel interface 13 sends a signal to amplifier 85, with the result that lamp 100 lights up.
Элементы И-НЕ 88 и 89 (И-НЕ 92, 93, 96 и 97) необходимы дл форми0Elements AND-HE 88 and 89 (AND-HE 92, 93, 96 and 97) are required for
5five
00
5five
00
5five
00
5five
00
ровани одиночных импульсов соответственно при нажатии одной из кнопок 103-105. Элементы И-НЕ 90, НЕ 91 (И-НЕ 94, НЕ 95, И-НЕ 98 и НЕ - 99) обеспечивают запрет одновременного присутстви сигналов на первых выходах пульта 21 при одновременном нажатии кнопок 103-105, причем на выходе по вл етс сигнал от кнопки, нажатой раньше.single pulse, respectively, when you press one of the buttons 103-105. The elements AND-NOT 90, NOT 91 (AND-NOT 94, NOT 95, AND-NOT 98 and NOT - 99) ensure that no signals are simultaneously present at the first outputs of the remote control 21 while simultaneously pressing the buttons 103-105, and signal from the button pressed before.
Программируемый контроллер 22 (фиг.13) проблемно ориентирован на задачи программно-логического управлени оборудованием. Его программный блок 106 управлени , блок оперативной 107 и посто нной 108 пам ти , последовательный интерфейс 109, первый 110 и второй 111 параллельные интерфейсы и св зи между ними выполнены аналогично соответственно программному блоку 1 управлени , блоку оперативной 2 и посто нной 3 пам ти, последовательному интерфейсу 4, параллельному интерфейсу 15, параллельному интерфейсу 13 и св з м между ними.The programmable controller 22 (FIG. 13) is problem-oriented for the tasks of software and logic control of the equipment. Its software control unit 106, the operational unit 107 and the permanent memory 108, the serial interface 109, the first 110 and second 111 parallel interfaces and the connections between them are made similarly to respectively the program control unit 1, the operational unit 2 and the permanent memory 3, serial interface 4, parallel to interface 15, parallel to interface 13, and the links between them.
Программируемый контроллер 22 обеспечивает управление агрегатом 19 в соответствии с алгоритмом, реализованном в виде программы, хранимой в блоке 108 посто нной пам ти. Последнее вл етс источником команд дл программного блока 106 управлени , выборку которых он осуществл ет по адресу, определ емому его счетчиком команд. Цикл работы агрегата 19 начинаетс по сигналу с пульта 21 рабочего места, который поступает на второй вход 46 программируемого контроллера 22 (первый вход параллельного интерфейса 110). В соответствии с программой программный блок 106 управлени опрашивает через параллельный интерфейс 110 датчики положений механизмов Свхо- ды 47), логическое сравнение состо ний входов с предусмотренными программой и по результатам сравнени посылает в параллельный интерфейс 111 команды на включение ипи пыключе- ние проводов исполнительных механизмов . После отработки очередного шага программы (завершении выполнени очередной технологической операции, например разгоне привода шпиндел до номинальной скорости, нпмотке заданного числа витков катушки, остановке шпиндел , повороте стопа иThe programmable controller 22 provides control of the unit 19 in accordance with an algorithm implemented as a program stored in the persistent memory unit 108. The latter is the source of instructions for the software control unit 106, which it samples at the address determined by its instruction counter. The cycle of operation of the unit 19 starts at a signal from the console 21 workplace, which is fed to the second input 46 of the programmable controller 22 (the first input of the parallel interface 110). In accordance with the program, the software control unit 106 polls, via the parallel interface 110, position sensors of the mechanisms 47 and 47), a logical comparison of the states of the inputs with those provided by the program and, according to the results of the comparison, sends commands to the parallel interface 111 to turn on the actuator wires. After working off the next program step (completion of the next technological operation, for example, acceleration of the spindle drive to the nominal speed, winding a predetermined number of turns of the coil, stopping the spindle, turning the foot and
.д.) программный блок 106 управлеи увеличивает на единицу число в рограммном счетчике шагов, который азмещен в блоке 107 оперативной пам ти. После окончани цикла изготовлени издели агрегатом 19 программный блок 106 управлени обеспечивает выдачу сигнала с первого выхода 48 второго параллельного интерейса 111 (второго выхода контроллера ) в блок 17 пам ти дискретных сигналов .. e.) The program control unit 106 increases by one the number in the program step counter, which is located in the operational memory unit 107. After the end of the manufacturing cycle of the product by the unit 19, the software control unit 106 provides for outputting a signal from the first output 48 of the second parallel interface 111 (the second output of the controller) to the block 17 of the memory of discrete signals.
В режимах св зи программируемого контроллера 22 с программным блоком 1 управлени осуществл етс запись кодов данных программы намотки в блок 107 оперативной пам ти, которые поступают через последовательный интерфейс 20 и последовательный интерфейс 109 программируемого контроллера 22 из программного блока 106 управлени , который считывает эти данные из блока 2 оперативной пам ти, считывание кода причины просто из блока 107 оперативной пам ти через последовательный интерфейс 109 программируемого контроллера 22 и последовательный интерфейс 20 в программный блок 1 управлени .In the communication modes of the programmable controller 22 with the software control unit 1, the winding program data codes are recorded in the operating memory unit 107, which are received via the serial interface 20 and the serial interface 109 of the programmable controller 22 from the program control unit 106, which reads this data from block 2 RAM, reading the reason code just from block 107 RAM through the serial interface 109 of the programmable controller 22 and the serial interface 20 to software block 1 control.
Операторы алгоритма (фиг.14) выполн ют:The algorithm operators (Fig. 14) perform:
1 - начальную установку программируемого контроллера 22; 2, 3, 16-19 - вывод из программируемого контроллера 22 содержимого его счетчика шагов с целью определени состо ни агрегата 19 (работы или причины просто );1 - the initial installation of the programmable controller 22; 2, 3, 16-19 — output from the programmable controller 22 the contents of its step counter to determine the state of the aggregate 19 (operation or reason is simple);
2, 3, 4, 6, 7, 9-15 - ввод в программируемый контроллер 22 параметров издели , подлежащего изготовлению на агрегате 19;2, 3, 4, 6, 7, 9-15 - input into the programmable controller 22 of the parameters of the product to be manufactured on unit 19;
8 - контроль запуска агрегата 19 в работу,18 - control of start of the unit 19 in operation, 1
4,...,6, 25,...,27 - контроль длительности текущего цикла работы;4, ..., 6, 25, ..., 27 - control the duration of the current work cycle;
20,.,,,23 - выполнение операций на шаге управлени ,20,. ,,, 23 - performing operations at the control step,
24, 28,...,30 - окончание цикла работы.24, 28, ..., 30 - the end of the work cycle.
Устройство может примен тьс также дл контрол и управлени различными технологическими комплексами в дискретном производстве как в электротехнической , так и в других отрасл х промышленности.The device can also be used to monitor and control various technological complexes in discrete manufacturing, both in the electrical and other industries.
1one
1one
5five
Claims (1)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU894635490A SU1661721A1 (en) | 1989-01-10 | 1989-01-10 | Device for checking and control of item winding equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU894635490A SU1661721A1 (en) | 1989-01-10 | 1989-01-10 | Device for checking and control of item winding equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1661721A1 true SU1661721A1 (en) | 1991-07-07 |
Family
ID=21421906
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU894635490A SU1661721A1 (en) | 1989-01-10 | 1989-01-10 | Device for checking and control of item winding equipment |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1661721A1 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE4134811A1 (en) * | 1991-10-22 | 1993-04-29 | Licentia Gmbh | Actuator control method w.r.t. fixed commands - has several function elements assigned to various signals, and other function elements to define operational steps |
US7267134B2 (en) | 2004-03-15 | 2007-09-11 | United Technologies Corporation | Control of detonative cleaning apparatus |
-
1989
- 1989-01-10 SU SU894635490A patent/SU1661721A1/en active
Non-Patent Citations (1)
Title |
---|
Авторское свидетельство СССР № 911579, кл, G 07 С 3/10, 1982. Авторское свидетельство СССР № 642717, кл. G 06 F 15/46, 1979. * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE4134811A1 (en) * | 1991-10-22 | 1993-04-29 | Licentia Gmbh | Actuator control method w.r.t. fixed commands - has several function elements assigned to various signals, and other function elements to define operational steps |
US7267134B2 (en) | 2004-03-15 | 2007-09-11 | United Technologies Corporation | Control of detonative cleaning apparatus |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU626880B2 (en) | Peer-to-peer register exchange controller for plcs | |
US3997879A (en) | Fault processor for programmable controller with remote I/O interface racks | |
JPH0619922A (en) | Network field interface for production system | |
EP0004905B1 (en) | Glassware forming machine computer-ram controller system | |
US4837704A (en) | Computer controlled material handling | |
CA1070848A (en) | Data communication system | |
SU1661721A1 (en) | Device for checking and control of item winding equipment | |
CN107748509A (en) | ASI communication slave implementations based on single-chip microcomputer transmitting-receiving control | |
EP0025666B1 (en) | Numerical controlling method and system | |
US4031375A (en) | Arrangement for fault diagnosis in the communication controller of a program controlled data switching system | |
JP2000073238A (en) | Communication of spinning machine and communication control device | |
US3820077A (en) | Method for testing units of a program controlled data processing system | |
KR101622521B1 (en) | Programmable Logic Controller Communication Device | |
EP0260086B1 (en) | Control system for high volume manufacturing installation | |
US4701757A (en) | Control system for printing machines | |
CN112082791B (en) | Multi-terminal debugging method for air conditioning system of compound-number motor train unit | |
JPH09200872A (en) | Plant monitor and control equipment | |
JP2514882B2 (en) | Communication network system of resistance welding machine | |
JP2588120B2 (en) | Failure diagnosis method for resin molded product removal device | |
JPS6149701B2 (en) | ||
SU1605211A1 (en) | Apparatus for program control of object | |
SU1396099A1 (en) | Tester for checking and diagnosing of electronic modules | |
CN115933543A (en) | Remote control system of machining equipment | |
SU547761A1 (en) | A device for exchanging information of a control computer with control objects | |
RU2000131933A (en) | NETWORK CONTROLLER OF THE SYSTEM OF GAME DEVICES, SYSTEM OF GAME DEVICES AND METHOD OF CONTROL OF THE SYSTEM OF GAME DEVICES UNIFIED PRIZE NETWORK |