Wiki source code of G10 L10: Установка таблицы инструментов
Last modified by writer on 2023/02/09 18:35
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% style="color:#a0be2d" %)//**G10 L10 P- axes <R->**// | ||
2 | |||
3 | * //P// - tool number; | ||
4 | * //R// - radius of tool. | ||
5 | |||
6 | (% style="color:#a0be2d" %)//**G10 L10**//(%%) changes the tool table entry for tool P so that if the tool offset is reloaded, with the machine in its current position and with the current G5x and **[[(% style="color:#a0be2d" %)**//G92//**>>doc:Руководство пользователя.Описание G-кодов.Список G-кодов, поддерживаемых системой.G90-G99.G92\: Смещение начала координат.WebHome]](%%)** offsets active, the current coordinates for the given axes will become the given values. The axes that are not specified in the(% style="color:#a0be2d" %)//** G10 L10**//(%%) command will not be changed. This could be useful with a probe move as described in the **[[(% style="color:#a0be2d" %)**//G38//**>>doc:Руководство пользователя.Описание G-кодов.Список G-кодов, поддерживаемых системой.G38\.x\: Пробинг.WebHome]](%%) **section. | ||
7 | |||
8 | {{code language="g-code" title="(% style=~"color:#a0be2d~" %)//**G10 L10**//(%%)// example~~://"}} | ||
9 | T1 M6 G43 (load tool 1 and tool length offsets) | ||
10 | G10 L10 P1 Z1.5 (set the current position for Z to be 1.5) | ||
11 | G43 (reload the tool length offsets from the changed tool table) | ||
12 | M30 (end program) | ||
13 | {{/code}} | ||
14 | |||
15 | See **[[(% style="color:#8d69b2" %)**M6**>>doc:Руководство пользователя.Описание M-кодов.Стандартные M-коды модуля фрезеровки.WebHome]](%%)** sections for more information. | ||
16 | |||
17 | {{error title="**It is an error if:**"}} | ||
18 | * Cutter Compensation is on; | ||
19 | * the P number is unspecified; | ||
20 | * the P number is not a valid tool number from the tool table; | ||
21 | * the P number is 0. | ||
22 | {{/error}} |