On-Off Delay
Page in progress. |
Delayed logic signal.
blockType: SubSystem
Path in the library:
|
Description
The On-Off Delay block applies a delay to the input logic signal.
A time delay is added when a transition is detected in the input signal. This block allows you to add a time delay to the input signal when:
-
An on transition (change in the input signal from
0
to1
) is detected. -
An off transition is detected (change in input signal from
1
to0
). -
Any of the transitions is detected.
The operation of the on-off delay is shown in the figure.
Parameters
Main group
# ON delay time, s — input delay time when switching on
Details
Specify the delay time when the input signal changes from 0
to 1
.
Default value |
|
Program usage name |
|
Evaluatable |
Yes |
# OFF delay time, s — input delay time when switching off
Details
Specify the delay time when the input signal changes from 1
to 0
.
Default value |
|
Program usage name |
|
Evaluatable |
Yes |
# Initial state — initial signal state
Details
Specify the initial state (0
or 1
).
Default value |
|
Program usage name |
|
Evaluatable |
Yes |
# Sample time — interval between calculation steps
Details
The time between successive executions of the block. During execution, the block produces output data and updates its internal state if necessary.
For discrete time operation, set the parameters Sample time to a positive value. For continuous time operation, set the parameters Sample time to 0
.
Default value |
|
Program usage name |
|
Evaluatable |
Yes |