Skip to content
SenseCalc
Menu

PLC Raw Counts to Engineering Value

S7/AB/12/16-bit profiles with custom range.

Inputs

Module and measurement

Whole number 0-5: 0 S7 0-20mA, 1 S7 4-20mA, 2 generic 15-bit 4-20mA (0-32767), 3 12-bit 0-20mA, 4 16-bit 0-20mA, 5 custom. Profile 2 is a generic full-scale assumption, NOT a specific AB module: most AB 4-20mA ranges use an offset low end, so confirm YOUR manual and use Custom (5) with manual values. Fractions fall back to custom.

Raw counts read from the analog input word. Outside the profile range sets Out of range.

Engineering value at the signal low endpoint (LRV), in the same unit as EU high.

Engineering value at the signal high endpoint (URV), in the same unit as EU low.

Custom range (profile 5)

Raw counts at the low end of the custom profile.

Raw counts at the high end of the custom profile.

Signal low of the custom profile in mA or V.

Signal high of the custom profile in mA or V.

Result

Loop signal (mA)
12.000
Engineering value
50.000
Out of range (1=yes)
0
More results: Percent of span (%)
Percent of span (%)
50.00
Voltage across 250 ohm (V)
3.000

Basis and limits

Use the result with the stated assumptions.

Formula: fraction = (raw - raw_low) / (raw_high - raw_low); signal and EU values are interpolated from the selected endpoints.

Basis: Preset endpoints are starting points from the named Siemens/Rockwell module families. There is no universal PLC raw-count standard; the installed module manual controls the endpoint values.

Conditions

  • Select the exact module profile or enter the raw and signal endpoints from its manual.
  • Keep raw counts, signal endpoints, and EU LRV/URV in their stated units; custom profiles are the correct path for vendor-specific words.
  • Treat a clipped result as a hardware/configuration mismatch until the channel range is confirmed.

Reading the outputs

  • Loop signal is the interpolated mA value before EU scaling.
  • Percent of span and the 250 ohm voltage expose the intermediate scaling checks.
  • Out-of-range identifies a count outside the selected endpoint window.

Limits

  • Profile 2 is a generic 15-bit assumption and must not be presented as an Allen-Bradley default.
  • The calculation does not decode signed words, scaling status bits, filtering, or module diagnostics.

Verify

Verify before you use the result.

Counts are exact; the profile is the risk.

  • Module profile matches the hardware manual (profile 2 is generic, not AB-specific)
  • Endpoints from the manual for real modules; Custom profile for anything else
  • Clipped output means re-range, not rescale; custom lo==hi is refused
This calculator is a first-pass screening tool. Verify manufacturer specifications, wiring, module configuration, and calibrator readings before acting.

Related calculators

Workspace

Save this calculation to your workspace.

Save this calculation to return to the inputs, result, and report from your private workspace.

Run the numbers free — no sign-in needed. Sign in or create an account to save this calculation.