О)ABOUT)
схsc
СП Устройство относитс к кодовым замкам . Известен кодовый замок, содержащий испольнительный блок, счетчик, соединенный с элементом И, блок набора кода и блок установки кода, соединенный с селектором 1. Недостатком указанного кодового замка вл етс низка секретность. Цель изобретени - повышение секретности . Указанна цель достигаетс тем что кодовый замок, содержащий испольнительный блок, счетчик, соединенный с элементом И, блок набора кода, блок установки кода, соединенный с селектором, имеет триггеры , дополнительный селектор, регистр фиксации кода, дополнительный элемент И и формирователь, причем блок установки кода дополнительно соединен с входом элемента И, остальные входы которого соединены с выходами счетчика, к первому входу которого подключен вь1ход первого триггера, соединенного с блоком набора кода и селектором, дополнительно соединенным со счетчиком, ко второму входу которого подключен выход дополнительного селектора , подключенный к установочному входу регистра фиксации кода, к информационным входам которого подключены выходы блока Набора кода и входы блока установки кода, а к выходам - входы дополнительного элемента И, выход которого соединен с исполнительным блоком и входом формировател , выход которого подключен к первому входу селектора и к первому входу второго триггера, ко второму входу которого подключен выход элемента И, а вход второго триггера подключен ко входу дополнительного селектора, другой вход которого подключен к выходу блока установки кода . На чертеже изображена функциональна схема устройства. Устройство состоит из исполнительного блока 1, счетчика 2, элемента И 3, блока набора кода 4, блока установки кода 5, селектора 6, триггеров 7 и 8, дополнительного селектора 9, регистра фиксации кода 10, дополнительного элемента И 11 и форми ровател 12. Устройство функционирует следующим образом. При наборе кода в блоке 4 сигналы i. его выходов поступают на входы регистра фиксации кода 10, который фиксирует кодовую комбинацию. Кроме того, сигналы с выходов блока 4 поступают через соответствующие переключатели блока установки кода на входы селектора. При наборе каждого знака кода триггер 7 измен ет свое состо ние, и сигналом с выхода его измен етс состо ние счетчика 2. Однако переключение триггера из одного состо ни в другое осуществл етс по сигналам селектора б, подключающего выходы блока 5 к триггеру, т.е. только в случае правильного набора кода. После правильного набора последней цифры кода сигналы со счет чика б совпадают с сигналом последнего знака, поступающего с блока 5 на элементе 3 И, и сигнал с выхода элемента И 3 измен ет состо ние триггера 8. При неправильном наборе любого знака кода на вход дополнительного селектора 9 поступает сигдал сброса с выхода блока установки кода 5, а с выхода селектора 9 сигнал сброса обнул ет счетчик 2 и регистр 10. Одновременно сигнал с триггера 8 поступает на элемент И 11. Теперь только в случае набора остальных (незначащих) знаков кода на выходах рагистра 10 будут сигналы и на выходе элемента И 11 по витс разрещающий сигнал, поступающий на вход исполнительного блока 1 и формировател 12. Исполнительный блод срабатывает, а формирователь вырабатывает сигнал с задержкой , длительность которой достаточна дл работы исполнительного блока, после чего через второй селектор 9 сбрасываютс в исходное состо ние счетчик 2, регистр 10 и второй триггер 8. При неправильном наборе знаков кода триггер 8, измен свое состо ние , выдает сигнал разрешени на вход второго селектора 9 и с выхода формировател 12 на вход счетчика 6 и вход регистра 10 поступает сигнал сброса.SP Device refers to combination locks. A code lock is known, containing an executive block, a counter connected to the AND element, a code dialing block and a code setting block connected to the selector 1. The disadvantage of this code lock is low secrecy. The purpose of the invention is to increase secrecy. This goal is achieved by the fact that a code lock containing an executive unit, a counter connected to an AND element, a code dialing unit, a code installation unit connected to a selector, has triggers, an additional selector, a code latch register, an additional AND element, and a driver, with the installation unit the code is additionally connected to the input of the element I, the remaining inputs of which are connected to the outputs of the counter, to the first input of which is connected a first input of the first trigger connected to the code set block and the selector, additionally with Connected to the counter, to the second input of which an output of an additional selector is connected, connected to the installation input of the code lock register, to the information inputs of which are connected the outputs of the Code Set block and the inputs of the code setting block, and to the outputs - the inputs of the additional element And whose output is connected to the executive the block and the input of the imager, the output of which is connected to the first input of the selector and to the first input of the second trigger, to the second input of which the output of the element I is connected, and the input of the second trigger By connecting to the input of an additional selector, the other input of which is connected to the output code setting unit. The drawing shows a functional diagram of the device. The device consists of an executive unit 1, a counter 2, an element I 3, a code 4 dialing block, a code 5 setting block, a selector 6, triggers 7 and 8, an additional selector 9, a register of fixing code 10, an additional element I 11 and the former 12. The device operates as follows. When dialing the code in block 4, the signals are i. its outputs are fed to the inputs of the register of fixation of the code 10, which fixes the code combination. In addition, the signals from the outputs of block 4 are received through the corresponding switches of the block for setting the code to the inputs of the selector. When dialing each character of the code, trigger 7 changes its state, and the signal from its output changes the state of counter 2. However, switching of the trigger from one state to another is effected by signals of the selector b, connecting the outputs of block 5 to the trigger, t. e. only in the case of the correct set of code. After the correct last digit of the code is correctly dialed, the signals from the counter b coincide with the signal of the last digit coming from block 5 on element 3 AND, and the signal from the output of element 3 changes the state of trigger 8. If any code sign is incorrectly entered, the additional selector 9 receives a reset signal from the output of the code setting unit 5, and from the output of the selector 9, the reset signal resets counter 2 and register 10. At the same time, the signal from trigger 8 goes to AND 11 element. Now only if there is a set of remaining (insignificant) code signs on the outputs R The master 10 will be signals and at the output of the element 11 on the Vits a permitting signal arriving at the input of the execution unit 1 and the driver 12. The executive block triggers and the driver generates a signal with a delay that is sufficient for the execution unit to work, and then through the second selector 9 The counter 2, the register 10 and the second trigger 8 are reset to the initial state. If the code of the code is set incorrectly, the trigger 8 changes its state and generates a permission signal to the input of the second selector 9 and from the output of the signals bodies 12 to the input of a counter 6 and an input register 10 receives a reset signal.