Skip to content

Commit f395a75

Browse files
committed
Added sample nc file
1 parent c620bae commit f395a75

1 file changed

Lines changed: 133 additions & 0 deletions

File tree

samplenc/sample.nc

Lines changed: 133 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
%
2+
O01234
3+
G40 G49 G80
4+
( BEGIN TOOL LIST )
5+
( TOOL 17 - 3/8 EM - DESC: 0.3771 DIA, 2 FLUTE, CARBIDE MAT )
6+
( ENDOF TOOL LIST )
7+
8+
( WORK ZERO )
9+
G54
10+
11+
(POCKET SLOTS)
12+
(Tool Diameter = 0.3771 Length = 1.5 )
13+
G20 T17 M6
14+
T808
15+
16+
T0202
17+
18+
M08
19+
S12000 M03
20+
21+
T#123
22+
23+
H#123
24+
25+
H27.4
26+
27+
S3200 M04
28+
G90 G0 X-1.9996 Y-6.2902
29+
G43 Z-2.8833 H17
30+
G1 Z-3.1333 F45.
31+
X-2.0486 Y-6.2744 Z-3.1378 F67.5
32+
X-2.1029 Y-6.2565 Z-3.1428
33+
X-2.157 Y-6.238 Z-3.1478
34+
X-2.2109 Y-6.2191 Z-3.1528
35+
X-2.2647 Y-6.1997 Z-3.1578
36+
G02 X5. Y6. R2.0
37+
G03 X5. Y6. R3.5
38+
39+
G04 P50.
40+
41+
G154 P25
42+
43+
G54.1 P35
44+
45+
G05.1
46+
47+
G68.2
48+
49+
G53.1
50+
51+
G59 P25
52+
53+
G112
54+
55+
G15 H10
56+
57+
X.1234
58+
59+
X-.1242
60+
61+
M04 S5000
62+
63+
(POCKET SLOTS)
64+
(Tool Diameter = 0.3771 Length = 1.5 )
65+
M06 T12
66+
M08
67+
S12000 M03
68+
69+
S5000 M03
70+
M3 S#1243
71+
72+
M3 S[1234 / #123]
73+
74+
G41 D02
75+
76+
#3004=0
77+
#28=0(LOOP CHECKING)
78+
WHILE[ABS[#5+7.]]LT0.1]D02(WAIT FOR OPCODE)
79+
G02X#[#31+10.]
80+
#28=#28+1
81+
IF[#28 LT 5000] GOTO300
82+
#33=78
83+
N300
84+
END2
85+
E.#234
86+
E#234
87+
88+
F[#123/2]
89+
90+
X[#234 / 2]
91+
92+
G04 P1.
93+
G04 P.5
94+
G04 P500
95+
96+
IF[#898EQ#996]GOTO19999
97+
98+
#[#8 + 7.]=0
99+
100+
G51 P[ #5 * 1000 ]
101+
102+
#101 = FIX[ #1 MOD 1000 ]
103+
104+
G65 P5000 A1. B2. C3.
105+
106+
M09
107+
108+
(POCKET SLOTS)
109+
(Tool Diameter = 0.3771 Length = 1.5 )
110+
G20 T1 M06
111+
M08
112+
S12000 M03
113+
114+
M97 P1000
115+
116+
T13 M6
117+
118+
M30
119+
120+
121+
N1000
122+
( LOCAL SUB PROGRAM)
123+
124+
G00 X0. Y0.
125+
126+
M6 T25
127+
128+
M99
129+
130+
131+
132+
133+
%

0 commit comments

Comments
 (0)