◆ MotionCountGet()

virtual int32_t MotionCountGet ( )
pure virtual

Get the number of Motion Supervisors available in the firmware.

ℹ This function is avaliable in RapidCode and RapidSequencer

Part of the Information method group.

Description:
MotionCountGet returns the number of Motion Supervisors enabled on the controller.
Returns
(int32_t) The Motion Supervisor count.
Sample Code:
// -- C++ -- //
printf("Enabled Motion Supervisors: %ld\n", controller->MotionCountGet());
// -- C# -- //
Console.WriteLine("Enabled Motion Supervisors: {0}", controller.MotionCountGet());
Note
The firmware default is 8.
See also
MotionCountSet
Examples
MultiaxisMotion.cpp, PathMotion.cpp, PVTmotionMultiAxis.cpp, and Template.cpp.