Изобретение относитс к кодовым замкам. Известно устройство управлени кодовым замком, содержащее пульт управлени , блоки пам ти и блок сравнени 1. Недостатком указанного устройства вл етс неудобство пользовани , обусловленное необходимостью многократного нажати многих кнопок. Цель изобретени - повышение удобства пользовани устройством. Поставленна цель достигаетс тем, что устройство управлени кодовым замком , содержащее пульт управлени , блоки пам ти и блок сравнени , содержит преобразователь кода, элемент ИЛИ, элемент И, элемент задержки, распределитель тактовых импульсов, формирователь импульса начальной установки, причем первый выход пульта управлени подключен к первому входу элемента И, второй выход - к входу преобразовател кода, выходом соединенного с входами первого и второго блоков пам ти , и входу элемента ИЛИ, с выходом которого соединены входы элемента задержки и формировател импульса начальной установки . Выходы элемента задержки и формировател импульса начальной установки подключены к входам распределител тактовых импульсов, выходом подключенного к второму входу первого блока пам ти, второму входу элемента И и первому входу блока сравнени , к второму входу которого подключен выход первого блока пам ти, к третьему входу подключен выход второго блока пам ти, вторым входом соединенного с выходом элемента И. На чертеже изображена функциональна схема устройства. Устройство состоит из пульта 1 управлени , первого блока 2 пам ти, второго блока 3 пам ти, блока 4 сравнени , преобразовател 5 кода, элемента 6 ИЛИ, элемента И 7, элемента 8 задержки, распределител 9 тактовых импульсов, формировател 10 импульса начальной установки. Устройство функционирует следующим образом.. В режиме «Установка кода по сигналу с выхода пульта 1 управлени элемент И 7 обеспечивает прохождение сигналов с выхода распределител 9 тактовых импульсов на управл ющих вход второго блока 3 пам ти, при этом запись кода осуществл етс как в первый 2, так и во второй 3 блоки пам ти. Набор кода осуществл етс на блоке клавиатуры пульта 1 управлени путем последовательного нажати клавиш, маркировка которых соответствует цифрам (знакам) устанавливаемого кода. В режиме «Работа по сигналу с выхода пульта 1 управлени элемент И 7 осуществл ет запрет прохождени сигналов с выхода распределител 9 тактовых импульсов на управл ющий вход второго блока 3 пам ти , обеспечива таким образом неизменность кода, записанного во второй блок 3 пам ти Б режиме «Установка кода. Элемент ИЛИ б обеспечивает подачу импульса на элемент 8 задержки и формирователь 10 импульса начальной установки при нажа тии на клавиши блока клавиатуры пульта 1 управлени . Элемент 8 задержки обеспечивает задержку импульсов на выходе распределител 9 тактовых импульсов, поступающих на управл ющие входы первого блока 2 пам ти и второго блока 3 пам ти, по отношению к сигналам, поступающим на их информационные входы с преобразовател 5 кода, исключа таким образом вли ние дребезга контактов блока клавиатуры пульта I управлени . Формирователь 10 импульса начальной установки обеспечивает временной интервал, в течение которого даетс разрешение на однократный набор кода, а по истечении этого интервала времени обеспечиваетс готовность устройства к следующему набору кода. При совпадении набираемого кода и кода, записанного в программируемый блок 3 пам ти, блок 5 сравнени по сигналам с распределител 9 тактовых импульсов формирует сигнал о наборе кода, соответствующего установленному .This invention relates to combination locks. A code lock control device is known, which contains a control panel, memory blocks and a comparison block 1. A disadvantage of this device is the inconvenience of use due to the necessity of repeatedly pressing many buttons. The purpose of the invention is to improve the usability of the device. The goal is achieved by the fact that the code lock control device containing the control panel, memory blocks and comparison unit contains a code converter, an OR element, an AND element, a delay element, a clock distributor, an initial setting pulse shaper, and the first output of the control panel is connected to the first input of the AND element, the second output to the input of the code converter, the output connected to the inputs of the first and second memory blocks, and the input of the OR element, with the output of which the inputs of the element are connected delay and pulse former setup. The outputs of the delay element and the pulse generator of the initial setup are connected to the inputs of the clock distributor, the output connected to the second input of the first memory block, the second input of the And element and the first input of the comparator, to the second input of which the output of the first memory block is connected, to the third input the output of the second memory block, the second input of the element I connected to the output. The drawing shows a functional diagram of the device. The device consists of a control panel 1, a first memory block 2, a second memory block 3, a comparison block 4, a code converter 5, an OR element 6, an AND element 7, a delay element 8, a clock distributor 9, an initial setting pulse generator 10. The device operates as follows. In the mode "Setting the code by a signal from the output of the remote control 1, control element And 7 provides for the passage of signals from the output of the distributor 9 clock pulses to the control inputs of the second memory block 3, while the code is written as in the first 2 , and in the second 3 blocks of memory. The code is typed on the keyboard unit of the control panel 1 by successively pressing the keys, the marking of which corresponds to the digits (characters) of the code to be set. In the mode "Work on the signal from the output of the control unit 1 of control, the And 7 element prohibits the passage of signals from the output of the distributor 9 clock pulses to the control input of the second memory block 3, thus ensuring that the code recorded in the second memory block 3 remains unchanged “Installing the code. The element OR b provides a pulse to the delay element 8 and the shaper 10 of the initial setting pulse when pressing the keys of the keyboard unit of the console 1 control. The delay element 8 provides a delay of pulses at the output of the distributor 9 clock pulses arriving at the control inputs of the first memory block 2 and the second memory block 3 with respect to signals received at their information inputs from the code converter 5, thus eliminating the influence the bounce of the contacts of the keyboard unit of the console I control. The initial pulse shaper 10 provides a time interval during which permission is given for a single code set, and after this time interval has elapsed, the device is ready for the next set of code. When the dialed code and the code recorded in the programmable memory block 3 coincide, the comparison block 5, using signals from the distributor, 9 clock pulses, generates a signal about the code set corresponding to the set one.