8.10Touchprobe
Using the touch probe inputs, touch probe functions can be performed. 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 232). HTL encoders can be
evaluated or pulse counters implemented using the MSD PLC.
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.
P1402 - MPRO_TP_Channel can be used to select various positions as actual
value sources for the latch position for the touch probe functionality.
The following table provides an overview of the available settings. The counters are
accessed via the MSD PLC or a bus system.
ID Index Name / Setting Unit Description
240 MPRO_TP_Ctrl Touchprobe:Controlword
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,encoder
zeropulse
Table 8.29: “Touch probe” parameters
MOOG
ID
No.: CB40859-001 Date: 02/2018
MSD Servo Drive- Device Help
217
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),countdownondirectionhigh
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:Configurationprobechannel
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
7 ENCPOS_CH3(7)=Encoderposition