PLC Tutorials

PLC Raw Count Calculation for Pressure Transmitter

Every instrument has at least one input and at least one output. For instruments responding linearly, the correspondence between input and output is proportional:

PLC Raw Count Calculation

A practical example of this is a pressure transmitter, in this case one with an input range of 0 to 1023 PSI and an output of 4-20 mA

If you happened to measure an output current of 14.7 mA from this pressure transmitter

x = { ( 14.7 – 4 ) / 16 } * 1023 = 684.13 PSI

It would be a simple matter for you to calculate the corresponding input pressure to be 684.13 PSI.

Now consider a pressure transmitter is connected to the PLC system. The pressure transmitter is connected to the Analog input card of the PLC system. The AI card have inbuilt Analog to Digital Converter (ADC). The ADC converts the input 4-20mA value coming from pressure transmitter into equivalent Raw Counts.

The AI card finally sends this Raw counts value to CPU card. The CPU have the pre-defined Pressure transmitter values like its Range (LRV & URV), units etc. The CPU calculates the Process variable (pressure value from pressure transmitter) using these Raw Count from AI card & pre-defined LRV, URV, units etc… and displays the process variable on operator workstations/HMI.

Also Read : Formula to Convert 4-20mA into Process Variable

Take for example this analog-to-digital converter, with a 10-bit output (a “count” range of 0 to 1023) and a 4-20 mA input:

Calculate the corresponding “count” output of this ADC circuit given a 6.82 mA input signal.

Here we are calculating the ADC output in terms of count. So Input to the AI card is “x” and output is “y” as shown in below fig.

y = { ( 6.82 – 4 ) / 16 } * 1023  = 180 count

In a PLC system, CPU converts this count into equivalent Process variable and displays on the operator workstations.

If you liked this article, then please subscribe to our YouTube Channel for PLC and SCADA video tutorials.

You can also follow us on Facebook and Twitter to receive daily updates.

You've successfully subscribed !

View Comments

  • Dear Mr. S.Bharadwaj Reddy
    I like to say 'Thank You' for your wonderful contribution to the people who are in search of knowledge like me for instrumentation and especially about PLC as I m from a Mechanical background; as well inspires me to contribute back to the community.
    Regards
    Rajan.

  • Hello sir,

    very useful article for me ,i got clear idea from this article .thank you very much.

    But one thing, better to check the formula mentioned in the field pressure transmitter to PLC ADC count convertion. in this formula x,y interchangely mentioned.

  • Thank you sir for your kindness! you are a great man!!

    please how can i scale parameters in logix 500 and logix 5000 controllers

    I need your help on these

    Thanks very much

  • Hi Mr.bharadwa reddy first of all thanks for your updation ..

    Can you update what is different between Instrument earthing and electrical earthing ,why it is need separate for earth pits.

  • Electrical system handles high voltage applications . Instrumentation systems handles low voltages system.

    Instrument earthing is used to ground any noise ( low level interfering signal) in the signals .

    Also instrument earth pit resistance is maintained at low ( nearly 1 ohm )
    .

    If electrical earth is connected with Instruments earth , there is a potential of current flow in between these earthing systems. Hence these two are kept different.

Share

Recent Articles

  • PLC Tutorials

Conveyor Sorting Machine PLC Program with Calculation Function

The conveyor sorting machine is widely used in the packing industries using the PLC program…

4 days ago
  • PLC Tutorials

Example of Flip-Flop PLC Program for Lamps Application

Learn the example of flip-flop PLC program for lamps application using the ladder logic to…

4 days ago
  • PLC Tutorials

STAR DELTA Programming using PLC Controller

In this article, you will learn the STAR DELTA programming using PLC controller to start…

4 days ago
  • Instrumentation Design

Single and Three Phase Immersion Electrical Heaters Wiring Circuits

Lube oil consoles of rotary equipment packages in industrial process plants are usually equipped with…

2 days ago
  • Instrumentation Design

Immersion Heaters in Lube Oil Consoles

Rotating equipment packages such as pumps, compressors, turbines need the lube oil consoles for their…

4 days ago
  • PLC Tutorials

How to Blink Lights in Ladder Logic?

This article explains how to blink lights in ladder logic with a detailed explanation video…

4 weeks ago