Programming example

Programming Example

Escape function - Thread tapping (M6 right-hand thread)

 
#VAR
  ; input parameters:
  V.L.DrillingDepth = 20  (depth of the failed cycle)
  V.L.ThreadPitch   = 1   (pitch of the thread)
  V.L.SpindleSpeed  = 200 (spindle rotation speed)
  V.L.ThreadType     = -1  (thread type (default=1 (right-hand thread)))
  V.L.RefCycle      = "SysDrillTapping" (reference cycle)
#ENDVAR
 
; technology data
G17 G90
 
;cycle call
L CYCLE [NAME=SysDrillEscape.ecy \
  @P4  = V.L.DrillingDepth       \
  @P7  = V.L.ThreadPitch         \
  @P24 = V.L.SpindleSpeed        \
  ; @P18 = V.L.ThreadType         \
  @P100 = V.L.RefCycle           \
  ]
 
M30
Programming example 1:
Programming example: Drill tapping process

Programming Example

Escape function - Drill thread milling

 
#VAR
  ; input parameters:
  V.L.DrillingDepth = 20  (depth of the failed cycle)
  V.L.PosX           = 30  (position in X)
  V.L.PosX           = 20  (position in Y)
  V.L.RefCycle       = "SysDrillThreadMilling" (reference cycle)
  V.L.RetractionFeed = 200 (retraction feed rate)
#ENDVAR
 
; technology data
G17 G54 G90
 
;cycle call
L CYCLE [NAME=SysDrillEscape.ecy \
  @P4   = V.L.DrillingDepth      \
  @P40  = V.L.PosX               \
  @P41  = V.L.PosY               \
  @P100 = V.L.RefCycle           \
  @P132 = V.L.RetractionFeed     \
  ]
 
M30

Programming Example

Escape function - Single retraction in Z

 
#VAR
  ; input parameters:
  V.L.DrillingDepth = 20  (depth of the failed cycle)
  V.L.RefCycle       = "SysDrill" (reference cycle)
  V.L.RetractionFeed = 200 (retraction feed rate)
#ENDVAR
 
; technology data
G17 G54 G90
 
;cycle call
L CYCLE [NAME=SysDrillEscape.ecy \
  @P4   = V.L.DrillingDepth      \
  @P100 = V.L.RefCycle           \
  @P132 = V.L.RetractionFeed     \
  ]
 
M30