Raptor-Dev-Faults: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(16 intermediate revisions by 5 users not shown)
Line 1: Line 1:
[[RaptorWiki|Return to the main Raptor page]]
{{DISPLAYTITLE:Raptor-Dev Faults Library}}
 
{{Navigation}} [[Raptor-Platform | Raptor Platform]] > [[Raptor-Dev]] > [[Raptor-Dev-Libraries | Raptor-Dev Library]] > '''Raptor-Dev Faults Library'''
[[Raptor:Essential Libraries|Return to the Essential Libraries page]]
 
[[File:RaptorFaults.png|right|frame|Raptor™ Faults]]
[[File:RaptorFaults.png|right|frame|Raptor™ Faults]]
<p>The blocks in this subsystem are used to define, configure, and access application faults.</p>
<p>The blocks in this subsystem are used to define, configure, and access application faults.</p>
Line 13: Line 11:
! scope="col" style="width: 60%;"| Description
! scope="col" style="width: 60%;"| Description
! scope="col" style="width: 25%;"| Appearance
! scope="col" style="width: 25%;"| Appearance
|-
! <h5>[[Raptor:Faults(OBD)|OBD]]</h5>
|<p>OBD Faults Library</p>
| [[File:RaptorFaultsOBD.png|link=Raptor:Faults(OBD)|245px|Raptor:Faults(OBD)|center]]
|-  
|-  
! <h5>[[Raptor:Fault Action|Fault Action]]</h5>
! <h5>[[Raptor:Fault Action|Fault Action]]</h5>
Line 45: Line 47:
| <p>This block defines a fault and set its status.  
| <p>This block defines a fault and set its status.  
This block has different input, output and parameters depending on the type of fault manager selected. For more detailed information use the links below, or place the block in a model with a fault manager and enter the blocks help.</p>
This block has different input, output and parameters depending on the type of fault manager selected. For more detailed information use the links below, or place the block in a model with a fault manager and enter the blocks help.</p>
| [[file:RaptorFaultDefinition.jpg|frameless|border|Fault Definition block|center]]
| [[file:RaptorStandardFaultDefinition.jpg|frameless|border|Fault Definition block|center]]
|-
! <h5>[[Raptor:Standard Fault Definition|Standard Fault Definition]]</h5>
| <p>This block defines a fault and set its status. The Raptor Fault Manager block must exist in the model to use this block.</p>
| [[file:RaptorStandardFaultDefinition.jpg|frameless|border|Standard Fault Definition block|center]]
|-
! <h5>[[Raptor:OBD Fault Definition|OBD Fault Definition]]</h5>
| <p>This block defines a fault and set its status. The Raptor Fault Manager block must exist in the model to use this block.</p>
| [[file:RaptorOBDFaultDefinition.jpg|frameless|border|OBD Fault Definition block|center]]
|-
|-
! <h5>[[Raptor:Fault Handle|Fault Handle]]</h5>
! <h5>[[Raptor:Fault Handle|Fault Handle]]</h5>
Line 62: Line 56:
| <p>This block causes the fault manager to be generated. The fault manager must exist only once in the model to enable the fault blocks to be used. There are different types of fault manager which contain different features and options. Currently supported types are Standard and OBD Fault Manager.</p>
| <p>This block causes the fault manager to be generated. The fault manager must exist only once in the model to enable the fault blocks to be used. There are different types of fault manager which contain different features and options. Currently supported types are Standard and OBD Fault Manager.</p>
| [[file:RaptorFaultManager.jpg|frameless|border|Fault Manager block|center]]
| [[file:RaptorFaultManager.jpg|frameless|border|Fault Manager block|center]]
|-
! <h5>[[Raptor:OBD Fault Manager|OBD Fault Manager]]</h5>
| <p>This block causes the OBD fault manager to be generated. The fault manager must exist only once in the model to enable the fault blocks to be used. The OBD fault manager is designed to aid in the implementation of an OBD compliant application. Inclusion of the OBD fault manager in the model does not necessarily make an application OBD compliant. There are different types of fault manager which contain different features and options. Currently supported types are Standard and OBD Fault Manager.</p>
| [[file:RaptorOBDFaultManager.jpg|frameless|border|OBD Fault Manager block|center]]
|-
! <h5>[[Raptor:Standard Fault Manager|Standard Fault Manager]]</h5>
| <p>This block causes the fault manager to be generated. The fault manager must exist only once in the model to enable the fault blocks to be used. There are different types of fault manager which contain different features and options. Currently supported types are Standard and OBD Fault Manager.</p>
| [[file:RaptorStandardFaultManager.jpg|frameless|border|Standard Fault Manager block|center]]
|-
|-
! <h5>[[Raptor:Fault Measurement|Fault Measurement]]</h5>
! <h5>[[Raptor:Fault Measurement|Fault Measurement]]</h5>
Line 78: Line 64:
| <p>This block outputs a null fault index. This can be useful for starting a fault iterator or comparison to the out coming index to determine the end of a search.</p>
| <p>This block outputs a null fault index. This can be useful for starting a fault iterator or comparison to the out coming index to determine the end of a search.</p>
| [[file:RaptorNullFault.jpg|frameless|border|Null Fault block|center]]
| [[file:RaptorNullFault.jpg|frameless|border|Null Fault block|center]]
|-
! <h5>[[Raptor:Fault Config|Fault Config]]</h5>
| <p>Outputs the value configuration settings for a specified fault.</p>
| [[file:RaptorFaultConfig.jpg|frameless|border|Null Fault block|center]]
|-
|-
! <h5>[[Raptor:Set Fault State|Set Fault State]]</h5>
! <h5>[[Raptor:Set Fault State|Set Fault State]]</h5>
Line 86: Line 76:
| <p>This block searches through all the faults which are in one of the specified states. The block begins searching at the next fault after the specified previous fault. If the previous fault input is set to the null fault the search will begin at the start of the fault list. When the block reaches the end of the fault list without finding any faults causing the action to be true it will output the null fault. This can be used as a stop condition if executing this block in a while loop to iterate through a sequence of faults. This block has different input, output and parameters depending on the type of fault manager selected. For more detailed information use the links below, or place the block in a model with a fault manager and enter the blocks help.</p>
| <p>This block searches through all the faults which are in one of the specified states. The block begins searching at the next fault after the specified previous fault. If the previous fault input is set to the null fault the search will begin at the start of the fault list. When the block reaches the end of the fault list without finding any faults causing the action to be true it will output the null fault. This can be used as a stop condition if executing this block in a while loop to iterate through a sequence of faults. This block has different input, output and parameters depending on the type of fault manager selected. For more detailed information use the links below, or place the block in a model with a fault manager and enter the blocks help.</p>
| [[file:RaptorFaultStateIterator.jpg|frameless|border|Fault State Iterator block|center]]
| [[file:RaptorFaultStateIterator.jpg|frameless|border|Fault State Iterator block|center]]
|-
! <h5>[[Raptor:Standard Fault State Iterator|Standard Fault State Iterator]]</h5>
| <p>This block searches through all the faults which are in one of the specified states. The block begins searching at the next fault after the specified previous fault. If the previous fault input is set to the null fault the search will begin at the start of the fault list. When the block reaches the end of the fault list without finding any faults causing the action to be true it will output the null fault. This can be used as a stop condition if executing this block in a while loop to iterate through a sequence of faults.</p>
| [[file:RaptorStandardFaultStateIterator.jpg|frameless|border|Standard Fault State Iterator block|center]]
|-
! <h5>[[Raptor:OBD Fault State Iterator|OBD Fault State Iterator]]</h5>
| <p>This block searches through all the faults which are in one of the specified states. The block begins searching at the next fault after the specified previous fault. If the previous fault input is set to the null fault the search will begin at the start of the fault list. When the block reaches the end of the fault list without finding any faults causing the action to be true it will output the null fault. This can be used as a stop condition if executing this block in a while loop to iterate through a sequence of faults.</p>
| [[file:RaptorOBDFaultStateIterator.jpg|frameless|border|OBD Fault State Iterator block|center]]
|-
|-
! <h5>[[Raptor:Fault Status|Fault Status]]</h5>
! <h5>[[Raptor:Fault Status|Fault Status]]</h5>
| <p>This block outputs the status of the specified fault. This block has different input, output and parameters depending on the type of fault manager selected. For more detailed information use the links below, or place the block in a model with a fault manager and enter the blocks help.</p>
| <p>This block outputs the status of the specified fault. This block has different input, output and parameters depending on the type of fault manager selected. For more detailed information use the links below, or place the block in a model with a fault manager and enter the blocks help.</p>
| [[file:RaptorFaultStatus.jpg|frameless|border|Fault Status block|center]]
| [[file:RaptorFaultStatus.jpg|frameless|border|Fault Status block|center]]
|-
! <h5>[[Raptor:OBD Fault Status|OBD Fault Status]]</h5>
| <p>This block outputs the status of the specified fault.</p>
| [[file:RaptorOBDFaultStatus.jpg|frameless|border|OBD Fault Status block|center]]
|-
! <h5>[[Raptor:Standard Fault Status|Standard Fault Status]]</h5>
| <p>This block outputs the status of the specified fault.</p>
| [[file:RaptorStandardFaultStatus.jpg|frameless|border|Standard Fault Status block|center]]
|-
|-
! <h5>[[Raptor:Fault Trigger|Fault Trigger]]</h5>
! <h5>[[Raptor:Fault Trigger|Fault Trigger]]</h5>

