05.91 7 Parameters
7.1 Parameter programming
7 Parameters
7.1 Parameter programming
Parameters are used in a program to represent the numeric value of an address.
They are assigned values within the program, and can thus be used to adapt a program to
several similar applications (e.g. different feedrates, different spindle speeds for various
materials, different operating cycles). A parameter comprises address R and a number with up
to 4 digits.
Structuring and application of R parameters:
Additional
R parameters
Channel 1 to channel 16
Transfer
parameters
Local
Parameters
Reserved
for internal
functions
R0 to R49
Typical application/channel:
Assign parameters to cycles and subroutines.
R50 to R99
Typical application/channel:
For calculations within cycles and subroutines.
For nested subroutines, the same local parameters
can be used. With cycles or subroutine call by
@ 040 ... 043, an R parameter stack saves the data
used up to that point and stores them after return
to the calling program.
R100 to R199
Typical application/channel:
Memory for data which must be accessible for part
programs and subroutines. R100 to R109 are reserved
if Siemens tool management is used. R110 to R199
are reserved if Siemens measuring cycles are used.
R200 to R219
Assigned internally (cycle converter)
R220 to R239
WS800 compiler
R240 to R299
Reserved for internal assignment.
R300
Stack pointer for @040, @041, @042, @043
R301 to R499
Stack pointer for @040, @041, @042, @043
R500 to R599
Reserved for user
Can be saved on the R parameter stack
(@ 040...043)
Channel-
specific
R parameters
Global
Parameters
R00
.
.
.
R49
R50
.
.
.
R99
R00
.
.
.
R49
R50
.
.
.
R99
R500
.
.
.
R599
R500
.
.
.
R599
R100
.
.
.
R199
R200
.
.
.
R219
R220
.
.
.
R239
R240
.
.
.
R299
R300
R301
.
.
.
R499
R100
.
.
.
R199
R200
.
.
.
R219
R220
.
.
.
R239
R240
.
.
.
R299
R300
R301
.
.
.
R499
R900 to R999
Reserved for user
R900
.
.
.
R999
Central
R parameters
© Siemens AG 1991 All Rights Reserved 6ZB5 410-0HD02 7–1
SINUMERIK 880, (PG)