SLC 500 horizontal tank formula

remington

Member
Join Date
Feb 2009
Location
sd
Posts
12
Hi Everyone,
I need some help with a formula on a horizontal tank. I need to write ladder logic for a horizontal tank that is 288" long. Diameter 100", minor radius of 17.75 ". I am using 3277ma for my zero and 16383 ma for my 100% full. I have tried a few formulas and it is still not right. I can get close but not accurate. Any help would be greatly appreciated! Thanks
 
Thank you for your interest

Thank you for your interest. I forgot to mention on my original post that I am also trying to convert it to lbs at 8.45. I have tried a formula on arachnoid and I am close but not good from 45 % on up.
 
It seems like the theory has two parts. Between 0% and 50% you calculate how much fluid is in the tank. Between 50% and 100% you calculate the air space and then subtract that from 100%.
 
Can't you just use a look-up table?

I've done this in the past and it's not incredibly complicated
but a look-up table is so much easier and faster.

Good luck,

(8{)} :) .)
 
The problem with the formula in the above link, like so many things with round parts, is it requires either trig functions or square roots to do the calculations. Many PLCs don't have tehm available. On the other hand, squares and cubes are easy with even four function math, although you really need floating point math to make it work easily.

I took the tables below from data by Panner Bailin. You can either create a look-up table and interpolate, or use the formulas I obtained by using a spreadsheet to do a linear regression on the tables. (This is a very good technique for all kinds of obtuse and complex functions.)


d/D = Depth/Diameter
Volume fraction Vf (that is, %/100)

d/D Vf
0 0
0.05 0.01869
0.1 0.05204
0.15 0.09406
0.2 0.14238
0.25 0.1955
0.3 0.25231
0.35 0.31192
0.4 0.37353
0.45 0.43644
0.5 0.5
0.55 0.56356
0.6 0.62647
0.65 0.68808
0.7 0.74769
0.75 0.8045
0.8 0.85762
0.85 0.90594
0.9 0.94796
0.95 0.98131
1 1
0 0

Vf = (0.4055 x d/D) + (1.7764 x (d/D)^2) + (-1.17839 x (d/D)^3)

Dished Head Volume
d/D Vf
0 0
0.06 0.0104
0.12 0.0397
0.18 0.0855
0.24 0.1451
0.3 0.216
0.36 0.295
0.42 0.381
0.48 0.47
0.54 0.56
0.6 0.648
0.66 0.732
0.72 0.8087
0.78 0.8761
0.84 0.9314
0.9 0.972
0.96 0.9953
1 1

Vf = (-0.0009478 x d/D) + (3.00269 x (d/D)^2) + (-2.00179 x (d/D)^3)
 
The problem with the formula in the above link, like so many things with round parts, is it requires either trig functions or square roots to do the calculations.

Also, even though the SLC has trig functions available, the trig functions use radians, so you have make you set up your formulas correctly.

What caught my attention in this thread however is this:
Thank you for your interest. I forgot to mention on my original post that I am also trying to convert it to lbs at 8.45. I have tried a formula on arachnoid and I am close but not good from 45 % on up.
Since you need pounds then just mount the tank on load cells. Then you get what you want in the first place and don't need cpu hogging calculations.
 
Thank you

Thank you for the information. First a look up table is something I may try to incorporate. The putting it on load cells is out of question since half the tank is inside a building other half is outside. I have re done the program with the help of you guys and I am very accurate until half full, but the top half gets off quite a bit.
 
Hi Everyone,
I need some help with a formula on a horizontal tank. I need to write ladder logic for a horizontal tank that is 288" long. Diameter 100", minor radius of 17.75 ". I am using 3277ma for my zero and 16383 ma for my 100% full. I have tried a few formulas and it is still not right. I can get close but not accurate. Any help would be greatly appreciated! Thanks

why can't you use a Scale with parameters to your setpoints, scale them to 0 and 100%??
 
If you calculate the volume correctly, and you have the correct density of the liquid, then the calculation must work correctly.

What is the liquid? Note that the density of water is 62.4 lbs per cu ft or 8.34 lbs per gallon or 0.27 lb per cu in
 
Remington, can you post what you have so far? Zip up your .RSS file and attach it to a post. The more eyes the better the chance of spotting a mistake.
 

Similar Topics

I have a program that I've used 100 times. SQO settings: File N7:0, Mask 0FFFFh, Dest B3:1, Control R6:0, Length 8, Pos 2. Length & Position...
Replies
48
Views
952
Everyone, i am in the process of purchasing the Slc 500 version of software to support what we have and i have a question. Several of our...
Replies
9
Views
761
In a slc 500 plc I am trying to move data with out using a lot of moves. I want to move data from n7:1 to n7:2 and data that was in n7:2 to n7:3...
Replies
16
Views
1,354
Customer has a circa 2004 SLC-500 PLC. Fieldbus is a 1747-SDN DeviceNet scanner. Customer has SLC-500 file (.rss) with no comments. Has no *.dnt...
Replies
7
Views
552
After I tried wiring, I used computer program communication to read the PLC N value, but received a NAK signal. And the DL3500 CHA light keeps...
Replies
0
Views
423
Back
Top Bottom