(54) УСТРОЙСТВО ДЛЯ ПРОГРАММНОГО УПРАВЛЕНИЯ ОБЪЕКТАМИ , 364 ной и выходной коммутаторы, и схему сравнени , причем второй вход, второй и третий выходы блока опроса соедннеНЬ1 соответственно с выходом схемы сра нени , с управл ющим входом выход кого коммутатора и с признаковым входом регистра, информационный вход, первый и второй ин рмационные выходы которого соединены соответственно с вы ходом выходного коммутатора, с выходом устройства и с первым кодовым входом входного коммутатора, второй кодовый вход, управпшоншй вход и выход которого соединены соответственно со йходом устройства, со вторым выходом блока пам ти программы и с первым входом схемы сравнени , а третий и чет вертый вызшды блока пам ти программ соедине1а1 соответственно с кодовым 1бходом выходного коммутатора и со вто рым входом схемы сравнени . На г. 1 приведена структурна схе ма устройства на фиг. 2 - формат чей пам ти. Устройство дл программного управл В1Я объектами содержит (фиг. l)J блок 1 пам ти программ, блок 2 опроса, ре- грстр 3 с информационным входом 4, признаковым входом 5, информационными выходами 6, 7, входной коммутатор 8 с кодовыми входами 9, 10 и управл ющим входом 11, схему сравнени 12, выходной коммутатор 13 с кодовым входом 14 и упра1влшопшм входом 15.-ч Формат чейки пам ти содержит следующие пол (фиг. 2); поле 16 - лева часть, автоматной секвенции, поле 17 права часть автоматной секвенции, поле 18 - код времени (или адрес перехода ), поле 19 - признак коитрЬл времени , поле 20 - признак условного перехода , поле 21 - признак безусловного перехода. Устройство работает следующим образом . Пор док опроса чеек блока 1 пам т программ задаетс блоком 2 и обычно последовательный, но может быть изменен на командах условного или безус ловкого переходов. При выборе очередной чейки блока 1 содержимое пол 16 (лева часть секвенции), характеризующа предполагаемое состо ние объекта . управлетш и устройства управлени , по тупает на схему сравнени 12, где сравниваетс с информацией, поступающей от объекта управлени по входу 9 и характеризующей действительноа состо ние объекта, и информацией, поступающей с выхода 7 регистра 3, характеризующей состо ние устройства управлени . При наличии одинаковой информации, на обеих входах схемы сравнени 12 на ее выходе по вл етс разрещающий сигнал , который поступает на блок 2. Содер39шмое пол 17 чейки пам ти поступает на вход 14 коммутатора 13, на вход 15 коммутатора 13 поступает управл ющий сигнал из блока 2. Если на выходе схемы сравнени 12 имеетс .разрешающий сигнал и нет признаков условного или безусловного переходов, то блок 2 сигналом по входу 15 передает содержимое пол 17 чейки пам ти через коммутатор 13 на регистр , 3, с выхода которого информаци поступает на выходы 6, 7. При наличии сигнала совпадени на выходе схемы сравнени 12 и признака контрол времени, информаци из пол 18 чейки пам ти записываетс в счет чик времени блока 2 (не показан). Сигналы контрол времени поступают из блока 2 на вход 5 регистра 3. При наличии признака условного перехода и сигнала совпадени на быходе схемы сравнени 12 информаци из пол 18 чейки Пам ти переписываетс в счетчик адреса блока 1 (не показан). При наличии признака безусловного перехода аналогичное перемещение информации происходит и без разрешающего сигнала на выходе схемы сравнени 12. Использование входного 8 и выходного 13 коммутаторов позвол ет программным путем реализовать секвенциальное описание в форме сокращенных секвенций . Маски могут быть организованы за счет разбиени полей 16 и 17 чейки пам ти на две одинаковые части,, одна из которых отводитс под секвенцию , а друга - под маски. Другой вариант организации масок - путем отведени дл казкдого сигнала двух разр дов чейки пам ти - более совершенен , так как позвол ет- организовать аппаратный контроль неисправностей. Таким образом, изобретение позвол ет значительно упростить устройство за счет исключени необходимости хранени таблиц огромного размера. Формула р е т е н и Устройство дл программного управ лени объектами, содержащее блок пам ти программ, первые выход и вход кр торого соединены соответственно с nefSi выми входом и выходом блока опроса, отличающеес тем, что, с целыо упрощени устройства, оно содержит регистр, входной и выходной коммутаторы и схему сравнени , причем второй вход, второй и третий выкоды блока опроса соединены соответственно с выходом схемы сравнени , с управл кшшм входом выходного коммутатора и с приз наковым входом регистрвр иliфopмalшoн ный вхоДуПервый и второй информа шон ные выходы которого соединены соответ ственно с выходом выходного коммута- тора, с вых одом устройства и с первым 64 5 кодовым входом взсодного коммутатора, второй кодовый вход, управл ющий вход и выход которого соединены соответсть. венно со входом устройства, со вторым выходом блока пам ти программ в с первым входом схемы сравнений, а третий и четвертый выходы блока пам ти программ соединены соответственно с кодовым входом выходного коммутатора и со вторым входом схемы сравнени . Источники 1ввформации, прин тые во внимание при акспертизе, 1. Авторское свидетельство СССР NO 462167, кл, q О5 В 19/18, 1973. , 2., Майоров С. А. и Новиков Г. И. Структура цифровых вычислительных машин . Изд-во Машиностроение, Л., 197О, с. 186, рис. 5,8.(54) A SOFTWARE CONTROL DEVICE FOR OBJECTS, 364 and output switches, and a comparison circuit, the second input, the second and third outputs of the polling unit connecting1, respectively, with the output of the time circuit, with the controlling input of the output of the switch and with the sign input of the information input, the first and second in- formation outputs of which are connected respectively with the output of the output switch, with the output of the device and with the first code input of the input switch, the second code input whose control input and output are respectively unified with yhodom device to the second output of the program memory and to a first input of a comparison circuit, and the third and Odd VERT vyzshdy block memory soedine1a1 programs respectively 1bhodom code output switch and with Auto eye input comparator circuit. 1 shows the structural scheme of the device in FIG. 2 - whose memory format. The device for software control of B1H objects contains (fig. L) J program memory block 1, polling block 2, register 3 with information input 4, indicative input 5, information outputs 6, 7, input switch 8 with code inputs 9, 10 and control input 11, comparison circuit 12, output switch 13 with code input 14 and control input 15. 15. The format of the memory cell contains the following fields (Fig. 2); field 16 is the left part, an automaton sequence, field 17 is the right part of an automaton sequence, field 18 is a time code (or transition address), field 19 is a sign of time coitle, field 20 is a sign of conditional transition, field 21 is a sign of unconditional transition. The device works as follows. The polling order of the cells of the program memory block 1 is specified by block 2 and is usually sequential, but can be changed on conditional or unconditional transition commands. When selecting the next cell of block 1, the contents of field 16 (left part of the sequence) characterize the expected state of the object. the controller and the control unit, arrives at the comparison circuit 12, where it is compared with the information received from the control object on input 9 and characterizing the actual state of the object, and information coming from the output 7 of register 3, which characterizes the state of the control device. With the same information, at both inputs of the comparison circuit 12, a resolution signal appears at its output, which is fed to block 2. A control field 17 of the memory cell arrives at the input 14 of the switch 13, the input 15 of the switch 13 receives a control signal from the block 2. If the output of the comparison circuit 12 has an enabling signal and there are no signs of conditional or unconditional jumps, block 2 will send the contents of field 17 of the memory cell through the switch 13 to the register, 3, from the output of which the information goes to outputs 6 , 7 If there is a match signal at the output of the comparison circuit 12 and the time control feature, information from field 18 of the memory cell is recorded in the time counter of block 2 (not shown). Time control signals come from block 2 to input 5 of register 3. If there is a conditional transition and a matching signal on the go of comparison circuit 12, information from field 18 of the memory cell is rewritten into the block 1 address counter (not shown). If there is an unconditional transfer feature, similar information movement occurs without an enabling signal at the output of the comparison circuit 12. The use of input 8 and output 13 switches allows software to implement sequential description in the form of reduced sequences. The masks can be organized by splitting the fields 16 and 17 of the memory cell into two equal parts, one of which is assigned to the sequence and the other to the masks. Another way of organizing masks — by assigning two bits of a memory cell to a signal — is more perfect because it allows you to organize hardware fault monitoring. Thus, the invention makes it possible to greatly simplify the device by eliminating the need for storing tables of enormous size. The device formula for programmatically controlling objects that contains a program memory block, the first output and the input of the terminal are connected respectively to the nefSi input and output of the polling unit, characterized in that, with a whole simplification of the device, it contains a register , the input and output switches and the comparison circuit, the second input, the second and the third code of the interrogation unit are connected respectively to the output of the comparison circuit, to the control input of the output switch and to the primary input register and first and Ora nye shon of information outputs of which are connected respectively with the output of the output switch with Odom O device 64 and to the first 5 input code vzsodnogo switch, the second code input, a control input and whose output is connected to the corresponding character. with the second output of the program memory in the first input of the comparison circuit, and the third and fourth outputs of the program memory are connected respectively to the code input of the output switch and to the second input of the comparison circuit. Sources of 1 introduction, taken into account during examination, 1. USSR author's certificate NO 462167, cl, q O5 B 19/18, 1973., 2., Mayorov S. А. and Novikov GI Structure of digital computers. Publishing house Mashinostroenie, L., 197O, p. 186, fig. 5.8.