Touch probe positioning
Condition
-
The axis is enabled ( xReadyForMotion = TRUE).
-
A valid travel profile is defined in the profile data profile data management
-
A valid travel profile (1 - 15) is selected in wProfileNumber .
Type
The travel profile according to the profile data is initially executed.
If a touch probe is detected during the positioning process, it is automatically changed to the profile defined in the eTpProfile profile parameter.
The current position is saved at the time when the touch probe is detected by a sensor. Directly at this position the travel profile is now executed from the eTpProfile profile parameter.

Example: Diagrams for profile change after a touch probe
|
|
The profile parameters lrTpWindowNeg and lrTpWindowPos limit the area (touch probe window) in which a touch probe can be detected. If both parameters have the value '0', the touch probe detection is activated for the entire travel profile or travel range.
If no touch probe is detected and the travel profile has been executed completely, the profile set in the eSequenceProfile profile parameter is executed.
The following profile linkage is executed with a FALSE ä TRUE edge at the xExecutePositioning input:
|
wProfileNumber |
1 |
1 |
|---|---|---|
|
ePositioningMode |
velocity |
absolute |
|
IrPosition |
500 |
500 |
|
IrVelocity |
300 |
150 |
|
IrAcceleration |
300 |
500 |
|
IrDeceleration |
300 |
500 |
|
IrJerk |
7200 |
7200 |
|
IrFinalVelocity |
0 |
0 |
|
IrTpWindowNeg |
0 |
0 |
|
IrTpWindowPos |
0 |
0 |
|
wTpProfile |
2 |
0 |
|
wSequenceProfile |
0 |
0 |
|
No |
xExecute
|
xValue
|
xConstant
|
xProfile
|
xDriveIn
|
eTMState |
INFO |
|---|---|---|---|---|---|---|---|
|
1 |
FALSE ä TRUE |
FALSE |
FALSE ä TRUE |
FALSE ä TRUE |
TRUE æ FALSE |
STANDBY
MOVEREL |
The axis accelerates at 300 unit/s 2 to the speed of travel profile 1 of 300 units/s. |
|
2 |
TRUE |
FALSE ä TRUE æ FALSE |
TRUE æ FALSE |
TRUE æ FALSE |
FALSE ä TRUE |
MOVEREL
MOVEABS |
Profile 2 is activated and the axis is positioned on the absolute target position 500 units as soon as a touch probe event triggers scRecData.xValueStored . |
Start travel profile according to the profile data
Travel profile from the eTpProfile parameter
