A milling program was created outside of the NX CAM application. After editing the G-code file in a text editor, the edits need verification. Below are the steps to simulate the G-code program inside NX CAM using integrated machine tool simuation.
Created with NX 8
1. Create the Part and the Blank geometry. (The Part Geometry is only required if gouge checking is performed.)
2. Create a manufacturing setup and move the MCS to the correct location in reference to the part shape. In the MCS specify a Fixture Offset number of “1” to be used for G54 output. All simulation setups require that an MCS with a Fixture Offset of “1” be present even if unused. If a G55 through G59 are used in the G-code file than an additional MCS will need to be created for each of these. The Fixture Offset value that is entered in the MCS will be 2 through 6, respectively.
3. Load the simulation machine into the part file.
4. When loading the machine specify the “Part Mount Junction” so that the part can be positioned on the simulation machine correctly. Use the “Workpiece Parts” pane to select the part model to be used for Gouge Checking.
5. Create all the tools in NX that will be used in the program. Add these tools to the Pocket with the correct Tool Number and then alter the Adjust and Cutcom Registers to match those used in the G-code file. If a Tool, Adjust or Cutcom value is used in the G-code file which cannot be found associated to an NX Tool than an error will be displayed during simulation.
6. Open the “Machine Tool Navigator” and locate the “Workpiece” in the Setup section. Select the model that will be used as blank geometry in the simulation. If any machining fixtures are used, a vise for example, they can be added under “Fixtures”.
7. To start the simulation go to ‘Tools -> Simulate Machine Code File’ and, when prompted, select the G-code file that will be simulated.
On the “Simulation Control Panel” check “On” the “Show 3D Material Removal” option and press “Play” to simulate. Make sure that a G20 or a G21 is included in the G-code file so that the machine simulates in the correct part units.
Do you have a question?
Click 'Add a Comment' below to ask it. (You must be signed in to use this feature.)