EasyManua.ls Logo

Fagor 8070 BL - Arithmetic Parameters

Fagor 8070 BL
444 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...
Programming manual.
CNC 8070
CREATING A PROGRAM.
1.
Arithmetic parameters.
·49·
(REF: 1709)
1.10 Arithmetic parameters.
Arithmetic parameters are general purpose variables that the user may utilize to create
his/her own programs. The CNC has global, local and common arithmetic parameters. The
range of available parameters of each type is defined in the machine parameters.
Arithmetic parameters are programmed with the "P" code followed by the parameter number.
The has some tables for consulting the value of these parameters; refer to the operating
manual to learn how to handle these tables.
The user may use the arithmetic parameters when editing its own programs. During
execution, the CNC will replace these parameters with the values assigned to them at the
time.
Local arithmetic parameters.
Local parameters can only be accessed from the program or subroutine where they have
been programmed. There are seven groups of local parameters in each channel.
The maximum range of local parameters is P0 to P99, the typical range being P0 to P25.
When the parameters are used in the block calling a subroutine may also be referred to by
the letters A-Z (except Ñ and Ç) so "A" is the same as P0 and "Z" the same as P25.
Global arithmetic parameters.
Global parameters can be accessed from any program and subroutine called from a
program. The value of these parameters is shared by the program and the subroutines.
There is a group of global parameters in each channel.
The maximum range of global parameters is P100 to P9999, the typical range being P100
to P299.
Common arithmetic parameters.
The common parameters may be accessed from any channel. The value of these
parameters is shared by all the channels. Reading and writing these parameters interrupts
block preparation.
The maximum range of common parameters is P10000 to P19999, the typical range being
P10000 to P10999.
Programming the arithmetic parameters.
In blocks programmed in ISO code, it is possible to define the values of all the fields "N",
"G", "F", "S", "T", "D", "M", "H", "NR" and axis coordinates using parameters. Using indirect
addressing, it is also possible to define the number of a parameter with another parameter;
"P[P1]", "P[P2+3]".
In blocks having statements, the values of any expression may be defined with parameters.
P0=0 P1=1 P2=20 P3=50 P4=3
P10=1500 P100=800 P101=30
···
GP0 XP0 YP0 SP10 MP4 ==> G0 X0 Y0 S1500 M3
GP1 XP2 YP3 FP100 ==> G1 X20 Y50 F800
MP101 ==> M30

Table of Contents

Related product manuals