Siemens SINUMERIK 840D sl Programming Manual page 287

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

Advertisement

Example of tool length offset selection
MD 21190: TOFF_MODE =1
MD 21194: TOFF_VELO[0] =1000
MD 21196: TOFF_VELO[1] =1000
MD 21194: TOFF_VELO[2] =1000
MD 21196: TOFF_ACCEL[0] =1
MD 21196: TOFF_ACCEL[1] =1
MD 21196: 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 offset deselection
N10 TRAORI(1)
N20 TOFFON(X)
N30 WHEN TRUE DO $AA_TOFF[X] = 10
G4 F5
...
N80 TOFFOF(X)
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
7.7 Online tool length compensation (TOFFON, TOFFOF)
;Absolute values are approached
;Transformation ON
;Activation of online tool length offset
;for the Z tool direction
;For the Z tool direction, a tool
;length offset of 10 is interpolated
;Assign current offset in X direction
;for the X tool direction, the tool
;length offset will be returned to 0 again
;Transformation ON
;Activating the Z tool direction
;For the X tool direction, a tool
;length offset of 10 is interpolated
;Positional offset of the X tool direction
;is deleted: ...$AA_TOFF[X] = 0
;No axis is traversed;
;to the current position in WCS, the
;positional offset is added in accordance
;with the current orientation
Transformations
7-49

Advertisement

Table of Contents
loading

Table of Contents