Let me show my project for Heidenhain measuring cycles. All sub-operations for measurement and datums set added to probing.prt
I use Rotary Point Vector Move sub-operation for pre-position touch probe and set tool axis orientation.
Here - small movie.
How about getting values into the cycle? Do you have to do it manually or system can pick it from geometry?
The same solution can be done wth generic motion with ude or?
Anyway some of parameters we must set manually ofcourse.
ps: I am glad that somebody is trying various stuff with such great control system - Heidenhain.
Some parameters I get from geometry - Boss or Hole Center coordinates, Depth of measurement, Clearance Plane, Motion directions for some cycles.
Of corse, "Output protokol" or "Move to Clearance Plane" you must to fill manually.
About UDE and Generic Motions - yes, it possible and method exactly a same. For UDE all vars in ude, for template - all vars in template.