APIs, concepts, guides, and more

◆ ErrorLimitTriggerValueSet()

void ErrorLimitTriggerValueSet ( double triggerValue)
Description:
ErrorLimitTriggerValueSet sets the Position Error Limit trigger value.
Parameters
triggerValuePosition Error Limit in units.

Part of the Limits and Action Configuration method group.

Sample Code:
Axis: Configuration
// Define counts per unit (user units)
// set
axis.ErrorLimitTriggerValueSet(1); // Position error limit trigger (see support page)
// get
double userUnits = axis.UserUnitsGet();
RapidSetup:
Go to axis screen->Limits & Actions. In the image below, ErrorLimitTriggerValueSet sets the value in the Trigger value box shown in the Position Error box. It currently triggers at 1000.
See also
ErrorLimitTriggerValueGet
Examples
MotionHoldReleasedBySoftwareAddress.cpp, axis-config-userunits.cs, basic-template.cs, and compensator-2d.cs.