View Full Version : this program possible?
Is it possible to do the following:
if pH < 8.3 and Salinity < 1.026 and Tank Level is LOW and RO Level is OK, turn ON a pump?
Can you do these types of multi-variable checks?
kenargo
03/03/2008, 01:45 AM
Each test would be a separate statement but yes, it is possible. The way you program this is somewhat upside-down. You turn the pump 'ON' and then turn it off if any condition is not met. This would leave the pump 'on' only when all test conditions are correct.
Yes, this is possible. Here is the code:
If Time > 00:00 Then TOP ON
If Time > 08:00 Then TOP OFF
If pH > 8.3 Then TOP OFF
If Cond > 53.0 Then TOP OFF
If Switch1 OPEN Then TOP OFF
If Switch2 OPEN Then TOP OFF
Curt
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.