RTriggerTypeFlipFlop

Navigation:  Library > Signal > Logical > Real >

RTriggerTypeFlipFlop

Previous pageReturn to chapter overviewNext page

Library

Signal\Logical\Real

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)

 

with

 

false

true

inputs

<= 0.5

> 0.5

output

0

1

 

Interface

Port name

Data type

Description

Range

Inputs



 

control

boolean

control input

<= 0.5 / > 0.5

Outputs



 

output

boolean

output

1 or 0

Parameters



 

initial

boolean

initial output

<= 0.5 / > 0.5

 

Restrictions

This block operates with real inputs. Boolean inputs can also be used but will lead to a warning during processing.