Y_YA_CTD_Retained
Function block to count down and retain the counter value.
Parameters
| * | Parameter | Data Type | Description | Default |
|---|---|---|---|---|
| VAR_IN_OUT | ||||
| B | CV | INT | Counter Value | |
| VAR_INPUT | ||||
| B | CD | BOOL | Trigger that causes the counter to decrement. | FALSE |
| V | LOAD | BOOL | If TRUE, the counter is initialized with PV. If FALSE, counting is enabled | FALSE |
| V | PV | INT | Preset Value | INT#0 |
| VAR_OUTPUT | ||||
| V | Q | BOOL | TRUE if CV = 0 | |