Using tank level sensor to detect leaks
Using tank level sensor to detect leaks
(OP)
Just wrote my first function block program to monitor tank level in a batch process. The tank is incrementally filled over a 1 week period then gets processed and emptied manually. The Fill cycle is monitored by an ultrasonic level sensor using 4-20 mA input to a Crouzet PLC. I want to write a funciton block sequence that will notice and enable an alarm whenever the tank level decreases due to evaporation or leakage. Once the fill cycle begins, there should be no level decrease until the tank is completely full.
Does anyone know a "simple" way to do this using function blocks?
Does anyone know a "simple" way to do this using function blocks?





RE: Using tank level sensor to detect leaks
The only thing is that you'll get the alarm when you're emptying the tank. But there are ways to mask this depending on how the tank is being emptied.
RE: Using tank level sensor to detect leaks
RE: Using tank level sensor to detect leaks
You only need one PLC variable and you should set up an integer variable.
Then in the rung of ladder:
|---[TIMER COMPLETE]-----------(MOVE CURRENT_TANK_LEVEL TO PLC_INTEGER_VARIABLE]----|
RE: Using tank level sensor to detect leaks