
Programming manual
CNC 8070
CNC VARI
ABLES
Rel
a
ted t
o
t
he
p
rog
ra
m
m
ed f
u
nct
ion
s
14.
(S
OFT
V02.0
X
)
391
14.16 Related to the programmed functions
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 letters "i" and "x" with a number keeping the brackets.
These variables are for synchronous reading (R).
Variables GS and MS returned a coded value. Each function has a bit that indicates whether the
relevant function is active (=1) or not (=0). Examples for status consultation:
(V.)G.GS[1]
indicates whether G1 is active (=1) or not (=0)
(V.)G.MS[6]
indicates whether M6 is active (=1) or not (=0)
The HGS1..10 variable returns the 32-bit coded status; 1 bit per function. The HGS1 variable
corresponds to functions G0 through G31, HGS2 corresponds to G32 through G63 and so on.
Th
e variables HGS and HMS return a coded value. Each function has a bit that indicates whether the
relevant variable will be displayed (=1) or not (=0). Bit 0, the least significant bit, corresponds to the
G0 or M0 function, bit 1 to G1 or M1 and so on.
These variables are read/write (R/W) and are evaluated during block preparation.
The "(V.)P.name" variables maintain their value in local and global subroutines called upon from the
program.
The "(V.)S.name" variables maintain their value between programs and after a reset. To initialize these
variables, use the instruction
#DELETE
.
"G" AND "M" FUNCTIONS
PRG PLC INT Exec
(V.)[n].G.GS[i]
Status of the requested "G" function
R
R
R
No
(V.)[n].G.MS[i]
Status of the requested "M" function
R
R
R
No
(V.)[n].G.HGS1..10
Status of the requested "G" (32 bit) functions
R
R
R
No
(V.)[n].G.HGS
History of "G" functions to be displayed
—
—
R
Yes
(V.)[n].G.HMS
History of "M" functions of the master spindle to be
displayed
—
—
R
Yes
(V.)[n].G.HMSi
History of "M" functions of the "i" spindle to be displayed
—
—
R
Yes
PARAMETERS AND VARIABLES
PRG PLC INT
(V.)P.name
Local user variables of the program
R/W
—
—
(V.)S.name
Global user variables of the program
R/W
—
—
(V.)C.(A-Z)
Value of the canned cycle calling parameter
R/W
—
—
(V.)C.CALLP_(A-Z)
Parameter programmed in the call to a canned cycle
"0" = It has not been programmed
"1" = It has been programmed
R
—
—
(V.)C.P_(A-Z)
Value of the positioning cycle calling parameter
R/W
—
—
(V.)C.P_CALLP_(A-Z)
Parameter programmed in the call to a positioning cycle
"0" = It has not been programmed
"1" = It has been programmed
R
—
—
(V.)C.PCALLP_(A-Z)
Parameter programmed in a call to a subroutine G18x, #PCALL
or #MCALL
"0" = It has not been programmed
"1" = It has been programmed
R
—
—
G90 G81 Z0 I-15
V.C.CALLP_Z = 1
V.C.CALLP_I = 1
V.C.CALLP_K = 0
V.C.Z = 0
V.C.Z = -15
G160 A30 X100 K10 P6
V.C.P_CALLP_A = 1
V.C.P_CALLP_K = 1
V.C.P_CALLP_R = 0
V.C.P_A = 30
V.C.P_X = 100
#PCALL sub.nc A12.56 D3
V.C.PCALLP_A = 1
V.C.PCALLP_D = 1
Summary of Contents for CNC 8070
Page 1: ...CNC 8070 REF 0504 SOFT V02 0X PROGRAMMING MANUAL Soft V02 0x Ref 0504...
Page 2: ......
Page 4: ......
Page 6: ......
Page 12: ......
Page 14: ......
Page 16: ......
Page 22: ......
Page 26: ......
Page 28: ......
Page 30: ......
Page 32: ......
Page 34: ......
Page 62: ...Programming manual 28 CNC 8070 2 MACHINE OVERVIEW Home search SOFT V02 0X 28...
Page 178: ...Programming manual 144 CNC 8070 7 GEOMETRY ASSISTANCE General scaling factor SOFT V02 0X 144...
Page 360: ...Programming manual 326 CNC 8070 12 CYCLE EDITOR Random multiple machining SOFT V02 0X 326...
Page 556: ...CNC 8070 16 PROBING CANNED CYCLES SOFT V02 0X 522 Programming manual...