DMC-100/1500 Command Reference
OF
•
103
DMC-1000
DMC-1500
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 x,y,z,w OFX=x OF a,b,c,d,e,f,g,h
where
x,y,z,w are signed numbers in the range -9.998 to 9.998 volts with resolution of 0.0003.
"?" 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
Can be Interrogated
Yes
Used as an Operand
Yes
OPERAND USAGE:
_OFx contains the offset for the specified axis.
EXAMPLES:
OF 1,-2,3,5
Set X-axis offset to 1, the Y-axis offset to -2, the Z-axis to 3, and
the W-axis to 5
OF -3
Set X-axis offset to -3 Leave other axes unchanged
OF ,0
Set Y-axis offset to 0 Leave other axes unchanged
OF ?,?,?,?
Return offsets
-3.0000,0.0000,3.0000,5.0000
OF ?
Return X offset
-3.0000
OF ,?
Return Y offset
0.0000