5 Programming Tool Movements
4
5.4 Path Contours - Cartesian Coordinates
To program a circular path CT with tangential connection:
COaWmAm 1
Enter the coordinates of the arc end point, for example X = 50 mm,
Y = -10 mm.
L-
Y \
OR0
L
If necessary, enter also:
l
Radius compensation
l
Feed rate
l
Miscellaneous function
Resulting NC block: CT IX+50 IY-10 RR
Example for exercise: Circular arc connecting to a straight line
Coordinates of the transition point
from the line to the arc:
X= IOmm
Y = 40mm
Coordinates of the
arc end point: X = 50 mm
Y= 50mm
Milling depth: Z = -15mm
Tool radius: R = 20 mm
J
Part program
0
2
3
4
5
6
7
8
9
10
11
12
13
14
BEGIN PGM 360524 MM . . . . . ..__..................._.._... Begin program
BLK FORM 0.1 Z X+0 Y+O Z-20 ._....._................ Define the workpiece blank
BLK FORM 0.2 X+1 00 Y+lOO Z+O
TOOL DEF 2 L+O R+20 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Define the tool
TOOL CALL 2 Z
S 1000 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Call the tool
L Z+lOO RO FMAX M6
. . . . . . . . .._...................._.._... Insert the tool
L X+30 Y-30 FMAX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Pre-position the tool
L Z-l 5 FMAX M3
L X+50 Y+O RL FIOO . . . . . . . . . . . . .._.__....................... First contour point
L X+10 Y+40 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Straight line connecting tangentially to the arc
CT X +50 Y +50 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Arc to end point with coordinates X = 50 mm and Y =
50 mm; Connects tangentially to the straight line in block 9
L X+1 00 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . End of contour
L X+1 30 Y+70 RO FMAX
L Z+lOO FMAX M2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Retract tool and end program
END PGM 360524 MM
d
--
.-
-
d
4
d
5-24 TNC 370