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.

"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.