06-16-2025 02:29 PM
how do I add/create so that the manual mode is linked to the value of the tank at the time and not the value from manual to tank and increases smoothly as it does in automatic mode.
06-16-2025 02:39 PM
Two very important points:
06-16-2025 04:32 PM
now if the version is correct?
06-16-2025 05:30 PM - edited 06-16-2025 05:31 PM
Can you take a step back and explain the program requirements in simple terms.
I am sure my simple program could do it all with just a little bit more code.
06-16-2025 07:37 PM
See if this can give you some ideas. (I got rid of that silly pipe animation, but if you really want that you need a simple state machine with just a little bit more code)
06-17-2025 10:59 PM
What would you change/modify so that instead of the tank adapting to the manual level, the manual level adapts to the tank level when switching from automatic to manual?
06-17-2025 11:57 PM - edited 06-17-2025 11:59 PM
Do you want to retain the current level as manual setpoint whenever the mode goes from auto to man?
That should only require some very small changes to the existing code. What have you tried? Shouldn't take more than 10 seconds to modify! Do you fully understand the current code?
06-18-2025 09:10 AM
All you really need to do is update the manual control to the current level when in automatic mode. A local variable is OK for that.
(As I said, a 10 second modification 😄 )
Do you fully understand the rest of the code?
06-28-2025 12:58 PM
I have been trying to create a stop option, which is responsible for stopping the filling of the tank does not stop everything completely, and a recet option that serves me so that when quadno is activated is restarted if it is in stop starts to run from zero, if in automatic starts to fill from zero and if in manual starts to fill the manual from zero.
the problem lies that I could not make the stop because I can not design a logic that keeps frozen automatic filling with the last value recorded.
Any ideas?
06-29-2025 10:54 AM
@DonRoonin wrote:
I have been trying to create a stop option, which is responsible for stopping the filling of the tank does not stop everything completely, and a recet option that serves me so that when quadno is activated is restarted if it is in stop starts to run from zero, if in automatic starts to fill from zero and if in manual starts to fill the manual from zero.
None of this makes any sense to me. Can you repeat that in better words? Maybe write it in your native language and then use google translate before posting?
I don't se a quadno (square)?
Do you want a "pause" option maybe?
Please make a list of all possible states and how they depend on the user control.
You should not have controls with almost identical labels (stop vs. Stop) to avoid mistakes.
Also try to avoid silly things such as the following: