The encoder has a logic circuit standing in data exchange relationship with an electronic arrangement and calculating instantaneous absolute position of a body. A Wiegand element (9) delivers pulses in which an essential part of electrical power is included. The essential part is supplied to the electronic arrangement and magnetosensitive sensors (7, 8) with low minimum current in a time period in which an external power supply i.e. battery, is absent. The pulses of the Wiegand element are counted and processed in an operating condition.