EDGE – Falling/rising edge detection in a binary signal

Block SymbolLicensing group: STANDARD
PIC

Function Description
The EDGE block detects rising (off on), falling (on off), or both edges on the input signal U, depending on the value of the iedge parameter. In case the desired edge (change in input signal) is found, the output Y is set to on for one step. As long as the value of the input signal remains unchanged, the output Y equals off. The output Y will also remain zero if the iedge parameter is set to detect a rising (falling) edge and a falling (rising) edge occurs in the signal.

This block propagates the signal quality. More information can be found in the 1.4 section.

Input

U

Logical input of the block

Bool

Parameter

iedge

Type of edges to detect  1

Long (I32)

1 ....

Rising edge

2 ....

Falling edge

3 ....

Both edges

Output

Y

Logical output of the block

Bool

2024 © REX Controls s.r.o., www.rexygen.com