EasyManua.ls Logo

Siemens SINUMERIK 808D ADVANCED - Program Example for Jumps

Siemens SINUMERIK 808D ADVANCED
270 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...
Programming and Operating Manual (Milling)
6FC5398-4DP10-0BA1, 01/2014
109
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
The jump is executed for the first fulfilled condition.
8.14.3
Program example for jumps
Task
Approaching points on a circle segment:
Existing conditions:
Start angle: 30° in R1
Circle radius: 32 mm in R2
Position spacing: 10° in R3
Number of points: 11 in R4
Position of circle center in Z: 50 mm in R5
Position of circle center in X: 20 mm in R6
See the following illustration for linear approach of points on a circle segment:
Programming example
N10 R1=30 R2=32 R3=10 R4=11 R5=50 R6=20
;Assignment of initial values
N20 MC1: G0 Z=R2*COS (R1)+R5 X=R2*SIN(R1)+R6
;Calculation and assignment to axis addresses
N30 R1=R1+R3 R4= R4-1
N40 IF R4 > 0 GOTOB MC1
N50 M2

Table of Contents

Other manuals for Siemens SINUMERIK 808D ADVANCED

Related product manuals