Sinumerik CYCLE840 Tapping with Floating Tapholder Program II with compensating chuck II

                                         Sinumerik CYCLE 840 is used for tapping with compensating  chuck can be made as follows :
1] Without encoder
2] With encoder .
CYCLE 840 ( RTP , RFP , SDIS , DP , DPR , DTB , SDR , SADC , ENC , MPIT , PIT , ANX , PTAB , TECHNO )

 Where, RTP- Retraction plane (absolute)
              RFP- Reference plane (absolute)
              SDIS- Safety distance 
              DP- Final drilling depth (absolute)
              DPR- Final drilling depth related to reference plane .
               DTB- Dwell time at final
              SDR- Direction of rotation for retraction ; 3 or 4: (for M3 or M4)
              SDAC - Direction of rotation after end of cycle ;
                                                                       3, 4 or 5: (for M3, M4, or M5)
              ENC -Tapping with/without encoder ;
                                        0: with encoder, without dwell time                                          
                                         11: without encoder, calculate feed rate during cycle                           
                                       20: with encoder, with dwell time               
              MPIT-  Thread pitch as thread size ; 3 (for M3) ... 48 (for M48)
             PITThread pitch as a value ; 0.001 ... 2000.000 mm
             ANXTool axis :
                                          1st geometrical axis (X)
                                          2nd geometrical axis (Y)
                                          3rd geometrical axis  (Z)
              PTAB -Evaluation of thread pitch PIT ;
                                                                    1: pitch in mm
                                                                    2: pitch in thread grooves per inch
                                                                    3: pitch in inches/rotation
              TECHNO - Technological settings

PROGRAM WITHOUT ENCODER - In this program, a thread is tapped without encoder at position X25 Y20 in the XY plane; the tapping axis is the Z axis. The parameters SDR and SDAC for the direction of rotation must be assigned; parameter ENC is assigned the value 1, the value for the depth is the absolute value. Pitch parameter PIT can be omitted. A compensating chuck is used in machining.
                                                              More examples..........!!!!
HARSH.MPF
N10   G90 G71 G94 F200 ;
N20   T03 D01 M06 ;
N30   S1000  M03 ;
N40   M08 ;
N50   G00 X25 Y20  ; 
N60  CYCLE 840 (10 , 0 , 2 , -35 , _ , 1 , 4 , 3 , 1 , _ , _ , _ , _ , _)
N70   M05 M09 M30 ;

PROGRAM WITH ENCODER -  In this program, a thread is tapped with encoder at position X25 Y20 in the XY plane. The drilling axis is the Z axis. The pitch parameter must be defined, automatic reversal of the direction of rotation is programmed. A compensating chuck is used in machining.
                                                          More examples..........!!!!
HARSH.MPF
N10   G90 G71 G94 F200 ;
N20   T03 D01 M06 ;
N30   S1000  M03 ;
N40   M08 ;
N50   G00 X25 Y20  ; 
N60   CYCLE 840 (10 , 0 , 2 , -35 , _ , _ ,_ , _ ,_ ,_ ,_ ,_ , _)
N70   M05 M09 M30 ;