Wiki source code of G10 L1: Установка таблицы инструментов
Last modified by writer on 2023/02/09 17:17
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | (% style="color:#a0be2d" %)//**G10 L1 P- axes <R->**// | ||
| 2 | |||
| 3 | * (% style="letter-spacing:0.0px" %)//P// - tool number; | ||
| 4 | * ((( | ||
| 5 | //R// - radius of tool. | ||
| 6 | ))) | ||
| 7 | |||
| 8 | (% style="color:#a0be2d" %)//**G10 L1**//(%%) sets the tool table for the //P// tool number to the values of the words. A valid (% style="color:#a0be2d" %)//**G10 L1**//(%%) rewrites and reloads the tool table. | ||
| 9 | |||
| 10 | {{code language="g-code" title="(% style=~"color:#a0be2d~" %)//**G10 L1**//(%%)// example~~://"}} | ||
| 11 | G10 L1 P1 P1 Z1.5 (set tool 1 Z offset from the machine origin to 1.5) | ||
| 12 | G10 L1 P2 R0.015 (lathe example setting tool 2 radius to 0.015) | ||
| 13 | {{/code}} | ||
| 14 | |||
| 15 | {{error title="**It is an error if:**"}} | ||
| 16 | * Cutter Compensation is on; | ||
| 17 | * the P number is unspecified; | ||
| 18 | * the P number is not a valid tool number from the tool table; | ||
| 19 | * the P number is 0. | ||
| 20 | {{/error}} |