This example shows how to use an up counter and trigger events based upon the actual count value. When the ENABLE is true and RESET is false, for each low to high transitiion on GPI1, the counter will increment by one. When the count of 25 is achieved, the IND25 output will be true. When the count of 50 is achieved, the counter will be reset and will start from zero.
AN-107.pdf, Application Programs AN-107_EBB.dld, AN-107_HEC.dld, AN-107_PCS.dld, AN-107_SI.dld