MotoHawk Blocks: Encoder Fault Status

From MotoHawk
Jump to navigationJump to search

Encoder Fault Status

This MotoHawk™ block returns the code for the last encoder fault that has occurred.

Block ID

motohawk_encoder_fault

Library

MotoHawk_lib/Encoder Blocks

Description

Encoder Fault.PNG

The encoder fault status indications are described below.

Block Parameters

This MotoHawk™ block has no user-definable parameters.

Status Description
0: No Fault Has Occurred Indicates no fault occurred.
1: Crank Synchronization Fault Indicates that the teeth sent do not match the tooth pattern as setup in the Encoder Definition block
2: Reverse Rotation Fault When the encoder pattern is rotating in reverse relative to the selected tooth pattern.
3: No Crank Edges Fault Indicates that no edges are seen on the Crank pins, but edges are seen on the CAM pins (only available when a CAM sensor is used).
4: No CAM Edges Fault Indicates that CAM edges are not being detected, but Crank teeth are visible.
5: CAM Synchronization Fault The CAM edges are not aligned properly to the Crank angle. Either the wrong pattern is being used (half-moon vs. single-tooth), or the CAM Delay calibration may need adjustment.
6: Encoder Sync error on Slave Only available in a dual redundant encoder system. This error is issued when a synchronization fault is detected on the slave encoder channel.
7: Reverse rotation on Slave. Only available in a dual redundant encoder system. This error is issued when the primary encoder source of the slave channel is indicating reverse rotation.
8: Primary Slave Encoder Loss. Only available in a dual redundant encoder system. This error is issued when no encoder edges are observed on the slave encoder.