PLC Analog Input: Raw Counts to Engineering Units
Convert raw PLC input counts into temperature using stated counts at 4 mA and 20 mA, and find the raw-count value of an alarm threshold.
Controls & Instrumentation · Last reviewed
Given
A temperature transmitter measures 0 to 150 °C and outputs 4 to 20 mA. The PLC analog input module reports 6,400 raw counts at 4 mA and 32,000 raw counts at 20 mA (these are exercise values, check your module documentation). The input is currently 18,560 counts. A high-temperature alarm is required at 120 °C.
Find
The temperature and the current for 18,560 counts, and the raw-count value that corresponds to the 120 °C alarm.
Solution
Related tools and labs
Calculators, labs and simulators are part of the All-Access Pass.
More worked problems
- 4-20 mA Signal Scaling for a Pressure Transmitter
- Control Valve Sizing: Calculate Cv for a Water Line
- Hydrostatic Level Measurement: Pressure to Tank Level
- Differential-Pressure Flow: Why 50% Signal Is Not 50% Flow
- First-Order Sensor Response: Time Constant and Settling
- Measurement Uncertainty: Combining Independent Inputs
- Size the Branch Circuit for a 40 hp, 460 V Motor
- Voltage Drop on a 240 V Single-Phase Feeder
Questions
Why do some modules give 0 to 27,648?
Different manufacturers use different raw ranges. Always take the counts at 4 mA and 20 mA from the module manual or measure them.
How do I scale in the PLC?
Most PLCs have a scaling instruction that takes the raw minimum and maximum and the engineering minimum and maximum, and applies the same formula.
How is a 0 to 20 mA input different?
There is no live zero. The raw count at 0 mA is zero and 0% corresponds to 0 mA.
Educational material. Examples use simplified, hypothetical inputs and are not a design, a construction document or professional engineering advice. Confirm requirements with the codes and standards adopted where the work is built and with a licensed engineer.