This structure contains the parameters that are necessary for the homing with the help of the function block FB_HomeOnTp.
Variable |
Data type |
Description |
---|---|---|
stMove |
Motion parameter for the homing on Touchprobe. |
|
xTpNegEdge |
BOOL |
TRUE: Use the negative edge of the Touchprobe sensor. FALSE: Use the positive edge of the Touchprobe sensor. |
lrMaxTPSignalDistance |
LREAL |
Is only active if uiTPSignalsPerTrain > 1. lrMaxTPSignalDistance indicates the upper limit of the window in which a Touchprobe is accepted. This is relative to the last accepted Touchprobe. If exceeded, then q_etDiagExt = ET_DiagExt.MaxTPSignalDistance is issued. |
lrMinTPSignalDistance |
LREAL |
Is only active if uiTPSignalsPerTrain > 1. lrMinTPSignalDistance indicates the lower limit of the window in which a Touchprobe is accepted. This is relative to the last accepted Touchprobe. Touchprobe before lrMinTPSignalDistance are ignored. |
uiTPSignalsPerTrain |
UINT |
Number of signals that are used for referencing. Further signals are ignored. Default = 1. |
xDisablePositionCheck |
BOOL |
This disables the verification after the Touchprobe signals detection if trains are overlapping. Default = FALSE = active. |
uiStation |
UINT |
Indicates to which station the trains are to be moved. |