Any ideas for that logic?
If the ph of the reactor is > 6.5 (needs to be lowered/decreased) AND the tank ph is above 8.0 (needs to be lowered/decreased) then the CO2 socket will come on.
So use
Ok so if I created a Virtual for the tank PH call it PH3 and a Virtual for reactor PH call it PH4
PHP Code:
Set PH3 [tank] to 8.0
Set PH4 [reactor] to 6.5
Then setup the logic gate as:
Input 1 pH-value 4 Decrease
Inupt 2 pH-value 3 Decrease
Function = AND
This will result in: Tank ph > 8.0 AND reactor ph > 6.5 => CO2 on
Consequence: If tank ph < 8.0 OR reactor ph < 6.5 => CO2 off
I suggest, that´s what you need
Bookmarks