Изобретение относитс к устройствам нреобразовани перемещени в код и может быть использовано в системах нрограммного управлени станками и роботами, в системах обработки графи ческой информации, в системах равлени и контрол . Целью изобретени вл етс распшрение диапазона преобразовани и упрощение преобразовател . На чертеже приведена схема преобразовател перемещени в код. Преобразователь перемещени в код содержит генератор 1, счетчик 2 импульсов , дешифратор 3, кодовую шкалу 4 с параллельными проводниками 5, считывающие элементы 6, узлы 7 съема сигнала (со считывающих элементов), коьшараторы 8 и 9, RS-триггер 10, формирователи 11-13 импульсов, элементы HJEi 1 4 и 1 5 5 элементы И 16 и 17, инвертор 18, регистр 19, реверсивный счетчик 20, Кодова шкала 4 выполнена в виде расположенных на близком рассто нии друг от друга параллельных печатных проводников 5. Считывающие элементы 6 выполнены также в виде проводников , расположенных вдоль подв:ижной части преобразовател параллельно проводникам 5 кодовой шкалы 4 с шагом , равным диапазону кодовой шкалы 4. С одной стороны считывающие элементы . 6 имеют провод щие площадки, посредством которых обеспечиваетс св зь с компараторами 8 и 9 через узлы 7 съема сигнала, причем площадки расположены так, что сигнал со считЕлвающих элементов 6 с нечетными номерами поступает на первый узел 7 съема сигнала, а с четными - на второй 7. Узлы 7 съема сигнала могут быть контактными или бесконтактными В приведенном примере они выполнены в виде параллельных пластин и съем сигнала осуществл етс за счет емкостной св зи между ними и площадками считывающих элементов 6. Преобразователь работает следующим образом. Импульсы от генератора 1 поступают на счетный вход счетчика 2 импульсов и измен ют его состо ние, а следовательно, и состо ние выходов подключенного к нему дешифратора 3. При каждом новом состо нии дешифратора 3 по вл етс напр жение на очередном проводнике 5 кодовой шкалы 4 63 При по влении напр жени на проводнике 5 кодовой шкалы 4, ближайшем к считывающему элементу 5, на последнем , вследствие наличи емкостной св зи, наведетс наибольшее напр жение , которое в зависимости от номера возбужденного считывающего элемента 6 поступит через один из узлов 7 съема сигнала на вход соответственно компаратора 8 или 9 и приведет к его срабатыванию. Таким образом, за период работы счетчика 2 импульсов происходит срабатывание одного из компараторов 8 или 9, причем состо ние выходов счетчика 2 импульсов в момент срабатывани компаратора 8 или 9 соответствует положению считывающего элемента 6 в зоне кодовой шкалы 4. Сигнал с выхода компаратора 8 или 9 через элемент ИЛИ 14 поступает на вход формировател 13 импульсов, формирующего по переднему фронту короткий импульс, по которому происходит запись в регистр 19 кода со счетчика 2 импульсов. Таким образом, в регистр 19 хранитс код, соответствуюш 1й положению считывающего элемента 6 в зоне кодовой шкалы 4. При входе в зону кодовой шкалы 4 нового считывающего элемента 6 происходит смена срабатывающего компаратора В на 9 или 9 на 8 и, следовательно , изменение состо ни RS-триггера 10. По фронту сигнала на выходе RS-трнггера 10 формирователь 11 или 12 импульсов вьщает короткий импульс, который через элемент ИЛИ 15 поступает на входы элементов И 16 и 17. В зависимости от направлени перемещени считываюш 1й элемент 6 входит в зону кодовой шкалы 4 справа или слева. При этом в момент срабатывани компаратора 8 или 9 сигнал на выходе счетчика 2 импульсов, соот- ветствующем старшему разр ду кода, имеет состо ние О или I и, поступа на вход элемента И 16 непосредственно , а на вход элемента И 17 через инвертор 18, разрешает прохождение импульсов от формирователей 11 и 12 импульсов на суммирующий или вычитающий входы реверсивного счетчика 20. В результате изменение кода на выходе реверсивного счетчика 20 соответствует величине перемещени подвижной части с дискретностью, равной шагу расположени считывающих элементов 6. Таки1 1 образом, на выхоThe invention relates to devices for converting movement into a code and can be used in systems of computer-aided control of machines and robots, in systems of processing graphic information, in systems of control and control. The aim of the invention is to expand the conversion range and simplify the converter. The drawing shows a diagram of a motion to code converter. The displacement transducer to the code contains a generator 1, a pulse counter 2, a decoder 3, a code scale 4 with parallel conductors 5, reading elements 6, signal pickup nodes 7 (from reading elements), cohors 8 and 9, RS flip-flop 10, drivers 11- 13 pulses, elements HJEi 1 4 and 1 5 5 elements And 16 and 17, inverter 18, register 19, reversible counter 20, Code scale 4 made in the form of parallel printed conductors located at close distance from each other 5. Readout elements 6 are made also in the form of conductors located along ь sub: transducer part parallel to the conductors 5 of the code scale 4 with a step equal to the range of the code scale 4. On the one hand reading elements. 6 have conductive pads, through which communication with comparators 8 and 9 is ensured through signal pickup nodes 7, the pads being arranged so that the signal from the counting elements 6 with odd numbers goes to the first pickup node 7, and to the even ones - to the second 7. Nodes 7 of the signal pickup can be contact or contactless. In the example shown, they are made in the form of parallel plates and the signal is picked up due to capacitive coupling between them and the areas of the reading elements 6. The converter works as follows in a way. The pulses from the generator 1 are fed to the counting input of the counter 2 pulses and change its state, and consequently, the state of the outputs of the decoder 3 connected to it. With each new state of the decoder 3, a voltage appears on the next conductor 5 of the code scale 4 63 When voltage appears on the conductor 5 of the code scale 4, closest to the reading element 5, due to the presence of capacitive coupling, the highest voltage will be induced on the latter, which, depending on the number of the excited reading element 6, goes through one in of the nodes 7 removal of the signal to the input, respectively, of the comparator 8 or 9 and will lead to its operation. Thus, during the period of operation of the pulse counter 2, one of the comparators 8 or 9 is triggered, and the state of the outputs of the pulse counter 2 at the time the comparator 8 or 9 is triggered corresponds to the position of the reading element 6 in the code scale area 4. Signal from the output of the comparator 8 or 9 through the element OR 14 is fed to the input of the imaging unit 13 pulses, forming on the leading edge of a short pulse, which is written to the register 19 of the code from the counter 2 pulses. Thus, the register 19 stores the code corresponding to the 1st position of the reading element 6 in the area of the code scale 4. When a new reading element 6 enters the area of the code scale 4, the triggered comparator B changes by 9 or 9 by 8 and, therefore, the state changes RS flip-flop 10. On the front of the signal at the output of RS-trnger 10, the shaper 11 or 12 pulses induces a short pulse that through the OR 15 element enters the inputs of AND 16 and 17. Depending on the direction of movement, the 1st element 6 enters into the code area scale 4 right or left. At the same time at the moment when the comparator 8 or 9 triggers, the signal at the output of the pulse counter 2, corresponding to the most significant bit of the code, has the state O or I and, arriving at the input of the And 16 element, directly, and at the input of the And 17 element through the inverter 18, permits the passage of pulses from the formers 11 and 12 pulses to the summing or subtracting inputs of the reversible counter 20. As a result, the change of the code at the output of the reversing counter 20 corresponds to the displacement of the moving part with a resolution equal to 6. cops 1 Taki1 manner on vyho