Programming manual
402
CNC 8070
14.
CNC VARIABLES
Understanding the description of the variables
(SOFT V02.0X)
362
Identifying the axes and the spindles.
In variables with the prefix –A.– and –MPA.–, the axes and the spindles
are identified with their logic number.
• For the axes, the logic number sets the order AXISNAME.
• For spindles, the logic number is given by the sum of NAXIS +
orden SPDLNAME.
In variables with the prefix –SP.–, the spindles are identified with their
channel index or with their system index.
• When reading from the program interface or PLC, the spindle is
identified with its system index according to the order SPDLNAME.
• When reading from the program interface (INT), the spindle is
identified with its channel index according to the order
CHSPDLNAME.
Access to common variables for axis and spindle
Accessing variables by their name
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.
Accessing variables by their logic number
Depending on whether the channel number is programmed or not, the
mnemonic has a different meaning depending on whether it is access
from PRG, PLC or INT.
Accessing from PRG or PLC when not indicating the channel number.
Accessing from INT when not indicating the channel number.
Accessing from PRG, PLC or INT when indicating the channel
number.
When indicating the channel number, the spindle variables cannot be
accessed using the –A.– prefix.
(V.)A.{var}.X Axis variable with that name.
(V.)A.{var}.S Spindle variable with that name.
(V.)SP.{var}.S2 Spindle variable with that name.
V.A.{var}.m Axis or spindle variable with logic number m.
V.SP.{var}.m Spindle variable with m index in the system.
A.{var}.m Axis variable with m index in the active channel.
SP.{var}.m Spindle variable with m index in the active channel.
(V.)[1].A.{var}.m Axis variable with m index in the channel.
(n=1 corresponds to the first axis of the
channel)
(V.)[2].SP.{var}.m Spindle variable with m index in the channel.
(n=1 corresponds to the first spindle of the
channel)