Programming manual
402
CNC 8070
14.
CNC VARIABLES
Related to the machine configuration
(SOFT V02.0X)
398
These variables are for synchronous reading (R).
The values returned by (V.)[n].G.PLANE and (V.)[n].G.LONGAX are coded as follows.
X=10 X1=11 X2=12 X3=13 ... X9=19
Y=20 Y1=21 Y2=22 Y3=23 ... Y9=29
Z=30 Z1=31 Z2=32 Z3=33 ... Z9=39
U=40 U1=41 U2=42 U3=43 ... U9=49
V=50 V1=51 V2=52 V3=53 ... V9=59
W=60 W1=61 W2=62 W3=63 ... W9=69
A=70 A1=71 A2=72 A3=73 ... A9=79
B=80 B1=81 B2=82 B3=83 ... B9=89
C=90 C1=91 C2=92 C3=93 ... C9=99
Thus, if the G17 plane is selected, you will obtain:
These variables are read/write (R/W) synchronous and are evaluated during execution.
These variables are read-only (R) synchronous and are evaluated during execution. These
variables correspond to linear and rotary axes and spindles.
For a counter to be active, it must have an analog axis associated with it.
WORK PLANE AND AXES PRG PLC INT Exec
(V.)[n].G.PLANE
Axes making up the work plane R R R No
(V.)[n].G.PLANE1
First main axis of the channel (abscissa) R R R No
(V.)[n].G.PLANE2
2nd main axis of the channel (ordinate) R R R No
(V.)[n].G.PLANE3
Third main axis of the channel R R R No
(V.)[n].G.PLANELONG
Longitudinal axis of the channel R R R No
(V.)[n].G.LONGAX
Longitudinal axis R R R No
(V.)[n].G.PLAXNAME1
Main axes (abscissa) — — R Yes
(V.)[n].G.PLAXNAME2
Main axes (ordinate) — — R Yes
(V.)[n].G.PLAXNAME3
Main axes (longitudinal) — — R Yes
V.G.PLANE = 1020 XY axes (work plane)
V.G.LONGAX = 30 Z axis (longitudinal)
G.PLAXNAME1 = X (Abscissa axis)
G.PLAXNAME2 = Y (Ordinate axis)
G.PLAXNAME3 = Z (Longitudinal axis)
ANALOG INPUTS AND OUTPUTS
PRG PLC INT
(V.)G.ANAI[i]
[n] input voltage (in volts) R R R
(V.)G.ANAO[i]
[n] output voltage (in volts) R/W R/W R
FEEDBACK INPUTS
PRG PLC INT
(V.)[n].A.COUNTER.Xn
Feedback pulses
(integer + fraction)
RRR
(V.)[n].A.COUNTERST.Xn
Counter status R R R
(V.)[n].A.ASINUS.Xn
Fraction of the A signal R R R
(V.)[n].A.BSINUS.Xn
Fraction of the B signal R R R