https://instrumentationtools.com/one-shot-rising-plc-example-program/
One Shot Rising PLC Example Program - InstrumentationTools