Generate the NC Code Interactively

The Generate the NC Code Interactively dialog box appears when you select Generate the NC Code Interactively. This allows you to set up the NC output for NC code.

This dialog box contains controls for:

This page discusses:

In/Out

Input
Define the Input

  • Part Operations: Select one Part Operation. In this case, all the Manufacturing Programs of the selected Part Operation are processed.
  • Programs: Select one or more Manufacturing Programs.
    Note: If several Manufacturing Programs exist, they are all listed in the dialog box.
  • NC File Container: Select a previously generated APT file in the NC files container.
    • APT to be Processed: Specifies the APT file that you plan to use.
    • APT Index File: Specifies the APT index file that you plan to use.

Output

Under Output NC Program, specify the name of the NC program file. For example: Manufacturing_Program_1. The NC Files Container is created with this name.

Under File Extension, when you select the required output file extension or specify if one is not listed, the output file is generated with this extension. For NC Output Type ISO, the extensions are listed based on the extension(s) specified in NC Code Extensions on the Numerical Control tab of the machine. See Creating a Generic Machine and Managing Its Parameters for more information.

Resulting NC Output
NC data type: This type is defined globally in the machine associated to the Manufacturing Program.
  • For all selected programs: Generates a single APT file for all the selected Manufacturing Programs.
  • By program: Generates a single APT file for each selected Manufacturing Program.
  • By machining operation: Generates a single APT file for each machining operation in the selected Manufacturing Programs.
    Note: This option is not supported in Manufacturing Programs containing Copy or Tracut Operators.
Replace like-named NC program: Clear to prevent overwriting existing NC code files inside an NC files container.
Check Store APT index file for Post-Processing to generate and store an APT index file. You can use this file afterward when generating NC code from an APT file.
Manufacturing Cell NC Output Generation

Select the Lock operations check box to lock all the Machining Operations after processing.

The Do Not Show NC Output Error Panel is cleared by default. When you click the execute command while dynamically processing an activity for APT and NC output, an NC output error panel appears and displays a warning message. You can check this option to hide the panel.

Tools Motions

Tool Motions

Tool motions and formatting let you modify locally the machine parameters.

Remove Coincidental Point between Operators - Output the same point even if the end point of a Machining Operation and start point of the subsequent Machining Operation are the same.

Feedrates

Modify locally the machine feedrate parameters.

Circular Interpolation

Set the circular interpolations with the minimum and maximum values.

Formatting

Statements

Set the data information.

Format for Points Coordinates (X,Y,Z)
Set the point coordinates for the Number of digits and the digits after the decimal.
Format for Axial Components (I,J,K)
Set the point coordinates for the Number of digits and the digits after the decimal.

NC Code

Cenit Post-Processor File

If the output option is set to None, you cannot generate the NC code. The content of the NC Code tab varies according to the post-processor selected.

In Me > Preferences > App Preferences > Simulation > Machining > NC Machining Apps Common Services > Output tab, select the type of Post Processor and Controller Emulator Folder (Cenit, Intelligent Manufacturing Software (IMS), and ICAM Technologies Corporation). For more information, see Output.

Cenit Post-Processor Solution

Sample Cenit Post Processor parameter files are delivered with the product in the folder \Startup\Manufacturing\PPPar, which provides NC output for various machine types. To execute your own PP, you must copy it into this folder.

You can use PPs that include external macros. In this case, you must define them in the PP in:

Modify postprocessor // Define NC-blocks // Index : MACRO APT WORDS

and then copy these macros in the same folder as the PP.

IMS Post-Processor Solution

Sample IMS Post Processor parameter files are delivered with the product in the folder \Startup\Manufacturing\IMSPar, which provides NC output for various machine types.

It also allows customization of the Post Processors as per the user’s machine specifications through IMS ® Formatter .

To execute your own PP, you must copy it into this folder.

The IMSPar folder must be accessible in Read or Write mode.

ICAM Post-Processor Solution

Sample ICAM Post Processor parameter files are delivered with the product in the folder \Startup\Manufacturing\ICAMPar, which provides NC output for various machine types. To execute your own PP, you must copy it into this folder.

Always save your program modifications before generating NC code.

For best results, verify the operations of your program by means of a replay or simulation. You must not have operations that you need to update or are undefined.

ICAM Foundation Post-Processor Solution

Sample ICAM Foundation Post Processor parameter files are delivered with the product in the folder \Startup\Manufacturing\ICAMFoundationPar, which provides NC output for various 2 and 3 axis machine types.

It also allows creation of the Post Processors as per the user’s machine specifications through ICAM ® Foundation Developer.

Always save your program modifications before generating NC code.

For best results, you should first verify the operations of your program by means of a replay or simulation. There should be no operations to be updated or in an undefined state.