Programmierbeispiel

Programmierbeispiel

Offene Nut Fräsen

 
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 ( finihing 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 the slot )
  V.L.SlotWidth         = 9   ( width of the slot )
#ENDVAR
 
 
G00 Z100
G00 X0 Y50                    ( Positioning to the starting 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