Flexible Encoder Output Status

Recovers the status of the referenced Flexible Encoder Output.

Block ID

Encoder Output Status

Library

motohawk_flexenc_lib

Description

Recovers the status of the referenced Flexible Encoder Output.

Signals

Status (uint8, enum)

The m-script motohawk_flexible_encoder_output_status_enum enumerates the status value.

Not Created (value=0)

A status of Not Created is typically returned when there is a problem with the resource that prevents its creation. This most commonly occurs when the referenced Flexible Encoder Output Definition has (None) as its Resource or the referenced Pattern has a bad status (which is communicated by the Flexible Encoder Pattern Status block.

Disabled (value=1)

Disabled is returned when the last execution of the Flexible Encoder Output Set block disabled the output.

Waiting (value=2)

The output is Waiting when the Flexible Encoder Output Set block has executed to signal that it is enabled, but the output is currently waiting on the active encoder. Waiting on the active encoder source to synchronize is the most common reason behind why a Waiting status would be returned.

Active (value=3)

The output is Active when the output is actively generating an output signal that reflects the specified pattern.

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 whose status is to be recovered.