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

Siemens SINUMERIK 808D User Manual

Siemens SINUMERIK 808D
339 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 #130 background imageLoading...
Page #130 background image
Programming and Operating Manual (Milling)
130 6FC5398-4DP10-0BA6, 09/2017
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 cond
ition
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.
Programming example for comparison operators
R1>1
;R1 greater than 1
1 < R1
;1 less than R1
R1<R2+R3
;R1 less than R2 plus R3
R6>=SIN( R7*R7)
; R6 greater than or equal t o SIN (R7) squared
Programming example
N10 IF R1 GOTOF LABEL1
;If R1 is not null then go to the bloc k having LABEL1
G0 X30 Y30
N90 LABEL1: G0 X50 Y30
N100 IF R1>1 GOTOF LABEL2
;If R1 is greater than 1 then go to the block having
LABEL2
G0 X40 Y40
N150 LABEL2: G0 X60 Y60
G0 X70 Y70
N800 LABEL3: G0 X80 Y80
G0 X100 Y100
N1000 IF R45==R7+1 GOTOB LABEL3
;If R45 is eq ual to R7 plus 1 then go to the block
having LABEL3
M30
Several conditional jumps in the block :
N10 MC1: G0 X20 Y20
N15 G0 X0 Y0
N20 IF R1==1 GOTOB MC1 IF R1==2 GOTOF MA2
N30 G0 X10 Y10
N50 MA2: G0 X50 Y50
N60 M30
Note
The jump is executed for the first fulfilled condition.

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