BooleanNetwork1

Demonstrates the usage of blocks from Modelica.Blocks.MathBoolean

Diagram

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This example demonstrates a network of Boolean blocks from package Modelica.Blocks.MathBoolean. Note, that

  • at the right side of the model, several MathBoolean.ShowValue blocks are present, that visualize the actual value of the respective Boolean signal in a diagram animation ("green" means "true").
  • the Boolean values of the input and output signals are visualized in the diagram animation, by the small "circles" close to the connectors. If a "circle" is "white", the signal is false. If a "circle" is "green", the signal is true.

Components (27)

showValue

Type: BooleanValue

and1

Type: And

booleanPulse1

Type: BooleanPulse

booleanPulse2

Type: BooleanPulse

booleanStep

Type: BooleanStep

or1

Type: Or

xor1

Type: Xor

showValue2

Type: BooleanValue

showValue3

Type: BooleanValue

nand1

Type: Nand

or2

Type: Nor

showValue4

Type: BooleanValue

nor1

Type: Not

onDelay

Type: OnDelay

rising

Type: RisingEdge

set1

Type: MultiSwitch

falling

Type: FallingEdge

booleanTable

Type: BooleanTable

changing

Type: ChangingEdge

triggeredAdd

Type: TriggeredAdd

integerConstant

Type: IntegerConstant

showValue1

Type: IntegerValue

showValue5

Type: BooleanValue

showValue6

Type: BooleanValue

rSFlipFlop

Type: RSFlipFlop

sampleTriggerSet

Type: SampleTrigger

sampleTriggerReset

Type: SampleTrigger