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.
Содержание 8055 M
Страница 1: ...CNC 8055 M EN Programming manual Ref 1711 Soft V02 2x...
Страница 8: ...8 Programming manual CNC 8055 CNC 8055i SOFT V02 2X...
Страница 12: ...12 CNC 8055 CNC 8055i Declaration of conformity and Warranty conditions...
Страница 16: ...16 CNC 8055 CNC 8055i Version history...
Страница 22: ...22 CNC 8055 CNC 8055i Returning conditions...
Страница 24: ...24 CNC 8055 CNC 8055i Additional notes...
Страница 26: ...26 CNC 8055 CNC 8055i Fagor documentation...
Страница 238: ...238 Programming manual CNC 8055 CNC 8055i 11 IRREGULAR POCKET CANNED CYCLE M EN MODELS SOFT V02 2X 2D pockets...
Страница 284: ...284 Programming manual CNC 8055 CNC 8055i 11 IRREGULAR POCKET CANNED CYCLE M EN MODELS SOFT V02 2X 3D pockets...
Страница 336: ...336 Programming manual CNC 8055 CNC 8055i 12 PROBING M EN MODELS SOFT V02 2X PROBE 12 Tabletop probe calibration...
Страница 394: ...394 Programming manual CNC 8055 CNC 8055i 13 HIGH LEVEL LANGUAGE PROGRAMMING M EN MODELS SOFT V02 2X Expressions...
Страница 442: ...442 Programming manual CNC 8055 CNC 8055i 15 COORDINATE TRANSFORMATION M EN MODELS SOFT V02 2X TCP Transformation G48...
Страница 448: ......
Страница 454: ...454 Programming manual CNC 8055 CNC 8055i B M EN MODELS SOFT V02 2X Program control instructions...
Страница 462: ...462 Programming manual CNC 8055 CNC 8055i C M EN MODELS SOFT V02 2X Summary of internal CNC variables...
Страница 463: ...Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X 463 Key code KEY CODE Alpha numeric keyboard and monitor...
Страница 464: ...464 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code...
Страница 465: ...Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X 465 Key code Alphanumeric operator panel...
Страница 466: ...466 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code MC operator panel...
Страница 467: ...Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X 467 Key code...
Страница 468: ...468 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code...
Страница 469: ...Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X 469 Key code MCO TCO operator panel...
Страница 470: ...470 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code Alphanumeric keyboard...
Страница 471: ...Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X 471 Key code 11 LCD Monitor...
Страница 472: ...472 Programming manual CNC 8055 CNC 8055i D M EN MODELS SOFT V02 2X Key code...
Страница 478: ...478 Programming manual CNC 8055 CNC 8055i F M EN MODELS SOFT V02 2X Maintenance...
Страница 479: ...Programming manual CNC 8055 CNC 8055i F SOFT V02 2X 479...
Страница 480: ...480 Programming manual CNC 8055 CNC 8055i F SOFT V02 2X...
Страница 481: ......