Programming manual
402
CNC 8070
14.
CNC VARIABLES
Other variables
(SOFT V02.0X)
400
14.19 Other variables
They have generic names.
• Replace the "n" character with the channel number, maintaining the brackets. The first
channel is identified with the number 1, "0" is not a valid number.
• Replace the "Xn" character by the name, logic number or index in the channel of the axis or
of the spindle.
• Replace the letter "i" with a number keeping the brackets.
These variables are read-only (R) synchronous and are evaluated during execution.
The information of the CNC status is Binary coded as follows.
STATUS
0000 (0H) No Ready
0001 (1H) Ready
0010 (2H) In execution
0100 (4H) Interrupted
1000 (8H) In error
FULLSTATUS
The high portion contains the information of the STATUS variable and its low portion provides further
coded information. FULLSTATUS = 0000 (STATUS) 0000 (code).
The list of codes for the low portion of FULLSTATUS is:
0000 (0H) In Reset
0001 (1H) In JOG
0010 (2H) In MDI
0011 (3H) In program
0100 (4H) Stopped by M0
0101 (5H) Stopped by STOP
0110 (6H) Stopped in Single block mode
1001 (9H) Checking syntax
1010 (AH) Block search (without moving the axes)
1011 (BH) Block search finished. In stand by
1100 (CH) Calculating execution times
1101 (DH) In simulation
Example:
In RESET, the low portion of FULLSTATUS is "0" (0000) In JOG mode its value is "1" (0001). In
SIMULATION mode is 13 (1101) and so on.
FULLSTATUS=514 (202H) means in execution (0010) + MDI (0010).
SOFTWARE VERSION
PRG PLC INT
(V.)G.VERSION
CNC version and release number R R R
CNC STATUS PRG PLC INT
(V.)[n].G.STATUS
CNC status (brief) R R R
(V.)[n].G.FULLSTATUS
CNC status (detailed) R R R
(V.)G.CNCERR
CNC error number R R R