Get the duration required before the Position Error Limit event triggers.
RapidSetup:
Go to axis screen->Limits & Actions. In the image below, ErrorLimitDurationGet returns the value in the "Duration" box in the Position Error box. It is currently 0.