Turning Operations: Motion Output - Linear and Circular Motions

The basic turning motions are output from the regular LINEAR MOTION and CIRCULAR MOTION blocks. Special blocks and qualifiers for Canned or Thread cycles are detailed below.

The output is always in the regular XYZ coordinates, related to the REF UCS, as in milling. The REF UCS must be oriented so that the Z axis is aligned with the Turning axis of the machine, the X coordinates (in a traditional ZX turning) represent the radius value from the center. If the controller requires the output as a diameter, the value must be multiplied by 2 in the EX2 program.

Canned Cycles

Canned cycles in Turning are optional for roughing operations. Instead of outputting the entire toolpath, only the final contour is given to the controller and the controller creates a cycle to remove the stock up to this contour.

To enable this output in GPP2, the following flag must be set to true at BEGINNING OF PROC block (or before):

USE_CANNED_OUTPUT = TRUE_;

The following blocks are invoked in the post in this case:

BEGINNING OF LCANNED – to mark the start of the canned cycle.

END OF LCANNED – to mark the end of the canned cycle.

Between these two blocks, linear and circular blocks are output, with special qualifiers to distinguish the new blocks:

LINEAR MOTION: lincanned

CIRCULAR MOTION: circcanned

Threads

When the machine cuts threads, its turning spindle must be synchronized with the feed of the cutter to create the correct thread. This usually requires special G-Ccode. Therefore, the linear and circular thread motions are output with qualifier:

LINEAR MOTION: linthread

CIRCULAR MOTION: circthread

See turning thread related variables at the Block: BEGINNING OF PROC - Turning Thread.

Some functionality may be dependent on the product package. Contact your Reseller if you require a license.