← Process Control

Tank Fill

medium

Bang-bang controller for a tank fill valve with configurable deadband.

What it teaches

Latched bang-bang control: valve opens when level < setpoint - deadband, closes when level >= setpoint. The output is a latch driven by two thresholds. Teaches the canonical fill-controller pattern that every tank, hopper, and bin uses.

Parameters

TagDirectionTypeDefaultDescription
In_LevelInputREAL50Current tank level
Cfg_SetpointInputREAL100Target fill level
Cfg_DeadbandInputREAL10Deadband below setpoint to start filling
Out_ValveOutputBOOL0Fill valve command signal

Required behavior