Measurent Scale transformation Question

Measurent Scale transformation Question

Hi
I have temperature meter device with range -30 +60 Celsius degrees.
RTU send values 0 on -30 degress and 32767 on +60 degress.
Question is
Value range in PLC
What Signal area min - 0
What signal area max -32767
Value Adjustement linear
Measuring values min -30
Measuering values max +60
But when RTUS send value 16254 a have got -30degrees.
Does anybody know formula how scada converts values to scale?
When scales from 0 to positive sign its working fine. But when negative sign I Have some troubles.
Thanks

This is a migrated post! Originally posted on 19.10.2011 by user softart2. Please be aware that information can be outdated.