SU1647594A1 - Programmable controller - Google Patents
Programmable controller Download PDFInfo
- Publication number
- SU1647594A1 SU1647594A1 SU894674000A SU4674000A SU1647594A1 SU 1647594 A1 SU1647594 A1 SU 1647594A1 SU 894674000 A SU894674000 A SU 894674000A SU 4674000 A SU4674000 A SU 4674000A SU 1647594 A1 SU1647594 A1 SU 1647594A1
- Authority
- SU
- USSR - Soviet Union
- Prior art keywords
- output
- input
- node
- information input
- information
- Prior art date
Links
Landscapes
- Logic Circuits (AREA)
Abstract
Изобретение относитс к автоматике и вычислительной технике, в частности к программному управлению технологическим оборудованием, и может быть использовано в программируемых системах управлени технологическими объектами, алгоритм управлени которых описываетс с помощью булевых функций. Цель изобретени - повышение быстродействи при вычислении булевых функций и сокращение аппаратурных затрат. Программируемый контроллер содержит вычислительный блок и соединенные последовательно блоки ввода-вывода. Дл достижени цели в контроллер введен блок логической пам ти, а каждый блок ввода-вывода дополнительно содержит узел согласовани уровней сигналов, одно- вибратор и элемент ИЛИ. Блок логической пам ти содержит первый, второй и третий коммутаторы, элемент НЕ. оперативную пам ть . 2 з.п. ф-лы, 5 ил., 2 табл.The invention relates to automation and computer technology, in particular, to software control of process equipment, and can be used in programmable process object control systems, the control algorithm of which is described using Boolean functions. The purpose of the invention is to increase the speed in the calculation of Boolean functions and reduce hardware costs. A programmable controller contains a computing unit and input-output units connected in series. To achieve the goal, a logical memory block is inserted into the controller, and each I / O block additionally contains a signal level matching node, a single vibrator and an OR element. The logical memory unit contains the first, second and third switches, the element is NOT. operative memory. 2 hp f-ly, 5 ill., 2 tab.
Description
Изобретение относитс к области автоматики и вычислительной техники, в частности к программному управлению технологическими объектами, алгоритм управлени которых описываетс с помощью временных булевых функций.The invention relates to the field of automation and computer technology, in particular to the software control of technological objects, the control algorithm of which is described using temporary Boolean functions.
Цель изобретен.. - повышение быстродействи при вычислении булевых функций и сокращение аппаратурных затрат.The purpose of the invention .. is to increase the speed in the calculation of Boolean functions and reduce hardware costs.
На фиг.1 представлена схема программируемого контроллера; на фиг.2 - схема блока логической пам ти; на фиг.З, 4 - примеры выполнени соответственно вычислительного блока и узла согласовани уровней сигналов; на фиг.5 - временна диаграмма фазы обмена.Figure 1 presents the scheme of the programmable controller; Fig. 2 is a block diagram of a logical memory; Fig. 3, examples of the implementation of the computing unit and the signal level matching node, respectively; figure 5 - timing diagram of the phase of exchange.
Программируемый контроллер (фиг.1) содержит вычислительный блок 1, блок 2 логической пам ти, блоки ввода-вывода 3i-3ri, узлы 4i-4n согласовани уровней сигналов , одновибраторы 5i-5n, узлы усилителей 6i-6n, буферные регистры 7i-7n, первые сдвиговые регистры 8i-8n, элементы ИЛИ 9i-9n, триггеры отказа ЮН On, вторые сдвиговые регистры 11Н1п, кодовые преобразователи 12i-12n, выходы 13i-13n и информационные входы 14i-14n.The programmable controller (Fig. 1) contains a computational unit 1, a logical memory unit 2, 3i-3ri I / O units, signal level matching nodes 4i-4n, 5i-5n one-vibrators, amplifier nodes 6i-6n, buffer registers 7i-7n , the first shift registers 8i-8n, the elements OR 9i-9n, the triggers of the failure of UN On, the second shift registers 11Н1п, code converters 12i-12n, outputs 13i-13n and information inputs 14i-14n.
Вычислительный блок 1 имеет адресный выход 15, информационный вход-выход 16, выходы Запись 17, Выборка 18, Сдвиг 19 и Прием 20.Computing unit 1 has address output 15, information input / output 16, outputs Record 17, Sample 18, Shift 19, and Receive 20.
Блок 2 логической пам ти имеет адресный вход 21, информационный вход-выход 22, вход Запись 23, вход Выборка 24 и информационный вход 25.The logical memory unit 2 has address input 21, information input / output 22, input Record 23, Sample input 24 and information input 25.
Каждый узел 4i согласовани уровней сигналов ( 1,п) имеет выход 26, входы 27-30 и выходы 31-33.Each node 4i of the signal level matching (1, p) has an output 26, inputs 27-30 and outputs 31-33.
Блок-логической пам ти (фиг.2) содержит оперативную пам ть 34, первый 35, втоОThe block-logical memory (Fig. 2) contains a random-access memory 34, the first 35, and the second.
VJ Vj
СПSP
ю ь.yu
рой 36 и третий 37 коммутаторы, элемент НЕ 38.swarm 36 and third 37 switches, element NOT 38.
Вычислительный блок (фиг.З) содержит вычислительный узел 39, генератор 40 тактовых импульсов, шинный формирователь 41, контроллер системной шины 42, посто нную пам ть 43, оперативную пам ть 44, кодовый преобразователь 45.The computing unit (FIG. 3) contains a computing node 39, a clock pulse generator 40, a bus driver 41, a system bus controller 42, a permanent memory 43, a RAM 44, a code converter 45.
Узел согласовани уровней сигналов (фиг.4) содержит конденсаторы 46i-464, резисторы 471-474 и триггеры Шмидта 48t- 484.The signal level matching node (Fig. 4) contains capacitors 46i-464, resistors 471-474, and Schmidt triggers 48t- 484.
Устройство работает следующим образом .The device works as follows.
Программа пользовател на входном зыке программировани представл ет собой систему уравнений, где аргументами служат входные переменные (входные дискретные сигналы), внутренние переменные, выходные переменные (выходные дискретные сигналы), а функци ми - внутренние и выходные переменные.The user program in the input programming language is a system of equations, where the arguments are input variables (input discrete signals), internal variables, output variables (output discrete signals), and functions are the internal and output variables.
В процессе трансл ции программа пользовател преобразуетс в последовательность одноразр дных логических инструкций , затем кажда така инструкци представл етс несколькими машинными командами вычислительного узла 39(мЛсро- процессора).During the translation process, the user program is converted into a sequence of one-bit logical instructions, then each such instruction is represented by several machine instructions of the computational node 39 (miro processor).
В качестве вычислительного узла 39 может быть выбран КР580ИК80А. Мнемонические названи машинных команд дл определенности в дальнейшем даны на зыке Ассемблер указанного микропроцессора .As a computing node 39 can be selected KR580IK80A. The mnemonic names of machine instructions are, for definiteness, given below in the language Assembler of the specified microprocessor.
8 табл. 1 приведены список одноразр дных логических инструкций (в дальнейшем инструкций), их мнемокоды, алгоритм выполнени каждой инструкции, последовательность машинных команд микропроцессора , кодирующих каждую инструкцию, и коды команд ассемблера.8 tab. Table 1 lists the one-bit logical instructions (hereinafter instructions), their mnemonic codes, the algorithm for executing each instruction, the sequence of microprocessor machine instructions encoding each instruction, and the assembler instruction codes.
Через XX XX обозначен физический ад- . рее чейки пам ти, где хранитс соответствующа переменна .XX means the physical ad-. memory cells where the corresponding is stored is variable.
Вычисление булевых функций производитс с использованием 0-го разр да регистров А и В микропроцессора, в его регистре D хранитс константа 0.Boolean functions are computed using the 0th bit of registers A and B of the microprocessor, the constant 0 is stored in its register D.
Через PQ, IQ, SQ, RQ обозначены адре- са блока 2 логической пам ти 2, при обращении к которым соответственно выполн ютс PQ, IQ, SQ, RQ denote the addresses of block 2 of logical memory 2, when accessed, respectively
чтение и запись пр мого значени переменной Q;reading and writing the direct value of the variable Q;
чтение инверсного значени переменной Q;reading inverse value of variable Q;
присвоение переменной Q значени 1, если значение 0-го разр да регистра А равно 1:assigning the variable Q a value of 1 if the value of the 0th digit of register A is 1:
присвоение переменной Q значени О, если значение 0-го разр да регистра А равно 1.the assignment of the variable Q to the value O, if the value of the 0th bit of register A is equal to 1.
В программе RST1 записана следующа последовательность машинных команд: RST1: ORA ВThe following sequence of machine instructions is recorded in the RST1 program: RST1: ORA B
MOV В,А MOV А.М RETMOV B, A MOV A.M RET
Например, программа пользовател состоит из двух уравнений: Х1 + /Х2 -X3 Y1 /Х1 X3 + X2 Y2,For example, a user program consists of two equations: X1 + / X2 -X3 Y1 / X1 X3 + X2 Y2,
где через X и У обозначены некоторые вход- ные и выходные переменные устройства.where X and Y denote some input and output device variables.
Программа кодируетс следующей последовательностью машинных команд: CONTR MOV BD Инструкци : Х1The program is encoded with the following sequence of machine instructions: CONTR MOV BD Instructions: X1
LDA РХ1LDA PX1
LXJH, 1X2Инструкци +/Х2LXJH, 1X2Instructions + / X2
RST1RST1
LXIH, РХЗИнструкци -ХЗLXIH, RCSInstructions -ChZ
ANAMANAM
ORABИнструкци Y1ORAB Instructions Y1
STA PY1STA PY1
MOV B.DИнструкци : /Х1MOV B.DInstructions: / X1
LDA 1X1LDA 1X1
LX1H, РХЗ Инструкци -ХЗ ANAMLX1H, RCS Instructions - CAM ANAM
LXfH. PX2 Инструкци + Х2Lxfh PX2 Instructions + X2
RST1 ORABИнструкци SY2RST1 ORAB Instruction SY2
STA SY2STA SY2
RETКонец рабочейRET End of Work
программы.programs.
Каждый раз при вызове программы CONTR по значени м переменных Х1, Х2, ХЗ будут вычислены значени переменных Y1, Y2.Each time the CONTR program is called, the values of the variables Y1, Y2 will be calculated from the values of the variables X1, X2, X.
Программа пользовател хранитс в пам ти 43; переменные, над которыми выполн ютс одноразр дные логические инструкции, хран тс в пам ти 34; данные, организованные побайтно, например теку- щие значени таймеров и счетчиков, рабоча и стекова области узла 39, хран тс в пам ти 44.The user program is stored in memory 43; variables on which one-bit logic instructions are executed are stored in memory 34; data organized byte-by-byte, for example, the current values of timers and counters, the working and stack areas of node 39, are stored in memory 44.
Работа узла 39 синхронизируетс гене- ратором 40. В каждом цикле чтени или записи с многоразр дного адресного выхода узла 39 через шинный формирователь 41 информаци адреса поступает на многоразр дные входы пам ти 43, пам ти 44, входы преобразовател 45, пам ти 34. С м ногораз- р дного управл ющего выхода узла 39 информаци управлени поступает на одноименный вход контроллера системной шины 42, который вырабатывает сигналыThe operation of the node 39 is synchronized by the generator 40. In each cycle of reading or writing from the multi-bit address output of the node 39, through the bus driver 41, the address information is fed to the multi-bit inputs of memory 43, memory 44, inputs of converter 45, memory 34. The multi-control output of the control information unit 39 is fed to the same input of the system bus controller 42, which produces signals
управлени Чтение (ЧТН) и Запись (ЗАП). Эти сигналы вместе с информацией адреса поступают на входы преобразовател 45.Control Read (CTN) and Write (REC). These signals, along with the address information, are fed to the inputs of the converter 45.
В качестве контроллера системной шины может быть выбран КР580ВК28.KP580VK28 can be selected as a system bus controller.
На выходах преобразовател 45 формируютс сигналы:At the outputs of the converter 45, signals are generated:
45 - выборка пам ти 43;45 — memory sample 43;
45 - выборка пам ти 44;45 — memory sample 44;
453-сигнал Запись ;453-signal recording;
сигнал Выборка ; signal sampling;
сигнал Сдвиг ; Shift signal;
45е- сигнал Прием.45- signal reception.
Функционирование преобразовател 45 описываетс таблицей истинности (табл.2).The operation of converter 45 is described by a truth table (Table 2).
В дальнейшем под выражением - выдать сигнал Запись, Выборка, Сдвиг, Прием - будем понимать формирование единичного значени такого сигнала с дли- тельностью, определ емой длительностью сигналов управлени ЧТН и ЗАП.Hereinafter, the expression “to give a signal Record, Sample, Shift, Reception” will be understood as the formation of a single value of such a signal with a duration determined by the duration of the control signals CTN and REC.
Дл всех не указанных в табл. 2 комбинаций значений сигналов ЧТН и ЗАП значени выходных сигналов преобразовател 45 определены как О.For all not listed in table. 2 combinations of the values of the signals CTN and ZAP values of the output signals of the converter 45 are defined as O.
Работа программируемого контроллера в целом во времени складывани из двух циклически чередующихс фаз: Вычисление и Обмен.The operation of the programmable controller as a whole in the folding time of two cyclically alternating phases: Calculation and Exchange.
В фазе Вычисление выполн етс программа пользовател , при этом значени входных, выходных и внутренних переменных читаютс и записываютс в пам ти 34.In the Calculation phase, a user program is executed, with the values of the input, output, and internal variables being read and written to memory 34.
В фазе Обмен вычисленные значени выходных переменных из пам ти 34 передаютс на многоразр дные выходы t3t-13n, a значени входных переменных обновл ютс путем передачи сигналов с многоразр дных входов 141-14п в пам ть 34.In the Exchange phase, the calculated values of the output variables from the memory 34 are transferred to the multi-bit outputs t3t-13n, and the values of the input variables are updated by transmitting signals from the multi-bit inputs 141-14p to the memory 34.
В фазе Вычисление ускорение вычислений одноразр дных логических операций достигаетс за счет избыточного использовани адресного пространства узла 39. Обозначим через Si физический адрес, on- редел емый разр дами адреса АО...А10, некоторой одноразр дной переменной Q в пам ти 34.In the Calculation phase, the acceleration of the calculations of one-bit logical operations is achieved due to the excessive use of the address space of node 39. Let Si be the physical address determined by the bits of the AO ... A10 address, a certain one-bit variable Q in memory 34.
При трансл ции программы пользовател дл такой переменной должны быть выполнены следующие подстановки:When translating a user program for such a variable, the following substitutions must be made:
PQ-Sj + 4$0H:PQ-Sj + 4 $ 0H:
IQ Si + 4800H;IQ Si + 4800H;
SQ - Si + 4800H;SQ - Si + 4800H;
RQ Sj + 5WH,RQ Sj + 5WH,
Выполнение узлом 39 команды чтени пам ти по адресу PQ вызывает следующее:The execution of a read command at node 39 by address PQ causes the following:
На выходе 454 преобразовател 45 формируетс единичное значение сигнала Выборка.At the output 454 of the converter 45, a single value of the Sample signal is generated.
Сигналом Выборка по третьему управл ющему входу разблокируетс третий коммутатор 37.Signal Sampling at the third control input unlocks the third switch 37.
На информационном выходе пам ти 34 формируетс определ емое разр дами адреса АО...А10 значение переменной Q, котора через первый информационный вход и выход третьего коммутатора 37 и через разр д DO второго и первого многоразр дных входов-выходов контроллера системной шины 42 поступает на информационный выход узла 39.At the information output of the memory 34, the value of the variable Q determined by the bits of the address AO ... A10 is formed, which through the first information input and output of the third switch 37 and through the DO bit of the second and first multi-bit inputs-outputs of the system bus controller 42 enters information output node 39.
При выполнении узлом 39 команды чтени пам ти по адресу Ю все происходит аналогично чтению по адресу PQ за исключением того, что на выход третьего коммута- тора 37 поступает инвертированное значение переменной Q с выхода элемента НЕ 38.When the node 39 executes the read command at address Y, everything happens similarly to reading at address PQ, except that the output of the third switch 37 receives the inverted value of the variable Q from the output of the HE element 38.
При выполнении узлом 39 команды записи в пам ть по адресу PQ происходит следующее.When the node 39 executes the write to memory command at the PQ address, the following occurs.
На выходе 45з преобразовател 45 формируетс единичное значение сигнала Запись.At the output 45z of the converter 45, a single value of the signal Record is generated.
Сигналом Запись по третьему управл ющему входу разблокируетс второй коммутатор 36, и с его выхода единичный сигнал поступает на управл ющий вход пам ти 34.By a signal the recording on the third control input is unlocked by the second switch 36, and from its output a single signal is fed to the control input of memory 34.
Информаци разр да DO многоразр дного информационного входа-выхода узла 39 через контроллер системной шины 42 поступает на первый информационный вход первого коммутатора 35, а с его выхода - на информационный вход пам ти 34. где записываетс по адресу, определ емому разр дами адреса АО...А10.The DO bit information of the multi bit information input / output node 39 through the system bus controller 42 goes to the first information input of the first switch 35, and from its output to the information input of memory 34. where it is recorded at the address determined by the address bits of the AO. ..A10.
Выполнение узлом 39 команды записи в пам ть по адресу SQ вызывает следующее.The execution by the node 39 of the write to memory command at the SQ address causes the following.
На выходе 45з преобразовател 45 формируетс единичное значение сигнала Запись .At the output 45z of the converter 45, a single value of the signal Record is generated.
Сигналом Запись по третьему управл ющему входу разблокируетс второй коммутатор 36, и на его выходе формируетс единичный сигнал при условии,что на его первый информационный вход поступает единична информаци разр да DO многоразр дного информационного входа-выхода узла 39 через контроллер системной шины 42.The Recording on the third control input unlocks the second switch 36, and a single signal is generated at its output, provided that its first information input receives a single information DO of the multi-bit information input-output node 39 through the system bus controller 42.
На информационный вход пам ти 34 с выхода первого коммутатора 35 подаетс единичный сигнал.A single signal is applied to the information input of the memory 34 from the output of the first switch 35.
Выполнение узлом 39 команды записи в пам ть по адресу RQ происходит аналогично записи по адресу SO. за исключением того, что на информационный вход пам ти 34 с выхода первого коммутатора 35 подаетс нулевой сигнал.The execution by the node 39 of a write command at the address RQ occurs in a manner similar to that of the address SO. except that a zero signal is applied to the information input of the memory 34 from the output of the first switch 35.
Выходные функции первого 35, второго 36 и третьего 37 коммутаторов описываютс соответственно логическими выражени ми: Инф.Г- /А11--/А12 +А11- /А12 + . All- A12(1)The output functions of the first 35, second 36 and third 37 switches are described respectively by logical expressions: Inf.G- / A11 - / A12 + A11- / A12 +. All- A12 (1)
Запись (/А11- /А12 + Инф.Г- АИ- /А12+ Инф.Г- /А11- А12 + А11 А12) (2) Выборка (Q/A11 /A12 + /QA11- /А1 + QA11 -А12). :(3)Record (/ A11- / A12 + Inf.G- AI- / A12 + Inf.G- / A11- A12 + A11 A12) (2) Sampling (Q / A11 / A12 + / QA11- / A1 + QA11 -A12). : (3)
Через Инф.Г и Инф.2 обозначены сигналы соответственно на первом информационном входе-выходе 22 и на втором информационном входе 25 блока 2 логической пам ти; через Q - сигнал на информационном выходе пам ти 34; через А11, А12 - сигналы 11-го и 12-го разр дов многоразр дного адресного входа блока 2 логической пам ти.Info.G and Info.2 indicate the signals, respectively, at the first information input-output 22 and at the second information input 25 of block 2 of the logical memory; through Q, a signal at information output of memory 34; through A11, A12 - signals of the 11th and 12th bits of the multi-bit address input of block 2 of the logical memory.
Дл определенности предположим, что разр дность многоразр дных выходов одинакова и равна N, а также разр дность многоразр дных входов 14t-14n одинакова и равна М.For definiteness, we assume that the bit width of the multi-bit outputs is the same and is equal to N, and the bit-width of the multi-bit inputs 14t-14n is the same and equal to M.
Перед началом обмена вычислительный блок 1 выдает сигнал Прием дл запоминани значений входных дискретных сигналов во вторых 111-1 tn сдвиговых регистрах.Before the exchange, the computing unit 1 generates a receive signal for storing the values of the input discrete signals in the second 111-1 tn shift registers.
Дл этого узел 39 должен выполнить командуFor this, node 39 must execute the command
STA, Sta,
При этом на выходе 45 преобразовател 45 формируетс сигнал Прием, которыйIn this case, the output 45 of the converter 45 generates a receive signal, which
через четвертый вход и четвертый выход узлов 4i-4n поступает на входы параллельной записи вторых 111-11П сдвиговых регистров , вызыва запоминание текущих значений входных дискретных сигналов , поступающих с многоразр дных входов 14i-14n через преобразователи 12i- 12П на их многоразр дные входы.through the fourth input and the fourth output of nodes 4i-4n are fed to the inputs of parallel recording of the second 111-11P shift registers, causing the current values of the input discrete signals received from the multi-input inputs 14i-14n to be stored through the multi-digit inputs.
В дальнейшем чередуютс прием входных дискретных сигналов и выдача выходных дискретных сигналов дл блоков ввода-вывода Зп, 3n-i...3i.In the future, the reception of discrete input signals and output of discrete signals for input-output blocks Zn, 3n-i ... 3i alternate.
Чтение и запись информации о входных и выходных сигналах в пам ть 34 осуществл етс при выполнении узлом 39 командReading and writing information about the input and output signals in the memory 34 is carried out when the node 39 executes commands
чтени и записи в пам ть с базовым адресом 58/УЙ, который загружаетс в регистры H,L узла 39. и смещением Si, определ ющим физический адрес переменной пам ти 34.read and write to the memory with the base address 58 / YI, which is loaded into the registers H, L of node 39. and the offset Si, which defines the physical address of the variable memory 34.
Фрагмент программы обмена, обслуживающий один блок ввода-вывода 3i, приведен ниже;A fragment of the exchange program serving one I / O unit 3i is shown below;
Повторить /М О V М, А ЪRepeat / M O V M, A b
М разM times
./NX H./NX H
MOVM.A /NXHMOVM.A / NXH
вторить разrepeat time
М О V М, АM About V M, A
/NX H АЛ О V А, М L/NX И/ NX H AL O V A, M L / NX I
М О V А, МM About V A, M
/NXH/ Nxh
/ /
М О V А, М /NXHM O V A, M / NXH
При выполнении в таком фрагменте команды MOVM, А на выходах 45з и 45s преобразовател 45 формируютс сигналы Сдвиг и Запись.When the MOVM, A command is executed in such a fragment, the Shift and Write signals are formed at the outputs 45z and 45s of the converter 45.
Значение входного дискретного сигнала с выхода последовательной информации второго 11п сдвигового регистра последнего блока ввода-вывода Зп поступает через со- ответствующие выход узлов 4i-4n и через второй информационный вход первого коммутатора 35 на информационный входThe value of the input discrete signal from the output of the serial information of the second 11p shift register of the last I / O unit Zp is fed through the corresponding output of the nodes 4i-4n and through the second information input of the first switch 35 to the information input
М- входна переменна M-input variable
(М-1)- входна переменна (M-1) - input variable
1- входна переменна N- входна переменна 1- input variable N-input variable
(М-1)- выходна переменна (M-1) - output variable
в at
VV
1- выходна переменна 1 output variable
пам ти 34. По сигналу запись происходит запоминание этой информации по адресу, определ емому разр дами АО...А10 многоразр дного адресного входа блока 2 логической пам ти.memory 34. According to the signal recording, this information is stored at the address determined by the bits of the AO ... A10 of the multi-bit address input of the block 2 of the logical memory.
Сигнал Сдвиг через соответствующие выходы узлов 4i-4n поступает на тактовые входы первых 8i-8n и вторых 11И1П сдвиговых регистров, вызыва последовательный сдвиг информации. Тем самым на выходе последовательной информации втоporo 11n сдвигового регистра формируетс значение следующего входного дискретного сигнала.The Shift signal through the corresponding outputs of nodes 4i-4n arrives at the clock inputs of the first 8i-8n and second 11И1П shift registers, causing a sequential shift of information. Thereby, at the output of the serial information of the second 11n shift register, the value of the next discrete input signal is generated.
При выполнении в указанном выше фрагменте команды MOV A, M на выходах 454 и 45s преобразовател 45 формируютс сигналы Сдвиг и Выборка.When the MOV A, M command is executed in the above fragment, Shift and Sample signals are generated at outputs 454 and 45s of converter 45.
Значение выходного дискретного сигнала , считанное по адресу, определ емому разр дами АО...А10 на информационном выходе пам ти 34, через первый информационный вход и выход третьего коммутатора 37, который разблокируетс сигналом Выборка , поступает далее через первый эход и второй выход узла 4i блока ввода-вывода 3i на вход первого 3i сдвигового регистра.The value of the output discrete signal, read at the address determined by the bits AO ... A10 at the information output of memory 34, through the first information input and output of the third switch 37, which is unlocked by the Sample signal, goes further through the first output and the second output of node 4i block input-output 3i to the input of the first 3i shift register.
По сигналу Сдвиг это значение выходного дискретного сигнала будет записано в младший разр д первого 8i сдвигового регистра блока ввода-вывода 3i.According to the Shift signal, this value of the output discrete signal will be recorded in the lower order of the first 8i shift register of the I / O unit 3i.
После выдачи выходных дискретных сигналов блока ввода-вывода 3i вычислительным блоком 1 выдаетс сигнал Прием. Поступившие в первые 8i-8n сдвиговые регистры значени выходных дискретных сигналов записываютс в буферные регистры 7i-7n, а затем через многоразр дный вход и выход узлов усилителей 6i-6n поступают на многоразр дные выходы I3i-13n поограм- мируемого контроплера.After the output of the discrete signals of the I / O unit 3i is outputted by the computing unit 1, a Receive signal is output. The shift registers of the output discrete signals received in the first 8i-8n are written into the buffer registers 7i-7n, and then through the multi-bit input and output of the nodes of the 6i-6n amplifiers to the multi-output outputs I3i-13n of the programmable controler.
Временна диаграмма сигналов Запись . Выборка, Сдвиг и Прием в фазе Обмен показана на фиг.5.Time diagram of signals Record. Sample, Shift and Reception in the Exchange phase is shown in FIG. 5.
При возникновении короткого замыкани в цепи выходного дискретного сигнала одного из блоков ввода-вывода 3t на выходе отказа узла усилителей 6i формируетс единичный сигнал, который поступает на установочный вход триггера отказа Щ и устанавливает его в состо ние 1. Единичный сигнал с выхода триггера отказа 10i поступает через элемент ИЛИ 9 на вход обнулени буферного регитсра 7i, вызыва выключение выходных дискретных сигналов данного блока.When a short circuit in the output discrete signal of one of the 3t I / O units occurs, a single signal is generated at the failure output of the amplifier amplifier 6i, which is fed to the installation input of the failure trigger U and sets it to state 1. through the element OR 9 to the input of zeroing of the buffer register 7i, causing the output discrete signals of this block to be turned off.
Также единичный сигнал с выхода триггера отказа 10) поступает на один из разр дов многоразр дного информационного входа второго 111 сдвигового регистра. В фазе Обмен информаци об отказе в данном блоке ввода-вывода 3 поступает в одну из чеек пам ти 34. Обработка информации об отказах в блоках ввода-вывода Зч-3п может быть предусмотрена в программе пользовател .Also, a single signal from the output of the failure trigger 10) is fed to one of the bits of the multi-bit information input of the second 111 shift register. In the Exchange phase, information about the failure in this I / O unit 3 enters one of the memory cells 34. Failure information processing in the I / O ZH-3p units can be provided in the user program.
Одновибраторы 5i-5n запускаютс каждым сигналом Прием. Пока период поступлени сигналов Прием не превышает некоторое критическое врем Т, на выходах одновибраторов 5i-5n формируетс нулевой5i-5n monovibrators are triggered by each Receive signal. While the arrival period of the signals does not exceed a certain critical time T, zero-voltage is generated at the outputs of the 5i-5n one-shot
сигнал. Врем Т выбрано несколько большим , чем максимальное врем выполнени фазы Вычисление.signal. The time T is chosen somewhat longer than the maximum time for the execution of the phase of the Calculation.
Если в результате выхода из стро вычислительного блока 1 или в результате обрыва линии св зи между вычислительным блоком 1 и блоками ввода-вывода 3i-3n врем между двум сигналами Прием превышает Т, то на выходах одновибраторов 5i-5nIf as a result of a breakdown of the computing unit 1 or as a result of a communication link breaking between the computing unit 1 and the 3i-3n I / O blocks, the time between two signals is higher than T, then at the outputs of the one-shot 5i-5n
формируетс единичный сигнал, который через элементы ИЛИ 9i-9n поступает на вход обнулени буферных регистров 7i-7n, вызыва выключение выходных дискретных сигналов. Тем самым программируемый контроллер переводитс в безопасное состо ниеa single signal is generated which, via the OR 9i-9n elements, is input to the zeroing of the buffer registers 7i-7n, causing the output discrete signals to turn off. This puts the programmable controller in the safe state.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU894674000A SU1647594A1 (en) | 1989-04-06 | 1989-04-06 | Programmable controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
SU894674000A SU1647594A1 (en) | 1989-04-06 | 1989-04-06 | Programmable controller |
Publications (1)
Publication Number | Publication Date |
---|---|
SU1647594A1 true SU1647594A1 (en) | 1991-05-07 |
Family
ID=21439538
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
SU894674000A SU1647594A1 (en) | 1989-04-06 | 1989-04-06 | Programmable controller |
Country Status (1)
Country | Link |
---|---|
SU (1) | SU1647594A1 (en) |
-
1989
- 1989-04-06 SU SU894674000A patent/SU1647594A1/en active
Non-Patent Citations (1)
Title |
---|
Патент US № 4258563, кл. G 06 F 13/00, опублик. 1983. За вка EP N° 0166402, кл. G бб F 13/22, опублик. 1983. * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5608867A (en) | Debugging system using virtual storage means, a normal bus cycle and a debugging bus cycle | |
US4207435A (en) | Channel translators for use in time division digital exchangers | |
SU1647594A1 (en) | Programmable controller | |
EP0383342B1 (en) | Microprocessor | |
SU1605273A1 (en) | Multichannel data acquisition device | |
SU613402A1 (en) | Storage | |
SU1123055A1 (en) | Address unit for storage | |
CA1202727A (en) | Microcomputer variable duty cycle signal generator | |
SU1288704A1 (en) | Interface for linking central processor with group of arithmetic processors | |
SU1683039A1 (en) | Device for data processing for multiprocessor system | |
SU1490676A1 (en) | Microprogram control unit | |
SU955093A1 (en) | Device for processing pickup data | |
US5175846A (en) | Clock device for serial bus derived from an address bit | |
SU1424054A1 (en) | Memory | |
SU881727A1 (en) | Liscrete information collecting device | |
SU1462355A1 (en) | Device for adamar conversion of digital sequence | |
SU1119027A1 (en) | Fast fourier transform processor | |
SU1723661A1 (en) | Device for checking pulse trains | |
SU1472909A1 (en) | Dynamic addressing memory | |
NO126404B (en) | ||
JP2528998B2 (en) | Scan converter control circuit | |
SU1387006A1 (en) | Switching device | |
SU1115021A1 (en) | Program control device | |
SU1427334A1 (en) | Device for controlling multicoordinate equipment | |
SU1661762A1 (en) | Microprogramming control device |