Programmierbeispiel

Programmierbeispiel

Tieflochbohren

; Deep Hole Drilling
 
#VAR
  ; input parameters:
  V.L.SurfacePosition = 0   ( Z-Position of workpiece surface )
  V.L.RetractionPlane = 20  ( Z-Position of retraction plane )
  V.L.SafetyClearance = 5   ( relative value of safety clearance in Z )
  V.L.DrillingDepth   = 25  ( depth )
  V.L.NumberOfFeeds   = 3   ( amount of feeds )
  V.L.MachiningMode   = 2   ( machining mode )
  V.L.ReturnClearance = 0.5 ( return clearance for chip breaking/evac.)
#ENDVAR
 
 
T2 D2                       ( Tool data )
M6                          ( Tool change )
 
G00 G17 G90 G54 F250 M03 S1000  ( Technology data )
 
G00 Z100                    ( Go to z start position )
G00 X20 Y20                 ( 1st drilling position )
 
( drill first deep-hole in three steps with chip removal )
L CYCLE [NAME=SysDrillDeepHole.ecy  \
  @P1  = V.L.SurfacePosition        \
  @P2  = V.L.RetractionPlane        \
  @P3  = V.L.SafetyClearance        \
  @P4  = V.L.DrillingDepth          \
  @P11 = V.L.NumberOfFeeds          \
  @P31 = V.L.MachiningMode          \
  @P61 = V.L.ReturnClearance        \
  ]
 
G00 X60 Y20                 ( 2nd drilling position )
 
( drill second deep-hole in two steps with chip break )
 
  V.L.NumberOfFeeds   = 2   ( amount of feeds )
  V.L.MachiningMode   = 1   ( machining mode )
 
 
L CYCLE [NAME=SysDrillDeepHole.ecy  \
  @P1  = V.L.SurfacePosition        \
  @P2  = V.L.RetractionPlane        \
  @P3  = V.L.SafetyClearance        \
  @P4  = V.L.DrillingDepth          \
  @P11 = V.L.NumberOfFeeds          \
  @P31 = V.L.MachiningMode          \
  @P61 = V.L.ReturnClearance        \
  ]
 
 
M30
 
; Deep Hole Drilling with pilot hole
(---------------------------------------------------------------------)
 
#VAR
  ; input parameters:
  V.L.SurfacePosition = 0   (Z-Position of workpiece surface)
  V.L.RetractionPlane = 20  (Z-Position of retraction plane)
  V.L.SafetyClearance = 5   (relative value of safety clearance in Z)
  V.L.DrillingDepth   = 10  (depth pilot hole)
  V.L.NumberOfFeeds   = 3   (amount of feeds)
  V.L.MachiningMode   = 2   (machining mode)
  V.L.DwellTime       = 2   (Dwell time)
  V.L.ReturnClearance = 0.5(return clear. for chip breaking/evacuation)
 
  V.L.PilotHoleZ_Pos     = 5   (start position in Z in pilot hole)
  V.L.PilotHole_Feed     = 50  (feed till start position in pilot hole)
  V.L.Drill_SpindleSpeed = 1000 (spindel speed for drilling)
  V.L.DwellTimeSpindle   = 5   (dwell time for spindle speed/direction)
 
#ENDVAR
 
(---------------------------------------------------------------------)
 
T2 D2                                     ( Tool data )
M6                                        ( Tool change )
 
G00 G17 G90 G54 F250 M03 S1000            ( Technology data )
 
G00 Z100                                  ( Go to Z start position )
G00 X20 Y20                               ( 1st drilling position )
 
( drill pilot hole )
L CYCLE [NAME=SysDrillDeepHole.ecy  \
  @P1  = V.L.SurfacePosition        \
  @P2  = V.L.RetractionPlane        \
  @P3  = V.L.SafetyClearance        \
  @P4  = V.L.DrillingDepth          \
  @P11 = V.L.NumberOfFeeds          \
  @P31 = V.L.MachiningMode          \
  @P61 = V.L.ReturnClearance        \
  ]
 
T3 D3                                     ( Tool data )
M6                                        ( Tool change )
 
G00 G17 G90 G54 F250 M03 S100             ( Technology data )
 
G00 Z100                                  ( Go to z start position )
G00 X20 Y20                               ( 2nd drilling position )
 
( drill second deep-hole in two steps with chip break )
 
  V.L.DrillingDepth   = 100               ( depth )
  V.L.NumberOfFeeds   = 2                 ( amount of feeds )
  V.L.MachiningMode   = 1                 ( machining mode )
 
 
L CYCLE [NAME=SysDrillDeepHole.ecy  \
  @P1   = V.L.SurfacePosition       \
  @P2   = V.L.RetractionPlane       \
  @P3   = V.L.SafetyClearance       \
  @P4   = V.L.DrillingDepth         \
  @P11  = V.L.NumberOfFeeds         \
  @P17  = V.L.DwellTime             \
  @P31  = V.L.MachiningMode         \
  @P61  = V.L.ReturnClearance       \
  @P173 = V.L.PilotHoleZ_Pos        \
  @P174 = V.L.PilotHole_Feed        \
  @P175 = V.L.Drill_SpindleSpeed    \
  @P176 = V.L.DwellTimeSpindle      \
  ]
 
(---------------------------------------------------------------------)
 
M30
Programmierbeispiel 1:
Programmierbeispiel Tieflochbohren