178 ● OF DMC-40x0 Command Reference
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.4
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 -
,
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