Generate NC Output

task target This task shows you how to generate NC data for the Part Operation 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 first program in the Part Operation.

3. Right click the first program in the PPR tree and select Display NC File.
 

$$ -----------------------------------------------------------------
$$ Generated on Tuesday, March 16, 2004 04:56:42 PM
$$ CATIA APT VERSION 1.0
$$ -----------------------------------------------------------------
CHANNEL,1
$$ PGM UT
$$ Part Operation : Multi-turret lathe machine
$$*CATIA0
$$ PGM UT,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-turret lathe machine
COOLNT/ON
CUTCOM/OFF
$$ OPERATION NAME : Turning Tool Change.1
$$ Start generation of : Turning Tool Change.1
$$ TOOLCHANGEBEGINNING
CUTTER/ 1.000000
TOOLNO/1,TURN
$$ TOOLCHANGEEND
$$ End of generation of : Turning Tool Change.1
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/9
FEDRAT/ 0.4000,MMPR
SPINDL/ 70.0000,RPM
GOTO / 77.00000, 0.00000, 45.00000
GOTO / 28.00000, 0.00000, 2.50000
FEDRAT/ 0.3000,MMPR
GOTO / 28.00000, 0.00000, 0.50000
FEDRAT/ 0.4000,MMPR
GOTO / 28.00000, 0.00000, -49.50000
FEDRAT/ 0.8000,MMPR
GOTO / 28.21213, 0.00000, -49.28787
RAPID
GOTO / 28.21213, 0.00000, 2.50000
RAPID
GOTO / 25.50000, 0.00000, 2.50000
FEDRAT/ 0.3000,MMPR
GOTO / 25.50000, 0.00000, 0.50000
FEDRAT/ 0.4000,MMPR
GOTO / 25.50000, 0.00000, -49.50000
FEDRAT/ 0.8000,MMPR
GOTO / 25.71213, 0.00000, -49.28787
RAPID
GOTO / 25.71213, 0.00000, 2.50000
RAPID
GOTO / 23.00000, 0.00000, 2.50000
FEDRAT/ 0.3000,MMPR
GOTO / 23.00000, 0.00000, 0.50000
FEDRAT/ 0.4000,MMPR
GOTO / 23.00000, 0.00000, -49.50000
FEDRAT/ 0.8000,MMPR
GOTO / 23.21213, 0.00000, -49.28787
RAPID
GOTO / 23.21213, 0.00000, 2.50000
RAPID
GOTO / 20.50000, 0.00000, 2.50000
FEDRAT/ 0.3000,MMPR
GOTO / 20.50000, 0.00000, 0.50000
FEDRAT/ 0.4000,MMPR
GOTO / 20.50000, 0.00000, -49.50000
SYNC/1,1,2,2
FEDRAT/ 0.8000,MMPR
GOTO / 20.71213, 0.00000, -49.28787
FEDRAT/ 0.4000,MMPR
GOTO / 77.00000, 0.00000, 45.00000
$$ End of generation of : External Roughing
SPINDL/OFF
REWIND/0
END

$$ -----------------------------------------------------------------
$$ Generated on Tuesday, March 16, 2004 04:56:43 PM
$$ CATIA APT VERSION 1.0
$$ -----------------------------------------------------------------
CHANNEL,2
$$ PGM LT
$$ Part Operation : Multi-turret lathe machine
$$*CATIA0
$$ PGM LT,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-turret lathe machine
COOLNT/ON
CUTCOM/OFF
$$ OPERATION NAME : Turning Tool Change.2
$$ Start generation of : Turning Tool Change.2
$$ TOOLCHANGEBEGINNING
CUTTER/ 28.000000
TOOLNO/1,TURN
$$ TOOLCHANGEEND
$$ End of generation of : Turning Tool Change.2
PPRINT NC_AXIAL_MO_START_COMMENT BEGIN
PPRINT MACHINE OPERATION = Drilling
PPRINT OPERATION NAME = Drilling.6
PPRINT PATTERN NAME = Hole.6
PPRINT TOOL ASSEMBLY = Drill Assembly
PPRINT NC_AXIAL_MO_START_COMMENT END
$$ OPERATION NAME : Drilling.6
$$ Start generation of : Drilling.6
SYNC/1,1,2,2
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.6
SPINDL/OFF
REWIND/0
END

end of task