![]() |
This task shows you how to define macros on an
axial machining operation.
This is done using the Macros tab page
For more general information about macros, see NC Macros. |
|
![]() |
Macro TypesThe following macro types can be defined on axial machining operations:
Some specific axial machining operations support additional macro types:
User-Built MacrosYou can use the following icons for specifying your macro paths:
|
|
In addition, the following icons allow you to:
|
||
Macro EditionA sensitive icon representing the elementary paths of the macro will help you to build or edit your macro. The current macro path is colored violet. Right-clicking a macro path gives you access to a contextual menu.
|
||
Inherited MacrosIf you create a machining operation and there are other operations of the same type in the program, it will inherit the macros used in the most-recently edited operation of the same type. An operation is considered edited when you click OK to quit the operation definition dialog box. |
||
![]() |
Create a Drilling operation as described in the Prismatic Machining User's Guide. | |
![]() |
1. | Double-click the Drilling operation in the specification tree to edit that operation. |
2. | Select the Macros tab page
![]() |
|
3. | Right-click the Approach macro line
and activate the macro by means of Activate. In the Current
Macro Toolbox, select Add Axial Motion
|
|
4. | Double-click the displayed value in order to edit it. A dialog box appears to allow you to specify the desired distance (30mm, for example). | |
5. | You can then click Replay
![]() |
|
6. | Activate the Retract macro in the Macro Management list, and create a 30 mm axial retract motion in the same way. | |
7. |
Activate the Linking Retract macro in the Macro Management list, and create a 25mm axial retract motion for the linking macro. In the same way create a 25mm axial motion for the approach portion of the linking macro. You can then click Replay
Note that if a jump distance is defined on the operation, it will be used in preference to the linking macro. Similarly if local entry/exit distances are defined on the operation, they will be used in preference to the linking macro. |
|
8. | Click Replay to validate the tool path.
In the Replay dialog box, select the Different colors mode
|
|
9. | Click OK to accept the modifications made to the
operation. The operation is updated with the specified macros. |
|
![]() |
PP Words in MacrosYou can insert PP words in macros by double-clicking the green X symbols in the sensitive icons. The PP Words Selection dialog box is displayed. You can enter the syntax in the following ways:
For Circular Milling operations, you should select the NC_CUTCOM_ON
instruction in the list of available syntaxes if you want the program to
interpret cutter compensation automatically (that is, by a CUTCOM/LEFT or
CUTCOM/RIGHT instruction). If you choose different syntax in the list, it
will be used as selected. |
|
|