Recovers the status of the referenced flexible encoder pattern definition. The pattern is considered invalid if a value other than zero is returned.
Get Encoder Pattern Status
motohawk_flexenc_lib
Recovers the status of the referenced flexible encoder pattern definition. The pattern is considered invalid if a value other than zero is returned.
Typically this block is used in conjunction with pattern definitions that support calibrated features. Such patterns may have bad data that prevents their use. The returned status will indicate whether a pattern is considered invalid by MotoHawk. The value can also provide a clue as to the cause.
The Encoder System block's active signal will report an error (-1) if an encoder pattern is used by the system that has been detected as invalid.
The m-script motohawk_flexible_encoder_pattern_status_enum enumerates the status value.
The pattern is only considered valid if a status of zero is returned.
The referenced pattern is considered invalid, but the specific cause has not been identified.
Tooth 0 of the referenced pattern must have a logical displacement value of zero. A non-zero value was detected.
The referenced pattern has at least one logical displacement values that is greater than or equal to 360.
The referenced pattern has at least one logical displacement value that is smaller than or equal to a preceeding tooth definition. Values should be monotomically increasing.
The tooth position of a key of the referenced pattern is larger than the number of teeth in the pattern. Tooth position should correspond to a tooth of the pattern.
The SetHalfCycleTooth attribute equals the ClrHalfCycleTooth attribute. The values need be different.
The ClrHalfCycleTooth attribute is larger than or equal to the number of teeth being used by the pattern.
The SetHalfCycleTooth attribute is larger than or equal to the number of teeth being used by the pattern.
Parameter Field | Values | Comments/Description |
---|---|---|
Pattern Definition Name | Alpha-numeric text, quote enclosed | The name of the Pattern Definition block whose status is to be recovered |
Copyright 2013 Woodward Corporation. All Rights Reserved. | Visit Us: mcs.woodward.com |