gclib 2.0.9
Communications API for Galil controllers and PLCs
 
Loading...
Searching...
No Matches

◆ jog()

GReturn jog ( GCon  g)

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

Parameters
gConnection'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(), GMotionComplete(), and vector().