Console.WriteLine("📜 Axis Streaming Motion: PT While Stopping");
try
{
const int points = 3;
const int emptyCount = 2;
double[] first = [0.1, 0.2, 0.3];
double[] second = [0.4, 0.5, 0.6];
double[] third = [0.7, 0.8, 0.9];
double[] time1 = [0.3, 0.3, 0.3];
double[] time2 = [0.2, 0.2, 0.2];
double[] time3 = [0.25, 0.25, 0.25];
Console.WriteLine($"Final position: {axis.CommandPositionGet()}");
}
finally
{
controller.Delete();
}
Constants used in the C# sample apps.
const int AXIS_0_INDEX
Default: 0.
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...
int32_t MotionDoneWait()
Waits for a move to complete.
void Resume()
Resume an axis.
int32_t AmpEnableSet(bool enable, int32_t ampActiveTimeoutMilliseconds=AmpEnableTimeoutMillisecondsDefault, bool overrideRestrictedState=false)
Enable all amplifiers.
void MovePT(RSIMotionType type, const double *const position, const double *const time, int32_t pointCount, int32_t emptyCount, bool retain, bool final)
A move commanded by a list of position and time points.
RSIMotionType
PT and PVT streaming motion types.
Helpers namespace provides utility functions for common tasks in RMP applications.