·368·
Programming manual
CNC 8055
CNC 8055i
13.
HIGH-LEVEL LANGUAGE
PR
OGRAMMING
·M· & ·EN· M
ODELS
S
OFT
: V02.2
X
Va
riabl
es
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
31
30
29
28
27
26
25
24
23
22
...
5
4
3
2
1
0
0
0
0
0
0
0
*
*
*
*
...
*
*
*
*
*
*
;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
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: ......