Programming manual
CNC 8070
CNC VARIABLES
Coordinate related
14.
(SOFT V02.0X)
387
14.13 Coordinate related
Remember that a spindle working in closed loop (M19 or G63) behaves like an axis.
These variables are for synchronous reading (R).
They have generic names.
• Replace the "n" character with the channel number, maintaining the brackets. The first
channel is identified with the number 1, "0" is not a valid number.
• Replace the "Xn" character by the name, logic number or index in the channel of the axis.
• Replace the "Sn" character by the name, logic number or index in the channel of the spindle.
There are real and theoretical coordinates corresponding to the tool base and tool tip. All of them
may be referred to Machine Zero or to the current Part Zero.
A theoretical coordinate is the position that the axis must occupy at all times, a real coordinate
is the one it actually occupies and the difference between these two is called "following error".
The PPOSS variable returns the target coordinate, in part coordinates and referred to the tool tip, in
the current reference system; i.e. taking into consideration the coordinate rotation, scaling factor,
active incline plane, etc.
The values of the PPOS variables read from a program or from the PLC and the interface will be
different when the coordinate is affected by tool compensation or when machining in round corner
mode. The value read by program will be the programmed coordinate whereas the value read from
the PLC or interface will be the real (actual) coordinate considering tool radius compensation and
corner rounding.
(V.)[n].A.PPOS.Xn V.[1].A.PPOS.X V.[1].A.PPOS.1
(V.)[n].A.POS.Sn V.[2].A.POS.S V.[2].A.POS.2
RELATED TO LINEAR AND ROTARY AXES
PRG PLC INT Exec
(V.)[n].A.PPOS.Xn
Programmed coordinates (of the tool tip) R R R No
(V.)[n].G.PLPPOS1
Programmed coordinate (of the tool tip) First axis of the
channel
RRRNo
(V.)[n].G.PLPPOS2
Programmed coordinate (of the tool tip) Second axis of
the channel
RRRNo
(V.)[n].G.PLPPOS3
Programmed coordinate (of the tool tip) Third axis of the
channel
RRRNo
(V.)[n].A.FLWE.Xn
Following error of the axis R R R Yes
(V.)[n].A.APOS.Xn
Part coordinates. Real of the tool base R R R Yes
(V.)[n].A.ATPOS.Xn
Part coordinates. Theoretical of the tool base R R R Yes
(V.)[n].A.ATIPPOS.Xn
Part coordinates. Real of the tool tip R R R Yes
(V.)[n].A.ATIPTPOS.Xn
Part coordinates. Theoretical of the tool tip R R R Yes
(V.)[n].A.POS.Xn
Machine coordinates. Real of the tool base R R R Yes
(V.)[n].A.TPOS.Xn
Machine coordinates. Theoretical of the tool base R R R Yes
(V.)[n].A.TIPPOS.Xn
Machine coordinates. Real of the tool tip R R R Yes
(V.)[n].A.TIPTPOS.Xn
Machine coordinates. Theoretical of the tool tip R R R Yes
G1 X10 V.A.PPOS.X=10
#SCALE [2]
G1 X10
(Scaling factor of ·2·)
V.A.PPOS.X=20
G73 Q90
X10
[Coordinate system rotation (pattern rotation)]
V.A.PPOS.Y=20 (since the Y axis is the one that moves)