jog

Contents

jog#

method

Z812.jog(direction, block: bool = True)#

Jogs the motor using either stepped or continuous, depending on what the jog mode is set to.

Jog (continuous) will attempt to obey the limits set on min_pos and max_pos, but as these moves rely on position information feedback from the device to detect if the travel is exceeding the limits, the device will stop, but it is likely to overshoot the limit, especially at high velocity.

Parameters:
directionstring

The direction to move the motor. Acceptable values are forward and backward. Sense can be reversed by calling reverse().

blockbool, optional

Blocks code until move is completed (default True).