Difference between revisions of "HANcoder/STM32/Blocks/Store Error"

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Jump to: navigation, search
(Created page with "{{HANcoder/block| info= When this block is triggerd, an error wil be stored to RAM. If the error is already present in RAM, its occurrence counter will be incremented and the...")
 
Line 12: Line 12:
  
 
}}
 
}}
 +
 +
{| class="wikitable"
 +
|-
 +
! style="width:150px" | Parameter
 +
! Description
 +
|-
 +
| Use inports
 +
| Instead of using a fixed error code and error parameter (see below), it is possible to use input port to the block to specify the error code and error parameter.
 +
|-
 +
|Error code
 +
|The error code (ID) that needs to be stored when this block is triggered can be specified .
 +
|-
 +
|Error parameter
 +
|The error parameter of the error that needs to be stored when this block is triggered can be specified.
 +
|}

Revision as of 09:39, 5 April 2017

Supported Targets: Olimexino, E407, P405

General information about Store Error

When this block is triggerd, an error wil be stored to RAM. If the error is already present in RAM, its occurrence counter will be incremented and the time stamp will be updated. If the error occurs for the first time (and only then) since startup (and therefor is not present in the RAM) it will also be stored in EEPROM.

Block

StoreError.png

Mask

StoreErrorMask.png

Parameter Description
Use inports Instead of using a fixed error code and error parameter (see below), it is possible to use input port to the block to specify the error code and error parameter.
Error code The error code (ID) that needs to be stored when this block is triggered can be specified .
Error parameter The error parameter of the error that needs to be stored when this block is triggered can be specified.