M1: Kinematic transformation
6.10 Examples
Extended Functions
424 Function Manual, 03/2013, 6FC5397-1BP40-3BA1
Program code Comment
; Approach of groove wall
N60 G1 Z100 G42 ; TRC selection to approach groove wall
Machining groove sector path I
N70 G1 Z50 ; Groove part parallel to the cylinder
plane
N80 G1 Y10 ; Groove part parallel to the
circumference
; Approaching groove wall for path II
N90 OFFN=4 G42 ; Specify groove wall distance and TRC
selection to approach the groove wall
; Machining groove sector path II
N100 G1 Y70 ; Corresponds to CC=200 degrees
N110 G1 Z100 ; Revert to initial value
;Retract from groove wall
N120 G1 Z105 G40 ; TRC deselection to retract from the
groove wall
N130 G0 X25 ; Retract from the groove
N140 TRAFOOF N150 G0 X25 Y0 Z105 CC=200 D0 ; Return to the starting point and
deselect the tool offset
Programming without groove wall offset
TRACYL without groove wall offset with supplementary linear axis (TRAFO_TYPE_n = 514)
; For the following part program the following machine data settings are a prerequisite:
MD20070 $MC_AXCONF_MACHAX_USED[0]=1 ; X as machine axis 1
MD20070 $MC_AXCONF_MACHAX_USED[1] = 2 ; Y as machine axis 2
MD20070 $MC_AXCONF_MACHAX_USED[2] = 3 ; Z as machine axis 3
MD20070 $MC_AXCONF_MACHAX_USED[3] = 4 ; C as machine axis 4
MD20070 $MC_AXCONF_CHANAX_NAME_TAB[1] = "Y2"
MD24120 $MC_TRAFO_GEOAX_ASSIGN_TAB_1 [0] = 1 ; X as channel axis 1
MD24120 $MC_TRAFO_GEOAX_ASSIGN_TAB_1 [1] = 2 ; Y no channel axis
MD24120 $MC_TRAFO_GEOAX_ASSIGN_TAB_1[2]=3 ; Z as channel axis 2
MD24100 $MC_TRAFO_TYPE_1 = 514 ; TRACYL without groove wall
offset only with tool length offset
MD24110 $MC_TRAFO_AXES_IN_1[0] = 1 ; channel axis radial to rotary
axis
MD24110 $MC_TRAFO_AXES_IN_1[1] = 4 ; Channel axis in cylinder
surface
; perpendicular to rotary axis
MD24110 $MC_TRAFO_AXES_IN_1[2] = 3 ; channel axis parallel to rotary
axis