Hi Melani and others

Well the problem is as followed:

The application which is reading the encoder via a serial port expects a 10bit value
where 0 is 0 and 1024 is 1 resolution (or 360deg)
So this application does the mathematics for conversion

So the meaning of my offset value is to avoid that i have to move the encoder physicaly to its true zero point

So i would like to keep the resolution of 1024 but shift it around (if i may call it shifting)
in a way that i will keep a 10bit value

I dont see how to do that
maybe you might have some help

Thanks in advance

Walter



Quote Originally Posted by Melanie View Post
So why not ADD an offset of 120 (using your example)...

That way zero will be in reality -120, 120 will be zero, and 240 is actually +120 ???

This way you will never go below zero, because zero is your REAL reference point, and your offset value is actually your mechanical zero.

Simple maths prior to displaying the figures will have it display whatever you want it to display.