Get the motion identifier.
- Description:
- MotionIdGet returns the identifying number of the next move.
- Returns
- (uint16) The motion ID (unsigned 16-bit).
- Sample Code:
printf(
"The next move will have this ID: %d\n", axis->
MotionIdGet());
- Note
This value is auto-incremented after a motion is started (for the next move). It will eventually rollover from uint16.maxvalue to 0.
- See also
- MotionIdSet