·888·
Installation manual
CNC 8060
CNC 8065
10.
CNC VARIABLES.
(REF: 1402)
Variables related to CNC status.
DETAILED CNC STATUS IN JOG MODE.
(V.)[ch].G.CNCMANSTATUS
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 jog 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.CNCMANSTATUS Channel ·2·.
Value. Meaning.
$1 Jog mode.
$2 Jog or handwheel movements.
$4 Manual tool calibration.
$8 Part centering (mill model).
$10 Home search with subroutine.
The variable takes this value when pressing the [ZERO] key and maintains it until the
CNC returns to the READY state after the home search.
$20 Home search on an axis.
The variable takes this value when pressing the [ZERO] key with an axis selected
and maintains it until the CNC returns to the READY state after the home search.
$40 "T" field selected.
The variable removes the bit when the CNC returns to the READY state after pressing
[START].
$80 "F" field selected.
The variable removes the bit when the CNC returns to the READY state after pressing
[START].
$100 "S" field selected.
The variable removes the bit when the CNC returns to the READY state after pressing
[START].
$200 Axis ready for coordinate preset or for movement to a coordinate. Axis selected and
coordinate set, waiting for [ENTER] or [START].
$10000000 MDI/MDA mode.
$20000000 CNCEX.
CNC status. Variables.
Tool calibration screen is active. V.G.CNCMANSTATUS = $5
An axis has been selected for home search, but [START]
has not been pressed.
V.G.CNCMANSTATUS = $21
V.G.STATUS = $1 (READY)
A home search is in progress on an axis. V.G.CNCMANSTATUS = $21
V.G.STATUS = $2 (IN EXECUTION)
Home search on an axis has been interrupted. V.G.CNCMANSTATUS = $21
V.G.STATUS = $4 (INTERRUPTED)
The CNC is executing a block in MDI/MDA from jog
mode.
V.G.CNCMANSTATUS=$10000001
V.G.STATUS = $2 (IN EXECUTION)
The execution of a block in MDI/MDA from jog mode has
been interrupted.
V.G.CNCMANSTATUS=$10000001
V.G.STATUS = $4 (INTERRUPTED)