Counter instructions
Body
This example uses variables. You may also use constants for the input variables. Each rising edge
detected at count_contact the value 1 is subtracted from the elapsed value EV. Signal_output is
set to TRUE if the elapsed value EV becomes zero.
LD
704