January 2012 6.1 Machine Structure 615
The PLC indicates the number of configured logical axes in NN_GenAxCount.
The logical axis number is listed in NN_AxLogNumber; it is needed as axis
number in different PLC modules, for example (e.g. 9165).
NN_AxLogNumber changes its value if you deactivate an axis with
Modules 9226 or 9418. NN_AxLogNumber is set to the value –1 for
deactivated axes. NN_AxLogNumber shows the current operating status of
the axis and therefore does not change immediately when the module is
called, but rather a little later.
The logical axis number corresponds to the index from NN_ChnAxis (see
"Configuring a machining channel" on page 617).
Spindles In the control software, spindles and axes are treated in largely the same way.
Spindles are considered a special kind of axis and are defined as a logical axis.
For parameters, PLC operands and spindle functions, see "Spindles" on page
998.
Please note that activating a deactivated axis can take up to half a second.
PLC operand / Description Ty p e
NN_GenAxCount
Number of configured logical axes (including spindles)
D
NN_AxLogNumber
Logical axis number (identical to the axis number of
"axes of the machining channel")
–1: The axis is deactivated (e.g. via Module 9226 or the
machine configuration)
D