RMP Motion Controller
10.7.0
APIs
, concepts, guides, and more
Community
Support
Contact
◆
EStopDecelerationSet()
void EStopDecelerationSet
(
double
decel
)
Description:
EStopDecelerationSet sets the deceleration rate for an E-Stop Modify Event
Parameters
decel
(the deceleration in units per second per second)
Sample Code:
Axis: Configuration
double
STOP_RATE_DEFAULT = 1.0;
// Specify the default STOP rate in seconds.
double
ESTOP_RATE_DEFAULT = 0.05;
// Specify the default ESTOP rate in seconds.
double
ESTOP_DECELERATION_RATE = 1000;
// Specify the default ESTOP deceleration rate in seconds.
// set
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.
// get
double
stopTime = axis.
StopTimeGet
();
double
eStopTime = axis.
EStopTimeGet
();
double
eStopDeceleration = axis.
EStopDecelerationGet
();
See also
EStopDecelerationGet
Examples
AxisConfiguration.cpp
, and
axis-config-stop-rate.cs
.
RSI
RapidCode
Axis
Generated by
1.10.0