EDGE – Falling/rising edge detection in a binary signal

Block SymbolLicensing group: STANDARD
PIC

Function Description
The EDGE block detects rising (off on) and/or falling (on off) edges in the binary input signal U. The type of edges to detect is determined by the iedge parameter. As long as the input signal remains constant, the output Y is off. In the case when an edge corresponding with the iedge parameter is detected, the output Y is set to on for one sampling period.

Input

U

Logical input of the block

Bool

Output

Y

Logical output of the block

Bool

Parameter

iedge

Type of edges to detect  1

Long (I32)

1 ....

Rising edge

2 ....

Falling edge

3 ....

Both edges

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