Console.WriteLine("Your Axis is in state: " + state);
switch (state)
{
break;
Console.WriteLine("Your Axis is in state: " + state);
Console.WriteLine("The source of the axis error is: " + axis.SourceNameGet(source));
break;
default:
Console.WriteLine("");
break;
}
bool isAmpFault_Active = axis.StatusBitGet(
RSIEventType.RSIEventTypeAMP_FAULT);
bool isPositionErrorLimitActive = axis.StatusBitGet(
RSIEventType.RSIEventTypeLIMIT_ERROR);
bool isHWNegativeLimitActive = axis.StatusBitGet(
RSIEventType.RSIEventTypeLIMIT_HW_NEG);
bool isHWPostiveLimitActive = axis.StatusBitGet(
RSIEventType.RSIEventTypeLIMIT_HW_POS);