EasyManuals Logo
Home>Siemens>Control Systems>SINUMERIK ONE MCP 2400.4c

Siemens SINUMERIK ONE MCP 2400.4c Programming Manual

Siemens SINUMERIK ONE MCP 2400.4c
1334 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #875 background imageLoading...
Page #875 background image
Program code Comment
N121 M0
N130 AXTOCHAN(Y,2,X,2) ;Move Y axis and X axis to the second channel (axes
are neutral).
N131 M0
N140 AXTOCHAN(Y,2) ; Move Y axis to the second channel (NC program).
N141 M0
Further information
AXTOCHAN in the NC program
A GET is only executed in the event of the axis being requested for the NC program in the same
channel (this means that the system waits for the state to actually change). If the axis is
requested for another channel or is to become the neutral axis in the same channel, the request
is sent accordingly.
AXTOCHAN from a synchronized action
In the event of an axis being requested for the same channel, AXTOCHAN from a synchronized
action is mapped to a GET from a synchronized action. In this case, the axis becomes the
neutral axis on the first request for the same channel. On the second request, the axis is
assigned to the NC program in the same way as the GET request in the NC program. For more
information about GET requests from a synchronized action, see "Motion-synchronous
actions".
3.15.3 Axis functions (AXNAME, AX, SPI, AXTOSPI, ISAXIS, AXSTRING, MODAXVAL)
"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.
"MODAXVAL" is used in order to determine the modulo position for modulo rotary axes.
Syntax
AXNAME("string")
AX[AXNAME("string")]
SPI(n)
Work preparation
3.15 Axis functions
NC programming
Programming Manual, 12/2019, 6FC5398-2EP40-0BA0 875

Table of Contents

Other manuals for Siemens SINUMERIK ONE MCP 2400.4c

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK ONE MCP 2400.4c and is the answer not in the manual?

Siemens SINUMERIK ONE MCP 2400.4c Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK ONE MCP 2400.4c
CategoryControl Systems
LanguageEnglish

Related product manuals