To Include Pre- and Post-Machining Files
You can include user-defined macros, like setting the post-processor registers, at the very beginning and the very end of a CL file, using two parameters:
PRE_MACHINING_FILE—Enter the name of the file you want to be included at the very beginning of the CL file (after the PARTNO, MACHIN, and UNITS commands).
POST_MACHINING_FILE—Enter the name of the file you want to be included at the very end of the CL file.
Filenames are entered without the extension, and should have the extension ".ncl", or the default CL file extension if specified in the configuration file.
The contents of these files will be included in the CL file of the current NC sequence between $$-> BLOCK_START and $$-> BLOCK_END. These contents will be ignored when reading a CL file using the Input command on the CL DATA menu.
|
• Both these files are included into a CL file before it goes to the post-processor.
• If you set the Startup and Shutdown files at the operation level, these files will be added only when outputting CL data for the operation. The Startup file is output right after the PARTNO, MACHIN, and UNITS commands, before the pre-machining file for the first NC sequence; the Shutdown file is output at the very end of the CL file, after the post-machining file for the last NC sequence.
|