Edge Detector
Detection of a change in the state of a logic signal.
blockType: SubSystem
Path in the library:
|
Description
The Edge Detector unit outputs a pulse when a change in the logic input signal is detected.
The Edge Detector block can detect a rising edge (when the input goes from false to true), falling edge (when the input goes from true to false), or any other edge (any change in the input is detected).
Parameters
Parameters
#
Edge detection —
front detection
Rising
| Falling
| Either
Details
Select the detection criterion that triggers the output pulse. Options to select:
-
Rising
(By default); -
Falling
; -
Either
.
Values |
|
Default value |
|
Program usage name |
|
Evaluatable |
Yes |
# Initial condition of previous input — initial state of the previous input
Details
Specify the initial value of the previous input. The Edge Detector Unit can detect a rising edge at , if the input is different from the specified value.
Default value |
|
Program usage name |
|
Evaluatable |
Yes |
# Sample time — interval between calculation steps (-1 for inherited ones)
Details
Specify the block sampling period, in seconds. Set 0
to realise a continuous block.
Default value |
|
Program usage name |
|
Evaluatable |
Yes |