defcon.klaxon
Lifetime Supporting Member
Hi all,
Yesterday I was setting up a 4-20mA scale for a tank level. The tank has a staff gauge and a pressure sensor, and the scaling printed on the pressure sensor info plate (0-34 feet) didn't match the readout of the staff gauge. So obviously the min value for the scale (0) is fine, but the max (34) needed to be adjusted. And no matter what I tried, I couldn't mathematically figure out what the max scale value needed to be so that it would match the staff gauge. In the end I just set it for a "close enough" temporary value, but I'd like to know for the future how to do it more quickly.
I know this is going to be a simple arithmetic problem, but when I tried solving it with ratios I couldn't get the proper value. I think it's something to do with the min raw value being 4000, not 0.
How would you guys tackle the problem?
Yesterday I was setting up a 4-20mA scale for a tank level. The tank has a staff gauge and a pressure sensor, and the scaling printed on the pressure sensor info plate (0-34 feet) didn't match the readout of the staff gauge. So obviously the min value for the scale (0) is fine, but the max (34) needed to be adjusted. And no matter what I tried, I couldn't mathematically figure out what the max scale value needed to be so that it would match the staff gauge. In the end I just set it for a "close enough" temporary value, but I'd like to know for the future how to do it more quickly.
I know this is going to be a simple arithmetic problem, but when I tried solving it with ratios I couldn't get the proper value. I think it's something to do with the min raw value being 4000, not 0.
How would you guys tackle the problem?