Siemens SINUMERIK 840D sl Programming Manual page 338

Nc programming
Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Fundamentals
2.12 Coordinate transformations (frames)
Program code
N80 CORROF(X,"AA_OFF")
...
Example 4: Axis-specific deselection of a DRF offset and a $AA_OFF position offset (1)
A DRF offset is generated in the X axis by DRF handwheel traversal. No DRF offsets are
operative for any other axes in the channel.
Program code
; A position offset of 10 is interpolated for the X axis.
N10 WHEN TRUE DO $AA_OFF[X]=10 G4 F5
...
; Only the DRF offset and the position offset of the X axis are deselected.
; The DRF offset of the Y axis is retained.
N70 CORROF(X,"DRF",X,"AA_OFF")
...
Example 5: Axis-specific deselection of a DRF offset and a $AA_OFF position offset (2)
A DRF offset is generated in the X and Y axes by DRF handwheel traversal. No DRF offsets are
operative for any other axes in the channel.
Program code
; A position offset == 10 is interpolated for the X axis.
N10 WHEN TRUE DO $AA_OFF[X]=10 G4 F5
...
; The DRF offset of the Y axis and the position offset of the X axis are deselected.
; The DRF offset of the X axis is retained.
N70 CORROF(Y,"DRF",X,"AA_OFF")
...
Further information
$AA_OFF_VAL
Once the position offset has been deselected by means of $AA_OFF, system variable
$AA_OFF_VAL (integrated distance of axis overlay) for the corresponding axis will equal zero.
$AA_OFF in JOG mode
Also in JOG mode, if $AA_OFF changes, the position offset will be interpolated as an overlaid
movement if this function has been enabled via machine data MD 36750
$MA_AA_OFF_MODE.
$AA_OFF in synchronized action
If a synchronized action which immediately resets $AA_OFF
(DO $AA_OFF[<axis>]=<value>) is active when the position offset is deselected using the
CORROF(<axis>,"AA_OFF"), then $AA_OFF will be deselected and not reset, and alarm
21660 will be displayed. However, if the synchronized action becomes active later, e.g. in the
block after CORROF, $AA_OFF will remain set and a position offset will be interpolated.
338
Comment
Comment
Comment
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
NC programming

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents