APIs, concepts, guides, and more

◆ SetupControllerForPhantoms()

static void SetupControllerForPhantoms ( MotionController controller,
int axisCount,
int[] axisNums )
static
Parameters
controllerPointer to the MotionController to set up.
axisCountNumber of axes to configure as phantom.
axisNumsVector of integers specifying the axis numbers to configure as phantom.
public static void SetupControllerForPhantoms(MotionController controller, int axisCount, int[] axisNums)
{
ShutdownTheNetwork(controller);
ClearControllerCounts(controller);
controller.AxisCountSet(axisCount);
foreach (int axisNum in axisNums)
{
ConfigurePhantomAxis(controller, axisNum);
}
}
See also
ShutdownTheNetwork, ClearControllerCounts, ConfigurePhantomAxis @[Setup-Controller-For-Phantoms-cs]
Examples
MathBlock.cs.

Definition at line 168 of file HelperFunctionsCS.cs.