EasyManua.ls Logo

Fagor 8055 M - Variables Associated with Local Parameters

Fagor 8055 M
482 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...
·368·
Programming manual
CNC 8055
CNC 8055i
13.
HIGH-LEVEL LANGUAGE PROGRAMMING
·M· & ·EN· MODELS
SOFT: V02.2X
Variables
13.2.15 Variables associated with local parameters
The CNC allows 26 local parameters (P0-P25) to be assigned to a subroutine, by using mnemonics
PCALL and MCALL. In addition to performing the required subroutine these mnemonics allow local
parameters to be initialized.
Read-only variables
CALLP
Allows us to know which local parameters have been defined and which have not, in the call to the
subroutine by means of the PCALL or MCALL mnemonic.
The information will be given in the 26 least significant bits (bits 0··25), each of these corresponding
to the local parameter of the same number; thus bit 12 corresponds to P12.
Each bit will indicate whether the corresponding local parameter has been defined (=1) or not (0).
Example:
In parameter P100 the following will be obtained:
Bit 31302928272625242322 ... 543210
000000* * * * ... * * * * * *
;Call to subroutine 20.
(PCALL 20, P0=20, P2=3, P3=5)
...
...
;Beginning of subroutine 20.
(SUB 20)
(P100 = CALLP)
...
...
0000 0000 0000 0000 0000 0000 0000 1101 LSB

Table of Contents

Related product manuals