jog#
method
- Z825B.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
forwardandbackward. Sense can be reversed by callingreverse().- blockbool, optional
Blocks code until move is completed (default True).