Programming example
Programing Example
Milling open slot
T8 D8 ( Tool data )
M6 ( Tool change )
G90 G54 S6000 M03 F4000 ( Technology data )
#VAR
; input parameters:
V.L.SurfacePosition = 0 ( Z position of workpiece surface )
V.L.RetractionPlane = 50 ( Z position of retraction plane )
V.L.SafetyClearance = 10 ( Relative value of safety clearance in Z )
V.L.DepthOfSlot = 4 ( Depth of slot )
V.L.MaxIncrementZ = 20 ( Maximal infeed in Z )
V.L.MaxIncrementXY = 2 ( Maximal infeed in XY )
V.L.FinishingOffsetXY = 0.2 ( Finishing offset in XY )
V.L.FeedRateXY = 6000 ( Machining feedrate in XY )
V.L.FeedRateZ = 4000 ( Plunging feedrate )
V.L.MachiningMode = 5 ( Machining mode )
V.L.InfeedMode = 1 ( Infeed mode )
V.L.OrientationAngle = 0 ( Orientation angle of slot )
V.L.SlotLength = 100 ( Length of slot )
V.L.SlotWidth = 9 ( Width of slot )
#ENDVAR
G00 Z100
G00 X0 Y50 ( Positioning to the start point )
; polynomial contouring for smooth movements
#CONTOUR MODE [DEV, PATH_DEV = V.G.WZ_AKT.R / 100]
G261
L CYCLE[NAME=SysMillOpenSlot.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 \
@P16 = V.L.FinishingOffsetXY \
@P20 = V.L.FeedRateXY \
@P21 = V.L.FeedRateZ \
@P31 = V.L.MachiningMode \
@P32 = V.L.InfeedMode \
@P43 = V.L.OrientationAngle \
@P72 = V.L.SlotLength \
@P73 = V.L.SlotWidth \
]
G260
M05
M30