Download CVNC -M2 User Guide - John J. Jacobs

Transcript
Tool Motion Generation: Milling
Generating Area Clearance Tool Paths — AREAMILL
AREAMILL can reference CVMAC point macros at predefined points during its
execution.
Point macros, by passing text to the output, add machine control statements during
AREAMILL tool path generation. This text is in addition to the standard
command output.
If a point macro is present in the active macro libraries, it is executed every time
that point is reached; if a point macro is not present, no action is taken.
A list of all the predefined points is provided in the CVNC Milling Command
Reference, Appendix C, CVNC Point Macro Points.
For more information about macros, see Customizing CVNC.
Using AREAMILL Point Macros
To use an AREAMILL point macro, you must write a CVMAC macro and give it
the same name as the predefined point at which you want to invoke the macro. For
example, amil05 is the macro for the predefined point AMIL05.
Please note: The point macro name must be in lowercase or CVNC cannot
read or locate it. CVMAC can perform a variety of activities, such as
• Eliciting input from the operator
• Reading or writing from files
• Reading or writing from the CADDS database
• Performing algebraic calculations
Please note: The following are not allowed in AREAMILL point macros:
• CVNC system commands
• CVMAC geometry commands
• Macro calls and command files
• Arguments
For more information on CVMAC, see CVMAC Language Reference.
6-44
CVNC-M2 User Guide