- Description:
- AxisCountSet will configure the number of axes processed by the controller.
- Parameters
-
axisCount | A int32_t value to set AxisCount to. |
Part of the Information method group.
- Sample Code:
- Axis: Configuration
axis = controller.
AxisGet(axisNumber);
const double positionToleranceMax = Double.MaxValue / 10.0;
- Warning
- Important usage instructions for all RapidCode object count set methods:
This should be done after successful MotionController::Create but before any RapidCode object creation, (MotionController::AxisGet, MotionController::MultiAxisGet, etc.) as changing object counts will reconfigure the RMP's dynamic memory allocation which invalidates all preexisting RapidCode objects.
- See also
- AxisCountSet, MotionCountSet, RecorderCountSet, UserLimitCountSet, MathBlockCountSet, CompensatorCountSet
-
AxisCountGet
- Note
- By default, this will also set the number of allocated/enabled MotionSupervisors, Filters, and Motors
- Examples
- Compensator.cs, HelperFunctions.cs, MathBlock.cs, MultiAxisMotion.cs, PVTmotionMultiAxis.cpp, PathMotion.cpp, Recorder.cs, and UserLimit.cs.