◆ FeedRateSet()

virtual void FeedRateSet ( double  rate)
pure virtual

Set the feed rate for an Axis.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the Action method group.

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%).
Sample Code:
FeedRate
// Start Motion
Console.WriteLine("Motion Start");
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");
See also
FeedRateGet