I/O Fault Status Definition
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 states: OK, Fault, and Indeterminate. The state of fault indicates that the driver is detecting a fault condition. States of OK or Indeterminate do not mean that there is no possiblility of a fault, rather, that the driver is not detecting or is not able to detect the faulted condition.
- OK: OK state indicates that the driver is not reporting a fault state. This is either because a fault is not occuring, or because the driver is not capable of detecting the fault
- Fault: Fault state indicates that the driver is indicating a fault condition
- Indeterminate: An Indeterminate state means that either the driver is not able to determine whether a fault is occuring or that fault detection is not supported.
"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 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. |