blob: 0095753f6328b8bea573af8e64dfa0c9d6b1f703 (
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
|
= G Code Examples
////
ATTENTION TRANSLATORS before translating this document copy the base document
into this copy to get the latest version. Untranslated documents are not kept
up to date with the English documents.
Do not translate anchors or links, translate only the text of a link after the
comma.
Anchor [[anchor-name]]
Link <<anchor-name,text after the comma can be translated>>
Make sure the documents build after translating.
////
After you install LinuxCNC several sample files are placed in the
/nc_files folder. Make sure the sample file is appropriate for your
machine before running.
== Mill Examples
=== Helical Hole Milling
File Name: useful-subroutines.ngc
Description: Subroutine for milling a hole using parameters.
=== Slotting
File Name: useful-subroutines.ngc
Description: Subroutine for milling a slot using parameters.
=== Grid Probe
File Name: gridprobe.ngc
Description: Rectangular Probing
This program repeatedly probes in a regular XY grid and writes the
probed location to the file 'probe-results.txt' in the same directory
as the .ini file.
=== Smart Probe
File Name: smartprobe.ngc
Description: Rectangular Probing
This program repeatedly probes in a regular XY grid and writes the
probed location to the file 'probe-results.txt' in the same directory
as the .ini file. This is improved from the grid probe file.
=== Tool Length Probe
File Name: tool-length-probe.ngc
Description: Tool Length Probing
This program shows an example of how to measure tool lengths
automatically using a switch hooked to the probe input. This is useful
for machines without tool holders, where the length of a tool is
different every time it is inserted.
=== Hole Probe
File Name: probe-hole.ngc
Description: Finding the Center and Diameter of a hole.
The program demonstrates how to find the center of a hole, measure the
hole diameter and record the results.
=== Cutter Compensation
To be added
== Lathe Examples
=== Threading
File Name lathe-g76.ngc
Description: Facing, threading and parting off.
This file shows an example of threading on a lathe using parameters.
|