Installation manual
CNC 8035
ACCESS TO INTERNAL CNC VARIABLES
Variables associated with coordinates
11.
(SOFT M: V15.3X)
(S
OFT T: V16.3X)
·379·
11.6 Variables associated with coordinates
The values are given in the units set by g.m.p. INCHES.
If, INCHES = 0, in ten-thousandths of a millimeter (±999999999).
If INCHES = 1, in hundred-thousandths of an inch (±393700787).
If rotary axis, in ten-thousandths of a degree (±999999999).
Read-only variables
Accessing any of the variables POS(X-C), TPOS(X-C), APOS(X-C), ATPOS(X-C), DPOS(X-C) or
FLWE(X-C) interrupts block preparation and the CNC waits for that command to be executed before
resuming block preparation.
POS(X-C)
It returns the real tool base position value referred to machine reference zero (home).
On limit-less rotary axes, this variable takes into account the value of the active zero offset. The
values of the variable are between the active zero offset and ±360º (ORG* ± 360º).
If ORG* = 20º it displays between 20º and 380º / displays between -340º and 20º.
If ORG* = -60º it displays between -60º and 300º / displays between -420 and -60º
At the lathe model CNC, the coordinates of each axis are given as follows:
• When read from the CNC, they are given in radius or diameter, depending on the active units
system. Check the DIAM variable to know the active units system.
• When read from the PLC, they are always given in radius.
TPOS(X-C)
It returns the theoretical position value (real coordinate + following error) of the tool base referred
to machine reference zero (home).
On limit-less rotary axes, this variable takes into account the value of the active zero offset. The
values of the variable are between the active zero offset and ±360º (ORG* ± 360º).
If ORG* = 20º it displays between 20º and 380º / displays between -340º and 20º.
If ORG* = -60º it displays between -60º and 300º / displays between -420 and -60º
At the lathe model CNC, the coordinates of each axis are given as follows:
• When read from the CNC, they are given in radius or diameter, depending on the active units
system. Check the DIAM variable to know the active units system.
• When read from the PLC, they are always given in radius.
APOS(X-C)
It returns the real tool base position value, referred to part zero, of the selected axis.
At the lathe model CNC, the coordinates of each axis are given as follows:
• When read from the CNC, they are given in radius or diameter, depending on the active units
system. Check the DIAM variable to know the active units system.
• When read from the PLC, they are always given in radius.
ATPOS(X-C)
It returns the theoretical position value (real coordinate + following error) of the tool base referred
to part zero.
At the lathe model CNC, the coordinates of each axis are given as follows:
• When read from the CNC, they are given in radius or diameter, depending on the active units
system. Check the DIAM variable to know the active units system.
• When read from the PLC, they are always given in radius.