MotoHawk:Blocks:Discrete Peak/Hold

From MotoHawk
Jump to navigationJump to search

DiscretePeak/Hold

The MotoHawk™ Discrete Peak/Hold block exposes the peak/hold behavior of hardware drivers that support dual load current thresholds. The dual current thresholds are nominally set to provide a "peak" current and a "hold" current.

Block ID

Discrete Peak/Hold

Library

MotoHawk_lib/Advanced Digital I/O

Description

DiscretePeakHold.PNG

Usage

The intent behind the Peak/Hold blocks is to expose the peak/hold behavior of hardware drivers that support dual load current thresholds. The dual current thresholds are nominally set to provide a "peak" current and a "hold" current. The higher "peak" current is initially applied to allow an injector or valve like load to "pull-in". The current requirements to "pull-in" an actuator are higher than the current required to keep an actuator "pulled-in". Thus the current in the load must be "peaked" to achieve "pull-in" and then "held" at a lower threshold to maintain actuator "pull-in".

The block's IsPeak signal allows a model to set the desired state of the current threshold. Supply TRUE to have the driver operate in its "peak" mode and set to FALSE to have the driver operate in the "hold" mode. The new mode is applied when the block executes.

A common usage of this block is to set the mode that driver shall always then operate in. For example, consider a load that does not require the higher currents afforded by the peak mode. The IsPeak signal of this block could be set to FALSE on start-up, which would configure the driver to then always operate in the lower current "hold" mode.

Block Parameters

Parameter Field Values Comments/Description
Resource Name Alpha-numeric text, single-quote enclosed References to the block shall use this name. Is optional.
Resource Drop-down list Select from available listings, as appropriate, to apply output.
Allow I/O pin to be calibrated Check box (enable) Name, Access Levels and Group Strings fields available
Variable Name Alpha-numeric text, single-quote enclosed This is the name used by the tool to calibrate the resource
Read Access Level 1-4 Sets security level 1 lowest, 4 highest, for user access to read value
Write Access Level 1-4 Sets security level 1 lowest, 4 highest, for user access to write value
Group String Alpha-numeric text, single-quote enclosed Determines Folder name and hierarchy for display in a tool like MotoTune. Use "|" character between folder names to delineate subfolder structure