In this video you can find a comprehensive Codesys sample project that contains ON/OFF level control. Tank level dynamic is simulated by a function block and whole the programm is written by Structured Text (ST). Finally by designing an interface in Codesys visulization you can control the Auto/Manual mode, Setpoint level, dead zone (Hysteresis), the charging pump and discharge valve.
#onoff #codesys #control #controller #level #programming #deadzone #hysteresis #visualization #sample #simulation #function #structured_text_programming #st #automation #pump #discharge