T1: Indexing axes
15.4 Programming of indexing axes
Extended Functions
Function Manual, 03/2013, 6FC5397-1BP40-3BA1
777
Modulo rotary axis as indexing axis
The indexing axis is defined with Modulo 360° as rotary axis:
MD30300 $MA_IS_ROT_AX = 1
and
MD30310 $MA_ROT_IS_MODULO = 1
In this case, the following points must be observed additionally for the specification of the
indexing positions:
● Permissible range: 0°
≤ Pos < 360°
● Since the indexing axis is defined as a continuously rotating rotary axis, indexing position
1 is approached after the highest valid indexing position in the table has been reached
and the axis continues to traverse in the positive direction with INC. Similarly, indexing
position 1 is followed by the highest valid indexing position in the negative direction with
INC.
15.4 Programming of indexing axes
Coded position
To allow indexing axes to be positioned from the NC part program, special instructions are
provided with which the indexing numbers (e.g. location numbers) are programmed instead
of axis positions in mm or degrees. The availability of a special instruction depends on the
axis type (linear or rotary axis):
Statement Effect Availability
CAC(i)
Traverse coded position in absolute terms Linear axis, rotary axis
CACP(i)
Traverse coded position ain absolute terms in
the positive direction
Rotary axis
CACN(i)
Traverse coded position ain absolute terms in
the negative direction
Rotary axis
CDC(i)
Traverse coded position along the direct
(shortest) path
Rotary axis
CIC(i)
Traverse coded position incrementally Linear axis, rotary axis
i: Coded position (indexing position)
Value range of i: 0 ... 59; whole number (positive and negative values are possible
in
CIC)