PLC 4–20mA Analog Scaling Calculator
Convert raw PLC analog card counts (4000–20000, 6241–31206, 0–27648) and 4–20 mA current signals into engineering units with instant 5-point calibration tables.
SCP Linear Scaling Parameters
Select an analog module preset or enter custom raw and engineering bounds
| Span | Loop mA | Raw Input | Scaled (PSI) |
|---|---|---|---|
| 0% | 4.00 mA | 4000 | 0.00 |
| 25% | 8.00 mA | 8000 | 25.00 |
| 50% | 12.00 mA | 12000 | 50.00 |
| 75% | 16.00 mA | 16000 | 75.00 |
| 100% | 20.00 mA | 20000 | 100.00 |
((Raw_Input - 4000) * (100 / 16000)) + 0SCP Linear Scaling Formula
Always cast integer ADC tags to REAL (floating-point) before dividing in Ladder Logic or Structured Text so integer truncation does not zero out fractional span percentages.
Standard PLC Analog Card Ranges
| Platform / Module | 4 mA (0%) | 20 mA (100%) |
|---|---|---|
| CompactLogix / Micro800 | 4000 | 20000 |
| SLC 500 (1746-NI4 / NI8) | 3277 | 16384 |
| MicroLogix (Scaled for PID) | 0 | 16383 |
| Siemens S7-1200 / S7-1500 | 0 | 27648 |
Frequently Asked Questions
What is the linear scaling formula for a 4–20mA PLC analog input?+
The standard PLC Scale with Parameters (SCP) equation is Scaled = ((Input - Input_Min) * (Scaled_Max - Scaled_Min) / (Input_Max - Input_Min)) + Scaled_Min. In slope-intercept form y = mx + b, Slope m = (Scaled_Max - Scaled_Min) / (Input_Max - Input_Min) and Offset b = Scaled_Min - (m * Input_Min).
How do you scale analog inputs in Studio 5000 Ladder Logic without an SCP instruction?+
Logix 5000 controllers do not include a built-in Ladder SCP instruction by default (though Function Block Diagram has SCL). Most engineers either configure scaling directly on the 1756/5069 analog module properties, import an SCP Add-On Instruction (AOI), or use a Compute (CPT) instruction.
Why do industrial transmitters use 4–20mA instead of 0–20mA?+
A live-zero 4 mA baseline lets the PLC distinguish between a true 0% process reading (4.00 mA) and a severed signal wire or dead transmitter power supply (0.00 mA). Under NAMUR NE43 guidelines, currents below 3.8 mA trigger an open-circuit fault alarm.
What raw count range does a Siemens S7-1200 or S7-1500 analog card use?+
Standard Siemens S7-1200 and S7-1500 analog input modules map 0–100% nominal signal (such as 4–20 mA or 0–10 V) to 0–27648 raw integer counts in NORM_X / SCALE_X instructions, with values up to 32511 reserved for over-range headroom.
Complete PLC & Industrial Automation Calculator Suite
Bitwise & Data Formats
Simulate 16-bit INT and 32-bit DINT Masked Move instructions bit-by-bit with clickable mask gates and Structured Text output.
Decode or encode two 16-bit Holding Registers across all 4 endian byte orders (ABCD, CDAB, BADC, DCBA) for 32-bit REAL floats.
Convert between 16/32-bit Binary-Coded Decimal (BCD) thumbwheel words and integer values with invalid A–F nibble fault detection.
Analog I/O & Sensors
Convert raw ADC counts (4000–20000, 6241–31206, 0–27648) and 4–20 mA signals into engineering units with 5-point calibration tables.
Bidirectional Callendar–Van Dusen (°C/°F ↔ Ohms) calculator for PT100 and PT1000 RTDs with Class AA, A, and B tolerance bands.
Convert thermocouple millivolt (mV) readings to process temperature and back with live Cold Junction Compensation (CJC).
Estimate cabinet temperature rise, conductive heat transfer, required cooling fan airflow (CFM), and AC capacity (BTU/hr) for enclosures.
Fieldbus, Motion & Control
Compute polynomial 0xA001 CRC-16 checksums in Little-Endian Lo-Byte / Hi-Byte wire order and validate captured RS-485 frames.
Calculate maximum RS-485 trunk length, Modbus RTU 3.5-character silent interval (t3.5), frame duration, and max polling rate.
Compute synchronous speed, motor slip %, output shaft RPM after gearbox reduction, and target VFD command frequency in Hz.
Verify PLC High-Speed Counter (HSC) kHz input limits from encoder PPR, 1x/2x/4x quadrature decoding, shaft RPM, and linear travel.
Convert Independent (Kp, Ki, Kd) vs. ISA Dependent (Kc, Ti, Td) PID gains and compute FOPDT / Ultimate Gain starting parameters.