Flexible Encoder Output Set

Allows the developer to control aspects of the referenced Flexible Encoder Output.

Block ID

Encoder Output Set

Library

motohawk_flexenc_lib

Description

Allows the developer to control aspects of the referenced Flexible Encoder Output, specifically whether it is enabled and the phase of the generated encoder signal relative to the active encoder source.

Signals

Enable (boolean)

Controls whether the output is able to generate the referenced pattern.

The output will idle in the complement of the Critical Edge Action state if the enable signal is set to false. Thus if the Critical Edge Action state is set to assert then a disabled output will deassert the output.

The output is only able to actively generate an encoder pattern when it is enabled, which is achieved by setting the enable signal to true.

Phase (x16degCA, int16)

The phase signal allows the relative relationship between the generated pattern and the active encoder source to be controlled.

A positive value will locate tooth#0 of the generated pattern so that it will precede the tooth#0 of the pattern being observed by the active encoder source by phase crank angle degrees. A negative value will locate tooth#0 of the generated pattern after tooth#0 of the pattern being observed by the active encoder source.

Block Parameters

Parameter Field Values Comments/Description
Flexible Encoder Output Name Single quote enclosed alpha-numeric text The name of the Flexible Encoder Output Definition block to be affected by the set.