Programmierbeispiel
Programmierbeispiel
Kreiszapfen fräsen
T8 D8 ( Tool data )
M6 ( Tool change )
G90 G54 S6000 M03 F1500 ( 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 = 2 ( safety clearance in Z )
V.L.DepthOfSpigot = 10 ( depth of spigot )
V.L.MaxIncrementZ = V.L.DepthOfSpigot ( maximal infeed in Z )
V.L.MaxIncrementXY = V.G.WZ_AKT.R ( maximal infeed in XY )
V.L.FeedRateXY = 6000 ( machining feedrate in XY )
V.L.FeedRateZ = 4000 ( plunging feedrate )
V.L.SpigotDiameter = 10 ( radius of spigot )
V.L.BlankLength = 50 ( length of the blank )
V.L.BlankWidth = 50 ( width of the blank )
#ENDVAR
G00 Z60
G00 X50 Y80
; polynomial contouring for smooth movements
#CONTOUR MODE [DEV, PATH_DEV = V.G.WZ_AKT.R / 1000]
G261
L CYCLE [NAME=SysMillCircularSpigot.ecy \
@P1 = V.L.SurfacePosition \
@P2 = V.L.RetractionPlane \
@P3 = V.L.SafetyClearance \
@P4 = V.L.DepthOfSpigot \
@P5 = V.L.MaxIncrementZ \
@P6 = V.L.MaxIncrementXY \
@P20 = V.L.FeedRateXY \
@P21 = V.L.FeedRateZ \
@P68 = V.L.SpigotDiameter \
@P69 = V.L.BlankLength \
@P70 = V.L.BlankWidth \
]
G260
M05
M30