Wonderware Intouch 2012 tank filling

hepios

Member
Join Date
Nov 2013
Location
CZE
Posts
2
Hi guys,
Im newbie, so please don't punch me for my lame question :)
I have three tanks and mix tank and they have text field for litres. My problem is, that I don't know how to count and fill my red mix tank with sum of three tanks above.
As I said, Im newbie so Im using just easy window scripts.
When I fill the three tanks with some litres of liquid I click on the button mix and these three tanks are going down -> and in this time I want to continuous fill the mix tank with the sum of that three tanks (which are going down).
In tank1,2,3 Im using easy script:

if valve1 == 1
then
tank1 = tank1 + 1;
endif;

with 1msec.

Please! Any ideas with usage of these simple script ?
Something like if mix == 1 then mixtank = mixtank + ????...

Thank you!

mix.jpg
 
Is this a simulation or real world app? Cause in the realworld you can't fill and remove at the same time without independent measurements.

If for simulation, mixtank = mixtank +3 unless one of the tanks is empty, then +2 or +1 or +0.

So Mixtank = Mixtank + (Tank1>0) + (Tank2>0) + (Tank3>0)
 

Similar Topics

Hi guys, I have experience with PLC to Excel etc...just starting on using intouch scada screens. I have an Excel sheet that uses mainly...
Replies
1
Views
152
Hola chicos. Tengo un problema con el driver de comucicacion dasabcip 5, y un plc controllogix v34, ya realice la comunicacion pero en ciertos...
Replies
2
Views
165
Hi, I am upgrading a Wonderware SCADA form version 9.5 to version 23. I am able to migrate all the graphic, but when to activate the runtime this...
Replies
8
Views
421
Hi all, I am using OI.GATEWAY.2 to communicate to the PLC using an OPC UA. I can see the tags using an OPC explorer connecting to the...
Replies
0
Views
192
For a while, I have been working with InTouch 10.1. The problem I am currently facing is the need to implement certain functions that do not...
Replies
0
Views
486
Back
Top Bottom