PLC Analog Input Scaling
Scale analog input counts to engineering units and back, including signed counts and reversed engineering scales.
Result
How the calculation works
x is the PLC count and y the engineering value. y = y₀ + (x − x₀)(y₁ − y₀)/(x₁ − x₀). Reverse conversion swaps the scales. Check your PLC’s rounding rule before using the rounded count.