MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ HardwarePosLimitDurationGet()

double HardwarePosLimitDurationGet ( )
pure virtual

Get the duration required before the Hardware Positive Limit event triggers.

Description:
HardwarePosLimitDurationGet returns the duration required before the Hardware Positive Limit event triggers.
Returns
(double) In seconds.
Sample Code:
Console.WriteLine("Hardware Positive Limit triggers after" + HardwarePosLimitDurationGet(); + "seconds of signal.");
RapidSetup:
Go to axis screen->Limits & Actions. In the image below, HardwarePosLimitDurationGet returns the value in the "Duration" box in the Positive (+) Hardware box. It is currently 0.
Limits_Actions.jpg
See also
HardwarePosLimitDurationSet
 
Examples
HardwareLimits.cpp, and HardwareLimits.cs.