Pressure Sensor Signal

NCIVAN

Member
Join Date
Dec 2013
Location
North Carolina
Posts
12
I have a Sensor that outputs 10vdc at no pressure and drops down to 0vdc at range of 100 pressure. My program is set up to work in reverse of this or 0vdc at 0 pressure and 10vdc at 100 pressure. How can I convert this signal inside the plc? Using Siemens 1200 plc.
 
Mickey, thanks for the quick reply. I am not sure what you mean? The analog signal I am getting in as a real is 30853 and it goes down to 0 at 100 full pressure on sensor.

Also I like the Chinese Proverb, although some may claim to get less time on the marriage..
 
RawSignal-RawMax=Signal

At 0 > 30853 - 30853 = 0
At 100 > 0 - 30853 = -30853

Strip the sign then scale 0-30853 to 0-100

Subtract raw data signal from raw data max.
Turn it around..micky

At 0: 30853-30853=0

At 100: 30853-0=30853

Then scale to engineering units if you like. See formula if you need it.

(((Scaled Max-Scaled Min)/(Max Raw Input-Min Raw Input))*(Raw Input-Min Raw Input))+Scaled Min = Scaled Value
 
Last edited:

Similar Topics

I have a zero center pressure sensor where 0.0 is 12mA, 0.5 is 20mA and -0.5 is 4mA. I cant figure out a way to get accurate results I have...
Replies
11
Views
2,828
I want to measure the level of water inside a closed st.st tank with an over flow opening in the top of the tank at the begining of filling the...
Replies
16
Views
4,722
Dear community, i am new into the world of plc and i have really basic question about the properly connecting of a pressure sensor to a modul...
Replies
6
Views
2,347
Hi all, Trying to find a pressure sensor for an application where the process is running at -100°C (-148°F). Pressure is likely around 1 bar or...
Replies
11
Views
2,940
Hello: We use submersible pressure sensor in oil tanks to monitor the level in the tank. We also have a routine the will estimate the oil...
Replies
4
Views
1,398
Back
Top Bottom