Wiki source code of G43, G49: Смещение на длину инструмента
Last modified by writer on 2023/09/07 15:17
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | (% style="margin-left: 30.0px;" %) | ||
| 2 | (% style="color:#a0be2d" %)//**G43**//(%%) - enables tool length compensation. | ||
| 3 | |||
| 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. | ||
| 5 | |||
| 6 | The command does not cause any motion. The next time a compensated axis is moved, that axis’s endpoint is the compensated location. | ||
| 7 | |||
| 8 | A command call is required after each tool change operation. | ||
| 9 | |||
| 10 | (% style="margin-left: 30.0px;" %) | ||
| 11 | (% style="color:#a0be2d" %)//**G49**//(%%) - cancels tool length compensation. | ||
| 12 | |||
| 13 | The command reset current toll length offset value. | ||
| 14 | |||
| 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) | ||
| 20 | G1 X5 Y10 | ||
| 21 | G1 Z10 | ||
| 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) | ||
| 26 | G1 X15 Y10 | ||
| 27 | G1 Z10 | ||
| 28 | M6 T3 (tool change command, select tool №3) | ||
| 29 | G49 (reset tool length offset) | ||
| 30 | {{/code}} |