Installation manual
CNC 8060
CNC 8065
CNC VARIABLES.
10.
(REF: 1402)
·887·
Variables related to CNC status.
The list of codes for the low portion of FULLSTATUS is: In reset state, the low portion of
FULLSTATUS is $0, in jog mode is $1, in simulation mode is $D and so on.
Example of some values of the FULLSTATUS variable.
SELECTED AXES.
(V.)[ch].G.SELECTEDAXIS
Variable that can only be read from the program, PLC and interface.
The variable returns the execution value; reading it interrupts block preparation.
Axes selected for home search, repositioning, coordinate preset or movement to a
coordinate.
Syntax.
·ch· Channel number.
Values of the variable.
The variable returns a 32-bit value where each bit represents one axis; the least significant
bit corresponds to the axis with the lowest logic number. Each bit indicates whether the axis
is selected (bit = 1) or not (bit = 0).
Decimal. Hexadecimal. Meaning.
0$0 In Reset
1 $1 In Jog mode
2 $2 In MDI mode
3 $3 In program
4 $4 Stopped by an M0
5 $5 Stopped with CYCLE STOP
6 $6 Stopped in Single block mode
9 $9 Syntax checks.
10 $A Block search (without moving the axes)
11 $B Block search finished. In stand by
12 $C Execution time estimate.
13 $D In simulation.
Decimal. Hexadecimal. Status. Substate.
521 $209 $200
In execution.
$09
Syntax checks.
522 $20A $200
In execution.
$0A
Block search.
524 $20C $200
In execution.
$0C
Execution time estimate.
525 $20D $200
In execution.
$0D
In simulation.
515 $203 $200
In execution.
$03
In program.
V.[2].G.SELECTEDAXIS Channel ·2·.