In a filling process when the low sensor no longer detects the liquid the filling begins. When the liquid reaches the upper sensor, it stops the process.
In a draining process when the high sensor detects the liquid the drain begains. When the liquid reaches the lower sensor, it stops the process.
Stedham Electronics offers Process Control Products
which make setup very easy. We also offer various sensor types for this application: