Siemens SINUMERIK 840D sl Programming Manual page 515

Job planning
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Example of tool length compensation selection
Program code
MD21190 $MC_TOFF_MODE = 1
MD21194 $MC_TOFF_VELO[0] =1000
MD21196 $MC_TOFF_VELO[1] =1000
MD21194 $MC_TOFF_VELO[2] =1000
MD21196 $MC_TOFF_ACCEL[0] =1
MD21196 $MC_TOFF_ACCEL[1] =1
MD21196 $MC_TOFF_ACCEL[2] =1
N5 DEF REAL XOFFSET
N10 TRAORI(1)
N20 TOFFON(Z)
N30 WHEN TRUE DO $AA_TOFF[Z] = 10
G4 F5
...
N100 XOFFSET = $AA_TOFF_VAL[X]
N120 TOFFON(X, -XOFFSET)
G4 F5
Example of tool length compensation deselection
Program code
N10 TRAORI(1)
N20 TOFFON(X)
N30 WHEN TRUE DO $AA_TOFF[X] = 10
G4 F5
...
N80 TOFFOF(X)
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
7.10 Online tool length compensation (TOFFON, TOFFOF)
Comments
; Absolute values are approached
; Transformation on
; Activation of online tool length
compensation for the Z tool direction
; A TLC of 10 is interpolated for the
Z tool direction
; Assign actual compensation in the X
direction
for the X tool direction, the
tool length compensation is again reduced
to 0
Comments
; Transformation on
; Activating the Z tool direction
; A TLC of 10 is interpolated for the
X tool direction
; Position offset of the X tool direction is
deleted: ...$AA_TOFF[X] = 0
No axis is traversed,
the position offset is added to the
actual position in WCS in accordance with
the current orientation
Tool offsets
515

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents