Installation manual
CNC 8060
CNC 8065
CNC VARIABLES.
10.
(REF: 1402)
·889·
Variables related to CNC status.
DETAILED CNC STATUS IN AUTOMATIC MODE.
(V.)[ch].G.CNCAUTSTATUS
Variable that can only be read from the program, PLC and interface.
The variable returns the execution value; reading it interrupts block preparation.
Report variable (to be used from the scripts).
Detailed CNC status in automatic mode.
Syntax.
·ch· Channel number.
Values of the variable.
This variable returns a hexadecimal value with the following meaning.
Example of some values of the variable.
V.[2].G.CNCAUTSTATUS Channel ·2·.
Value. Meaning.
$1 Automatic mode or MDI/MDA mode over the automatic mode.
$2 First block selected.
$4 Stop condition selected.
$8 The option to execute the blocks of the program independently (EXBLK softkey) is
active.
$10 Block search is selected.
$20 The M H F S function display is selected (during block search or tool inspection).
$40 The M H F S function selection is active (during tool inspection).
$80 Tool inspection is selected.
$100 The "cancel and resume" option is active.
$200 Axis repositioning is selected (during block search or tool inspection).
$400 An axis has been selected for repositioning.
$800 The CNC is executing an interruption subroutine.
$1000 Simulated execution is active. Theoretical travel.
$2000 Simulated execution is active. G functions.
$4000 Simulated execution is active. GMST functions.
$8000 Simulated execution is active. Main plane.
$10000 Simulated execution is active. Rapid.
$20000 Simulated execution is active. Rapid S=0.
$40000 The cycle editor is executing a cycle.
$80000 The cycle editor is simulating a cycle.
$10000000 MDI/MDA mode active over the automatic mode.
$20000000 The PLC is executing a CNCEX command.
CNC status. Variables.
There is a program in execution. V.G.CNCAUTSTATUS = $1
V.G.STATUS = $2 (IN EXECUTION)
The execution has been interrupted and tool inspection
is active.
V.G.CNCAUTSTATUS = $81
V.G.STATUS = $4 (INTERRUPTED)
Tool inspection is active and there is a jog movement. V.G.CNCAUTSTATUS = $81
V.G.CNCMANSTATUS = $2
V.G.STATUS = $2 (IN EXECUTION)