Optima DMC-1xxx and DMC-18x2 Command Reference
OF
i
146
OF
FUNCTION: Offset
DESCRIPTION:
The OF command sets a bias voltage in the motor command output or returns a previously set
value. This can be used to counteract gravity or an offset in an amplifier.
ARGUMENTS: OF n,n,n,n,n,n,n,n or
OFA=n where
n is a signed number in the range -9.998 to 9.998 volts with resolution of 0.0003.
n = ?
Returns the offset for the specified axis.
USAGE: DEFAULTS:
While Moving
Yes
Default Value
0
In a Program
Yes
Default Format
1.0
Command Line
Yes
Controller Usage
ALL CONTROLLERS
OPERAND USAGE:
_OFn contains the offset for the specified axis.
EXAMPLES:
OF 1,-2,3,5
Set A-axis offset to 1, the B-axis offset to -2, the C-axis to 3, and
the D-axis to 5
OF -3
Set A-axis offset to -3 Leave other axes unchanged
OF ,0
Set B-axis offset to 0 Leave other axes unchanged
OF ?,?,?,?
Return offsets
-3.0000,0.0000,3.0000,5.0000
OF ?
Return A offset
-3.0000
OF ,?
Return B offset
0.0000