EasyManua.ls Logo

Fagor CNC 8070 - Page 436

Fagor CNC 8070
556 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...



Programming manual
402
CNC 8070
14.
CNC VARIABLES
Other variables
(SOFT V02.0X)
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)
RRRNo
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

Table of Contents

Other manuals for Fagor CNC 8070

Related product manuals