Function library lenzetpdrv.lib, Functions/function blocks – Lenze DDS Function library TpDrv User Manual
Page 17
![background image](/manuals/566068/17/background.png)
Function library LenzeTpDrv.lib
Functions/function blocks
3.2
L_TpGetLastScanDigIn1...4 − Touch probe signal provision
3−5
L
LenzeTpDrv.lib EN 1.2
Functional sequence:
1. The touch probe is signal−controlled via the digital input.
2. If a touch probe has occurred bTPReceived will be set to TRUE.
– This status signal is only active for one task cycle.
3. After the start of the task, dnTpLastScan indicates the number of increments [inc/ms] which
have been counted since touch probe activation.
Tip!
If you want to make the touch probe signals available to other function blocks for further processing
you only have to connect the outputs with the corresponding inputs:
L_TpGetLastScanDigIn2
nState
Touch probe
CTRL
L_Example
bActTPReceived
dnActLastScan_p
Touch
probe
bTpReceived
dnTpLastScan