EasyManua.ls Logo

Siemens SINUMERIK 840Di sl - 8.6.2 Assign symbolic PLC addresses

Siemens SINUMERIK 840Di sl
560 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, 11/2006, 6FC5398-1BP10-2BA0
423
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 statement with label
N44 M30
;End of program

Table of Contents

Other manuals for Siemens SINUMERIK 840Di sl

Related product manuals