Wiki source code of G1: Линейное перемещение
Last modified by writer on 2023/02/09 17:33
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% style="color: rgb(160,190,45);" %) | ||
2 | //**G1 axes**// | ||
3 | |||
4 | For linear interpolation at a given feedrate, specify (% style="color:#a0be2d" %)//**G1**//(%%) ‘axes’, where specifying any axis is optional. (% style="color:#a0be2d" %)//**G1**//(%%) is optional if the current mode of movement is (% style="color:#a0be2d" %)//**G1**//(%%). This command linearly moves to the destination with the current feedrate (or less if the axis movement cannot be so fast). | ||
5 | |||
6 | {{code language="g-code" title="(% style=~"color:#a0be2d~" %)//**G1**//(%%)// example: //"}} | ||
7 | G90 (set absolute positioning mode) | ||
8 | G1 X1.2 Y-3 F10 (linear interpolation with feed 10 from the current position in X1.2 Y-3) | ||
9 | Z-2.3 (linear interpolation with the same feed from the current position in Z-2.3) | ||
10 | Z1 F25 (linear interpolation with feed 25 from the current position in Z1) | ||
11 | M30 (end of program) | ||
12 | {{/code}} | ||
13 | |||
14 | If the (% style="color:#a0be2d" %)//**G53**//(%%) command is shown on the same line as (% style="color:#a0be2d" %)//**G1**//(%%), the movement will be different from the one indicated above. See the description of the [[(% style="color:#a0be2d" %)//**G53**//>>doc:Руководство пользователя.Описание G-кодов.Список G-кодов, поддерживаемых системой.G40-G79.G53: Перемещение в машинных координатах]](%%) command for more details. | ||
15 | |||
16 | {{error title="**It is an error if:**"}} | ||
17 | * feed rate not set; | ||
18 | * the axis symbol is specified without a numeric value. | ||
19 | {{/error}} | ||
20 | |||
21 | >Additionally on the topic: | ||
22 | >(% style="font-size:14px" %)[[Perform preparatory move>>doc:Руководство пользователя.Особенности функционирования системы.Выполнение подготовительного перемещения.WebHome]] |