Programming manual
20
CNC 8070
1.
CREATI
N
G A
P
R
OGRAM
Par
a
m
e
te
rs
,
c
onst
ant
s and expr
ess
ion
s
(S
OFT
V02.0
X
)
14
1.5.1
Arithmetic parameters
The CNC has three types of arithmetic parameters. The range of
available parameters of each type is defined in the machine
parameters.
•
Local parameters may 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 Ñ) so "A" is the
same as P0 and "Z" the same as P25.
•
Global parameters may be accessed from any program and
subroutine called upon from the program. 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.
•
The common parameters may be accessed from any channel. The
value of these parameters is shared by all the channels.
The maximum range of common parameters is P10000 to P19999,
the typical range being P10000 to P10999.
The user may use the parameters when editing its own programs.
During execution, the CNC will replace these parameters with the
values assigned to them at the time.
Programming
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 "#" instructions, 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
Summary of Contents for CNC 8070
Page 1: ...CNC 8070 REF 0504 SOFT V02 0X PROGRAMMING MANUAL Soft V02 0x Ref 0504...
Page 2: ......
Page 4: ......
Page 6: ......
Page 12: ......
Page 14: ......
Page 16: ......
Page 22: ......
Page 26: ......
Page 28: ......
Page 30: ......
Page 32: ......
Page 34: ......
Page 62: ...Programming manual 28 CNC 8070 2 MACHINE OVERVIEW Home search SOFT V02 0X 28...
Page 178: ...Programming manual 144 CNC 8070 7 GEOMETRY ASSISTANCE General scaling factor SOFT V02 0X 144...
Page 360: ...Programming manual 326 CNC 8070 12 CYCLE EDITOR Random multiple machining SOFT V02 0X 326...
Page 556: ...CNC 8070 16 PROBING CANNED CYCLES SOFT V02 0X 522 Programming manual...