-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCNCDepot18KWarmUp.nc
67 lines (54 loc) · 1.45 KB
/
CNCDepot18KWarmUp.nc
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
( Author: Carl Slater )
( Github: https://github.com/ShamanTcler/Masso-GCode )
( License: GPL 2 )
( Date: 1-8-2024)
( Reference: Spindle warm up in procedure )
( https://www.cncdepot.net/_files/ugd/26185d_352cfffeff57465b9f95e1ed2d731e09.pdf )
( Notes: I could use subprogram calls, but the masso seperate files with numeric )
( filename. It also does not support passing parameters... just to ugly)
(Safe block)
(G20 Units:inches)
(G90 Absolute distance mode)
(G17 work on in the X & Y plane )
(G80 cancel all active canned cycles)
(G40 turn off cutter compensation)
(G49 turn off tool length compensation)
G20 G90 G17 G80 G40 G49
(Work offset: G54)
G54
MSG Spindle Warm Up, hit cycle start
( 1. Run the spindle to 25% max speed for 3 minutes)
( 2. Stop the spindle for 1 min )
(25 percent of 18000 is 4500, turn on spindle)
S4500 M03
(Dwell 180 seconds)
G04 P180000
( Stop spindle)
M05
(Dwell 60 seconds)
G04 P60000
MSG 28 percent complete
( 3. Run the spindle to 50% max speed for 4 minutes)
( 4. Stop the spindle for 1 min)
(50 percent of 18000 is 9000, turn on spindle)
S9000 M03
(Dwell 240 seconds)
G04 P240000
(Stop spindle)
M05
(Dwell 60 seconds)
G04 P60000
MSG 64 percent complete
( 5. Run the spindle to 75% max speed for 4 minutes )
( 6. Stop the spindle for 1 min)
(75 percent of 18000 is 13500, turn on spindle)
S13500 M03
(Dwell 240 seconds)
G04 P240000
(Stop spindle)
M05
(Dwell 60 seconds)
G04 P60000
MSG 64 Spindle warm up complete
(end the program)
M30