Using IEC61131 FB in Trio
AN-373 Using FB in Ladder
This document shows ho to to add Rising Edge, Flip-Flop and Timer functions to a Ladder program.