Generating NC Ouput for Multi-Turret Lathe Machining

You can generate NC data for the Part Operation. NC data can be generated as one Manufacturing Program per file or several Manufacturing Programs in a single file. Each turret (channel) is segregated by means of program header and specific syntaxes. For easier post-processing, specific syntaxes cross programs for identifying synchronizations and spindles.

Related Topics
Syntaxes for Multi-Slide Lathe Machine Environment
  1. Right-click Machining Operation in the Activities Process Tree and select Generate NC Code Interactively .

    The following dialog box appears.



    You can also launch Generate NC Code Interactively command from the West Compass toolbar.

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

    The sample below shows the type of data on your output file.

    $$ ------------------------------------------------------
    $$ Generated on Wednesday, July 30, 2008 5:09:49 PM
    $$ CATIA APT VERSION 1.0
    $$ ------------------------------------------------------
    CHANNEL,2
    $$ PGM LT
    $$ Part Operation: Multi-turret lathe machine
    $$*CATIA0
    $$ PGM LT
    $$ 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 TO BE MACHINED
    COOLNT/ON
    CUTCOM/OFF 
    $$ OPERATION NAME : Turning Tool Change.2 
    $$ Start generation of : Turning Tool Change.2 
    FROM / 0.00000, 100.00000, 0.00000 
    $$ TOOLCHANGEBEGINNING 
    CUTTER/ 28.000000 
    TOOLNO/1,TURN 
    LOADTL/1 
    $$ TOOLCHANGEEND 
    $$ End of generation of : Turning Tool Change.2 
    $$ OPERATION NAME : Drilling.1 
    $$ Start generation of : Drilling.1 
    LOADTL/3,1 
    TLAXIS/ 0.000000, 0.000000, 1.000000 
    SPINDL/ 70.0000,RPM,CLW 
    RAPID 
    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 
    SYNC/1,2,1, 
    $$ End of generation of : Drilling.1 
    SPINDL/OFF 
    REWIND/0 
    END 
    			 
    $$ ------------------------------------------------------ 
    $$ Generated on Wednesday, July 30, 2008 5:09:51 PM 
    $$ CATIA APT VERSION 1.0 
    $$ ------------------------------------------------------ 
    CHANNEL,1 
    $$ PGM UT 
    $$ Part Operation: Multi-turret lathe machine 
    $$*CATIA0 
    $$ PGM UT 
    $$ 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 TO BE MACHINED 
    COOLNT/ON 
    CUTCOM/OFF 
    $$ OPERATION NAME : Turning Tool Change.1 
    $$ Start generation of : Turning Tool Change.1 
    FROM / 0.00000, 100.00000, 0.00000 
    $$ TOOLCHANGEBEGINNING 
    CUTTER/ 1.000000 
    TOOLNO/1,TURN 
    LOADTL/1 
    $$ TOOLCHANGEEND 
    $$ End of generation of : Turning Tool Change.1 
    $$ OPERATION NAME : External Roughing 
    $$ Start generation of : External Roughing 
    SYNC/1,1,2, 
    SWITCH/9 
    FEDRAT/ 1.0000,MMPR 
    SPINDL/ 70.0000,RPM 
    GOTO / 28.00000, 0.00000, 2.50000 
    GOTO / 28.00000, 0.00000, 0.50000 
    FEDRAT/ 0.8000,MMPR 
    GOTO / 28.00000, 0.00000, -49.50000 
    FEDRAT/ 1.0000,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/ 1.0000,MMPR 
    GOTO / 25.50000, 0.00000, 0.50000 
    FEDRAT/ 0.8000,MMPR 
    GOTO / 25.50000, 0.00000, -49.50000 
    FEDRAT/ 1.0000,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/ 1.0000,MMPR 
    GOTO / 23.00000, 0.00000, 0.50000 
    FEDRAT/ 0.8000,MMPR 
    GOTO / 23.00000, 0.00000, -49.50000 
    FEDRAT/ 1.0000,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/ 1.0000,MMPR 
    GOTO / 20.50000, 0.00000, 0.50000 
    FEDRAT/ 0.8000,MMPR 
    GOTO / 20.50000, 0.00000, -49.50000 
    FEDRAT/ 1.0000,MMPR 
    GOTO / 20.71213, 0.00000, -49.28787 
    $$ End of generation of : External Roughing 
    SPINDL/OFF 
    REWIND/0 
    END

    The Manufacturing Program PGM UT on CHANNEL 1 (upper turret) is synchronized with the Manufacturing Program PGM LT on CHANNEL 2 (lower turret) by means of the SYNC/1,1,2 statements. In this example, the start of the Rough Turning operation and the end of Drilling is synchronized.

    *START_NC_INSTRUCTION     NC_PROGRAM_HEADER 
    *START_SEQUENCE 
    CHANNEL,%MFG_CHANNEL_NUMBER 
    *END 
    *END

    MFG_CHANNEL_NUMBER : channel (turret) number associated to the Manufacturing Program.

    *START_NC_COMMAND      NC_SYNCHRONISATION 
    SYNC/%MFG_SYNCHRONISATION_NUMBER,%MFG_CHANNEL1,%MFG_CHANNEL2 
    *END


    • MFG_SYNCHRONISATION_NUMBER: index of the synchronization.
    • MFG_CHANNEL1: first synchronized channel.
    • MFG_CHANNEL2: second synchronized channel.