Moog Animatics SmartMotor™ Developer's Guide,Rev. L
Page 428 of 909
ENCCTL(function,value)
Encoder Control
APPLICATION: Motion control
DESCRIPTION: Special configuration options for encoder
EXECUTION: Immediate
CONDITIONAL TO: Depends on sub-command; certain specific encoders apply
LIMITATIONS: N/A
READ/REPORT: N/A
WRITE: Write only
LANGUAGE ACCESS: N/A
UNITS: N/A
RANGE OF VALUES: Input: ENCCTL(function,value)
function:>= -1
value: See details in following table
TYPICAL VALUES: N/A
DEFAULT VALUE: N/A
FIRMWARE VERSION: 5.97.4.8 / 5.98.4.8 or later
COMBITRONIC: N/A
DETAILED DESCRIPTION:
The ENCCTL(function,value) command is used to set special configuration options for the
encoder. It has two input parameters:
l
function: specifies the configuration setting for the encoder
l
value: (where applicable) specifies the value to apply to the selected action
This command requires the absolute encoder option for the M-style motor. It does not apply to
the typical optical incremental encoder found in most SmartMotors.
NOTE: The D-style motor does not offer an ABS option.
Refer to the following table for details.
Part 2: Commands: ENCCTL(function,value)