Difference between revisions of "HANcoder/STM32/Blocks/Total Errors"
From OpenMBD
(Created page with "{{HANcoder/block| info= The number active or stored errors is given, including the highest occurring severity level, assuming that the error's parameter was used for a severi...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 10: | Line 10: | ||
TotalErrorsMask.png | TotalErrorsMask.png | ||
+ | }} | ||
+ | |||
+ | |||
+ | == Block outputs (outports) == | ||
+ | Output 1: Total number of errors, the number of different error codes that are currently active/stored.(uint8)<br/> | ||
+ | Output 2: Highest occurring severity. With this output it can be easily checked if the software should for example go to a safe mode.(uint8)<br/> | ||
+ | |||
+ | == Block parameters == | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! style="width:150px" | Parameter | ||
+ | ! Description | ||
+ | |- | ||
+ | | Active or stored error | ||
+ | | The kind of error to be cleared. Active errors are still active at the moment and stored errors have happened before, although they could still be active. | ||
+ | |- | ||
+ | |Sample time | ||
+ | |Sample time of the block. The Sample time (in seconds) defines the rate at which the block is visited by the real-time scheduler of the target. The value of the Sample time has to be an integer multiple of the base sample time of the model. | ||
+ | |} | ||
+ | |||
+ | == Examples == | ||
+ | [[HANcoder/Examples/Error_Handling| Error Handling ]] | ||
+ | |||
+ | {{HANcoder/BlockFooter| | ||
+ | |SeeAlso = [[HANcoder/STM32/Blocks/Delete_Error|Delete error]] {{!}} [[HANcoder/STM32/Blocks/Clear_Errors|Clear errors]] {{!}} [[HANcoder/STM32/Blocks/Read_Active_Error| Read active error ]]{{!}} [[HANcoder/STM32/Blocks/Read_Stored_Error| Read stored error ]] {{!}} [[HANcoder/STM32/Blocks/Search_Active_Error| Search active error ]] {{!}} [[HANcoder/STM32/Blocks/Search_Stored_Error| Search stored error ]] {{!}} [[HANcoder/STM32/Blocks/Store_Error| Store error ]] | ||
}} | }} |
Latest revision as of 10:19, 5 May 2017
Supported Targets: Olimexino, E407, P405
Contents
General information about Total Errors
The number active or stored errors is given, including the highest occurring severity level, assuming that the error's parameter was used for a severity level.
Block
Mask
Block outputs (outports)
Output 1: Total number of errors, the number of different error codes that are currently active/stored.(uint8)
Output 2: Highest occurring severity. With this output it can be easily checked if the software should for example go to a safe mode.(uint8)
Block parameters
Parameter | Description |
---|---|
Active or stored error | The kind of error to be cleared. Active errors are still active at the moment and stored errors have happened before, although they could still be active. |
Sample time | Sample time of the block. The Sample time (in seconds) defines the rate at which the block is visited by the real-time scheduler of the target. The value of the Sample time has to be an integer multiple of the base sample time of the model. |
Examples
See Also
Delete error | Clear errors | Read active error | Read stored error | Search active error | Search stored error | Store error