Diagnostic Blocks

From NewEagleWiki
Jump to navigation Jump to search

MotoHawk:Blocks:Force Push Pull Feedback Update

When triggered, this MotoHawk® block will force an update of the ADC value.

MotoHawk:Blocks:IO Fault Status

This MotoHawk® block provides access to the fault status for resources that have this generic interface implemented. This block can also be used in combination with the Fault Status Get block if the definition of the Fault Status needs to be separated from the accessor. 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.

MotoHawk:Blocks:IO Fault Status Get

This MotoHawk® block provides access to a fault status. The "Name" parameter must match a Fault Status resource in the model. There are a couple special cases. The Digital Out or PWM block which 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

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.

MotoHawk:Blocks:Push Pull Feedback

This MotoHawk® block provides access to the push pull feedback in ADC counts. This block can also be used in combination with the Push Pull Feedback Get block if the definition of the Fault Status needs to be separated from the accessor. The "Name" parameter can be empty. If it is, then the Name is inherited from the resource selected.

MotoHawk:Blocks:Push Pull Feedback Get

This MotoHawk® block provides access to the push pull feedback. The "Name" parameter must match a Push Pull Feedback resource in the model.