EasyManua.ls Logo

Siemens SINUMERIK 840DE

Siemens SINUMERIK 840DE
516 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
Loading...
Arithmetic Parameters and Program Jumps
10.3 Conditional program jumps (IF, GOTOB, GOTOF, GOTO, GOTOC)
Fundamentals
Programming Manual, 10.2004 Edition, 6FC5 298-7AB00-0BP1
10-7
Note
For more information, see
/PGA/Programming Guide Advanced, chapter "Flexible NC Programming".
Example
N40 R1=30 R2=60 R3=10 R4=11 R5=50 R6=20 ;Assignment of initial values
N41 MA1: G0 X=R2*COS(R1)+R5 ->
-> Y=R2*SIN(R1)+R6
;Calculation and assignment to
;axis address
N42 R1=R1+R3 R4=R4-1 ;Specification of variable
N43 IF R4>0 GOTOB MA1 ;Jump instruction with label
N44 M30 ;End of program

Table of Contents

Other manuals for Siemens SINUMERIK 840DE

Related product manuals