Additional Functions; Axis Functions (Axname, Ax, Spi, Axtospi, Isaxis, Axstring, Modaxval) - Siemens SINUMERIK 840D sl Programming Manual

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

Advertisement

Additional functions

14.1
Axis functions (AXNAME, AX, SPI, AXTOSPI, ISAXIS, AXSTRING,
14.1
MODAXVAL)
Function
AXNAME is used e.g. to generate cycles that are generally valid, if the names of the axes are
not known.
AX is used to indirectly program geometry and synchronous axes. The axis identifier is saved
in a type AXIS variable or is supplied from a command such as AXNAME or SPI.
SPI is used if axis functions are programmed for a spindle, e.g. a synchronous spindle.
AXTOSPI is used to convert an axis identifier into a spindle index (inverse function to SPI).
AXSTRING is used to convert an axis identifier (data type AXIS) into a string (inverse function
to AXNAME).
ISAXIS is used in universal cycles in order to ensure that a specific geometry axis exists
and thus that any following $P_AXNX call is not aborted with an error message.
This MODAXVAL is used in order to determine the modulo position for modulo rotary axes.
Syntax
AXNAME("string")
AX[AXNAME("string")]
SPI(n)
AXTOSPI(A) or AXTOSPI(B) or AXTOSPI(C)
AXSTRING( SPI(n) )
ISAXIS(<geometry axis number>)
<Modulo position>=MODAXVAL(<axis>,<axis position>)
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
14
765

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents