RSFlipFlop
A basic RS Flip Flop
![]()
Library
Modelica/Blocks/Logical
Description
The output Q is set by the input S, is reset by the input R, and keeps its value in between. QI is the inverse of Q.
Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_Qini | Qini | Start value of Q at initial time | Scalar | true |

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | ||
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
Q | implicit | output | 1 | |
QI | implicit | output | 2 | |
S | implicit | input | 1 | |
R | implicit | input | 2 |