
Programming manual
402
CNC 8070
14.
CNC VARI
ABLES
PLC r
e
la
te
d
(S
OFT
V02.0
X
)
384
14.11 PLC related
These variables are evaluated when being executed.
They have generic names.
•
Replace the letter "i" with a number keeping the brackets.
This variable may be used to consult only the symbols defined with the PDEF command in the PLC
program.
(V.)PLC.I[n]
V.PLC.I[16]
(V.)PLC.signal
V.PLC.auxend
STATUS
PRG PLC INT
R
W
(V.)PLC.STATUS
PLC status
"0" = Stopped
"1" = Running
R
—
R
—
—
RESOURCES
PRG PLC INT
R
W
(V.)PLC.I[i]
Status of PLC input [i]
R/W
—
R/W
—
—
(V.)PLC.O[i]
Status of PLC output [i]
R/W
—
R/W
—
—
(V.)PLC.M[i]
Status of PLC mark [i]
R/W
—
R/W
—
—
(V.)PLC.R[i]
Status of PLC register [i]
R/W
—
R/W
—
—
(V.)PLC.T[i]
Status of PLC timer [i]
R
—
R/W
—
—
(V.)PLC.C[i]
Status of PLC counter [i]
R
—
R/W
—
—
(V.)PLC.signal
Status of exchange signals with CNC
(any mark or register)
R/W
—
R/W
—
—
SYMBOLS
PRG PLC INT
R
W
(V.)PLC.symbol
Status of the external symbols defined at the PLC
R/W
—
R/W
—
—
MESSAGES
PRG PLC INT
R
W
(V.)PLC.MSG[i]
Status of PLC message [n]
"0" = Inactive
"1" = Active
R/W
—
R/W
—
—
(V.)PLC.PRIORMSG
Active message with the highest priority (the one with
the lowest number among the active ones)
R
—
R
—
—
(V.)PLC.EMERGMSG
Active emerging message (the one shown at full
screen)
R
—
R
—
—
ERRORS
PRG PLC INT
R
W
(V.)PLC.ERR[i]
Status of PLC error [n]
"0" = Inactive
"1" = Active
R/W
—
R/W
—
—
(V.)PLC.PRIORERR
Active error with the highest priority (the one with the
lowest number among the active ones)
R
—
R
—
—
TIMER
PRG PLC INT
R
W
(V.)PLC.TIMER
Value of the timer enabled by PLC
R/W R/W R/W Syn Syn
The PLC "TIMER" is enabled or disabled with the PLC mark TIMERON. It counts when TIMERON=1
Using the variable (V.)PLC.TIMER, it is possible to consult and/or modify its count. Value in seconds.
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...