ElectroCalc

AUTOMATION / CALCULATOR

4–20 mA / PLC Scaling

Scale engineering values bidirectionally with 4–20 mA, 0–10 V or PLC raw counts.

Input Parameters

Edit the example values. Results update as you type.

Results

Engineering Value
50°C
Full-Scale Ratio
50%

Formula

y = yₘᵢₙ + (x − xₘᵢₙ) / (xₘₐₓ − xₘᵢₙ) × (yₘₐₓ − yₘᵢₙ)

Substitution

0 + (12 − 4) / (20 − 4) × (100 − 0) = 50 °C

Calculation Steps

  1. Normalize the input to 50% of full scale.
  2. Map the normalized ratio to the target range. Reverse PLC scaling rounds to the nearest integer count.

Result Explanation

Supports linear scaling within the nominal range. PLC raw-value limits depend on the module and configuration.

Formulas and FAQ

y = yₘᵢₙ + (x − xₘᵢₙ) / (xₘₐₓ − xₘᵢₙ) × (yₘₐₓ − yₘᵢₙ)
When does the PLC range 0–27648 apply?

This is the unipolar nominal encoding of some SIMATIC modules. Check the module and configuration for ranges, fault codes and overrange behavior.

Related Tools