Console.WriteLine("Encoder Fault triggers after " + EncoderFaultDurationGet(); + "seconds of signal.");
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.