https://instrumentationtools.com/control-algorithms-in-plc-programming/
Control Algorithms in PLC Programming