The reason is that I have an external device which make measure at a certain frame rate and I want to generate the position of each measure that wll be made during milling phase.
Will I be able just by reading the g-code to differentiate a milling phase from a re-positioning ?
And according to your answer considering speed and the device framerate, I could deduce the position (with a error margin coming from the acceleration) ?
Is there case where the position aren't written directly in the G-code ?
Thank for the help.