← Analog and Scaling

Configurable Scaling

medium

Linearly scales a raw input to engineering units between two configurable endpoints.

What it teaches

Generalize Scale into range mapping, also called remapping. Instead of hardcoded 4-20 to 0-100, the endpoints are inputs, so the engineer can tune any sensor to any output range.

Parameters

TagDirectionTypeDefaultDescription
In_RawInputREAL0Raw input value to scale
Cfg_RawMinInputREAL0Raw value at the minimum endpoint
Cfg_RawMaxInputREAL0Raw value at the maximum endpoint
Cfg_EUMinInputREAL0Engineering unit value at the minimum endpoint
Cfg_EUMaxInputREAL0Engineering unit value at the maximum endpoint
Out_ScaledOutputREAL0Scaled engineering unit value

Required behavior