Good morning.
For reasons of space on the milling machine table, I need to mount the fixed probe for measuring the tool length, on a retractable arm, moved by a stepper with belt / pulley transmission, as rotational axis "U" or other letter.
I would therefore need to insert, in the M6 script, on the script "measure lenght" too, and in any others that use the same probe, a line of code like this, before the measurement:
G1U180f100
and, after the measurement, before machine moving and spindle restart:
G1U0f100
I absolutely don't know where to put them in the scripts, and I'm not familiar with the language used in the scripts that TNG uses.
Can someone help me?