
Function library LenzeTpDrv.lib
Functions/function blocks
3.2 L_TpGetLastScanDigIn1...4 − Touch probe signal provision
3−3
L
LenzeTpDrv.lib EN 1.2
FB call in: o Cyclic task
(PLC_PRG)
þ Time−controlled task
(INTERVAL)
o Event−controlled task
(EVENT)
o Interrupt task
Outputs Data type Value/meaning
nState Integer Status
3 The signal sensitivity of the touch probe input is set to "TP detection off".
2 The signal sensitivity of the touch probe input is set to "Rising & falling signal".
1 The signal sensitivity of the touch probe input is set to "Falling signal".
0 the signal sensitivity of the touch probe input is set to "Rising signal".
−10 The FB is integrated in a cyclic or event−controlled task.
−20 · The input has not been configured as touch probe input in the DDS control
configuration.
· The module parameters were not configured correctly.
· No process image was created for MCTRL or DFIN in this POU.
−80 The input does not support this functionality.
bTpReceived Bool Status signal "Touch probe detected"
· The signal is only active for one task cycle.
TRUE Touch probe has been detected.
dnTpLastScan Double integer Difference in [inc] between latch time and start time of the task.
Comentários a estes Manuais