EasyManuals Logo
Home>Siemens>Control Unit>SINUMERIK 808D

Siemens SINUMERIK 808D Programming And Operating Manual

Siemens SINUMERIK 808D
208 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #91 background imageLoading...
Page #91 background image
Programming principles
1.10 Program jumps
Turning Part 2: Programming (Siemens instructions)
Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0
91
1.10.2 Conditional program jumps
Functionality
Jump conditions are formulated after the IF instruction. If the jump condition (value not zero)
is satisfied, the jump takes place.
The jump destination can be a block with a label or with a block number. This block must be
located within the program.
Conditional jump instructions require a separate block. Several conditional jump instructions
can be located in the same block.
By using conditional program jumps, you can also considerably shorten the program, if
necessary.
Programming
IF condition GOTOF label ;Jump forward
IF condition GOTOB label ;Jump backwards
GOTOF ;Jump direction forward (in the direction of the last block of
the program)
GOTOB ;Jump direction backwards (in the direction of the first block
of the program)
Label ;Selected string for the label (jump label) or block number
IF ;Introduction of the jump condition
Condition ;Arithmetic parameter, arithmetic expression for formulating
the condition
Comparison operations
Operators Meaning
= = Equal to
< > Not equal to
> greater than
< less than
> = greater than or equal to
< = less than or equal to
The comparison operations support formulating of a jump condition. Arithmetic expressions
can also be compared.
The result of comparison operations is "satisfied" or "not satisfied." "Not satisfied" sets the
value to zero.

Table of Contents

Other manuals for Siemens SINUMERIK 808D

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Siemens SINUMERIK 808D and is the answer not in the manual?

Siemens SINUMERIK 808D Specifications

General IconGeneral
BrandSiemens
ModelSINUMERIK 808D
CategoryControl Unit
LanguageEnglish

Related product manuals