An optoelectronic code-to-position encoder intended for measuring linear
and angular travels of an object contains a coordinate scale with raster
and code tracks, a readout unit, which includes a lighter, a raster
analyzing mask, light detectors of the raster track and a multi-element
light detector of the code track. The readout unit is fitted with a code
analyzing mask, which is composed of two arrays of windows and optically
conjugated with the code track of the coordinate scale; the multi-element
light detector of the code track is made as two separate arrays of light
detectors and is located behind the code analyzing mask. The inventive
device makes it possible to eliminate a coordinate code readout ambiguity
on a static initial position of a measured object and simultaneously
increase the running speed, reduce the dimensions and increase the
potential accuracy of the encoder.