if (axis.ErrorLimitActionGet() == RSIAction.RSIActionE_STOP) {
Console.WriteLine("Error Limits will cause an E-Stop.");
RapidSetup:
Go to axis screen->Limits & Actions. In image below, ErrorLimitActionGet returns the action type shown in the Position Error box. It is currently set to ABORT.
Note
Position Error = Command Position - Actual Position
For safety reasons, you may want to set this to ABORT event.