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