Installation manual
CNC 8060
CNC 8065
CNC VARIABLES.
10.
(REF: 1402)
·891·
Variables associated with the part-program being executed.
10.60 Variables associated with the part-program being executed.
PART-PROGRAM INFORMATION.
(V.)[ch].G.FILENAME
Variable to be read via interface.
Report variable (to be used from the scripts).
Name of the program in execution.
Syntax.
·ch· Channel number.
(V.)[ch].G.PRGPATH
Variable to be read via interface.
Report variable (to be used from the scripts).
Path of the program in execution.
Syntax.
·ch· Channel number.
(V.)[ch].G.FILEOFFSET
Variable that can only be read from the program, PLC and interface.
The variable returns the value of block preparation.
Number of characters up to the line being executed or prepared.
Syntax.
·ch· Channel number.
Remarks.
The variable returns the value of execution or preparation as follows. Reading the variable
from the PLC or from the interface returns the value of the program being executed; reading
it from the part-program or MDI returns the program being prepared.
(V.)[ch].G.BLKN
Variable that can only be read from the program, PLC and interface.
The variable returns the value of block preparation.
Last block executed (number).
If no label has been executed, the variable will return a -1 value.
Syntax.
·ch· Channel number.
(V.)[ch].G.LINEN
Variable that can only be read from the program, PLC and interface.
The variable returns the value of block preparation.
Number of program blocks executed or prepared.
[2].G.FILENAME Channel ·2·.
[2].G.PRGPATH Channel ·2·.
V.[2].G.FILEOFFSET Channel ·2·.
V.[2].G.BLKN Channel ·2·.