Wiki source code of G43, G49: Смещение на длину инструмента
Last modified by writer on 2023/09/07 15:17
Hide last authors
author | version | line-number | content |
---|---|---|---|
![]() |
1.1 | 1 | (% style="margin-left: 30.0px;" %) |
![]() |
3.1 | 2 | (% style="color:#a0be2d" %)//**G43**//(%%) - enables tool length compensation. |
![]() |
1.1 | 3 | |
![]() |
3.1 | 4 | The command changes subsequent motions by offsetting the axis coordinates by the length of the offset. You need a filled [[tool table>>doc:Руководство пользователя.Ответы на типовые вопросы.Для чего нужна "Таблица инструментов"?.WebHome]] and non-zero selected tool for correct command working. |
![]() |
1.1 | 5 | |
![]() |
3.1 | 6 | The command does not cause any motion. The next time a compensated axis is moved, that axis’s endpoint is the compensated location. |
![]() |
1.1 | 7 | |
![]() |
3.1 | 8 | A command call is required after each tool change operation. |
![]() |
1.1 | 9 | |
10 | (% style="margin-left: 30.0px;" %) | ||
![]() |
3.1 | 11 | (% style="color:#a0be2d" %)//**G49**//(%%) - cancels tool length compensation. |
![]() |
1.1 | 12 | |
![]() |
3.1 | 13 | The command reset current toll length offset value. |
![]() |
1.1 | 14 | |
![]() |
3.1 | 15 | {{code language="g-code" title="(% style=~"color:#a0be2d~" %)//**G43**//(%%)// and (% style=~"color:#a0be2d~" %)**G49**(%%) example~~://"}} |
16 | M6 T2 (tool change command, select tool №2) | ||
17 | G43 (apply tool change offset) | ||
18 | G0 X10 Y5 Z0 (fast linear interpolation) | ||
19 | G1 Z-2 (linear interpolation commands) | ||
![]() |
1.1 | 20 | G1 X5 Y10 |
21 | G1 Z10 | ||
![]() |
3.1 | 22 | M6 T1 (tool change command, select tool №1) |
23 | G43 (apply tool change offset) | ||
24 | G0 X20 Y5 Z0 (fast linear interpolation) | ||
25 | G1 Z-2 (linear interpolation commands) | ||
![]() |
1.1 | 26 | G1 X15 Y10 |
27 | G1 Z10 | ||
![]() |
3.1 | 28 | M6 T3 (tool change command, select tool №3) |
29 | G49 (reset tool length offset) | ||
![]() |
1.1 | 30 | {{/code}} |