Programmierbeispiel
Programmierbeispiel
Kreisförmig angeordnete Nuten fräsen
T8 D8 ( D5 Milling Tool data )
M6 ( Tool change )
G90 G54 M03 S6000 F5000 ( Technology data )
G00 Z50 ( Go to Z start position )
G00 X50 Y50 ( Go to start position )
#VAR
; input parameters:
V.L.SurfacePosition = 0 ( Z-Position of workpiece surface )
V.L.RetractionPlane = 50 ( Z-Position of retraction plane )
V.L.SafetyClearance = 2 ( relative value of safety clearance in Z)
V.L.DepthOfSlot = 8 ( depth of slot )
V.L.MaxIncrementZ = 4 ( maximal infeed in Z )
V.L.MaxIncrementXY = V.G.WZ_AKT.R ( maximal infeed in XY )
V.L.FinishingOffsetZ = 0.2 ( 11 finishing offset Z )
V.L.FinishingOffsetXY = 0.2 ( finishing offset XY )
V.L.FeedRateZ = 500 ( plunging feedrate )
V.L.NumberOfSlots = 4 ( amount of slots )
V.L.SlotLength = 30 ( length of the slot )
V.L.SlotWidth = 12 ( width of the slot )
V.L.Radius = 25 ( radius of the centers )
#ENDVAR
; polynomial contouring for smooth movements
#CONTOUR MODE [DEV, PATH_DEV = 0.01]
G261
L CYCLE[NAME=SysMillSlot.ecy \
@P1 = V.L.SurfacePosition \
@P2 = V.L.RetractionPlane \
@P3 = V.L.SafetyClearance \
@P4 = V.L.DepthOfSlot \
@P5 = V.L.MaxIncrementZ \
@P6 = V.L.MaxIncrementXY \
@P15 = V.L.FinishingOffsetZ \
@P16 = V.L.FinishingOffsetXY \
@P21 = V.L.FeedRateZ \
@P31 = "Roughing" \
@P44 = V.L.NumberOfSlots \
@P72 = V.L.SlotLength \
@P73 = V.L.SlotWidth \
@P74 = V.L.Radius \
]
G260
M05
M30