Siemens SINUMERIK 840DE Programming Manual page 391

Hide thumbs Also See for SINUMERIK 840DE:
Table of Contents

Advertisement

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
N41 MA1: G0 X=R2*COS(R1)+R5 ->
-> Y=R2*SIN(R1)+R6
N42 R1=R1+R3 R4=R4-1
N43 IF R4>0 GOTOB MA1
N44 M30
Fundamentals
Programming Manual, 10.2004 Edition, 6FC5 298-7AB00-0BP1
10.3 Conditional program jumps (IF, GOTOB, GOTOF, GOTO, GOTOC)
Arithmetic Parameters and Program Jumps
;Assignment of initial values
;Calculation and assignment to
;axis address
;Specification of variable
;Jump instruction with label
;End of program
10-7

Advertisement

Table of Contents
loading

Table of Contents