FUNCTION_BLOCK E_F_DIV

Hover on a highlighted element
to see its description.

ALGORITHM COUNT_UP IN ST:
   COUNT := COUNT+1;
END_ALGORITHM
ALGORITHM RESET IN ST:
   COUNT := 0;
END_ALGORITHM

This function block performs event-driven frequency division; that is, one event occurs at the EO output for every N events at the EI input. The count cycle can be reset by an event at the R input.

The behavior of an instance of this type is defined by the Execution Control Chart (ECC) and algorithms shown above.