·886·
Installation manual
CNC 8060
CNC 8065
10.
CNC VARIABLES.
(REF: 1402)
Variables related to CNC status.
10.59 Variables related to CNC status.
CNC STATUS.
(V.)[ch].G.STATUS
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).
CNC status (brief).
Syntax.
·ch· Channel number.
Values of the variable.
This variable returns a decimal value; to understand the meaning of the variables, resource
to their hexadecimal format. The list of codes is the following.
(V.)[ch].G.FULLSTATUS
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).
CNC status (detailed).
Syntax.
·ch· Channel number.
Values of the variable.
This variable returns a decimal value; to understand the meaning of the variables, resource
to their hexadecimal format. The high portion of this variable contains the information of the
STATUS variable and its low portion provides the substate of the CNC; FULLSATUS =
(STATUS)(substate). Thus, if the variable returns a value of 514, it means the following.
V.[2].G.STATUS Channel ·2·.
Decimal. Hexadecimal. Meaning.
0 $0 Not Ready
1 $1 Ready.
2 $2 In execution.
4 $4 Interrupted.
8 $8 In error.
V.[2].G.FULLSTATUS Channel ·2·.
Decimal. Hexadecimal. Status. Substate.
514 $0202 $0200
In execution.
$02
In MDI.