blob: a63b0ecf7395beae5e4ec896147cd88db4ad3ede (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
; Gmoccapy_2_tools_with_compensation.ngc
; testprogram to mill two circles with cutter radius compansation
; and two different tools
; set the basic settings, this should be
; on every program the beginning
G17
G21
G54
G61
G40
G49
G80
G90
; get the first tool
T3 M6
G43
; go to center of the workpiece
G0 X50 Y50
G0 Z30
; turn on spindle clockwise
S3000
M3
; coolant on
M8
G0 Z10
F250
G1 Z0
; tool radius compansation
; go in circle with lower feed rate
G41
G3 X70 Y50 Z-1 I10 J0
; make first circle with normal feed
F2000
G3 I -20
; out of the workpiece
G3 X50 Y50 Z1 I-10 J0
G0 Z30
; coolant off
M9
; turn off cutter radius compensation, otherwise no tool change is possible
G40
T1 M6
G43
; optional stop for testing
(MSG, optional stop, i.e. for cleaning the workpiece, or other thinks)
M1
; go again to the center of the workpiece
G0 X50 Y50
G0 Z10
; turn on spindle clockwise
S6000
M3
; mist on
M7
G0 Z10
F400
G1 Z1
; Werkzeugradienkompensation ein
; Anfahrradius mit Eintauchgeschwindigkeit
G41
G3 X65 Y50 Z-1 I7.5 J0
; 2. Kreis mit Vorschubgeschwindigkeit fräsen
F1000
G3 I-15
; Aus dem Werkstück
G3 X50 Y50 Z1 I-7.5 J0
G0 Z30
G0 Z30
G0 X50 Y50
M9 ; coolant off
M5 ; spindle off
M2 ; program end
|