HaltGroup

Commands a controlled motion stop. The group is moved to the state GroupMoving, until the velocity is zero. When the Done field of KsCommandStatus is TRUE, the state is changed to GroupStandstill.

Syntax

KsCommandStatus HaltGroup(
     int Index,
     double Deceleration,
     double Jerk,
     McBufferMode BufferMode
);

Parameters

Index [in]: the index of an axis group. Indexes are zero based. Aliases affect this parameter. You can have up to 32 groups.

Deceleration [in]: a value of the deceleration. The unit is determined by McProfileType. [unit/second2] or [second]

Jerk [in]: a value of the jerk. The unit is determined by McProfileType. [unit/second3] or [second]

BufferMode [in]: defines how to blend the velocity of two functions. See the McBufferMode type.

Return value

Returns the KsCommandStatus structure.

Remarks

Example

N/A

Requirements

  RT Win32
Minimum supported version 4.0 4.0
Header ksmotion.h ksmotion.h
Library KsApi_Rtss.lib KsApi.lib

See also

InchGroup

JogGroup

StopGroup