# Programmierbeispiel

Gewindefräsen

; Threadmilling

T4 D4 ( Tool data )

M6 ( Tool change )

G17 G90 G54 F500 M03 S1200 ( Technology data )

G00 Z50 ( Go to z start position )

G00 X50 Y50 ( position near workpiece mill tool is outside the part )

#VAR

; input parameters:

V.L.SurfacePosition = 0 ( Z-Position of workpiece surface )

V.L.RetractionPlane = 20 ( Z-Position of retraction plane )

V.L.SafetyClearance = 2 ( relative value of safety clearance in Z)

V.L.DepthOfThread = -10 ( depth of thread )

V.L.ThreadPitch = 1.5 ( pitch of the thread )

V.L.ToolTyp = 3 ( tool type )

V.L.ThreadDiameter = 10 ( diameter of the thread )

#ENDVAR

L CYCLE [NAME=SysMillThread.ecy \

@P1 = V.L.SurfacePosition \

@P2 = V.L.RetractionPlane \

@P3 = V.L.SafetyClearance \

@P4 = V.L.DepthOfThread \

@P7 = V.L.ThreadPitch \

@P63 = V.L.ToolTyp \

@P68 = V.L.ThreadDiameter \

]

G00 Z100

M05

M30

Abb.: Programmierbeispiel