Absolute encoders with analogue or digital scales