Remark: The jump is executed for the first fulfilled condition.
3.10.4
Program example for jumps
Task
Approaching points on a circle segment:
Table 3-4
Starting angle
Circle radius
Position spacing
Number of points
Position of circle center in Z
Position of circle center in X
Figure 3-36
Programming example
N10 R1=30 R2=32 R3=10 R4=11 R5=50 R6=20 ; Assignments of starting values
N20 MA1: G0 Z=R2
; Calculatiing and assigning to axes addresses
N30 R1=R1+R3 R4= R4-1
N40 IF R4 > 0 GOTOB MA1
N50 M2
Grinding
Programming and Operating manual, 06/2006, 6FC5398-4CP10-0BA0
Existing conditions:
30 °
32mm
10 °
11
50mm
20 mm
. .
Points on a circle segment linerarily approached
COS (R1)+R5 X=R2
*
.
SIN(R1)+R6
*
Programming
3.10 Program jumps
in R1
in R2
in R3
in R4
in R5
in R6
3-81