#include "rsi.h"
#include "HelperFunctions.h"
void AbsoluteMotionMain()
{
using namespace RSI::RapidCode;
const int AXIS_NUMBER = 0;
const int USER_UNITS = 1048576;
const int POSITION = 10;
const int VELOCITY = 5;
const int ACCELERATION = 10;
const int DECELERATION = 10;
char rmpPath[] = "C:\\RSI\\X.X.X\\";
SampleAppsCPP::HelperFunctions::CheckErrors(controller);
try
{
SampleAppsCPP::HelperFunctions::StartTheNetwork(controller);
SampleAppsCPP::HelperFunctions::CheckErrors(axis);
printf("Absolute Move\n\n");
printf("Trapezoidal Profile: In Motion...\r");
printf("Trapezoidal Profile: Completed\n\n");
}
{
printf(
"%s\n", err.
text);
}
system("pause");
}