RMP Motion Controller
10.6.1
APIs
, concepts, guides, and more
Community
Support
Contact
◆
MotionIdGet()
uint16_t MotionIdGet
(
)
Description:
MotionIdGet returns the identifying number of the next move.
Returns
(uint16_t) The motion ID (unsigned 16-bit).
Part of the
Motion Configuration
method group.
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_t.maxvalue to 0.
See also
MotionIdSet
RSI
RapidCode
RapidCodeMotion
Generated by
1.10.0