Example Of A Generic 7-Axis Transformation - Siemens SINUMERIK 840DE sl Function Manual

Hide thumbs Also See for SINUMERIK 840DE sl:
Table of Contents

Advertisement

F2: Multi-axis transformations
3.13 Examples
Program code
N140 $TC_DPV4[2,2]= 0
N150 $TC_DPV5[2,2]= 0.5
N160 $TC_DPVN3[2,2]= 0
N170 $TC_DPVN4[2,2]= 1
N180 $TC_DPVN5[2,2]= 0
N200 TRAORI( )
N210 A3=5 C3=10 BN3=1
N220 C3=1
N230 THETA=IC(90)
N240 M30
3.13.6.3

Example of a generic 7-axis transformation

Example of a generic 7-axis transformation
Activation of a 7-axis transformation with subsequent orientation changes and traversing:
Program
N10 TRAFOOF
N20 a0 b0 c0 x0 y0 z0 e=0
N30 $MC_TRAFO5_AXIS1_1[2] = 1
N40 $MC_TRAFO5_AXIS1_2[0] = 1
N50 $MC_TRAFO5_AXIS1_3[2] = 1
N60 $MC_TRAFO7_EXT_AXIS1_1[0] = 1
N70 $MC_TRAFO_BASE_ORIENT_1[2] = 1
N80 $MC_TRAFO_BASE_ORIENT_NORMAL_1[1] = 1
N90 NEWCONF
N100 traori()
N110 G1 t1 d1 x10 y0 z50 c3=1 an3=1 bn3=1
orivect oriwks G19 F10000
N120 G2 y50 z0 b3=1 e=DC(90) CR=50
N130 G2 y0 z–50 c3=–1 e=DC(180) CR=50
N140 G2 y–50 z0 b3=–1 e=DC(270) CR=50
N150 G2 y0 z50 c3=1 e=DC(0) CR=50
N200 M30
246
Comment
; Y component
; Z component
; Orientation normal vector
; X component
; Y component
; Z component
; Call with basic orientation
; Bring rotary axes into the initial state
; Orientation in the Z direction ⇒
; Tool rotated through 26.565 degrees
; Orientation normal vector incremental
; Rotated through 90 degrees. Vector points in nega-
tive X direction
Comment
;
1. Rotary axis shows in Z direction
;
2. Rotary axis shows in X direction
;
3. Rotary axis shows in Z direction
;
7. Axis shows in X direction
;
Orientation vector
;
Orientation normal vector
;
1. Quadrant
;
2. Quadrant
;
3. Quadrant
;
4. Quadrant
Function Manual, 06/2019, A5E47435470B AA
Transformations

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents