MotoHawk:Blocks:IO Fault Status
From MotoHawk
Jump to navigationJump to searchIO Fault Status
This MotoHawk™ block provides access to the fault status for resources that have this generic interface implemented.
Block ID
IO Fault Status
Library
MotoHawk_lib/Diagnostic Blocks
Description
The "Name" parameter can be empty. If it is, then the Name is inherited from the resource selected. The output port will report 1 of 3 values: 0 = OK 1 = Fault 2 = Indeterminate "motohawk_fault_status_enum" is a script that returns a cell array with that enumeration. It can be used in the Enumeration field of a probe to decode the return value of this block. Use this block in combination with the [FaultStatusGet.html I/O Fault Status Get] block if the definition of the Fault Status needs to be separated from the accessor.
Block Parameters
Parameter Field | Values | Comments/Description |
---|---|---|
Name | Alpha-numeric text, single-quote enclosed. | Provide the block name for reference. No special characters, such as spaces, dashes, commas (underscore allowed). |
Resource | Drop-down list | Select resource from available resources listed. |
Show Ports | Check box (enable) | Display block output port for use in model. |