#include "rsi.h"
#include "HelperFunctions.h"
using namespace RSI::RapidCode;
const int AXIS_NUMBER = 0;
const int HOME_LIMIT_NETWORK_INDEX = 99;
const int HOME_LIMIT_SIG_BIT = 0;
const int VELOCITY = 5000;
const int ACCELERATION = 80000;
const int DECELERATION = 80000;
const int POSITION = 0;
void customHomeMain()
{
SampleAppsCPP::HelperFunctions::CheckErrors(controller);
SampleAppsCPP::HelperFunctions::CheckErrors(axis);
try
{
SampleAppsCPP::HelperFunctions::StartTheNetwork(controller);
printf("Looking for Home...\n\n");
{
}
else
{
}
}
{
printf(
"\n%s\n", err.
text);
}
system("pause");
}