Simulate a Machine Using NC Code
You can simulate Milling Machine, Milling Machine with Head, and Mill-Turn Machine (Mill-Turn Machine with Single Spindle and Single Turret; Mill-Turn Machine with Single Spindle and Multiple Turrets; and Mill-Turn Machine with Multiple Spindle and Multiple Turrets) using NC Code. This also validates the given NC Code.
- Go to
Me
> Preferences > App Preferences > Simulation > Machining
> NC Machining Apps Common Services > Output.
- Select a Post Processor.
- Select NC Code File location and extension in NC Code output and NC Guide Location.
- Go to
Me
> Preferences > App Preferences > Simulation > Machining
> NC Machining Apps Common Services > Resources.Select a PP table location in Catalogs and Files for Tools and PP tables.
- Assign an NC Machine to the manufacturing cell.
- Set Controller Emulator, Post Processor, and Post Processor words table, and NC Data Format appropriate for the assigned machine in the Generic Machine dialog box.
- Select ISO (that is, NC code) as NC data type and click OK.An error message appears if the NC Code Simulation command is launched without setting the above options.
- Optional: Generate NC Code Files by doing one of the following:
- Right-click the manufacturing program in the tree and select Generate NC Code Interactively to generate NC Code files.
- Click Generate NC Code Interactively from the Analysis and Output section of the action bar.
If not already generated, the NC Code get generated during the NC Code Simulation
- Double-click the manufacturing program and assign NC Code files if they are generated by other means.
- Launch the NC Code Simulation command.
Activity selection during NC Code Simulation depends on the NC Machine to be simulated:
- Part Operation: Mill-Turn Machine is simulated by right-clicking Part Operation > Simulate Machine using NC Code. You cannot select a manufacturing program or a part operation to simulate a Mill-Turn machine. The instructions in NC Code files associated with the manufacturing programs of the selected part operation are simulated. You have to enable manufacturing programs for NC Code Simulation.
- Manufacturing Program: Milling Machine and Milling Machine with Head is simulated by right-clicking Manufacturing Program > Simulate Machine using NC Code. You cannot select a part operation to simulate a Milling machine or Milling machines with Head. The instructions in NC Code files associated with the selected manufacturing program are simulated.
- Manufacturing Operation: Not Supported
Note: An error message is displayed if you select an invalid activity for a given NC Machine.The NC Code Simulation Player and Simulation Analysis context toolbars appear after launching the NC Code Simulation command.
The NC Code files are generated if they are not available or not up to date. You can run or pause the simulation using the Simulation Player tab.
When you run NC Code Simulation, the material removal simulation result corresponding to the last line of the NC code file associated with the manufacturing program is persisted in transient mode. You can use this persisted result in the following commands:
- Design Part Comparison : To analyze material remaining or gouges between the simulation result and the design part.
- Save Material Removal Simulation Result
: To
store the simulation result in the database to reuse later. Note: You can also use this command to export the simulation result to a 3D Part using the Export material removal simulation result function in the Stock Creation Wizard.
- Click in Simulation Analysis tool bar. The ISO dialog box appears, displaying the currently executed NC Code, of one or several programs.Note:
- Support for partial simulation and Video NC Code Simulation is not provided.
- Tool Path traces are not provided in NC Code Simulation.
Make sure your post processor and controller emulator are set in Me > Preferences > App Preferences > Simulation > Machining > NC Machining Apps Common Services > Output and set the post processor in the Generating NC Code.