
Punching and Nibbling (N4)
15.5 Rotatable tool
Turning, Milling, Nibbling
294
Function Manual, 11/2012, 6FC5397-1CP10-5BA0
Programming example:
:
N2 TANG (C, X, Y, 1, "B")
; Define master and slave axes, C is
slave axis for X and Y in the base
coordinate system
N5 G0 F60 X10 Y10
; Start position
N8 TRAILON (C1, C, 1)
; Activate coupled motion of rotatable
tool axes C/C1 for punch and die.
N9 TANGON (C, -90)
; Activate tangential control with
offset 270°
N10 G02 X30 Y30 I20 J0 SPN=2 PON
; Circular interpolation with path
segmentation, two strokes are executed
with 270° offset angle and tangential
alignment along circular path
N15 G0 X70 Y10 SPOF
; Position
N17 TANGON (C, 90)
; Activate tangential control with
offset 90°
N20 G03 X35,86 Y24,14 CR=20 SPP=16 SON
; Circular interpolation, path
segmentation, four strokes are
executed with 90° offset angle and
tangential alignment along circular
path
N25 G0 X74,14 Y35,86 C0 PON
; Rotation of tool axes to 0°, stroke
N27 TANGON (C, 0)
; Activate tangential control with
offset 0°
N30 G03 X40 Y50 I-14,14 J14,14 SPN=5 SON
; Circular interpolation, path
segmentation, five strokes with 0°
offset angle and tangential alignment
along circular path
N35 G0 X30 Y65 C90 SPOF
; Position without active tangential
control
N40 G91 X-10 Y-25 C180
; Positioning, C axis rotates to 270°
N43 TANGOF
; Deactivate tangential control
N45 G90 G02 Y60 I0 J10 SPP=2 PON
; Circular interpolation, path
segmentation, two strokes without
tangential control where C=270°
N50 SPOF
; Punching OFF
N55 TRAILOF (C1, C)
; Deactivate coupled motion of rotatable
tool axes C/C1
N60 M2