XPS Unified Programmer’s Manual
7.2.1.208 PositionerCorrectorDualGet
Name
PositionerCorrectorDualGet – Gets Dual control loop parameters for a selected
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 the positioner name: (-18)
- Checks dual corrector is enabled: (-205)
Description
This function allows returning the dual control loop parameter values.
NOTE
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 PositionerCorrectorDualGet(
int SocketID,
char * PositionerName,
bool * ClosedLoopStatus,
double * KP,
double * KI,
double * KD,
double * IntegrationTime,
double * DerivativeFilterCutOffFrequency,
double * KFeedForwardAcceleration,
double * KFeedForwardJerk
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
PositionerName char * Positioner name.
323 EDH0373En1023 — 01/18