Replaceable Geometry Axes (Geoax) - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

Example 2: AXSTRING
When programming with AXSTRING[SPI(n)], the axis index of the axis, which is assigned to the
spindle, is no longer output as spindle number, but instead the string "Sn" is output.
Program code
AXSTRING[SPI(2)]
Example 3: MODAXVAL
The modulo position of modulo rotary axis A is to be determined.
Axis position 372.55 is the starting value for the calculation.
The parameterized modulo range is 0 to 360 degrees:
MD30340 MODULO_RANGE_START = 0
MD30330 $MA_MODULO_RANGE = 360
Program code
R10=MODAXVAL(A,372.55)
Example 4: MODAXVAL
If the programmed axis identifier does not refer to a modulo rotary axis, then the value to be
converted (<axis position>) is returned unchanged.
Program code
R11=MODAXVAL(X,372.55)
3.15.4

Replaceable geometry axes (GEOAX)

The "Switchable geometry axes" function allows the geometry axes configured via machine
data to be replaced by other channel axes.
Syntax
GEOAX(<n>,<channel axis>,<n>,<channel axis>,<n>,<channel axis>)
GEOAX()
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0
Comment
; String "S2" is output.
Comment
; Calculated modulo position R10 = 12.55.
Comment
; X is a linear axis; R11 = 372.55.
Work preparation
3.15 Axis functions
877

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840de sl

Table of Contents