Latest revision as of 18:02, 14 September 2023

New Eagle > Products Wiki > Raptor Platform > Raptor-Dev > Raptor-Dev Library > Raptor-Dev Faults Library

Raptor™ Faults

The blocks in this subsystem are used to define, configure, and access application faults.

Blocks

Block Description Appearance
OBD

OBD Faults Library

Raptor:Faults(OBD)
Raptor:Faults(OBD)
Fault Action

This block defines a fault action. The fault action can be mapped to the any fault and any state. This block can be used to check if any of the faults are in a state as defined by the fault action map.

Fault Action block
Fault Action block
Fault Action Iterator

This block searches through all the faults which are causing a fault action to be true. The block begins searching at the next fault after the specified previous fault. If the previous fault input is set to the null fault the search will begin at the start of the fault list. When the block reaches the end of the fault list without finding any faults causing the action to be true it will output the null fault. This can be used as a stop condition if executing this block in a while loop to iterate through a sequence of faults.

Fault Action Iterator block
Fault Action Iterator block
Fault Action Read

This block reads the value of a fault action that has already been defined by a Fault Action block. This allows the fault action to be read in multiple locations in the model. A Raptor Fault Action block must exist in the model which defines the fault action.

Fault Action Read block
Fault Action Read block
Clear Faults

