8.10Touchprobe
Using the touch probe inputs, touch probe functions can be performed. In order to be
able to do this, P106[0] - MPRO_INPUT_FS_ISD05 and P107[0] - MPRO_INPUT_
FS_ISD06 must be used to set digital inputs ISD05 and ISD06 to "PROBE(15) =
Touch probe (only ISD05/06)" (see Section "Digital inputs" on page 303). HTL
encoders can be evaluated or pulse counters implemented using the iPLC .
The touch probe can be triggered with P240 - MPRO_TP_Ctrl. This enables
triggering on a positive or negative edge, or on both edges, of the signal detected on
the touch probe inputs. After the measurement, the parameter jumps back to the
value "NONE (0)" and the latch position is mapped in the corresponding subindex of
parameter P 241 - MPRO_TP_Position. A continuous touch probe mode is not
possible at present, so the touch probe has to be reactivated after the measurement.
P 1402 - MPRO_TP_Channel can be used to select various positions as actual
value sources of the latch position for the touch probe functionality.
The following table provides an overview of the available settings. The counters are
accessed via the iPLC or a bus system.
ID Index Name / Setting Unit Description
240 MPRO_TP_Ctrl Touchprobe:Control
Thefollowing
settingsapplyto
indexes0–2
0 NONE(0)=Nofunction
1 POS(1)=Positiveedge
2 NEG(2)=Negativeedge
3 BOTH(3)=Bothedges
240 0 MPRO_TP_Ctrl
240 1 MPRO_TP_Ctrl
240 2 MPRO_TP_Ctrl
241 MPRO_TP_Position Probe:Pos.high/lowedgeofTP0/1,
encoderzeropulse
Table 8.29: “Touch probe” parameters
ID No.: 0842.26B.5-01Date: 09.2020
ServoOne- Device Help
278
8 Motion profile
ID Index Name / Setting Unit Description
241 0 MPRO_TP_Position mDegree
241 1 MPRO_TP_Position mDegree
241 2 MPRO_TP_Position mDegree
241 3 MPRO_TP_Position mDegree
241 4 MPRO_TP_Position mDegree
1400 0 MPRO_TP_Config Touchprobe:Configuration
TP_TP(0) TP0,TP1touchprobe
AB(1) TP0,TP1asencoder,A/Basquadrature
counting
PD_UP(2) TP0,TP1asencoder,pulse(TP0)/
direction(TP1),countupondirectionhigh
PD_DOWN(3) TP0,TP1asencoder,pulse(TP0)/
direction(TP1),countdownondirection
high
PC_PC(4) TP0pulsecounter,TP1pulsecounter
PC_TP(5) TP0pulsecounter,TP1touchprobe
TP_PC(6) TP1touchprobe,TP0pulsecounter
ENC_ENC(7) TP0encodercounter,TP1encodercounter
ENC_TP(8) TP0encodercounter,TP1touchprobe
TP_ENC(9) TP0touchprobe,TP1encodercounter
1402 MPRO_TP_Channel Touchprobe:Channel
Thefollowing
settingsapplyto
indexes0–2
0 ACTPOS(0)=Actualpositioninuserunits
1 ACTPOSINC(1)=Actualpositionin
increments
2 MASTERPOS(2)=Masterpositionin
increments
3 ENCPOS_CH1(3)=Encoderposition
Channel1
4 ENCPOS_CH1_INC(4)=Encoderposition
Channel1inincrements
5 ENCPOS_CH2(5)=Encoderposition
Channel2
6 ENCPOS_CH2_INC(6)=Encoderposition
Channel2inincrements