C Definition
single dms_ProfileVelocity(long NodeNumber, long GroupNumber)
Pascal Definition
function dms_ProfileVelocity(NodeNumber:longint; GroupNumber:longint):single;
Description
Profile Velocity returns the current commanded speed (signed magnitude) that is being used to generate the
trapezoidal motion trajectory. During slew, the magnitude of Profile Velocity is the same as Speed. During
Accel and Decel the profile velocity varies linearly with progress through the phase.
The value returned is the value of the trapezoidal profile, not the actual motor speed itself. Reading the actual speed
requires an application program that differentiates position information and returns a value in a user variable.
Note that the EscapeResult parameter must be preset to
0 before making the call or the routine will not run
Escapes
The Profile Velocity command does not generate any escapes.
Related Topics