spec

Software for Diffraction

mvr and umvr

move a single motor relative to its current position

SYNOPSIS


mvr motor relative_position
umvr motor relative_position

DESCRIPTION

The mvr macro moves motor to a position at relative_position from the current position. If the motor is initially at position X this macro will move the motor to X + relative_position.

The umvr macro also moves the motor, but provides an updated display of the motor position on the screen while the motor is moving. The update interval, in seconds, is set by the global variable UPDATE.

EXAMPLE

mvr th -1

SEE ALSO

motors mv mvd tw wait