◆ Resume()

virtual void Resume ( )
pure virtual

Resume an axis.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the Action method group.

Description:
Resume will resume an axis that was previously stopped with a Stop(). If the motion is in idle state (RSIStateIDLE), it will change to moving state (RSIStateMOVING), and the motion will resume if it was stopped by a prior call to Stop().
Resume will use 'stop time' value defined by StopTimeSet() to go from 0 counts/sec to commanded velocity.
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");
Note

Resume will not work with EStop() or any other error condition (such that an axis is in error state)

RapidSetup:
Go to axis screen->Position and Trajectory box. Various actions (Stop, EStop, Abort) are shown in image below.
Axis_Action.jpg
See also
StopTimeSet , StopTimeGet , Stop, RSIState