Installation manual
CNC 8060
CNC 8065
CNC VARIABLES.
10.
(REF: 1402)
·535·
Variables in a multi-channel system.
When referring to the axis or spindle by its name, programming the channel they are in is
not a determining factor; thus, programming them in this case is irrelevant. When
programming the channel, if the axis or spindle is not in it, its programming is ignored.
The logic number of the axes is determined by the order in which they have been defined
in the machine parameter table (AXISNAME). The first axis of the table will be logic axis -
1- and so on.
The logic number of the spindles is determined by the order in which they have been defined
in the machine parameter table (NAXIS + SPDLNAME). The logic numbering of the spindles
continues from the last logic axis; hence, in a 5-axis system, the first spindle of the table will
be logic spindle ·6· and so on.
The index of a spindle in the system is determined by the order in which they have been
defined in the machine parameter table (SPDLNAME). The index of the first spindle of the
table will be ·1· and so on.
The index of an axis in the channel is determined by the order in which they have been defined
in the machine parameter table (CHAXISNAME). The index of the first axis of the table will
be ·1· and so on.
The index of a spindle in the channel is determined by the order in which they have been
defined in the machine parameter table (CHSPDLNAME). The index of the first spindle of
the table will be ·1· and so on.
Variables of the master spindle.
In a multi-spindle system, the master spindle is the main spindle of the channel, the one
receiving the commands when no specific spindle is mentioned. Each channel has a master
spindle. In a single-spindle channel, that will always be the master spindle.
The variables of the master spindle are identified with the prefix –SP.– but without indicating
the spindle. These variables may be used to access the data of the master spindle without
knowing its name or logic number. These variables are meant for displaying data and
programming cycles.
Programming the channel number is optional; if not programmed, it works as follows
depending on who executes the variable.
AXISNAME SPDLNAME Logic order. Index of the spindle in the
system.
AXISNAME 1 Logic number 1.
AXISNAME 2 Logic number 2.
AXISNAME 3 Logic number 3.
AXISNAME 4 Logic number 4.
AXISNAME 5 Logic number 5.
SPDLNAME 1 Logic number 6. Index 1.
SPDLNAME 2 Logic number 7. Index 2.
CHAXISNAME
CHSPDLNAME
Index of the axis in the channel. Index of the spindle in the channel.
CHAXISNAME 1 Index 1.
CHAXISNAME 2 Index 2.
CHAXISNAME 3 Index 3.
CHSPDLNAME 1 Index 1.
CHSPDLNAME 2 Index 2.
Where they are executed. Meaning when no channel has been programmed.
Part-program.
MDI/MDA mode.
Channel that is executing the variable.
PLC First channel or main channel.
External interface. Active channel.