Touch Probe
(Master TwinCAT 2.11 R3)
The data given here serve as an example for a servomotor type AM8131-0F20-0000 from Beckhoff Automation. For other motors the values may vary, depending on the application.
Functional description
The Touch Probe function implemented in the EL72x1-xxxx provides the user with the possibility to save the current position of the connected motor at a defined point in time.
The required inputs and outputs can be added in the Process data tab (see Fig. Touch Probe inputs and Fig. Touch Probe outputs).
The EL72x1-xxxx has 2 digital inputs that can be used for the Touch Probe function. The abbreviation TP1 stands for Touch Probe 1 and is linked to input 1 of the terminal (connection pin 3), while the abbreviation TP2 stands for Touch Probe 2 and is linked to input 2 of the terminal (connection pin 11). TP1 is used here as an example for the description of the function.
Step-by-step
- TP1 Enable must be set to TRUE in order to generally activate the Touch Probe function.
- Subsequently, you must decide whether the position is to be saved on a positive edge at input 1 (TP1 Enable pos edge = TRUE), on a negative edge (TP1 Enable neg edge = TRUE), or in both cases (both set to TRUE).
- With TP1 Continuous you can decide whether the position is to be saved only at the first event (TP1 Continuous = FALSE) or whether this should take place at every event (TP1 Continuous = TRUE).
For example, if TP1 Continous and TP1 Enablepos edge are set, the position is saved on each positive edge at input 1 of the terminal.
If TP1 Enable neg edge is set and TP1 Continuous is not set, the position will only be saved on the first negative edge at input 1 of the terminal. If you wish to repeat this procedure, you must first deactivate TP1 Enable and then activate it again. Then the position is saved again on the first negative edge. - TP1 Trigger mode has no function in the case of the EL72x1-xxxx.
- The saved position of the positive edge can be read in the inputs of the process data under TP1 Pos position, that of the negative edge under TP1 Neg position.
- The variables under Touch probe status are for the diagnosis.
- The Touch Probe inputs must be addressed with a 1-wire +24 V signal.