double POSITION_TOLERANCE_MAX = Double.MaxValue / 10.0; // reduce from max slightly, so XML to string serialization and deserialization works without throwing System.OverflowException
axis.PositionToleranceCoarseSet(POSITION_TOLERANCE_MAX); // set Settling Coarse Position Tolerance to max value
axis.PositionToleranceFineSet(POSITION_TOLERANCE_MAX); // set Settling Fine Position Tolerance to max value (so Phantom axis will get immediate MotionDone when target is reached)
Go to axis screen->Limits & Actions. In image below, ErrorLimitActionSet sets 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.