Raptor:Fault Trigger: Difference between revisions

From NewEagleWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[RaptorWiki|Return to the main Raptor page]]
[[Raptor-Platform|Return to the main Raptor page]]


[[Raptor:Faults|Return to Faults page]]
[[Raptor:Faults|Return to Faults page]]
Line 8: Line 8:
<p>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.</p>
<p>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.</p>


== Inputs ==
{| class="wikitable" style="width:75%;"
|-
! scope="col" style="width: 15%;"|Input
! scope="col" style="width: 15%;"|Type
! scope="col" style="width: 70%;"|Description
|}


== Outputs ==
== Outputs ==
Line 46: Line 39:
|  
|  
| When checked the trigger block will continue to operate even if the subsystem in which it is contained is disabled.
| When checked the trigger block will continue to operate even if the subsystem in which it is contained is disabled.
|-
! Global Trigger
|
| When this checkbox is selected, this fault trigger gets additional options to select type of fault and edge trigger. Once configured, this Fault Trigger will activate when these conditions are met by ANY Raptor fault, model-wide.
|-
! State Transition to Trigger On
|
| Select which sate will trigger the global trigger.
|-
! Edge
|
| Select 'Rising' to trigger when when entering the selected state. Select 'Falling' to trigger when leaving the selected state.
|}
|}
== Supported Versions ==
* [[Raptor:Versions#2013a_0.0.1|Raptor 2013a_0.0.1]] and newer

Latest revision as of 18:31, 13 September 2023

Return to the main Raptor page

Return to Faults page

Raptor™ Fault Trigger

Description

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.


Outputs

Output Type Description
Fn FnCall Function call output when triggered.
Fault Index of fault which caused the trigger.

Parameters

Parameter Type Description
Fault Trigger Name String Defines the name of the fault trigger. Must be a valid C identifier.
Always enabled even when containing system is disabled. When checked the trigger block will continue to operate even if the subsystem in which it is contained is disabled.
Global Trigger When this checkbox is selected, this fault trigger gets additional options to select type of fault and edge trigger. Once configured, this Fault Trigger will activate when these conditions are met by ANY Raptor fault, model-wide.
State Transition to Trigger On Select which sate will trigger the global trigger.
Edge Select 'Rising' to trigger when when entering the selected state. Select 'Falling' to trigger when leaving the selected state.