Implementing a tank level controller using RTES
|
Variables |
Digital Output : PUMP Analog Input : LEVEL Set point registers : MIN, MAX |
|
Rules |
RULE PUMP=(PUMP!(LEVEL<MIN))&(LEVEL<MAX) |
|
Notes |
This is the same form as 3-wire Start/Stop (MEMORY). START and STOP are replaced by expressions. You may want to reduce the duty cycle of the pump, by making sure it only starts after it has cooled off for a time TIME (in seconds) RULE PUMP=(PUMP!COOL&(LEVEL<MIN))&(TEMP<MAX) RULE COOL=PUMP’dTIME If your pump has a temperature sensor in the winding, you may want to use that instead of an arbitrary time delay. RULE COOL=WINDTEMP<40 |