Set Decel

C Definition

void dms_SetDecel(long NodeNumber, long GroupNumber, single Param)

Pascal Definition

procedure dms_SetDecel(NodeNumber:longint; GroupNumber:longint; Param:single);

Description

This command is used to set the deceleration of a profiled move in user units per second squared. If the Axis Object indicated is a single axis (T1Axis) the deceleration is for the movement of that motor when operating alone. If the Axis Object represents a multiple axis group such as a two dimensional (T2Axis) or four dimensional group (T4Axis), the deceleration applies to the coordinated motion profile of the group. may be used to independently set the Acceleration of the axis or group.

Escapes

If the Decel setting is 0 or negative an User Decells 0 Or Negative Escape Code will occur.

If a new decel value that is issued during a move cannot be achieved with the current direction and speed a Motion Overrun Escape Code will occur.

Note that the EscapeResult parameter must be preset to 0 before making the call or the routine will not run

Related Topics

Decel
Set Speed
Set Accel