General Instructions For Program Structure - Siemens SINUMERIK 880 Programming Manual

Hide thumbs Also See for SINUMERIK 880:
Table of Contents

Advertisement

11 Programming of Cycles

11.3 General instructions for program structure

11.3
General instructions for program structure
The main group 0 is organized as follows:
@ 0
x
y
Three-digit @ code
0: Save several R parameters
1: Save a parameter area
2: Fetch back several R parameters
3: Fetch back a parameter area
4: Save R parameters
0: Main group 0
/
Main group 0
subgroup 4: Save R parameters
@040 <Const> <R-Par 1>...<R-Par n>
With <Const>, the number of subsequent R parameters is specified belonging to this
function. The contents of the R parameters are saved by transferring into a stack register
starting at R 300.
@041 <R-Par 1> <R-Par 2>
The contents of the R parameters in the area from <R-Par 1> to <R-Par 2> are saved
by transferring into a stack register starting at R 300.
@042 <Const> <R-Par n>...<R-Par 1>
This command takes the saved values from the stack register and loads them into the
specified R parameters. The R parameters must be given in the opposite sequence to that
in @040.
@043 <R-Par 1> <R-Par 2>
The values saved with @041 are loaded back into the R parameter.
These commands in main group 0/subgroup 4 are used when working in a subroutine with R
parameters that have possibly been applied in a higher level.
A Push command (@040 or @041) must be written at the beginning of a subroutine in order to
save the values and assign value 0 to the R parameters specified.
The original condition is re-established with a Pop command (@042 or @043) at the end of the
subroutine.
11–4
© Siemens AG 1991 All Rights Reserved
05.91
6ZB5 410-0HD02
SINUMERIK 880, (PG)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sw 6Sinumerik 880 ga2Sw 1

Table of Contents