Programmierbeispiel
Programmierbeispiel
Bohrgewindefräsen
; Drillthreadmilling
#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.ThreadPitch = 1 ( pitch of the thread )
V.L.CW_OR_CCW = 0 ( clockwise or counter-clockwise )
V.L.ThreadDiameter = 6 ( diameter of the thread )
#ENDVAR
T5 D5 ( Act. Tooldata )
M6 ( Tool change )
G17 G90 G54 S10000 M03 ( Technology data )
G00 Z100 ( Rapidmove to start position z )
G00 X20 Y20 F800 ( startposition x y )
L CYCLE [NAME=SysDrillThreadMilling.ecy \
@P1 = V.L.SurfacePosition \
@P2 = V.L.RetractionPlane \
@P3 = V.L.SafetyClearance \
@P4 = V.L.DrillingDepth \
@P7 = V.L.ThreadPitch \
@P30 = V.L.CW_OR_CCW \
@P68 = V.L.ThreadDiameter \
]
G00 Z150 M5 ( Parkposition )
M30