XPS Unified
7.2.1.209
PositionerCorrectorDualSet
Name
PositionerCorrectorDualSet
positioner.
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
-
Checks the object type of this command is valid: (-8)
-
Checks input parameters value: (-17)
KP ≥0, KI ≥0, KD ≥0, KFeedForwardAcceleration ≥0, KFeedForwardJerk ≥0
IntegrationTime ≥CorrectorPeriod (0.0001 s)
-
Checks the positioner name: (-18)
Description
This function allows returning the dual control loop parameter values.
The "DualCorrectorMode" must be "Enabled" in the stages.ini file to activate the
dual control loop. A secondary encoder has to be configured to be able to use the
dual control loop. The main control loop must be "PIDFFAccelerationCorrector".
Prototype
int PositionerCorrectorDualSet(
int SocketID,
char * PositionerName,
bool ClosedLoopStatus,
double KP,
double KI,
double KD,
double IntegrationTime,
double DerivativeFilterCutOffFrequency,
double KFeedForwardAcceleration,
double KFeedForwardJerk
)
– Sets Dual control loop parameters for a selected
NOTE
325
Programmer's Manual
EDH0373En1023 — 01/18