Sensor Scaling Calculator

About the Sensor Scaling Calculator

This calculator converts raw analog inputs (e.g., 4-20mA, 0-10V) to engineering units or vice versa using linear scaling, compliant with IEC 61131-3 standards for industrial automation. It supports multiple input ranges including 0-20mA, 4-20mA, 0-10V, and -10 to 10V.

The formulas used are: y = mx + b (raw to engineering) and x = (y - b) / m (engineering to raw), where m = (y_max - y_min) / (x_max - x_min) and b = y_min - m * x_min. The chart visualizes the scaling curve, and results can be exported as a PDF for documentation.