ление импульсов генератора на вход обоих счетчиков, н схема приходит в устойчивое состо ние 2. Недостатком преобразовател вл ютс невысокие надежность работы и экономичкость , обусловленные Сложностью аппаратурной реализации схемы сравнени содержимого счетчика входного кода. Целью изобретени вл етс упрощение преобразовател монотонно-измен ющегос кода. Поставленна цель достигаетс тем, что в преобразователь монотонно-измен ющегос кода, содерл ащий счетчик входного кода, счетчик выходного кода, выходной регистр, первый, второй и третий формирователи импульсов, элемент PI, элемент ИЛИ и генератор, выход которого соединен с первым входом элемента И, выход которого соединен со счетным входом счетчика входного кода н первым входом элемента ИЛИ, выход которого соединен со счетным входом счетчнка выходного кода, вход сброса которого соединен с установочным входом счетчика входного кода и выходом третьего формировател импульсов , а группа выходов подключена к информационным входам выходного регистра, группа выходов которого соединена с шинами выходного кода, выход первого формировател импульсов подключен ко второму входу элемента ИЛИ и входу второго формировател импульсов, выход которого соединен со входом третьего формировател импульсов и управл ющим входом выходного регистра, введен дополнительный элемент ИЛИ выход которого соединен со вторым входом элемента И, а группа входов - с группой выходов счетчика входного кода, информационные входы которого соединены с щинами входного кода. Шина младщего разр да входного кода подключена к входу первого формировател импульсов . Счетчик входного кода выполнен вычитающим, с параллельной установкой начального значени . Иа чертеже представлена структурна схема преобразовател монотонно-измен ющегос кода. Выход генератора 1 соединен со входом элемента И 2, вход которого соединен со счетным входом счетчика входного кода 3 и входом элемента ИЛИ 4. Выход последнего соединен со счетным входом счетчика выходного кода 5, выходы которого соединены с группой входов выходного регистра 6, выходы которого соединены с щинами выходного кода. Информационные входы счетчика 3 соединены с щинами выходного кода, причем шина младшего разр да входного кода одновременно соединена с входом первого формировател импульсов 7, выход которого соединен со вторым входом элемента ИЛИ 4 и входом второго формировател импульсов 8, выход которого соединен с входом регистра 6 и входом третьего формировател имиульсов 9, выход которого соединен со сбросовым входом счетчика 5 и установоч}1ым входом счетчика 3, выходы которого соединены с группой ь.кодов дополнительного элемента ИЛИ 10, выход которого соединен со вторым входом элемента И 2. Преобразователь работает следующим образом. В исходном состо нии значение содержимого счетчика 3 равно нулю, и преобразователь находитс в равновесии. При изменении значени входного кода (измене-НИИ значени младщего разр да входного кода) с выхода щины младщего разр да входного кода выдаетс имнульс смены кода на вход формировател имнзльсов 7, с выхода которого импульс управлени через элемент ИЛИ 4 посту нает на счетный вход счетчика 5, хран щего в себе предыдущее значение входного кода и измен ет его значение на единицу (увеличивает при работе с монотонно-возрастающим кодом или уменьщает при работе с монотонноубывающим кодом). При этом содержание счетчика 5 становитс эквивалентным значению входного кода. Выходной импульс с формировател импульсов 7 поступает также на вход цепочки носледовательно соединенных второго 8 и третьего 9 формирователей импульсов. С выхода формировател импульсов 8 импульс управлени поступает на вход регистра 6 и осуществл ет запись в выходной регистр кода счетчика 5. Р1мпульс управлени с выхода формировател импульсов 9 поступает на сбросовый вход счетчика 5 и устанавливает его в нулевое состо ние, а также на установочный вход счетчика 3, устанавлива в нем значение, эквивалентное значению входного кода. При этом на входы элемента ИЛИ 10 с выхода счетчика 3 поступает параллельный код, отличающийс от нулевого значени , а с выхода элемента ИЛИ 10 на вход элемента И 2 поступает сигнал, разрешающий прохождение импульсов генератора 1 на счетные входы обоих счетчиков. При этом счетчик 5 работает на сложение, а счетчик 3 - на вычитание до нулевого кода значени . При нулевом значении параллельного кода счетчика 3 на входы элемента ИЛИ 10 подаютс нули, а с выхода проход т импульсы с генератора 1 на счетные входы боих счетчиков. Отсчет импульсов прекращаетс , и преобразователь приходит в исходное устойчивое состо ние. При смене начени входного кода описанный выше процесс повтор етс . Преобразование кода осуществл етс в ериод сменами значени входного ода, а добавление единицы ири монотоно-возрастающем коде (или уменьшение наGenerator pulses at the input of both counters, the circuit comes to steady state 2. The disadvantage of the converter is the low reliability and economy due to the complexity of the hardware implementation of the comparison circuit of the input code counter. The aim of the invention is to simplify the monotonically variable code converter. The goal is achieved in that the converter is a monotonically changing code containing the input code counter, output code counter, output register, first, second and third pulse shapers, PI element, OR element and generator, the output of which is connected to the first element input And, the output of which is connected to the counting input of the input code counter and the first input of the OR element, the output of which is connected to the counting input of the output code counter, the reset input of which is connected to the installation input of the input code counter and the output of the third pulse driver, and a group of outputs connected to the information inputs of the output register, the output group of which is connected to the output code buses, the output of the first pulse generator connected to the second input of the OR element and the input of the second pulse generator, the output of which is connected to the input of the third pulse generator and control input input of the output register, an additional OR element is introduced, the output of which is connected to the second input of the AND element, and a group of inputs - to the output group of the input This code, informational inputs of which are connected with the input code. The bus of the lower bit of the input code is connected to the input of the first pulse shaper. The input code counter is made subtractive, with a parallel setting of the initial value. The drawing shows a monotonically changing code converter circuit. The output of the generator 1 is connected to the input element And 2, the input of which is connected to the counting input of the counter of the input code 3 and the input of the element OR 4. The output of the latter is connected to the counting input of the counter of the output code 5, the outputs of which are connected to the group of inputs of the output register 6, the outputs of which are connected with output code lengths. The information inputs of the counter 3 are connected to the output code, and the low bit bus of the input code is simultaneously connected to the input of the first pulse generator 7, the output of which is connected to the second input of the OR element 4 and the input of the second pulse generator 8, the output of which is connected to the register 6 and the input of the third imaging device 9, the output of which is connected to the waste input of the counter 5 and the setting} the first input of the counter 3, the outputs of which are connected to the group Ь.codes of the additional element OR 10, the output of which th is connected to the second input of AND 2. The converter operates as follows. In the initial state, the value of the contents of counter 3 is zero, and the converter is in equilibrium. When the value of the input code changes (changing the institute's value of the youngest bit of the input code), the output of the younger bit of the input code is output to change the code to the input of the pulse generator 7, from the output of which the control pulse through the OR element 4 is sent to the counting input of the counter 5 It stores the previous value of the input code and changes its value by one (it increases when working with a monotonically increasing code or decreases when working with a monotone decreasing code). The content of the counter 5 becomes equivalent to the value of the input code. The output pulse from the pulse shaper 7 is also fed to the input of the chain of the successively connected second 8 and third 9 pulse shapers. From the output of pulse generator 8, a control pulse arrives at the input of register 6 and records the counter code 5 into the output register. P1 control pulse from the output of pulse generator 9 is fed to the fault input of counter 5 and sets it to the zero state, as well as to the counter setting input 3, setting in it a value equivalent to the value of the input code. At the same time, the inputs of the OR 10 element from the output of the counter 3 receive a parallel code different from zero, and from the output of the OR 10 element to the input of the AND 2 element, a signal is received allowing the passage of the pulses of the generator 1 to the counting inputs of both counters. At the same time, the counter 5 works on addition, and the counter 3 - on subtraction up to the zero code of the value. At a zero value of the parallel code of the counter 3, the inputs of the element OR 10 are supplied with zeros, and the output passes pulses from the generator 1 to the counting inputs of the two counters. The pulse count stops and the converter returns to its original steady state. When the input code is changed, the process described above is repeated. Conversion of the code is carried out in a period by changing the value of the input modulus, and adding the unit iri to a monotone-increasing code (or decrementing by