jog()

Controls the machine's jog movement. Supports either 4 or 10 parameters to specify movement directions for different axes.

Syntax

jog(step, x, y, z)
jog(step, x, y, z, a, b, c, u, v, w)

Parameters

Parameter Type Description
step Number `1` for step jogging, `0` for continuous jogging.
x, y, z Number Axis movement values. If `step` is `1`, uses direction (`-1`, `0`, `1`). If `0`, uses velocity-based movement.
b, c, u, v, w Number (Optional) Additional axes for extended jogging control. optional

Return Value

Examples

Step jog movement on X and Y axes

jog(1, 1, -1, 0, 0);

Continuous jog movement on X and Y axes

jog(0, 0.1, -0.5, 0, 0);

Step jog movement on all available axes

jog(1, 1, 0, -1, 0, 1, -1, 0, 1, 0);

Continuous jog movement on X axis at half speed in positive direction and Y axis at full speed in negative direction.

jog(0, 0.5, -1, 0);

Stop jogging.

jog(0, 0, 0, 0);

Step jogging in -X direction.

jog(1, -1, 0, 0);

See also

jog
jog_axis
jog_stop

centerex