MotoHawk:Blocks:One Shot Output Set

From MotoHawk
Jump to navigationJump to search

One Shot Output Set

Use one or more placements of this MotoHawk™ block to control the triggering of an existing [OneShotOutput.html One Shot Output Definition] block.

Block ID

One Shot Output Set

Library

MotoHawk_lib/Advanced Digital I/O

Description

One Shot OutputSet.PNG

Choose the name of an existing [OneShotOutput.html One Shot Output Definition] block to reference (one such block must be defined in the model to use this block). Use the Duration input to specify the length of the pulse (or added duration) in microseconds.

When the Trigger input is TRUE during occurrence of the subsystem trigger, a one-shot digital pulse is generated at the selected target resource (see [OneShotOutput.html One Shot Output Definition] block) for the requested duration. Supply a Boolean true to the Cancel input to immediately discontinue the current trigger output, and disable any further requested output while the Cancel input is TRUE.

If a one-shot is currently being processed, any newly triggered one-shot's duration is added to the remaining count of the current output. Duration can thus be accumulated until a maximum value is reached.

Block Parameters

Parameter Field Values Comments/Description
Name Alpha-numeric text, single-quote enclosed Enter the exact name listed in the One Shot Output Definition block to reference the one-shot output.