Programming manual
CNC 8055
CNC 8055i
HIGH-LEVEL LANGUAGE
PR
OGRAMMING
13.
·M· & ·EN· M
ODELS
S
OFT
: V02.2
X
·339·
Va
riabl
es
13.2
Variables
The CNC has a number of internal variables that may be accessed from the user program, from
the PLC program or via DNC. Depending on how they are used, these variables may be read-only
or read-write.
These variables may be accessed from the user program using high-level commands. Each one
of these variables is referred to by its mnemonic that must be written in upper-case (capital) letters.
• Mnemonics ending in
(X-C)
indicate a set of 9 elements formed by the corresponding root
followed by X, Y, Z, U, V, W, A, B and C.
ORG(X-C) -> ORGX
ORGY
ORGZ
ORGU
ORGV
ORGW
ORGA
ORGB
ORGC
• Mnemonics ending in
n
indicate that the variables are grouped in tables. To access an element
of any of these tables, indicate the field of the desired table using the relevant mnemonic followed
by the desired element.
TORn ->
TOR1
TOR3
TOR11
The variables and block preparation
The variables that access the real values of the CNC interrupt block preparation. The CNC waits
for that command to be executed before resuming block preparation. Thus, precaution must be taken
when using this type of variable, because if they are inserted between machining blocks that are
working with compensation, undesired profiles may be obtained.
Example: Reading a variable that interrupts block preparation.
The following program blocks are performed in a section with G41 compensation.
...
N10 X50 Y80
N15 (P100 = POSX)
; Assigns the value of the real coordinate in X to parameter P100
N20 X50 Y50
N30 X80 Y50
...
Block N15 interrupts block preparation
and the execution of block N10 will finish
at point A.
Once the execution of block N15 has
ended, the CNC will resume block
preparation from block N20 on.
As the next point corresponding to the
compensated path is point "B", the CNC
will move the tool to this point, executing
path "A-B".
As can be observed, the resulting path is
not the desired one, and therefore it is
recommended to avoid the use of this
type of variable in sections having tool
compensation active.
Summary of Contents for 8055 M
Page 1: ...CNC 8055 M EN Programming manual Ref 1711 Soft V02 2x...
Page 8: ...8 Programming manual CNC 8055 CNC 8055i SOFT V02 2X...
Page 12: ...12 CNC 8055 CNC 8055i Declaration of conformity and Warranty conditions...
Page 16: ...16 CNC 8055 CNC 8055i Version history...
Page 22: ...22 CNC 8055 CNC 8055i Returning conditions...
Page 24: ...24 CNC 8055 CNC 8055i Additional notes...
Page 26: ...26 CNC 8055 CNC 8055i Fagor documentation...
Page 448: ......
Page 464: ...464 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code...
Page 466: ...466 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code MC operator panel...
Page 467: ...Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X 467 Key code...
Page 468: ...468 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code...
Page 471: ...Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X 471 Key code 11 LCD Monitor...
Page 472: ...472 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code...
Page 478: ...478 Programming manual CNC 8055 CNC 8055i F M EN MODELS SOFT V02 2X Maintenance...
Page 479: ...Programming manual CNC 8055 CNC 8055i F SOFT V02 2X 479...
Page 480: ...480 Programming manual CNC 8055 CNC 8055i F SOFT V02 2X...
Page 481: ......