Rapid move

Rapid moves should include the C axis move as shown below:

{N<SEQ>}{<MOTION> }{X<X-COORD>}
{Z<Z-COORD>}
<IF><MILLING><THEN>
{C<ROT1-WIND>}
<ENDIF>

For posts where the machine tool is performing the polar interpolation, the post will still have to perform the polar interpolation for positioning. In the example below, the C and X coordinates are calculated using the anglexy and radiusxy functions.

<IF><MILLING><THEN>
<IFNOT><ROTARYX><THEN>
{<MOTION>}C[anglexy(<X-COORD>,<Y-COORD>)]
X[radiusxy(<X-COORD>, <Y-COORD>)*2]
{Z<Z-COORD>}<EOB>
<ENDIF>

Also refer to Fourth and fifth axis support.