Console.WriteLine("📜 Axis Config: Settling");
int exitCode = 0;
try
{
Helpers.VerifyHardwareUsage(controller);
Helpers.VerifyAxisCount(controller);
Console.WriteLine($"Position Tolerance Fine: {posTolFine}");
Console.WriteLine($"Position Tolerance Coarse: {posTolCoarse}");
Console.WriteLine($"Velocity Tolerance: {velTol}");
Console.WriteLine($"Settling Time: {setTime}");
}
catch (Exception e)
{
Console.WriteLine($"❌ Error: {e.Message}");
}
finally
{
controller.Delete();
}
return exitCode;
Constants used in the C# sample apps.
const int EXIT_FAILURE
Exit code for failed execution.
const int AXIS_0_INDEX
Default: 0.
const int EXIT_SUCCESS
Exit code for successful execution.
double SettlingTimeGet()
Get the Settling time.
void PositionToleranceCoarseSet(double tolerance)
Set the Coarse Position Tolerance for Axis settling.
double PositionToleranceFineGet()
Get the Fine Position Tolerance for axis settling.
void PositionToleranceFineSet(double tolerance)
Set the Fine Position Tolerance for Axis settling.
void VelocityToleranceSet(double tolerance)
Set the Velocity Tolerance used for settling.
double PositionToleranceCoarseGet()
Get the Coarse Position Tolerance for axis settling.
double VelocityToleranceGet()
Get the velocity tolerance used for settling.
void SettlingTimeSet(double time)
Set the settling time.
Represents a single axis of motion control. This class provides an interface for commanding motion,...
static MotionController * Get()
Get an already running RMP EtherCAT controller.
Represents the RMP soft motion controller. This class provides an interface to general controller con...
Helpers namespace provides utility functions for common tasks in RMP applications.