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 ( 1. 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 ( 2. 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