OF |
Syntax: | Explicit or Implicit |
| Operands: | _OFn | |
| Burn: | burnable with BN | |
Offset | Hardware: | All |
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.
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.
_OFn contains the offset for the specified axis.
| Usage | Value |
|---|---|
| While Moving (No RIO) | Yes |
| In a Program | Yes |
| Command Line | Yes |
| Controller Usage | All |
| Default Value | 0 |
| Default Format | 1.4 (1.0 for 18x2) |
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