The RMP Motion Controller APIs

◆ FeedRateSet()

void FeedRateSet ( double rate)
Description:
FeedRateSet sets the feed rate for an Axis, the default is 1.0 (100%).
Parameters
rateAcceptable values for rate are -2.0 to 2.0 (-200% to 200%).
Remarks
This function is also available in RapidSequencer.

Part of the Action method group.

Sample Code:
Feed Rate
Console.WriteLine("Start Motion");
axis.MoveSCurve(100); // Call MoveScurve to move to a position.
// set feedrate for axis to 150%
axis.FeedRateSet(1.5);
while (axis.CommandPositionGet() < 5)
{
Thread.Sleep(1); // Wait here until we reach position "15".
}
axis.Stop(); // Stop the axis/motor.
axis.MotionDoneWait(); // Wait for move to complete.
axis.FeedRateSet(-1); // Change FeedRate to reverse motion.
axis.Resume(); // Start Reverse Motion.
Console.WriteLine("New Feed Rate Start");
axis.FeedRateSet(1); //restore default
See also
FeedRateGet
Examples
MotionModify.cs, and UserLimit.cs.