CTU
Counts upwards and signals reaching a counter limit.
Input
Name | Type | Description |
|---|---|---|
CU | BOOL | Rising edge increments counter value by 1. |
R | BOOL | TRUE resets the counter value to 0. |
PV | INT | Upper counter limit |
Output
Name | Type | Description |
|---|---|---|
Q | BOOL | TRUE, if CV ≥ PV |
CV | INT | Current counter value |