Defining Macros on Axial Machining Operations

You can define macros in an Axial Machining operation.

Related Topics
About NC Macros
Macros
Working with Generic Machine Editor
  1. From any product:

    1. Select Start > Machining > Machine Programming.

      A PPR context with an empty Machining Cell is created. An empty Activities Process Tree opens automatically.

    2. Create a generic machine or assign a machine from the database.

      As soon as a machine is assigned to the Machining Cell, a Part Operation and a Manufacturing Program are created in the Activities Process Tree.

    3. Alternatively, open an existing Machining Process or PPR context .

      By default, the Activities Process Tree opens automatically.

  2. Activate the Manufacturing Program.

    1. Click Axial Machining Operations.
    2. Click Drilling in the sub-toolbars that appear.
    3. Go to the Macros tab in the Machining Operation dialog box that appears.

    The initial status of all the macros in the Macro Management list is Inactive .

  3. Right-click the Approach macro line and select Activate in the contextual menu.

    The macro line is activated. turns to , meaning some definition data exist but may require modifications.

  4. In the Current Macro Toolbox, select Add Axial Motion .

    A sensitive icon representing the elementary paths of the macro appears.

  5. Double-click 10mm to edit the distance (to 30mm, for example).

    The yellow light turns to green, meaning the data are up-to-date.

  6. Click Tool Path Replay to check the axial approach.

  7. Under Macro Management, as you did above:

    1. Activate the Retract macro line, and create a 30mm axial retract motion.
    2. Activate the Linking Retract macro line, and create a 25mm axial retract motion.

      The Linking Approach/Retract macros have a common behavior and are seen as the same object. It allows to handle Activate/Deactivate for both Approach and Retract. Consequently, they share the same name and it is not possible to rename one independently from the other.

    3. Create a 25mm axial motion for the Linking Approach macro
    4. Click Tool Path Replay to check the defined motions.



    Note: If a jump distance is defined in the Machining Operation, it is used in preference to the linking macro. Similarly if local entry/exit distances are defined on the Machining Operation, they are used in preference to the linking macro.

  8. Click Tool Path Replay to validate the tool path.

    1. In the Replay dialog box, select the Different colors mode in order to visualize feedrate changes. See Color Modes.

    The tool path is displayed with the following default colors:

    • Yellow: approach feedrate
    • Green: machining feedrate
    • Blue: retract feedrate
    • Red: Rapid feedrate
    • Purple: plunge feedrate
    • White: local feedrate.



  9. Click OK to validate and exit the dialog box.

    The Machining Operation is updated with the specified macros.