RTriggerTypeFlipFlop

Navigation:  Library > Signal > Logical > Boolean >

RTriggerTypeFlipFlop

Previous pageReturn to chapter overviewNext page

Library

Signal\Logical\Boolean

Use

Domains: Discrete, Continuous. Size: 1-D. Allowed in: Block Diagrams.

Implementations

This model has a continuous-time and a discrete-time implementation.

Continuous
Discrete

Description

Initially the output is equal to the parameter initial. Otherwise the output signal is changed each time the control input changes from false to true (rising edge of the control input):

 

output = not oldoutput; (oldcontrol = false and control = true)

output = oldoutput; (otherwise)

 

Interface

Port name

Data type

Description

Range

Inputs



 

control

boolean

control input

false/true

Outputs



 

output

boolean

output

false/true

Parameters



 

initial

boolean

initial output

false/true

 

Restrictions

This block operates with boolean inputs. Real of integer inputs can also be used but will lead to a warning during processing. Be careful with using real or integer inputs: A value of 0.0 is converted to false, any other value is converted to true.