Online Tool Length Offset ($Aa_Toff[Tool Direction]) - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

10.4.10

Online tool length offset ($AA_TOFF[tool direction])

Function
Use the system variable $AA_TOFF[ ] to overlay the effective tool lengths in accordance with
the three tool directions three-dimensionally in real time.
The three geometry axis identifiers are used as the index. Thus, the number of active
directions of offset is determined by the geometry axes that are active at the same time.
All offsets can be active at the same time.
Programming
N.. TRAORI
N.. TOFFON(X, 25)
N.. WHEN TRUE DO $AA_TOFF[X]
N.. TOFFON(Y, 25)
N.. WHEN TRUE DO $AA_TOFF[Y]
N.. TOFFON(Z, 25)
N.. WHEN TRUE DO $AA_TOFF[Z]
Parameter
TOFFON
TOFFOF
X, Y, Z
$AA_TOFF[X]=value
$AA_TOFF[Y]=value
$AA_TOFF[Z]=value
Example of tool length offset selection
N10 TRAORI(1)
N20 TOFFON(Z)
N30 WHEN TRUE DO $AA_TOFF[Z] = 10
G4 F5
N40 TOFFON(X)
N50 ID=1 DO $AA_TOFF[X] = $AA_IW[X2]
G4 F5
...
N100 XOFFSET = $AA_TOFF_VAL[X]
N120 TOFFON(X, -XOFFSET)
G4 F5
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
Tool Offset ON (activate online tool length offset)
On activation, an offset value can be specified for the
relevant direction of offset and this is immediately recovered.
Tool Offset OF (reset online tool length offset)
The relevant offset values are reset and a preprocessing stop
is initiated.
Direction of compensation for the offset value indicated for
TOFFON
Offset in X direction
Offset in Y direction
Offset in Z direction
;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
;Activation of online tool length offset
;for the X tool direction
;For the X tool direction, an offset is
;executed subject to the position of
;axis X2
;Assign current offset in X direction for
;the X tool direction, the tool length
;offset will be returned to 0 again
Motion synchronous actions
10.4 Actions in synchronized actions
10-41

Advertisement

Table of Contents
loading

Table of Contents