Console.WriteLine("📜 Axis Config UserUnits");
try
{
int ENCODER_RESOLUTION_BITS = 20;
double USER_UNITS = Math.Pow(2, ENCODER_RESOLUTION_BITS);
Console.WriteLine($"User Units: {userUnits}");
}
finally
{
}
Constants used in the C# sample apps.
const int AXIS_INDEX
Default: 0.
static void CheckErrors(RapidCodeObject rsiObject)
Checks for errors in the given RapidCodeObject and throws an exception if any non-warning errors are ...
Helpers class provides static methods for common tasks in RMP applications.
double UserUnitsGet()
Get the number of counts per User Unit.
void UserUnitsSet(double countsPerUserUnit)
Sets the number of counts per User Unit.
void ErrorLimitTriggerValueSet(double triggerValue)
Set the Position Error Limit trigger value.
Represents a single axis of motion control. This class provides an interface for commanding motion,...
Axis * AxisGet(int32_t axisNumber)
AxisGet returns a pointer to an Axis object and initializes its internals.
static MotionController * Get()
Get an already running RMP EtherCAT controller.
void Delete(void)
Delete the MotionController and all its objects.
Represents the RMP soft motion controller. This class provides an interface to general controller con...