Touch probe connection
In order to be able to use the touch probe functionality, an instance of the MC_Touchprobe function block must be used in the application. The user can use the parameters of this function block to select the touch probe source that should be used for the mark sensor.
Touch probes are connected to the technology module via the scTpRecData_MarkSensor input structure. This input is connected to the RecData output of the MC_Touchprobe block:
Touch probe connection interconnection example
A digital slave axis input was used for the above example. The triggering mode of the MC_Touchprobe block is set to single measurement. As soon as a touch probe signal has been detected, a new touch probe measurement is requested via the inverted MC_Touchprobe_1.Done signal.
The touch probe evaluation of this technology module functions via a time stamp. If the technology module is used on a controller, the EtherCAT time stamp of the digital input used must be added to the EtherCAT mapping by the user. This step is not necessary for the i950 PLC device. Here all necessary data are already transferred to the application.
Procedure for adding a time stamp to the mapping
-
Activate expert settings.
Setting in the »PLC Designer« in the device tree in the interface of the respective EtherCAT slave
-
Select the mapping to be expanded.
Touch probe connection interconnection example
-
Add time stamp object to the free mapping.
Add objects 1
Add objects 2
-
Add free mapping objects to the EtherCAT mapping.
Touch probe connection interconnection example