Programming manual
402
CNC 8070
14.
CNC VARI
ABLES
Ot
h
e
r v
a
ri
a
b
le
s
(S
OFT
V02.0
X
)
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
Summary of Contents for CNC 8070
Page 1: ...CNC 8070 REF 0504 SOFT V02 0X PROGRAMMING MANUAL Soft V02 0x Ref 0504...
Page 2: ......
Page 4: ......
Page 6: ......
Page 12: ......
Page 14: ......
Page 16: ......
Page 22: ......
Page 26: ......
Page 28: ......
Page 30: ......
Page 32: ......
Page 34: ......
Page 62: ...Programming manual 28 CNC 8070 2 MACHINE OVERVIEW Home search SOFT V02 0X 28...
Page 178: ...Programming manual 144 CNC 8070 7 GEOMETRY ASSISTANCE General scaling factor SOFT V02 0X 144...
Page 360: ...Programming manual 326 CNC 8070 12 CYCLE EDITOR Random multiple machining SOFT V02 0X 326...
Page 556: ...CNC 8070 16 PROBING CANNED CYCLES SOFT V02 0X 522 Programming manual...