Superimposing contours

Fundamentals

Pockets and islands can be overlapped to form a new contour. You can thus enlarge the area of a pocket by another pocket or reduce it by an island.

Subprograms: overlapping pockets

 
Tip

The following examples show contour subprograms that are called by Cycle 14 CONTOUR in a main program.

Pockets A and B overlap.

The control calculates the points of intersection S1 and S2. They need not be programmed.

The pockets are programmed as full circles.

Subprogram 1: Pocket A

11 LBL 1

12 L X+10 Y+10 RR

13 CC X+35 Y+50

14 C X+10 Y+50 DR-

15 LBL 0

Subprogram 2: Pocket B

16 LBL 2

17 L X+90 Y+50 RR

18 CC X+65 Y+50

19 C X+90 Y+50 DR-

20 LBL 0

Surface resulting from sum

Both surfaces A and B are to be machined, including the overlapping area:

  • The surfaces A and B must be pockets
  • The first pocket (in Cycle 14) must start outside the second pocket
Surface A:

11 LBL 1

12 L X+10 Y+50 RR

13 CC X+35 Y+50

14 C X+10 Y+50 DR-

15 LBL 0

Surface B:

16 LBL 2

17 L X+90 Y+50 RR

18 CC X+65 Y+50

19 C X+90 Y+50 DR-

20 LBL 0

Surface resulting from difference

Surface A is to be machined without the portion overlapped by B:

  • Surface A must be a pocket and B an island.
  • A must start outside of B.
  • B must start inside of A.

Surface A:

11 LBL 1

12 L X+10 Y+50 RR

13 CC X+35 Y+50

14 C X+10 Y+50 DR-

15 LBL 0

Surface B:

16 LBL 2

17 L X+40 Y+50 RL

18 CC X+65 Y+50

19 C X+40 Y+50 DR-

20 LBL 0

Surface resulting from intersection

Only the area where A and B overlap is to be machined. (The areas covered by A or B alone are to be left unmachined.)

  • A and B must be pockets
  • A must start inside of B

Surface A:

11 LBL 1

12 L X+60 Y+50 RR

13 CC X+35 Y+50

14 C X+60 Y+50 DR-

15 LBL 0

Surface B:

16 LBL 2

17 L X+90 Y+50 RR

18 CC X+65 Y+50

19 C X+90 Y+50 DR-

20 LBL 0