Motion synchronous actions
10.4 Actions in synchronized actions
Job planning
Programming Manual, 03/2006 Edition, 6FC5398-2BP10-1BA0
10-41
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
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.
TOFFOF
Tool Offset OF (reset online tool length offset)
The relevant offset values are reset and a preprocessing stop
is initiated.
X, Y, Z Direction of compensation for the offset value indicated for
TOFFON
$AA_TOFF[X]=value
$AA_TOFF[Y]=value
$AA_TOFF[Z]=value
Offset in X direction
Offset in Y direction
Offset in Z direction
Example of tool length offset selection
N10 TRAORI(1) ;Transformation ON
N20 TOFFON(Z) ;Activation of online tool length offset
;for the Z tool direction
N30 WHEN TRUE DO $AA_TOFF[Z] = 10
G4 F5
;For the Z tool direction, a tool
;length offset of 10 is interpolated
N40 TOFFON(X) ;Activation of online tool length offset
;for the X tool direction
N50 ID=1 DO $AA_TOFF[X] = $AA_IW[X2]
G4 F5
;For the X tool direction, an offset is
;executed subject to the position of
;axis X2
...
N100 XOFFSET = $AA_TOFF_VAL[X]
N120 TOFFON(X, -XOFFSET)
G4 F5
;Assign current offset in X direction for
;the X tool direction, the tool length
;offset will be returned to 0 again