Share

Configure Turn menu

Use the options on the Configure Turn menu to configure turning process output using.

Use the options on the Configure Turn > NC File Header/Footer Formats menu to configure the NC File Header/Footer formats for turning process output.

File Start

This program format is the first format called in ConfigPost. It is only called once and is used to output %, program numbers, and so on. It can also be used to initialize variables that are to be used in other formats.

Collet Re-Chuck

This program format is only used by PartMaker/SwissCAM. It is triggered by a checkbox in General Information called “Swiss Turn.” This format is called once, right after the File Start format before any cutting process takes place. Collet Re-Chuck format is configured to produce G-codes required to setup the main collet at a distance from the face of the stock determined by the part length.

Note: The values of reserved words such as <tool-num>, <speed-rpm>, etc. when used in the Collet Re-Chuck format are taken from the Cut-off Process.
Note: The values of User Data are taken from the first process in the Process Table.

Program End

This program format is output at the end of a part program before subprograms if the End of File option is used. You can use this program format to position the tool to an end point (using the <tool-change-x> and <tool-change-z> reserved words, turn coolant off, or restart the part program. For incremental programming, you can use <@tool-change-x> and <@tool-change-z> to move to the first tool change position in the part program.

{N<seq> }M5<eob>
{N<seq> }G0 X<tool-index-x> Z<tool-index-z> T<$tool-num>00<eob>
{N<seq> }M9<eob>
{N<seq> }M30<eob>

File End

This program format specifies the format of one or more lines to be placed at the end of the part program file and is normally used after the subprograms section of a part program. %<eob>

Use the options on the Configure Turn > Process Header/Footer Formats menu to configure Process Header/Footer formats for turning process output.

Program Start

Post outputs lines defined in Program Start at the beginning of a part program. You must place general preparatory codes such as absolute, incremental, etc. in this program format to define the dimension system. You must also define the first tool change in this program. Use of <tool-index-x> and <tool-index-z> reserved words is optional. The reserved words <x- coord> and <z-coord> must be included in the Program Start format.

:<prog-num1><eob>
{N<seq> }(<prog-name>)<eob>
{N<seq> }G97 S<speed-rpm> <spindle-on><eob>
{N<seq> }G0 X<tool-index-x> Z<tool-index-z><eob>
{N<seq> }T<tool-num><tool-offset> (<tool-name> <tool-note>)<eob>
<IF><css-on><THEN>
{N<seq> }{G50 S<css-rpm-max>}<eob>
{N<seq> }{G96 S<speed-fpm>}<eob>
<ENDIF>
{N<seq> }<coolant><eob>
{N<seq> }<feed-units><eob>
{N<seq> }{<tool-nose-com> }{<motion> }{X<x-coord> }{Z<z-coord>}<eob>

Tool Change

When you use the Tool Change format, a tool change block is output in the part program for all processes that require a tool change. Reserved words such as <speed-rpm>, <spindle- dir>, and <coolant> are commonly included in the Tool Change format. Reserved words <x-coord>and <z-coord> must be included in the Tool Change format.

{N<seq> }G40 G0 X<tool-change-x> Z<tool-change-z> T<$tool-num>00<eob>
<32><32><eob>
{N<seq> }G97 S<speed-rpm> <spindle-on><eob>
{N<seq> }G0 X<tool-change-x> Z<tool-change-z><eob>
{N<seq> }T<tool-num><tool-offset> (<tool-name> <tool-note>)<eob>
<IF><css-on><THEN>
{N<seq> }{G50 S<css-rpm-max>}<eob>
{N<seq> }{G96 S<speed-fpm>}<eob>
<ENDIF>
{N<seq> }<feed-units><eob>
{N<seq> }{<tool-nose-com> }{<motion> }{X<x-coord> }{Z<z-coord>}<eob>

Process Start

A process start block is output only between non-tool changing processes in the part program. The Process Start program format must contain all commands that might change between processes such as <speed-rpm>. You must also include the <x-coord> and <z-coord> reserved words in this program format.

<IFNOT><css-on><THEN>
{N<seq> }{G97 S<speed-rpm>}<eob>
<ENDIF>
<IF><css-on><THEN>
{N<seq> }{G50 S<css-rpm-max>}<eob>
{N<seq> }{G96 S<speed-fpm>}<eob>
<ENDIF>
{N<seq> }{<feed-units>}<eob>
{N<seq> }{<tool-nose-com> }{<motion> }{X<x-coord> }{Z<z-coord>}<eob>

Process End

For multi-axis postprocessors, the Process End format is often used to cancel synchronization modes and retract the tool to a safe location before the tool change.

Autodesk recommends that you do not use this format for basic postprocessors.

Motion Formats

Use the options on the Configure Turn > Motion Formats menu to configure Motion formats for turning process output.

Rapid Move

The Rapid Move program format determines the output of rapid positioning moves in the part program. When you use modality delimiters { } around the <x-coord> and <z-coord> reserved words in this program format, PartMaker will strip redundant X or Z coordinates from each line as they are encountered. {N<seq> }{<motion> }{X<x-coord> }{Z<z-coord>}<eob>

Linear Move

The Linear Move program format defines the part program output for linear moves. You must define the <x-coord>, <z-coord>, <motion>, and <feed-upr> or <feed-upm> reserved words in this program format. You can use the <comp-start> reserved word to turn cutter compensation on or off. Please note how the appropriate value for the feed rate is obtained.

{N<seq> }{<feed-units> }{<motion> }{X<x-coord> }{Z<z-coord> }
<IF><upr-units-used><THEN>
{F<feed-upr>}
<ENDIF>
<IFNOT><upr-units-used><THEN>
{F<feed-upm>}
<ENDIF>
<eob>

Circular Move

In this program format, the reserved words <arc-x>, <arc-z>, <radius>, <center-x>, and <center-z> can be used.

{N<seq> }{<feed-units> }{<motion> }{X<x-coord> }{Z<z-coord> }R<radius>
<IF><upr-units-used><THEN>
{F<feed-upr>}<eob>
<ENDIF>
<IFNOT><upr-units-used><THEN>
{F<feed-upm>}<eob>
<ENDIF>

Thread Move

This motion format defines the linear move associated with threading, typically G32, G33, or G92 depending on your control. Note that <pitch> is substituted for <feed-upr> or <feed- upm>.

{N<seq> }<motion> X<x-coord> Z<z-coord> F<pitch><eob>

Thread Whirl Move

This motion format defines the linear move associated with thread whirling.

Two examples are shown below. Please consult your machine manual for details of the formatting it requires for thread whirling.

Example 1

The machine uses G32 and a Feed Rate in UPR. The stock position is controlled with the turning spindle:

{N<seq> }G32 X<x-coord> Z<z-coord> F<pitch><eob>rd> Z<z-coord> F

Example 2

The machine uses G1 and a Feed Rate in UPM. The stock positioning is controlled with the C-axis:

{N<seq> }G1 X<x-coord> C<@c-angle> Z<z-coord> F<feed-upm><eob>rd> Z<z-coord> F

MCP-Action

This program format contains the configuration for:

Material Control Processes for PartMaker/Turn and PartMaker/Turn-Mill

and

Material Control Processes for PartMaker/SwissCAM.

Canned Cycles

Use the options on the Configure Turn > Canned Cycles menu to configure Canned Cycle formats for turning process output.

DRILL Cycle

This program format specifies a canned drilling cycle.

{N<seq> }<cycle> Z<depth-abs> K<step1> F<feed-upm><eob>

SPOT FACE Cycle

This program format specifies a canned spot face cycle.

{N<seq> }G1 Z<depth-abs>
<IF><upr-units-used><THEN>
{F<feed-upr>}
<ENDIF>
<IFNOT><upr-units-used><THEN>
{F<feed-upm>}
<ENDIF>
<eob>
{N<seq> }G4 U.5<eob>
{N<seq> }G0 X0 Z<face-clear><eob>

DEEP HOLE Cycle

This program format specifies a canned deep hole drilling cycle.

{N<seq> }<cycle> Z<depth-abs> K<step1>
<IF><upr-units-used><THEN> F<feed-upr>
<ENDIF>
<IFNOT><upr-units-used><THEN> F<feed-upm>
<ENDIF>
<eob>

CHIP BREAK Cycle

This program formats specifies a canned chip break cycle:

{N<seq> }<cycle> Q<step> Z<depth-abs> 
<IF><upr-units-used><THEN> F<feed-upr>
<ENDIF>
<IFNOT><upr-units-used><THEN> F<feed-upm>
<ENDIF>
<eob>

VARIABLE STEP Cycle

This program format specifies a canned variable step cycle:

<IFNOT><is-full-retract><THEN>
         G73 I<step> J<step-decrease> K< step-min> Z<depth-abs> F<feed-upm><eob>
<ENDIF>
<IF><is-full-retract><THEN>
        G83 I<step> J< step-decrease> K< step-min> Z<depth-abs> F<feed-upm><eob>
<ENDIF>

FLOAT TAP Cycle

Float tapping cycles are typically not defined for lathes, however this option is available for your use if provided by your control manufacturer.

RIGID TAP Cycle

This program format specifies a canned rigid tapping cycle. Rigid tapping cycles are typically not defined for lathes; however this option is available for your use if provided by your control manufacturer.

{N<seq> }G32 Z<depth-abs> F<pitch><eob>
{N<seq> }G4 U.5<eob>
{N<seq> }G32 Z<face-clear> M14<eob>

BORE,DWELL Cycle

Bore with a dwell at the bottom of the motion is typically not defined for lathes, however this option is available for your use if provided by your control manufacturer.

FINISH Cycle

This cycle will finish a defined contour. {N } P Q

TURN Cycle

This cycle will rough down to a defined contour, using passes along the axis of the spindle.

{N<seq> }<cycle> U<x-finish-allow> W<z-finish-allow> P<shape-start-p> Q<shape-end-q> D<int-depth-cut>
<IF><upr-units-used><THEN> F<feed-upr>
<ENDIF>
<IFNOT><upr-units-used><THEN> F<feed-upm>
<ENDIF>
<eob>

FACE-TURN

This cycle will rough to a contour, using cuts perpendicular to the spindle axis.

{N<seq> }<cycle> U<x-finish-allow> W<z-finish-allow> P<shape-start-p> Q<shape-end-q> D<int-depth-cut>
<IF><upr-units-used><THEN> F<feed-upr>
<ENDIF>
<IFNOT><upr-units-used><THEN> F<feed-upm>
<ENDIF>
<eob>

CONTOUR Cycle

This cycle will rough to a defined contour, using offset duplicates of that contour.

{N<seq> } <cycle> P<shape-start-p> Q<shape-end-q> I<diam-clear> K<face-clear> U<x-finish-allow> W<z-finish-allow> D<num-passes>
<IF><upr-units-used><THEN> F<feed-upr>
<ENDIF>
<IFNOT><upr-units-used><THEN> F<feed-upm>
<ENDIF>
<eob>

GROOVE Cycle

This cycle will cut a groove on the circumference of cylindrical stock.

{N<seq> }<cycle> Z<thread-final-z> X<thread-final-x> I<step1> K<step2>
<IF><upr-units-used><THEN>
F<feed-upr>
<ENDIF>
<IFNOT><upr-units-used><THEN>
F<feed-upm>
<ENDIF>
<eob>

FACE-GROOVE Cycle

This cycle will cut a groove in the face of the stock.

{N<seq> }<cycle> Z<thread-final-z> X<thread-final-x> I<step1> K<step2>
<IF><upr-units-used><THEN> F<feed-upr>
<ENDIF>
<IFNOT><upr-units-used><THEN> F<feed-upm>
<ENDIF>
<eob>

THREAD Cycle

This cycle cuts threads on the circumference of the stock.

{N<seq> }<cycle> X<thread-final-x> Z<thread-final-z> K<height> D<int-depth-cut>
A<infeed-angle> F<pitch> I<taper-val><eob>

FACE-THREAD Cycle

This cycle cuts threads on the face of the stock.

{N<seq> }<cycle> X<thread-final-x> Z<thread-final-z> H<height> D<int-depth-cut>
B<infeed-angle> F<pitch> L<cham-length> E<lead-var> K<taper-val> W<z-finish-allow> M32
M75<eob>

Other Formats

Use the options on the Configure Turn > Other Formats menu to configure Other formats for turning process output.

Configure Turn > Other Formats > End of Shape

This program format specifies the end of a profile shape definition. Not typically used.

Turn > Other Formats > Tool Definition

This program format is used strictly for interfacing with verification software.

Configure Turn > Other Formats > Home Name Definition

This program format is used strictly for interfacing with verification software.

Procedure Formats

For more information, see Using Procedures.

Modes, Moving Stock

For more information, see Synchronization Modes.

Note: This feature is not used in Basic Post Processor.

Modes, Stationary Stock

For more information, see Synchronization Modes.

Note: This feature is not used in Basic Post Processors.

General Information

This command displays the General Information dialog where you can specify information for a part program such as machining data, turret definition information and the type of circular interpolation your CNC uses.

Preparatory Functions

This command displays the Preparatory Functions dialog where you can specify machining codes to be used in the part program for cycle names, motion formats, cutter compensation, coolant type, and spindle direction.

Words Information

This command displays the Words Information dialog where you can specify parameters for reserved words used in a Post file.

Was this information helpful?