Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How can i make the tank go to 250??

the problem i have is the following: the tank goes to 270 when it fills from Ingr 1 , the tank should fill in to 250  and by 15 each time until it gets to 3000 and it should decrement to 1000 from 3000, i hope some can help me

Download All
0 Kudos
Message 1 of 4
(5,457 Views)

Just to clarify - you're trying to "fill"  the tank by increasing it by 15 until it hits 250, then decrease it to zero? When I run the program it increases to 285, then it waits as the temperature increases, and dumps the tank after it hits a certain temp.

 

Is this correct?

Jake H | Product Manager
0 Kudos
Message 2 of 4
(5,432 Views)

yest increase the tank by 15 until it get to 250 , after filling to 250 it shouldn't start again adding another 250 until it gets to 3000, and then wen it gets to 3000 it should decrease to 2000,  each time the tanks gets to 250  the temperature should only increase  (Temp 100)

0 Kudos
Message 3 of 4
(5,428 Views)

Are the 2000 and 3000 referring to the temperature or the volume of the tank?

 

The tank isn't stopping at 250 like you say it should. There is some condition that is not being met within your program and the "fill" command is still running until 285. I would recommend putting in a condition that stops the tank from fillling once it hits 250. Also, there could be a delay in your program execution - such as; if you hit your 250, the program executes a few more times before it stops it from filling.

Jake H | Product Manager
0 Kudos
Message 4 of 4
(5,411 Views)