Siemens SINUMERIK 840D sl Function Manual page 50

Synchronized actions
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Detailed description
3.3 System variables for synchronized actions
Deselecting the online tool length compensation
Program code
; Activate orientation transformation
N10 TRAORI
; Activate tool length compensation in the X direction
N20 TOFFON(X)
; Tool length compensation in the X direction: 10 mm
N30 WHEN TRUE DO $AA_TOFF[X] = 10
G4 F5
...
; Delete tool length compensation in the X direction
; No axis is traversed. To the current position in the WCS,
; the position offset in accordance with the current orientation
; is added.
N80 TOFFOF(X)
N90 TRAFOOF
Activating and deactivating in the part program
The online tool length compensation is activated in the part program with TOFFON and
deactivated with TOFFOF. When activating for the respective offset direction, an offset value
can be specified, e.g. TOFFON(Z,25), which is then immediately traversed. The status of the
online tool length compensation is activated at the NC/PLC interface via the following signals:
● DB21, ... DBX318.2 (TOFF active)
● DB21, ... DBX318.3 (TOFF movement active)
Note
The online tool length compensation remains inactive until it is reselected using via
TOFFON in the part program.
Behavior at reset and power on
The behavior at reset can be set via the machine data:
MD21190 $MC_TOFF_MODE, bit 0 = <value> (operation of tool offset in tool direction)
Value
0
1
This is always necessary in case of synchronized actions IDS=<number> DO
$AA_TOFF[n]=<value>, as otherwise there would be an immediate tool length
compensation.
Similarly, a transformation or a tool carrier that can be oriented, can be deselected after reset
via the following machine data:
MD20110 $MC_RESET_MODE_MASK (initial setting after reset)
50
Meaning
The tool length offset $AA_TOFF is deselected at reset
The tool length offset $AA_TOFF is retained at reset
Function Manual, 08/2018, 6FC5397-5BP40-6BA2
Synchronized actions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents