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
| Name | Unit |
|---|---|
| Engineering value | psi |
| EU lower | psi |
| EU upper | psi |
| Raw minimum (optional) | 1 |
| Raw maximum (optional) | 1 |
Outputs
| Name | Unit |
|---|---|
| Raw count (hero result) | 1 |
| Span | % |
Diagnose
Observations are context. They do not pass or fail a structure. See Diagnose.
| When | Observation | Severity |
|---|---|---|
span fraction < 0 or span fraction > 1 | Outside configured span | caution |
Assumptions
- 50% of 0–32767 rounds to 16384 (16383.5 → 16384).
Provenance
- Inverse of INST-16 with integer raw counts.