Programming example
Programing Example
Mill circumferential slots
T8 D8 ( D5 Milling tool data )
M6 ( Tool change )
G90 G54 S6000 M03 ( Technology data )
G00 Z50 ( Go to Z start position )
G00 X50 Y50 ( Go to start position )
#VAR
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 = 10 ( depth of slot )
V.L.MaxIncrementZ = 4 ( maximum infeed in Z )
V.L.MaxIncrementXY = V.G.WZ_AKT.R ( maximum infeed in XY )
V.L.FeedRateXY = 600 ( machining feedrate in XY )
V.L.FeedRateZ = 500 ( plunging feedrate )
V.L.SlotAngle = 30 ( opening angle of the slot )
V.L.NumberOfSlots = 4 ( number of slots )
V.L.SlotWidth = 12 ( width of the slot )
V.L.Radius = 30 ( radius of the slot centres )
#ENDVAR
; polynomial contouring for smooth movements
#CONTOUR MODE [DEV, PATH_DEV = 0.01]
G261
L CYCLE[NAME=SysMillCircumferentialSlot.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 \
@P20 = V.L.FeedRateXY \
@P21 = V.L.FeedRateZ \
@P43 = V.L.SlotAngle \
@P44 = V.L.NumberOfSlots \
@P73 = V.L.SlotWidth \
@P74 = V.L.Radius \
]
G260
M05
M30