MotoHawk:Blocks:IO Fault Status Get
From MotoHawk
Jump to navigationJump to searchI/O Fault Status Get
This MotoHawk™ block provides access to a fault status.
Block ID
IO Fault Status Get
Library
MotoHawk_lib/Diagnostic Blocks
Description
The "Name" parameter must match a I/O Fault Status resource in the model. There are a couple special cases; the Digital Out or PWM block provide a "Output Fault Status" option. This block can be used in conjunction with those blocks if the "Output Fault Status" checkbox is checked.
The output port will report 1 of 3 values:
0 = OK
1 = Fault
2 = Indeterminate
Note that "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.
Block Parameters
Parameter Field | Values | Comments/Description |
---|---|---|
Name | Alpha-numeric text, single-quote enclosed. | Identify the Fault by name, matching an existing Fault Status resource in the model. No special characters, such as spaces, dashes, commas (underscore allowed). |