How An Absolute Encoder Works