Programming manual
402
CNC 8070
14.
CNC VARI
ABLES
Ot
h
e
r v
a
ri
a
b
le
s
(S
OFT
V02.0
X
)
402
These variables are synchronous read-only (R).
(V.)[n].G.FILEOFFSET
indicates the number of characters existing between the first character of the
program and the line being executed. It may be used to highlight the line being executed.
These variables are read/write (R/W) synchronous and are evaluated during execution.
These variables are read/write (R/W) synchronous and are evaluated during execution.
(V.)G.KEY
To read the last key that has been accepted by the CNC or simulate the
keyboard from the PLC by writing in it the code of the desired key.
These variables are synchronous read/write (R/W).
These variables are read-only (R) synchronous and are evaluated during execution.
Jog movements are allowed when the jog mode or the TEACH-IN mode is active, during tool
inspection and when functions G200 and G201 are active.
PROGRAM RELATED
PRG PLC INT Exec
(V.)[n].G.FILENAME
Name of the program in execution
—
—
R
Yes
(V.)[n].G.PRGPATH
Path of the program in execution
—
—
R
Yes
(V.)[n].G.FILEOFFSET
Position occupied by the line in execution
R
R
R
Yes
(V.)[n].G.BLKN
Last block executed (number)
(If none, value of -1)
R
R
R
No
RELATED TO AXES AND SPINDLES
Lin
Rot
Spd
PRG
PLC
INT
(V.)[n].A.INPOS.Xn
Axis or spindle in position
Yes Yes
R
R
(V.)[n].A.DIST.Xn
Distance traveled by the axis or spindle
Yes Yes R/W R/W
(V.)G.ENDREP
All the axes are repositioned
—
—
R
R
(V.)[n].G.SPDLREP
M function to be used to reposition the spindle after a tool
inspection
—
—
R
R
SIMULATION OF KEYS
PRG PLC INT
(V.)G.KEY
Code of the last key accepted by the CNC.
R
R/W
R
Keyboard simulation from the PLC.
;R110=0 and R111=1
··· = CNCRD(G.KEY, R100, M102)
It assigns to register R100 the code of the key pressed last.
··· = CNCWR(R101, G.KEY, M101)
It indicates to the CNC that a key has been pressed whose code is indicated in
register R101.
CHANNEL
PRG PLC INT Exec
(V.)[n].G.CNCHANNEL
Channel number
R
R
R
No
(V.)G.FOCUSCHANNEL
Channel with active focus
R
R/W R/W
Yes
JOG MOVEMENTS
PRG PLC INT
(V.)[n].G.INTMAN
Movements in jog mode are allowed
R
R
R
Содержание CNC 8070
Страница 1: ...CNC 8070 REF 0504 SOFT V02 0X PROGRAMMING MANUAL Soft V02 0x Ref 0504...
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 12: ......
Страница 14: ......
Страница 16: ......
Страница 22: ......
Страница 26: ......
Страница 28: ......
Страница 30: ......
Страница 32: ......
Страница 34: ......
Страница 54: ...Programming manual 20 CNC 8070 1 CREATING A PROGRAM Parameters constants and expressions SOFT V02 0X 20...
Страница 62: ...Programming manual 28 CNC 8070 2 MACHINE OVERVIEW Home search SOFT V02 0X 28...
Страница 154: ...Programming manual 120 CNC 8070 6 TOOL PATH CONTROL Manual intervention G200 G201 G202 SOFT V02 0X 120...
Страница 178: ...Programming manual 144 CNC 8070 7 GEOMETRY ASSISTANCE General scaling factor SOFT V02 0X 144...
Страница 188: ...Programming manual 154 CNC 8070 8 ADDITIONAL PREPARATORY FUNCTIONS Probing G100 SOFT V02 0X 154...
Страница 360: ...Programming manual 326 CNC 8070 12 CYCLE EDITOR Random multiple machining SOFT V02 0X 326...
Страница 446: ...Programming manual 412 CNC 8070 14 CNC VARIABLES Alphabetical listing of variables SOFT V02 0X 412...
Страница 556: ...CNC 8070 16 PROBING CANNED CYCLES SOFT V02 0X 522 Programming manual...