#include "rsi.h"
using namespace RSI::RapidCode;
const int AXIS_NUMBER = 1;
const int NETWORK_INPUT_INDEX = 22;
const int HOME_BIT_INDEX = 0;
const int VELOCITY = 80000;
const int ACCELERATION = 600000;
const int DECELERATION = 600000;
{
bool hasErrors = false;
{
printf(
"%s\n", err->
text);
hasErrors = true;
}
if (hasErrors)
exit(1);
}
void customEtherCATHomeMain()
{
uint64 networkAddress;
char* inputName;
PrintRapidCodeErrors(controller);
PrintRapidCodeErrors(axis);
try
{
{
printf("Error, should be in IDLE state.\n");
exit(1);
}
printf("Input name is %s \n", inputName);
{
printf(" Homing successful\n");
}
}
{
printf(
"\n%s\n", err.
text);
}
system("pause");
}