System modules
MCTRL_MotorControl (node number 131)
Touch probe (TP)
13
364
EDBCSXA064 EN 3.2
13.20.12 Touch probe (TP)
Procedure: In case of an edge change on the input activating a TP (e. g. X6/DI2), the current
angle value (master frequency input value) is saved in the operating system by a very quick
interrupt.
MCTRL_dnActIncLastScan_p
TP
j
ECSXA291
Fig. 13−31 Function diagram of a touch probe (TP)
Time−equidistant start of an interval task
J Phase−angle signal
Configuring touch probe (TP)
The digital inputs X6/DI1 ... DI4 can be assigned with the following TP signals:
Dig. input System variable Signal assignment
X6/DI1 DigIn_bIn1_b DfIn_bActTpReceived_b (C0431, 331)
X6/DI2 DigIn_bIn2_b MCTRL_bActTpReceived_b (C0912)
X6/DI3 DigIn_bIn3_b
Freely configurable TP (LenzeTpDrvXXX.lib function library)
X6/DI4 DigIn_bIn4_b
The following codes are available for touch probe configuration:
Code Possible settings IMPORTANT
No. Designation Lenze/
{Appl.}
Selection
C0910 MCTRL TP2
delay
0
MCTRL dead time compensation
TP2 (X6/DI2)
364
−32767 {1 inc} 32767 1 inc º approx. 60 ms
C0911 MCTRL TP2
sel.
0
MCTRL touch probe signal source
364
0 Zero pulse of position encoder (C0490) X7/X8
1 Touch probe input TP2 X6/DI2
C0912 MCTRL TP2
Edge
0
MCTRL touch probe TP2 edge
(for touch probe via digital input
X6/DI2 (C0911 = 1))
364
0 Rising edge TP2
1 Falling edge TP2
2 Rising and falling edge TP2
3 Switched off