Execute mc_touchprobe – Rockwell Automation 2080-LC50 Getting Started with Motion Control Using a Simulated Axis User Manual
Page 79
Publication 2080-QS001A-EN-E - January 2013
69
Execute Your Motion Control Function Blocks Chapter 5
Execute MC_TouchProbe
The MC_TouchProbe function block records the current position when the touchprobe input becomes True. This
function block is useful for registering the absolute position of the asynchronous object, for example, the registration mark
of a film for a vertical form fill seal machine.
To record the current position while an axis is moving, set TP_EXE variable to True to trigger the function block. Then,
you have to manually trigger the touchprobe input from the hardware.
Wire the Controller on page 50
. The output _IO_EM_DO_05 is connected to the touchprobe input. To
trigger it, you can use Connected Components Workbench to force turn on _IO_EM_DO_05.