Fieldeng
Instrumentation & Controls

PLC Analog Output Scaling

Raw PLC output count for a desired engineering value. Integer rounding matches INST-13.

Instrumentation & Controls

Raw PLC output count for a desired engineering value. Integer rounding matches INST-13.

App id: INST-17. Reference version 1.0.

How to fill it

Fill the inputs. The tool shows the outputs.

On the tool screen, Calc is the working sheet. Presets stores values you reuse. Reference is the formula, assumptions, and provenance below.

Formula

raw = round(raw_L + (EU − EU_L) / (EU_H − EU_L) × (raw_H − raw_L))

Inputs

NameUnit
Engineering valuepsi
EU lowerpsi
EU upperpsi
Raw minimum (optional)1
Raw maximum (optional)1

Outputs

NameUnit
Raw count (hero result)1
Span%

Diagnose

Observations are context. They do not pass or fail a structure. See Diagnose.

WhenObservationSeverity
span fraction < 0 or span fraction > 1Outside configured spancaution

Assumptions

  • 50% of 0–32767 rounds to 16384 (16383.5 → 16384).

Provenance

  • Inverse of INST-16 with integer raw counts.

On this page