Programmierbeispiel

Programmierbeispiel

prg_example

Rettungsfunktion - Gewindebohren (M6 Rechtsgewinde)

 

#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.TreadType     = -1  (Tread type (Standard=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.TreadType         \

  @P100 = V.L.RefCycle           \

  ]

 

M30

Programmierbeispiel Ablauf Gewindebohren
Abb.: Programmierbeispiel Ablauf Gewindebohren

Programmierbeispiel

prg_example

Rettungsfunktion - Bohrgewindefräsen

 

#VAR

  ; input parameters:

  V.L.DrillingDepth  = 20  (Depth of the failed cycle)

  V.L.PosX           = 30  (Position in X)

  V.L.PosY           = 20  (Position in Y)

  V.L.RefCycle       = "SysDrillThreadMilling" (Reference cycle)

  V.L.RetractionFeed = 200 (Retraction feedrate)

#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

Programmierbeispiel

prg_example

Rettungsfunktion - Einfacher Rückzug 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 feedrate)

#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