● When an intermediate block is inserted in the main run, a check will be made to determine
whether or not reorganization is required. Reorganization is only necessary if the axis states
of this block do not match the current axis states.
● Instead of a GET block with preprocess stop and synchronization between preprocessing
and main run, axes can be replaced without a preprocess stop. In this case, an intermediate
block is simply generated with the GET request. In the main run, when this block is
executed, the system checks whether the states of the axes in the block match the actual
axis states.
3.15.2 Transfer axis to another channel (AXTOCHAN)
The AXTOCHAN language command can be used to request an axis in order to move it to a
different channel. The axis can be moved to the corresponding channel both from the NC part
program and from a synchronized action.
Syntax
AXTOCHAN(axis name,channel number[,axis name,channel number[,...]])
Meaning
Element Description
AXTOCHAN: Request axis for a specific channel
Axis name: Axis assignment in the system: X, Y, … or entry of machine axis names con‐
cerned. The executing channel does not have to be the same channel or even
the channel currently in possession of the interpolation right for the axis.
Channel number: Name of the channel to which the axis is to be assigned
Note
Competing positioning axis and PLC controlled axis exclusively
A PLC axis cannot replace the channel as a competing positioning axis. An axis controlled
exclusively by the PLC cannot be assigned to the NC program.
Further information: Function Manual Axes and Spindles
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 Comment
N110 AXTOCHAN(Y,2) ;Move Y axis to the second channel
N111 M0
N120 AXTOCHAN(Y,1) ; Retrieve Y axis (neutral).
Work preparation
3.15 Axis functions
NC programming
874 Programming Manual, 12/2019, 6FC5398-2EP40-0BA0