Program Example For Jumps - Siemens sinumerik 808d Programming And Operating Manual

Hide thumbs Also See for sinumerik 808d:
Table of Contents

Advertisement

1.10.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
Figure 1-50
Programming example
N10 R1=30 R2=32 R3=10 R4=11 R5=50 R6=20
N20 MA1: G0 Z=R2*COS (R1)+R5
X=R2*SIN(R1)+R6
N30 R1=R1+R3 R4= R4-1
N40 IF R4 > 0 GOTOB MA1
N50 M2
Explanation
In block N10, the starting conditions are assigned to the corresponding arithmetic
parameters. The calculation of the coordinates in X and Z and the processing takes place in
N20.
In block N30, R1 is incremented by the clearance angle R3, and R4 is decremented by 1.
If R4 > 0, N20 is executed again; otherwise, N50 with End of program.
Turning Part 2: Programming (Siemens instructions)
Programming and Operating Manual, 05/2012, 6FC5398-5DP10-0BA0
Linear approach of points on a circle segment
Programming principles
;Assignment of initial values
;Calculation and assignment to axis
addresses
1.10 Program jumps
93

Advertisement

Table of Contents
loading

Table of Contents