2 introduction - touch probe interface, 1 touch probe process, 2 introduction − touch probe interface – Lenze DDS Function library TpDrv User Manual

Page 9: Touch probe process, Function library lenzetpdrv.lib, 2introduction − touch probe interface

Advertising
background image

Function library LenzeTpDrv.lib

Introduction

2.1

Touch probe process

2−1

L

LenzeTpDrv.lib EN 1.2

2

Introduction − touch probe interface

The functions & function blocks of the function library LenzeTpDrv.lib can be used to configure the
touch probe interface from the POUs. After having been conditioned by the PLC operating system,
they send the touch probe signals to the PLC program.

The function library LenzeTpDrv.lib replaces the previous touch probe interface configuration
concept through Lenze codes. It can be used for Lenze PLCs with operating system V6.2 and higher.
Main features of the function library are:

·

Touch probe source selection using the SLOT technology of the DDS control configuration.

·

Parameter setting of signal sensitivity and dead time compensation from the POUs using the
function L_TpConfigDigInX.

·

Touch probe signal provision in the PLC program through the FBs
L_TpGetLastScanDigIn1...4.

2.1

Touch probe process

The current angle value is stored by a quick interrupt in the operating system when a signal change
occurs at the touch probe activating input:

DFIN_dnIncLastScan_p

TP



j

Fig. 2−1

Function chart of a TP; here with MCTRL as source for the angle correction value

 Time−equidistant start of an interval−task
j Phase−angle signal

Advertising