This function evaluates a input signal for different states in a certain amount of time.
The states are:
The Output signal is present for at least on cycle after the monitoring time has expired, or as long as the input trigger
remains TRUE
.
LGF_CountBooleanEdges (FB) | ||||||||
---|---|---|---|---|---|---|---|---|
Bool | trigger | single | Bool | |||||
Time | monitorTime | double | Bool | |||||
long | Bool | |||||||
severalEdges | Bool | |||||||
noOfEdges | USInt | |||||||
Identifier | Data type | Default value | Description |
---|---|---|---|
trigger | Bool | FALSE | Trigger to evaluate signal signal (rising edges) |
monitorTime | Time | T#1s | Time to monitor fand count edges on `trigger` input |
Identifier | Data type | Description |
---|---|---|
single | Bool | Single edge until monitoring time expires |
double | Bool | Two edges in between the monitoring time |
long | Bool | Just a single edge in the monitoring time, the `trigger` input stays TRUE after the edge appears |
severalEdges | Bool | Numeros Edges occure within the monitoring time, see `noOfEdges` to get the number of edges |
noOfEdges | USInt | Number of edges in between the monitoring time frame |
Version & Date | Change description | |
---|---|---|
01.00.00 | Simatic Systems Support | |
19.01.2021 | First released version |