#include "rsi.h"
#include "HelperFunctions.h"
using namespace RSI::RapidCode;
void DedicatedIOMain()
{
const int AXIS_NUMBER = 0;
printf("Dedicated Inputs:");
char rmpPath[] = "C:\\RSI\\X.X.X\\";
SampleAppsCPP::HelperFunctions::CheckErrors(controller);
try
{
SampleAppsCPP::HelperFunctions::StartTheNetwork(controller);
SampleAppsCPP::HelperFunctions::CheckErrors(axis);
printf("Axis %i:\n", AXIS_NUMBER);
printf("RSIMotorDedicatedInLIMIT_HW_NEG: %i and %i\n",
printf("RSIMotorDedicatedInLIMIT_HW_POS: %i and %i\n",
printf("RSIMotorDedicatedInHOME: %i and %i\n",
printf("RSIMotorDedicatedInAMP_FAULT: %i and %i\n",
printf("RSIMotorDedicatedInAMP_ACTIVE: %i and %i\n",
}
{
printf(
"%s\n", err.
text);
}
system("pause");
}