This block resets the state of a fault to Not Occurred. This block can be used to reset a single fault or all faults.

Clear Faults block
Clear Faults block
Fault Data Definition

This block defines a fault data store. This will create a data store which contains a unique value for each fault. This can be used to manage data items that must be associated with each fault.

Fault Data Definition block
Fault Data Definition block
Fault Data Read

This reads the value of a fault data store for a single fault. The data store must be defined with a fault data definition block.

Fault Data Read block
Fault Data Read block
Fault Data Write

This writes the value of a fault data store for a single fault. The data store must be defined with a fault data definition block.

Fault Data Write block
Fault Data Write block
Fault Definition

This block defines a fault and set its status. This block has different input, output and parameters depending on the type of fault manager selected. For more detailed information use the links below, or place the block in a model with a fault manager and enter the blocks help.

Fault Definition block
Fault Definition block
Fault Handle

This block outputs a fault index for the specified fault.

Fault Handle block
Fault Handle block
Fault Manager

This block causes the fault manager to be generated. The fault manager must exist only once in the model to enable the fault blocks to be used. There are different types of fault manager which contain different features and options. Currently supported types are Standard and OBD Fault Manager.

Fault Manager block
Fault Manager block
Fault Measurement

This block behaves similar to the Raptor Measurement block and is used to display a value in the calibration tool. This block can be used to display the enumerated value of a fault index in the calibration tool. The proper enumeration definition will automatically be generated to convert the incoming fault index into the name of the fault.

Fault Measurement block
Fault Measurement block
Null Fault

This block outputs a null fault index. This can be useful for starting a fault iterator or comparison to the out coming index to determine the end of a search.

Null Fault block
Null Fault block
Fault Config

Outputs the value configuration settings for a specified fault.

Null Fault block
Null Fault block
Set Fault State

This block allows the individual states of faults to be set or cleared.

Set Fault State block
Set Fault State block
Fault State Iterator

This block searches through all the faults which are in one of the specified states. The block begins searching at the next fault after the specified previous fault. If the previous fault input is set to the null fault the search will begin at the start of the fault list. When the block reaches the end of the fault list without finding any faults causing the action to be true it will output the null fault. This can be used as a stop condition if executing this block in a while loop to iterate through a sequence of faults. This block has different input, output and parameters depending on the type of fault manager selected. For more detailed information use the links below, or place the block in a model with a fault manager and enter the blocks help.

Fault State Iterator block
Fault State Iterator block
Fault Status

This block outputs the status of the specified fault. This block has different input, output and parameters depending on the type of fault manager selected. For more detailed information use the links below, or place the block in a model with a fault manager and enter the blocks help.

Fault Status block
Fault Status block
Fault Trigger

This block defines a fault trigger. The fault trigger can be mapped to the any fault event (entering or leaving each fault state). This block can be used to execute code when a fault enters or leaves a particular state. For example to alert the operator when a fault becomes active.

Fault Trigger block
Fault Trigger block
Fault State Count

This block counts all the faults which are in any of the specified states.

Fault Action Count block
Fault Action Count block