MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ PathTimeSliceSet()

void PathTimeSliceSet ( double  seconds)
pure virtual

Set the time slice for the Path.

Description:
PathTimeSliceSet sets the time slice for the interpolated motion paramaters which are calculated after the call to PathListEnd(). At this time, the Path Lines and Arcs are converted into small motion segments which are spaced in time according to the time slice.
Parameters
secondsRecommended values are 5 to 100 milliseconds. Values outside this range could produce undesired path motions.
Sample Code:
multiAxis->PathTimeSliceSet(0.020); // set time slice to 20 milliseconds
Note

It is not required to set this value, the default (and recommended value) is 10 milliseconds. Also, it's a good idea to set this value to a multiple of the controller's sample period (default 500 microseconds).

See also
PathListEnd PathTimeSliceGet