modelPartialSafetyWithCounter
Safety control which adds an error counter to the I/O
Extends from PartialSafety.
Information
This block counts the number of errors occurred in a specific safety block.
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Logical.Switch | swiErr | Switches to zero when an error occurs | |
| Modelica.Blocks.Sources.Constant | conZer | Constant zero | |
| Modelica.Blocks.MathInteger.TriggeredAdd | disErr | Used to show if the error was triggered | |
| Modelica.Blocks.Interfaces.IntegerOutput | err | Integer for displaying number of errors during simulation | |
| Modelica.Blocks.Logical.Not | notVal | =true indicates a error | |
| Modelica.Blocks.Sources.IntegerConstant | intConOne | Used for display of current error | |
| Modelica.Blocks.Routing.BooleanPassThrough | booPasThr | Used to keep the connection to the counter |
Revisions
-
November 26, 2018 by Fabian Wuellhorst:
First implementation (see issue AixLib #577)