Define Macros
You can define macros in an Axial Machining operation.
- Activate the Manufacturing Program.
- Select Axial Machining section.
- Click Drilling
.
- Select the Macro Parameters tab in the Machining Operation dialog box.
The initial status of all the macros in the Macro Management list is Inactive.
- Right-click the Approach
macro line and select Activate.
Note: You can also activate or deactivate macros by double-clicking an item in the list.The macro line is activated.
Turns to
, meaning some definition data exist but may require modifications.
-
In the Current Macro Toolbox, click Add
Axial Motion .
A sensitive icon representing the elementary paths of the macro appears.
- Double-click 10mm to edit the distance (to 30mm, for example).The yellow light turns to green, meaning the data is up-to-date.
- Click Display or Simulate to check the axial approach.
- Under Macro Management, as described above:
- Activate the Retract macro line, and create a 30mm axial retract motion.
- 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 you 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.
- Create a 25mm axial motion for the Linking
Approach macro.
- Click Display or Simulate 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. -
Click Display or
Simulate to validate the tool path.
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.
<p>You can modify the default colors in <ph conref="../../../Frame/FrameEntities.doc/src/ds-Preferences-Entities.xml#ds-Preferences-Entities/MenucascadePrefSimMach"/> <menucascade><uicontrol>> General</uicontrol><uicontrol>Tool Path Replay.</uicontrol></menucascade></p> - Click OK.The Machining Operation is updated with the specified macros.