1 actual value interpolation (principle), 2 example, 5function blocks – Lenze E94A User Manual
Page 536

5
Function blocks
5.143
L_SdTouchProbe - touch probe evaluation
536
Lenze · 9400 function library · Reference manual · DMS 6.7 EN · 08/2014 · TD05
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
5.143.1
Actual value interpolation (principle)
If a touch probe is detected, the (residual) time to the following task cycle is determined and a time
stamp is created from it. Based on this time stamp the FB L_SdTouchProbe can execute a linear in-
terpolation between both actual position points. The result is the exact actual position at the time
of the physical touch probe event.
[5-111] Actual value determination through linear interpolation (principle)
5.143.2
Example
Connections required for a touch probe detection via the digital input DI4:
[5-112] Transfer of the FB L_SdTouchProbe
Actual position point 1
Actual position point 2
Residual time (dnTpTimeLag)
Data
processing
Application
Data
processing
Application
Data
processing
Application
Task cycle
Task cycle
Task cycle
t
Position
t
0
t
1
p
1
p
2
Touch probe received
Transfer of the machine parameters (e.g. from SB LS_DriveInterface)
Transfer of the current position (e.g. from SB LS_Feedback)
73BGQ7RXFK3UREH7LPH/DJ
73BE7RXFK3UREH5HFHLYHG
73BE7RXFK3UREH/RVW
/6B7RXFK3UREH
73BE1HJDWLYH(GJH
GQ7S3RVBS
GQ7S3RV'LIIBS
/B6G7RXFK3UREH
GQ$FW3RVBS
GQ7S7LPH/DJ
E7S5HFHLYHG
73
$[LV'DWD