Define PP Word Syntax

You can define syntaxes in your PP word table. Machine Programming resolves the parameters of these syntaxes and syntax sequences and generate the corresponding statements in the APT output.

This task shows you how to:

Related Topics
PP Tables and PP Word Syntaxes
Inserting PP Instructions
Editing PP Words

Define the Syntax in NC Commands

You can define the syntax of PP word in NC Commands as shown below.

  1. Make sure that the PP word table is referenced by the machine used in the Part Operation.

    See Working with Generic Machine Editor.

  2. Make sure the syntax associated with the NC_DELAY command is already created as follows:

    *START_NC_COMMAND NC_DELAY 
     DELAY/&MFG_DELAY_UNIT,%MFG_DELAY_VALUE 
    *END

  3. Create a Drilling Dwell Delay operation.

    1. Set the Dwell mode to By revolutions and Revolutions to 5.

      The statement generated in the resulting APT source is

      DELAY/REV,5.000

    2. Set the Dwell mode to By time units and Time to 5.

      The statement generated in the resulting APT source is

      DELAY/5.000

Define the Syntax in NC Instructions

You can define the syntax of PP words in NC Instructions as shown below for the NC instruction NC_DRILLING_DWELL_DELAY.

  1. Make sure that the PP word table is referenced by the machine used in the Part Operation.

    See Working with Generic Machine Editor.

  2. Make sure the syntax associated with the NC_DRILLING_DWELL_DELAY instruction is already created as follows:

    *START_NC_INSTRUCTION NC_TOOL_CHANGE 
    *START_SEQUENCE 
    CYCLE / DRILL, %MFG_TOTAL_DEPTH, %MFG_FEED_MACH_VALUE, 
    &MFG_FEED_UNIT, %MFG_CLEAR_TIP, DWELL, %MFG_DWELL_REVOL 
    *END 
    *END

  3. Create a Drilling Dwell Delay operation.

    1. Set the Hole Depth to 25:

    2. Set the Machining feedrate to 500.

    3. Set the Approach clearance to 5, the Dwell mode to By revolutions and Revolutions to 5.

    The NC data output is

    CYCLE/DRILL, 25.000000, 500.000000, MMPM, 5.000000,DWELL, 3
    						

Note: The PP word table is updated with your syntaxes when you save the file.