Job planning
Programming Manual, 07/2010, 6FC5398-2BP40-0BA0
661
Additional functions
14
14.1 Axis functions (AXNAME, AX, SPI, AXTOSPI, ISAXIS, AXSTRING,
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>)