logMonoFlop
Connection diagram
| logMonoFlop |
| trigger |
|
|
|
out |
| cycles |
|
|
|
invOut |
| time |
|
|
|
|
| |
|
|
|
|
| |
Description
Monostable flipflop with trigger and timing inputs.
Set to true by trigger input, returns to false after a delay that can be set with cycles or time input.
Component behavior can be preset by following arguments:
| restart | Set retriggerable mode |
false | : ignore trigger input until delay cycle is over (default) |
| | true | : trigger input can restart delay cycle any time |
| trigger | Trigger mode |
edge | : trigger on transition from false to true (default) |
| | value | : trigger on state true |
Inputs
trigger
Set output to true and starts delay cycle. Input behavior can be preset with arguments, see description.
cycles
Sets hold time to n process cycles.
time
Sets hold time to n seconds.
Outputs
out
Monostable output set by trigger, reset after programmed delay.
invOut
Inverted function of output.
Example
<!--
Monoflop with a delay time of 2.5 seconds
Output will go to false after 2.5 seconds, regardless of trigger input state.
-->
<logMonoFlop>
<wire from="startButton.out" to="trigger"/>
<wire from="#2.5" to="time"/>
</logMonoFlop>
<!--
Monoflop with a delay time of 2.5 seconds.
Output will be true as long as trigger input is true and go to false
2,5 seconds after trigger input goes to false.
-->
<logMonoFlop restart="true" trigger="value" >
<wire from="startButton.out" to="trigger"/>
<wire from="#2.5" to="time"/>
</logMonoFlop>
<< Previous | Top level | Up level | Next >>