Long joginprogress(void), Move attributes, Long movesetacc(float acc) – Rockwell Automation 2098-IPD-xxx Ultra5000 C Programming using the Motion Library User Manual

Page 80: Long movesetdec(float dec), Long movesetpos(long position), Long movesetvel(float vel), Long joginprogress(void); -40, Move attributes -40, Joginprogress, Movesetacc • movesetdec • movesetpos • movesetvel

Advertising
background image

Publication 2098-PM001E-EN-P — July 2002

2-40

Referencing the Motion Library

long JogInProgress(void);

Determines if a jog is in progress.

Returns non-zero if jog is in progress.

Move Attributes

long MoveSetAcc(float acc);

Sets the programmed acceleration for a move. Acceleration is
programmed in counts/second².

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

long MoveSetDec(float dec);

Sets the programmed deceleration for a move. Deceleration is
programmed in counts/second².

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

long MoveSetPos(long position);

Defines the position from which all MovePosition and
MoveCorrectAbs moves are referenced. Position is programmed in
counts.

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

long MoveSetVel(float vel);

Sets the programmed velocity for a move. Velocity is programmed in
counts/second.

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

Advertising