Pulse counter.
The inc
input increases the count
counter by 1.
The dec
input decreases the count
counter by 1.
Function Menu | Block Diagram |
---|---|
![]() |
![]() |
Name | Type | Description |
---|---|---|
inc |
bool |
Increment input. When the inc input transitions from 0 to 1, the count counter increases by 1. |
dec |
bool |
Decrement input. When the dec input transitions from 0 to 1, the count counter decreases by 1. |
reset |
bool |
Counter reset. When the reset input is 1, the count counter is reset to 0. |
threshold hi |
int32 |
Upper threshold. When the count counter reaches threshold hi , the hi output is set to 1. |
threshold lo |
int32 |
Lower threshold. When the count counter falls below threshold lo , the lo output is set to 1. |
Name | Type | Description |
---|---|---|
count |
int32 |
Counter value |
hi |
bool |
Set to 1 when the count counter ≥ threshold hi |
lo |
bool |
Set to 1 when the count counter ≤ threshold lo |
Not available