Programmierbeispiel
Programmierbeispiel
Reiben
#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 = 24 ( depth )
V.L.RetractMode = 0 ( Retract mode (Standard = 1) )
#ENDVAR
T7 D7 ( Tool data )
M6 ( Tool change )
G17 G90 G54 F50 M03 S350 ( Technology data )
G00 Z100 ( Go to z start position )
G00 Y20 X0 ( 1. Position retract G01 (default) )
L CYCLE [NAME=SysDrillReaming.ecy \
@P1 = V.L.SurfacePosition \
@P2 = V.L.RetractionPlane \
@P3 = V.L.SafetyClearance \
@P4 = V.L.DrillingDepth \
]
G00 X40 Y20 ( 2. Position retract G00 )
L CYCLE [NAME=SysDrillReaming.ecy \
@P1 = V.L.SurfacePosition \
@P2 = V.L.RetractionPlane \
@P3 = V.L.SafetyClearance \
@P4 = V.L.DrillingDepth \
@P92 = V.L.RetractMode \
]
G00 Z200 M5 ( Final position, stop of spindle )
M30