Counter Elements
CTU
Image

Description
Every rising trigger of CU increases the current value (CV) by one. The rising trigger of R resets CV to 0. If CV >= PV: Q gets TRUE.
Properties
CU | Boolean |
R | Boolean |
PV | Integer |
Q | Boolean |
CV | Integer |
Add Inputs | No Inputs Addable |
Add Outputs | No Outputs Addable |
CTD
Image

Description
Every rising trigger of CD decreases the current value (CV) by one. The rising trigger of LD loads PV to CV. If CV <= 0: Q gets TRUE.
Properties
CU | Boolean |
LD | Boolean |
PV | Integer |
Q | Boolean |
CV | Integer |
Add Inputs | No Inputs Addable |
Add Outputs | No Outputs Addable |
CTUD
Image

Description
The CTUD-Element is a combination of the CU-Element and the CD-Element. Every rising trigger of CU increases the current value (CV) by one. Every rising trigger of CD decreases the current value (CV) by one. The rising trigger of R resets CV to 0. The rising trigger of LD loads PV to CV. If CV >= PV: Q gets TRUE. If CV <= 0: QD gets TRUE.
Properties
CU | Boolean |
CD | Boolean |
R | Boolean |
LD | Boolean |
PV | Integer |
QU | Boolean |
QD | Boolean |
CV | Integer |
Add Inputs | No Inputs Addable |
Add Outputs | No Outputs Addable |