Raptor:Fault Trigger
Jump to navigation
Jump to search
Return to the main Raptor page
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. |