Long jogstop(void), Jog status, Long jogatspeed(void) – Rockwell Automation 2098-IPD-xxx Ultra5000 C Programming using the Motion Library User Manual

Page 79: Long joggetmode(void), Long joggetstate(void), Long jogstop(void); -39, Jog status -39, Jogstop, Jogatspeed • joggetmode • joggetstate

Advertising
background image

Publication 2098-PM001E-EN-P — July 2002

Referencing the Motion Library

2-39

long JogStop(void);

Stops the jog motion using the programmed deceleration value.

Returns 0 if successful, or -1 on an error.

Jog Status

long JogAtSpeed(void);

Determines if a jog is at the programmed speed.

Returns non-zero if jog is at speed.

long JogGetMode(void);

Returns one of the following jog mode values:

• 0 = Stop
• 1 = Forward
• 2 = Reverse

long JogGetState(void);

Returns one of the following jog state values:

• 0 = Locked
• 1 = Seeking

Ultraware displays one of the following status displays in response to
the function.

Display

Description

Locked

Jog is at the specified speed in the forward or reverse direction, or
is at the zero speed when specified (i.e., current velocity equals
program velocity).

Seeking

Motor is accelerating or decelerating to a specified jog speed.

Advertising