M1: Kinematic transformation
6.10 Examples
Extended Functions
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
431
Program code Comment
; 2. Activate chained transformations
; TRANSMIT + TRAANG
; 2. activate chained transformation n330 TRACON(2, 40.)
; The parameter for the inclined axis
is 40°
n335 x20 y0 z0
n340 x0 y20 z10
n350 x-20 y0 z0
n360 x0 y-20 z0
n370 x20 y0 z0
n380 TRAFOOF 2. deactivate chained transformation
n1000 M30
6.10.5 Activating transformation MD via a part program
It would be permissible in the following example to reconfigure (write) a machine data
affecting the second transformation (e.g. MD24650 $MC_TRAFO5_BASE_TOOL_2[2]) in
block N90, since writing a machine data alone does not activate it. However, if the program
remained otherwise unchanged, an alarm would occur in block N130, because an attempt
would then be made to modify an active transformation.
Example program:
Program code Comment
N40 TRAORI(2) ; Select 2nd orientation transformation
N50 X0 Y0 Z0 F20000 T1 T1
N60 A50 B50
N70 A0 B0
N80 X10
N90 $MC_TRAFO5_BASE_TOOL_1[2] = 50 ; Overwrite a machine data item of the
1st orientation transformation
N100 A20
N110 X20
N120 X0
N130 NEWCONF ; Accept new machine data
N140 TRAORI(1) ; Selection of the 1st orientation
transformation MD is effective
N150 G19 X0 Y0 Z0
N160 A50 B50
N170 A0 B0
N180 TRAFOOF
N190 M30