Data Transfer, General - Siemens SINUMERIK 880 Programming Manual

Hide thumbs Also See for SINUMERIK 880:
Table of Contents

Advertisement

05.91
Main group 1/subgroup 6: FOR-DOWNTO loop
@161 <Var> <Value> <Const>
The FOR-DOWNTO loop is a counting loop in which the contents of the R parameter
defined in <Var> are decremented with each pass. The scanning for "equal to" is made
at the beginning of the loop. As long as there is inequality, the loop is processed,
otherwise a jump is made to the block defined in <Const>.
At the end of the loop, the variable <Var> must be decremented (@621) and an
absolute jump made to the beginning of the loop.
Example:
R5 = 10 R51 = 5 R52 = 1
@201 R50 P51
N600 @161 R50 R52 K605
.
.
.
@621 R50
@100 K–600
N605
11.5

Data transfer, general

The main group 2 is organized as follows:
@ 2
x
y
Three-digit @ code
0: Delete a parameter value
1: Load a parameter
2: Exchange of parameter contents
0: Data transfer R parameter/R parameter
1: Data transfer R parameter/input buffer for numerical variables
2: Main group 2
© Siemens AG 1991 All Rights Reserved
SINUMERIK 880, (PG)
Value assignments for parameters R5, R51, R52
Data transfer from R51 to R50
Beginning of FOR DOWNTO loop
6ZB5 410-0HD02
11 Programming of Cycles
11.4 Program branches
11–11

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sw 6Sinumerik 880 ga2Sw 1

Table of Contents