Programming example
Programing Example
Mill circumferential slots
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.MachiningMode = 3 ( Machining mode )
V.L.NumberOfSlots = 4 ( Number of slots )
V.L.SlotLength = 30 ( Length of slot )
V.L.SlotWidth = 12 ( Width of slot )
V.L.Radius = 25 ( Radius of centres )
#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 = V.L.MachiningMode \
@P44 = V.L.NumberOfSlots \
@P72 = V.L.SlotLength \
@P73 = V.L.SlotWidth \
@P74 = V.L.Radius \
]
G260
M05
M30