https://instrumentationtools.com/examples-of-plc-programming-using-boolean-functions/
Examples of PLC Programming using Boolean Functions