Generate NC Output

task target This task shows you how to generate NC data from the program in interactive mode.
scenario 1. Right-click the Manufacturing Program in the PPR tree and select Generate NC Code Interactively.

The Generate NC Output Interactively dialog box appears.

 
2. Set the parameters as shown and click Execute to generate the NC data.

The generated file will be attached to the input program.

3. Right click the Manufacturing Program in the PPR tree and select Display NC File.
 

$$ -----------------------------------------------------------------
$$ Generated on Tuesday, March 09, 2004 06:03:17 PM
$$ CATIA APT VERSION 1.0
$$ -----------------------------------------------------------------
CHANNEL,1
$$ Manufacturing Program.3
$$ Part Operation : Multi-spindle Lathe Machine
$$*CATIA0
$$ Manufacturing Program.3,Main Spindle,1
$$ 0.00000 0.00000 1.00000 0.00000
$$ 1.00000 0.00000 0.00000 0.00000
$$ 0.00000 1.00000 0.00000 0.00000
PARTNO Part Operation : Multi-spindle Lathe Machine
COOLNT/ON
CUTCOM/OFF
$$ OPERATION NAME : Turning Tool Change.4
$$ Start generation of : Turning Tool Change.4
$$ TOOLCHANGEBEGINNING
CUTTER/ 1.000000
TOOLNO/1,TURN
$$ TOOLCHANGEEND
$$ End of generation of : Turning Tool Change.4
PPRINT NC_LATHE_MO_START_COMMENT BEGIN
PPRINT MACHINE OPERATION = Rough Turning
PPRINT OPERATION NAME = External Roughing
PPRINT TOOL ASSEMBLY = External Assembly
PPRINT NC_LATHE_MO_START_COMMENT END
$$ OPERATION NAME : External Roughing
$$ Start generation of : External Roughing
SWITCH/3
FEDRAT/ 0.4000,MMPR
SPINDL/ 70.0000,RPM
GOTO / 77.00000, 0.00000, 45.00000
GOTO / 27.50000, 0.00000, 2.00000
FEDRAT/ 0.3000,MMPR
GOTO / 27.50000, 0.00000, 0.00000
FEDRAT/ 0.4000,MMPR
GOTO / 27.50000, 0.00000, -50.00000
FEDRAT/ 0.8000,MMPR
GOTO / 27.71213, 0.00000, -49.78787
RAPID
GOTO / 27.71213, 0.00000, 2.00000
RAPID
GOTO / 25.00000, 0.00000, 2.00000
FEDRAT/ 0.3000,MMPR
GOTO / 25.00000, 0.00000, 0.00000
FEDRAT/ 0.4000,MMPR
GOTO / 25.00000, 0.00000, -50.00000
FEDRAT/ 0.8000,MMPR
GOTO / 25.21213, 0.00000, -49.78787
RAPID
GOTO / 25.21213, 0.00000, 2.00000
RAPID
GOTO / 22.50000, 0.00000, 2.00000
FEDRAT/ 0.3000,MMPR
GOTO / 22.50000, 0.00000, 0.00000
FEDRAT/ 0.4000,MMPR
GOTO / 22.50000, 0.00000, -50.00000
FEDRAT/ 0.8000,MMPR
GOTO / 22.71213, 0.00000, -49.78787
RAPID
GOTO / 22.71213, 0.00000, 2.00000
RAPID
GOTO / 20.00000, 0.00000, 2.00000
FEDRAT/ 0.3000,MMPR
GOTO / 20.00000, 0.00000, 0.00000
FEDRAT/ 0.4000,MMPR
GOTO / 20.00000, 0.00000, -50.00000
FEDRAT/ 0.8000,MMPR
GOTO / 20.21213, 0.00000, -49.78787
FEDRAT/ 0.4000,MMPR
GOTO / 77.00000, 0.00000, 45.00000
$$ End of generation of : External Roughing
$$ OPERATION NAME : Turning Tool Change.5
$$ Start generation of : Turning Tool Change.5
$$ TOOLCHANGEBEGINNING
CUTTER/ 28.000000
TOOLNO/1,TURN
$$ TOOLCHANGEEND
$$ End of generation of : Turning Tool Change.5
PPRINT NC_AXIAL_MO_START_COMMENT BEGIN
PPRINT MACHINE OPERATION = Drilling
PPRINT OPERATION NAME = Drilling.5
PPRINT PATTERN NAME = Hole.5
PPRINT TOOL ASSEMBLY = Drill Assembly for Drill D 10
PPRINT NC_AXIAL_MO_START_COMMENT END
$$ OPERATION NAME : Drilling.5
$$ Start generation of : Drilling.5
LOADTL/3,1
TLAXIS/ 0.000000, 0.000000, 1.000000
SPINDL/ 70.0000,RPM
RAPID
GOTO / 77.00000, 0.00000, 45.00000
FEDRAT/ 300.0000,MMPR
GOTO / 0.00000, 0.00000, 10.00000
RAPID
GOTO / 0.00000, 0.00000, 1.00000
CYCLE/DRILL, 60.206665, 1.000000, 0.400000,MMPR
GOTO / 0.00000, 0.00000, 0.00000
CYCLE/OFF
RAPID
GOTO / 0.00000, 0.00000, 10.00000
FEDRAT/ 1000.0000,MMPR
GOTO / 77.00000, 0.00000, 45.00000
$$ End of generation of : Drilling.5
$$ OPERATION NAME : Swap to Counter Spindle
$$ Start generation of : Swap to Counter Spindle
$$*CATIA0
$$ Swap to Counter Spindle,Counter Spindle,2
$$ 0.00000 0.00000 -1.00000 220.00000
$$ 1.00000 0.00000 0.00000 0.00000
$$ 0.00000 -1.00000 0.00000 0.00000
$$ End of generation of : Swap to Counter Spindle
$$ OPERATION NAME : Turning Tool Change.6
$$ Start generation of : Turning Tool Change.6
$$ TOOLCHANGEBEGINNING
CUTTER/ 60.000000
TOOLNO/1,TURN
$$ TOOLCHANGEEND
$$ End of generation of : Turning Tool Change.6
PPRINT NC_AXIAL_MO_START_COMMENT BEGIN
PPRINT MACHINE OPERATION = Drilling
PPRINT OPERATION NAME = Drilling.6 CS
PPRINT PATTERN NAME = Hole.6
PPRINT TOOL ASSEMBLY = Drill Assembly for T3 End Mill D 10
PPRINT NC_AXIAL_MO_START_COMMENT END
$$ OPERATION NAME : Drilling.6 CS
$$ Start generation of : Drilling.6 CS
TLAXIS/ 0.000000, 0.000000,-1.000000
SPINDL/ 70.0000,RPM
RAPID
GOTO / 70.00000, 0.00000, 20.00000
FEDRAT/ 300.0000,MMPR
GOTO / 0.00000, 0.00000, 10.00000
RAPID
GOTO / 0.00000, 0.00000, 1.00000
CYCLE/DRILL, 25.834787, 1.000000, 0.400000,MMPR
GOTO / 0.00000, 0.00000, 0.00000
CYCLE/OFF
RAPID
GOTO / 0.00000, 0.00000, 10.00000
FEDRAT/ 1000.0000,MMPR
GOTO / 70.00000, 0.00000, 20.00000
$$ End of generation of : Drilling.6 CS
SPINDL/OFF
REWIND/0
END

end of task