MotoHawk:Blocks:Main Power Relay Control
From MotoHawk
Jump to navigationJump to searchMain Power Relay Control
This MotoHawk™ block provides basic control of the the main power relay, by following the ECUP voltage input pin.
Block ID
Main Power Relay
Library
MotoHawk_lib/Extra Development Blocks
Description
Regardless of where the block is placed in a design, the strategy will execute every 50ms with background priority. Note that this block is simply composed of other primitive MotoHawk blocks and may be used as a starting point for a more complicated strategy. Note that one tick before MPRD is turned off, non-volatile variables will be stored, and the Shutdown event will be posted. It is not necessary to use the Shutdown event.
Block Parameters
Parameter Field | Values | Comments/Description |
---|---|---|
On Delay Count | Numeric value | Once the ECU power goes high, after this period the Main Power Relay will be turned on. |
Off Delay Count | Numeric Value | Once the ECU power goes low, after this period the Main Power Relay will be turned off. |
ECUP High Threshold | Numeric Value | Threshold in ADC Counts above which ECUP is considered high |
MotoTune Group | Alpha-numeric text | Determines Folder name and hierarchy as displayed in MotoTune. Use "|" character between folder names to delineate subfolder structure |