Function Block CTU

The Function Block CTU counts upwards.

Input CU

On a positive edge, the output CV is counted up.

Input RESET

If the input is true, the output CV is reset to 0.

Input PV

Defines the limit value for the output Q as a number. The counter CV is not limited in this case.

Output Q

The output is true when the output CV is greater than or equal to PV.

Output CV

The output defines the counter.