Optima DMC-1xxx and DMC-18x2 Command Reference
AF
i
16
AF
FUNCTION: Analog Feedback
DESCRIPTION:
The Analog Feedback (AF) command is used to set an axis with analog feedback instead of
digital feedback (quadrature/pulse + dir). The analog feedback is decoded by a 12-bit
A/D converter where TP reads from -2048 (-10V) to 2047 (10V). An option is available
for 16-bits where an input voltage of 10 volts is decoded by TP as a position of 32,768
counts and a voltage of -10 volts corresponds to a position of -32,767 counts. When
using the analog feedback mode, analog input 1 is used for the X-axis, analog input 2 is
used for the Y-axis, etc.
ARGUMENTS: AF n,n,n,n,n,n,n,n or AFA=n where
n = 1 Enables analog feedback
n = 0
Disables analog feedback and switches to digital feedback
n = ? Returns the state of analog feedback for the specified axes. 0 disabled, 1 enabled
USAGE: DEFAULTS:
While Moving
No
Default Value
0,0,0,0
In a Program
Yes
Default Format
-
Command Line
Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_AFx contains a "1" if analog feedback is enabled and "0" if not enabled for the specified axis.
RELATED COMMANDS:
"MT"
Motor Type
"
CE
"
Configure Encoder
EXAMPLES:
AF 1,0,0,1
Analog feedback on A and D axis
V1 = _AFA
Assign feedback type to variable
AF ?,?,?
Interrogate feedback type