Siemens SINUMERIK 828D Programming Manual page 443

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

Examples
Example 1: Selecting the tool length compensation
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 2: Deselect the tool length compensation
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, 07/2010, 6FC5398-2BP40-0BA0
7.10 Online tool length compensation (TOFFON, TOFFOF)
Comment
; 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.
; 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
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 moved.
The position offset is added to the
actual position in the Work
corresponding to the
actual orientation.
Tool offsets
443

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents