Siemens SINUMERIK 840D sl Programming Manual page 145

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

Advertisement

Example
AXTOCHAN in the NC program
Axes X and Y have been declared in the first and second channels. Currently, channel 1 has
the interpolation right and the following program is started in that channel.
Program code
N110 AXTOCHAN(Y,2)
N111 M0
N120 AXTOCHAN(Y,1)
N121 M0
N130 AXTOCHAN(Y,2,X,2)
N131 M0
N140 AXTOCHAN(Y,2)
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".
Job Planning
Programming Manual, 06/2009, 6FC5398-2BP20-0BA0
1.16 Transfer axis to another channel (AXTOCHAN)
Comments
; Move Y axis to second channel.
; Retrieve Y axis (neutral).
; Move Y axis and X axis to second channel (axes are
neutral).
; Move Y axis to second channel (NC program).
Flexible NC programming
145

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents