EasyManua.ls Logo

Fagor CNC 8055i FL EN - Variables Associated with Local and Global Parameters

Fagor CNC 8055i FL EN
732 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Installation manual
CNC 8055
CNC 8055i
ACCESS TO INTERNAL CNC VARIABLES
13.
SOFT: V02.2X
·555·
Variables associated with local and global parameters
13.13 Variables associated with local and global parameters
The CNC has two types of general purpose variables. These two variables may be used to read
and write the following arithmetic parameters:
Local parameters (P0-P25).
Global parameters (P100-P299).
User parameters (P1000 - P1255).
OEM parameters (P2000-P2255).
It is possible to assign local parameters to more than one subroutine. Up to 6 nesting levels of the
local parameters are possible within the 15 nesting levels for the subroutines. Therefore, each time
a local parameter must be referred to, it is necessary to indicate its current nesting level.
Local and global parameters may be assigned a value within ±2147483647.
Reading these parameters using functions GUP and LUP gives an integer number ignoring its
decimals. Likewise, if the parameter value is greater than ±2147483647, the obtained value will be
the maximum allowed, i.e. either 2147483647 or -2147483647.
Read-and-write variables
GUP n
It may be used to read or modify the indicated (n) global parameter (P100-P299), user parameter
(P1000-P1255) (n) or OEM parameter (P2000-P2255) (n).
LUP a b
It permits reading or modifying the indicated local parameter (P0-P25) (b) of the indicated nesting
level (a).
CNCRD (GUP 155, R100, M102)
Loads register R100 with the value of global parameter P155.
CNCWR (R101, GUP 155, M102)
It assigns the value of global parameter P155 to register R100.
CNCRD (LUP 3 15, R100, M102)
It assigns the value of local parameter P15 of nesting level 3 to register R100.
CNCWR (R101, GUP 2 15, M102)
It assigns the value of local parameter P15 of nesting level 2 to register R101.

Table of Contents

Related product manuals