Correction window and limitation of the master value correction
The position correction takes place within a correction window.
The position of this window is defined via the parameters scPar.lrLowerCorrPosMaster and scPar.lrUpperCorrPosMaster ; the unit of both parameters is the unit of the measuring system used (e.g. master value in "mm", drive axis in "°").
The scPar.eSourceForCorrWindow parameter is used to specify whether the position of the correction window relates to the corrected master position or the position of the drive axis.
The determined position error can be limited to a maximum value in order to keep accelerations during the correction movements low, for instance. For the limitation, a parameter is available for the positive limit value ( scPar.lrMaxCorrPosMaster ) and the negative limit value ( scPar.lrMaxCorrNegMaster ) respectively. The lrSetMarkCorrOut output displays the limited position error.
The resulting position and speed of the corrected master value are available in the signal flow variables (measuring point) MP_lrSetCorrPosOut and MP_lrSetCorrVelOut .
Outputs relevant for the function
The outputs are located in the L_TS2P_SyncAndCorrectionState function block.
-
lrSetMarkCorrOut
Parameters relevant for the function
The parameters are located in the L_TS2P_scPar_SyncAndCorrectionState structure.
-
eSourceForCorrWindow , initial value: Slave[2]
-
lrLowerCorrPosMaster , initial value: 90 [unit]
-
lrUpperCorrPosMaster , initial value: 180 [unit]
-
lrMaxCorrPosMaster , initial value: 30 [unit]
-
lrMaxCorrNegMaster , initial value: -30 [unit]
Measuring points relevant for the function
The measuring points are located in the L_TS2P_scSF_SyncAndCorrectionState structure.
-
MP_xCorrActive
-
MP_xCorrLimited
Example: 1
scPar.eSourceForCorrWindow = Act. tool position (correction window in tool units)
Correction window relating to the position of the drive axis (Slave)
|
|
scPar. lrLowerCorrPosMaster |
|
|
scPar. lrUpperCorrPosMaster |
Example 2
scPar.eSourceForCorrWindow = Corr. master position (correction window in material units)
Correction window relating to the position of the corrected master axis (Master)
|
|
scPar. lrLowerCorrPosMaster |
|
|
scPar. lrUpperCorrPosMaster |