This task shows you how to generate NC code in APT format from the manufacturing program or part operation in batch mode. | ||
For best results, you should first verify the machining
operations of your program by means of a replay or simulation.
There should be no operations to be updated or in an undefined
state. Always save your program modifications before generating the NC code. |
||
1. |
Select Generate NC Code in Batch Mode
in the NC Output Management toolbar. The following dialog box appears. |
|
In the In/Out tab page... |
||
2. | Select the manufacturing document to be processed using the Input CATProcess [...] button. The current document is proposed by default. | |
3. |
Select the type of NC entity to be processed.
|
|
4. | Select APT as the NC data type that you want to generate. | |
5. |
Select the desired One file...
option.
|
|
6. |
To store the resulting NC data file at the same location
as the input CATProcess, select the Store at same location
as the CATProcess check box. Otherwise, specify the Output file where you want the NC data to be written using the [...] button. A default name is
proposed for the output file (for example, On subsequent batch executions, the filename and the path of the last generated output are remembered if the Store at same location as the CATProcess check box is not selected. If this option is selected, only the filename of last generated output is remembered. |
|
7. | To authorize overwriting an existing like-named APT source, select the Replace like-named file check box. | |
8. |
To
write the CATProcess document after processing, select the
Save Input CATProcess check box. Specify where you want to save this document using the [...] button. |
|
9. | To authorize overwriting an existing like-named CATProcess document, select the Replace like-named CATProcess check box. | |
10. |
To attach the generated
output file to the first selected manufacturing program,
select the Associate output NC file to the program
check box. To access the output file, right-click the manufacturing program and select Display NC File. See Manufacturing Program with Associated NC File for additional information. |
|
11. |
Select the Lock operations check box to
lock all the machining operations after processing. Refer to Locked Machining Operations for more information. |
|
In the Tool Motions tab page... |
||
12. |
Specify the options to be used for processing the tool motions.
Some of these options can be set to take machine characteristics into account: set the option to From Machine. Refer to NC Data Options for more information. |
|
In the Formatting tab page... |
||
13. |
Specify the formatting options. These options determine
how information is to be presented on the output file (for
example, general information statements to be presented
with the PPRINT syntax).
Refer to NC Data Options for more information. |
|
14. | Click Execute to generate the APT source file. | |
Refer to Syntax of Generated APT Instructions for more information about the NC data output. | ||
|