◆ StopTimeGet()

virtual double StopTimeGet ( )
pure virtual

Get Stop Event deceleration time.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the Motion Configuration method group.

Description:
StopTimeGet returns the time it will take an Axis to stop (decelerate) with a Stop Event.
Returns
(double) Seconds.
Sample Code:
StopRate
// Constants
const double STOP_RATE_DEFAULT = 1.0; // Specify the default STOP rate in seconds.
const double ESTOP_RATE_DEFAULT = 0.05; // Specify the default ESTOP rate in seconds.
const double ESTOP_DECELERATION_RATE = 1000; // Specify the default ESTOP deceleration rate in seconds.
axis.StopTimeSet(STOP_RATE_DEFAULT); // Set the default STOP time to STOP_RATE_DEFAULT secs.
axis.EStopTimeSet(ESTOP_RATE_DEFAULT); // Set the default ESTOP time to ESTOP_RATE_DEFAULT secs.
axis.EStopDecelerationSet(ESTOP_DECELERATION_RATE); // Set the default ESTOP time to ESTOP_DECELERATION_RATE secs.
See also
StopTimeSet