The RMP Motion Controller APIs

◆ MotionIdExecutingGet()

uint16_t MotionIdExecutingGet ( )
Description:
Axis::MotionIdExecutingGet retrieves the Motion ID of the currently executing motion.
Note
Each call to a move function (MovePT, MovePVT, etc.) transfers a block of motion slices to the RMP. Each of these are identified by their own Motion ID. The value returned reflects the currently executing motion block, and will be incremented as motion continues through the queued IDs if continuing motion. If using this for managing the point buffer for streaming motion, the points that are sent in each move command must be managed in conjunction with this. See updateBufferPoints.cpp for sample usage.
Remarks
This function is also available in RapidSequencer.

Part of the Motion method group.

Example Code:
int curMotionID = axis->MotionIdExecutingGet();
See also
Axis::MotionElementIdExecutingGet, MovePT, MovePVT
Examples
InputOutput.cs.