Siemens SINUMERIK 840D sl Programming Manual page 790

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Work preparation
3.13 Tool offsets
Program code
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 2: Deselect the tool length offset
Program code
N10 TRAORI(1)
N20 TOFFON(X)
N30 WHEN TRUE DO $AA_TOFF[X]=10 G4 F5
...
N80 TOFFOF(X)
Further information
Block preparation
During block preparation in preprocessing, the current tool length offset active in the main run
is also taken into consideration. To allow extensive use to be made of the maximum permissible
axis velocity, it is necessary to stop block preparation with a STOPRE preprocessing stop while
a tool offset is established.
The tool offset is always known at the time of run-in when the tool length offsets are not changed
after program start or if more blocks have been processed after changing the tool length offsets
than the IPO buffer can accommodate between run-in and main run.
790
Comment
; Transformation on.
; Activation of online tool length
compensation for the Z tool direc-
tion.
; A TLC of 10 is interpolated for the
Z tool direction.
; Assigns actual compensation in the
X direction.
; For the X tool direction, the TLC
is reduced back to 0.
Comment
; Transformation on.
; Activation of online tool length
compensation for the X tool direc-
tion.
; A TLC of 10 is interpolated for the
X tool direction.
; Position offset of the X tool di-
rection is deleted:
...$AA_TOFF[X]=0
No axis is moved.
The position offset is added to the
actual position in the Work corre-
sponding to the
actual orientation.
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
NC programming

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents