EasyManua.ls Logo

Fagor CNC 8065 - Page 892

Fagor CNC 8065
900 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...
·892·
Installation manual
CNC 8060
CNC 8065
10.
CNC VARIABLES.
(REF: 1402)
Variables associated with the part-program being executed.
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 number of blocks executed; reading it from
the part-program or MDI returns the number of blocks prepared.
INFORMATION ON PROGRAM EXECUTION.
(V.)[ch].G.FIRST
Variable that can be read and written from the interface and read from the program and from the PLC.
The variable returns the execution value; reading it interrupts block preparation.
First time a program is executed.
Syntax.
·ch· Channel number.
Values of the variable.
This variable returns one of the following values.
Remarks.
First time execution means every time a new program is selected. This variable is initialized
when changing the program being executed in the channel, even with the #EXEC instruction.
When the instruction #EXEC is involved in a program, the variable behaves as follows:
1 The variable is initialized when selecting and executing the program.
2 When executing the #EXEC instruction, the variable is re-initialized because the program
in execution has changed.
3 If then, this program is executed again, the program in execution changes again and the
variable is updated.
(V.)[ch].G.PARTC
Variable that can be read and written via program, PLC and interface.
The variable returns the execution value; reading it interrupts block preparation.
Report variable (to be used from the scripts).
Parts counter.
Syntax.
·ch· Channel number.
Remarks.
This variable is initialized when changing the program being executed and it increments its
value every time an M02 or M30 is executed. This variable is initialized when changing the
program being executed in the channel, even with the #EXEC instruction.
When the instruction #EXEC is involved in a program, the variable behaves as follows:
V.[2].G.LINEN Channel ·2·.
V.[2].G.FIRST Channel ·2·.
Value. Meaning.
0No.
1Yes.
V.[2].G.PARTC Channel ·2·.

Table of Contents

Other manuals for Fagor CNC 8065

Related product manuals