Encoder State Trigger

This MotoHawk™ block triggers whenever the encoder state changes, such as from ZERO_SPEED to POSN_UNKNOWN.

Block ID

motohawk_encoder_state_trigger

Library

MotoHawk_lib/Encoder Blocks

Description

The triggered subsystem may use the MotoHawk Encoder State block to get the value of the new state.

Block Parameters

Parameter Field Values Comments/Description
Trigger Name Alpha-numeric text, single-quote enclosed Set the text that will be appended to code generated function name. This is useful when using a difference tool to compare the difference from one build to another. If this is left as an empty cell the appended value will be generated at build time, and can change from build to build.
Allow placement of trigger inside another triggered subsystem Check box (enable) Enable to allow placement of trigger inside another triggered subsystem.