Skip to content

Commit 65e68f2

Browse files
authored
Merge pull request #3479 from Sigma1912/patch-1
Docs, clarify G43.1 and G43.2
2 parents 331543e + 92729f8 commit 65e68f2

1 file changed

Lines changed: 16 additions & 11 deletions

File tree

docs/src/gcode/g-code.adoc

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,19 +1450,12 @@ G43.1 axes
14501450
G43.1 does not cause any motion. The next time a compensated axis
14511451
is moved, that axis's endpoint is the compensated location.
14521452

1453-
////
1454-
FIXME Use of G43.1 with I and K words ?
1455-
To use dynamic tool length compensation in a program, use 'G43.1 I- K-',
1456-
where 'I-' gives the compensation of tool length in X (for lathes) and 'K-'
1457-
gives the compensation length in Z (for lathes and milling machines).
1458-
////
1459-
14601453
.G43.1 Example
14611454
[source,{ngc}]
14621455
----
14631456
G90 (set absolute mode)
14641457
T1 M6 G43 (load tool 1 and tool length offsets, Z is at machine 0 and DRO shows Z1.500)
1465-
G43.1 Z0.250 (offset current tool offset by 0.250, DRO now shows Z0.250)
1458+
G43.1 Z0.250 (replace current tool offset with 0.250, DRO now shows Z0.250)
14661459
M2 (end program)
14671460
----
14681461

@@ -1481,14 +1474,16 @@ G43.1 does not write to the tool table.
14811474

14821475
[source,{ngc}]
14831476
----
1484-
G43.2 H- axes-
1477+
G43.2 H- or axes-
14851478
----
14861479

14871480
* 'H' - tool number
14881481

1489-
* 'G43.2' - applies an additional simultaneous tool offset.
1482+
* 'G43.2 Hn' - applies an additional simultaneous tool offset to subsequent motions by adding the offset(s) of tool n.
14901483

1491-
.G43.2 Example
1484+
* 'G43.2 axes' - applies an additional simultaneous tool offset to subsequent motions by adding the value(s) of any axis words.
1485+
1486+
.G43.2 Hn Example
14921487
[source,{ngc}]
14931488
----
14941489
G90 (set absolute mode)
@@ -1498,6 +1493,16 @@ G43.2 H10 (also add in T10's tool offset)
14981493
M2 (end program)
14991494
----
15001495

1496+
.G43.2 axes Example
1497+
[source,{ngc}]
1498+
----
1499+
G90 (set absolute mode)
1500+
T1 M6 (load tool 1)
1501+
G43 (or G43 H1 - replace all tool offsets with T1's offset)
1502+
G43.2 X0.01 Z0.02 (also add 0.01 to the x tool offset and 0.02 to the z tool offset)
1503+
M2 (end program)
1504+
----
1505+
15011506
You can sum together an arbitrary number of offsets by calling G43.2
15021507
more times. There are no built-in assumptions about which numbers are
15031508
geometry offsets and which are wear offsets, or that you should have

0 commit comments

Comments
 (0)