Program Branches - Siemens SINUMERIK 880 Programming Manual

Hide thumbs Also See for SINUMERIK 880:
Table of Contents

Advertisement

05.91
Example for instruction form in the program:
L100
@041
R61
R69
.
.
.
@043
R61
R69
.
.
.
L F
M17
11.4

Program branches

The main group 1 is organized as follows:
@ 1
x
y
Three-digit @ code
0: No compare operator
1: =
2: <>
3: >
4: >=
5: <
6: <=
0: Absolute jump
1: CASE branch (compare operator = 1)
2: IF-THEN-ELSE instruction
3: WHILE instruction
4: REPEAT loop
5: FOR-TO loop
6: FOR-DOWNTO loop
1: Main group 1
With blocks in which jumps are programmed (@ 100 and following) the following points should
be observed:
Auxiliary functions and traversing functions appearing in the same block are not executed
when the jump is being executed.
Calculation with and allocations to R parameters preceding the jump command are
executed, but those following the jump command are not executed if a jump is being
executed.
With the "EXECUTION FROM EXTERNAL SOURCE" function only forward
© Siemens AG 1991 All Rights Reserved
SINUMERIK 880, (PG)
Call subroutine
L F
The contents of the R parameters from R 61 to R 69 are
transferred into the stack register and allocated the value
"0".
L F
The saved values loaded back into the parameters
R 61 to R 69.
Subroutine end
Equal to
Not equal to
Greater than
Greater than or equal to
Smaller than
Smaller than or equal to
jumps are possible in the part program.
6ZB5 410-0HD02
11 Programming of Cycles
11.3 General instructions for program structure
11–5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sw 6Sinumerik 880 ga2Sw 1

Table of Contents