·860·
Installation manual
CNC 8060
CNC 8065
10.
CNC VARIABLES.
(REF: 1402)
Variables related to the programmed functions.
Syntax.
·ch· Channel number.
Values of the variable.
This variable returns one of the following values.
(V.)[ch].A.MEAS.xn
Variable that can only be read from the program, PLC and interface.
Variable valid for rotary and linear axes as well as for spindles.
The variable returns the execution value; reading it interrupts block preparation.
Measured value. Machine coordinates of the tool base.
Syntax.
·ch· Channel number.
·xn· Name, logic number or index of the axis.
·sn· Name, logic number or index of the spindle.
Remarks.
(V.)[ch].A.ATIPMEAS.xn
Variable that can be read from the program.
Variable valid for rotary and linear axes as well as for spindles.
The variable returns the execution value; reading it interrupts block preparation.
Measured value. Part coordinates of the tool tip.
Syntax.
·ch· Channel number.
·xn· Name, logic number or index of the axis.
·sn· Name, logic number or index of the spindle.
V.[2].G.PLMEASOK1 Channel ·2·. First axis of the plane.
V.[2].G.PLMEASOK2 Channel ·2·. Second axis of the plane.
V.[2].G.PLMEASOK3 Channel ·2·. Third axis of the plane.
Value. Meaning.
0No.
1Yes.
V.A.MEAS.Z Z axis.
V.A.MEAS.S Spindle S.
V.SP.MEAS.S Spindle S.
V.SP.MEAS Master spindle.
V.A.MEAS.4 Axis or spindle with logic number ·4·.
V.[2].A.MEAS.1 Axis with index ·1· in the channel ·2·.
V.SP.MEAS.2 Spindle with index ·2· in the system.
V.[2].SP.MEAS.1 Spindle with index ·1· in the channel ·2·.
Part-program. Reading the variable.
G00 X0 Y0
G100 X100 F100
V.A.MEAS.X = 95
V.A.MEASOF.X = -5
V.A.MEASOK.X = 1
V.A.ATIPMEAS.Z Z axis.
V.A.ATIPMEAS.S Spindle S.
V.SP.ATIPMEAS.S Spindle S.
V.SP.ATIPMEAS Master spindle.