DIRXOR(OPCSDEFS) Optical Printer Control System DIRXOR(OPCSDEFS)
NAME
dirxor - invert direction of motor; direction "exclusive or" (XOR)
SYNOPSIS
dirxor [chan] [invert]
EXAMPLE
dirxor b 1 # invert direction of the projector motor.
dirxor c 1 # invert direction of the camera motor.
DESCRIPTION
After setting up a new motor, you notice that executing a command that
should run the motor forward actually runs it BACKWARDS, and vice-
versa. You can remedy this by either rewiring the motor (the hard way),
or changing the DIRXOR(OPCSDEFS) command in your OPCSDEFS.OPC file.
By changing the [invert] value from 0 to 1 (or 1 to 0, as the case
may be) you can invert the software's sense of direction for that motor.
[chan] is the motor channel being affected.
[invert] can be either a 0 (default) or a 1, depending on which value
suits the installation.
BUGS
None.
ORIGIN
Gregory Ercolano, Los Feliz California 11/29/89