EasyManua.ls Logo

Siemens SINUMERIK 828D - Page 443

Siemens SINUMERIK 828D
822 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Tool offsets
7.10 Online tool length compensation (TOFFON, TOFFOF)
Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
443
Examples
Example 1: Selecting the tool length compensation
Program code Comment
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
; Absolute values are approached.
N5 DEF REAL XOFFSET
N10 TRAORI(1) ; Transformation on.
N20 TOFFON(Z) ; Activation of online tool length
compensation for the Z tool
direction.
N30 WHEN TRUE DO $AA_TOFF[Z]=10 G4 F5 ; A TLC of 10 is interpolated for the
Z tool direction.
...
N100 XOFFSET=$AA_TOFF_VAL[X] ;
A
ssigns actual compensation in the X
direction.
N120 TOFFON(X,-XOFFSET) G4 F5 ;
F
or the X tool direction, the TLC is
reduced back to 0.
Example 2: Deselect the tool length compensation
Program code Comment
N10 TRAORI(1) ; Transformation on.
N20 TOFFON(X) ; Activation of online tool length
compensation for the X tool
direction.
N30 WHEN TRUE DO $AA_TOFF[X]=10 G4 F5 ; A TLC of 10 is interpolated for the
X tool direction.
...
N80 TOFFOF(X) ; 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.

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals