| gclib 1.35.5 Communications API for Galil controllers and PLCs |

## ◆ jog()

GReturn jog | ( | GCon | g | ) |

Puts controller into Jog Mode and accepts user input to adjust the speed.

Parameters

  g | Connection's handle.

Returns
  The success status or error code of the function. See gclib_errors.h for possible values.

See jog_example.cpp for an example.

Key | Usage
--- | ---
q | Quit Jogging
a | -2000 counts / second
s | -500 counts / second
d | +500 counts / second
f | +2000 counts / second
r | Direction Reversal

Definition at line 29 of file jog.cpp.

References e(), G_CONNECTION_NOT_ESTABLISHED, G_SMALL_BUFFER, GCmd(), and GMotionComplete().