
The Function Block CTUD counts up and down.
On a positive edge, the output CV is counted up.
On a positive edge, the output CV is counted down to 0.
If the input is true, the output CV is reset to the value of the input PV.
If the input is true, the output CV is reset to 0. This input has priority over LOAD.
Defines the limit value for the output QU as a number. The counter CV is not limited upwards in this process.
Simultaneously defines the initial value for the output CV as a number.
The output is true when the output CV is greater than or equal to PV.
The output is true when the output CV equals 0.
The output defines the counter.