Wiki source code of G80: Отмена циклов сверления, растачивания, нарезания резьбы
Last modified by writer on 2023/02/09 18:53
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% style="color:#a0be2d" %)**//G80//**(%%) – command cancel canned cycles. | ||
2 | |||
3 | The (% style="color:#a0be2d" %)//**G80**//(%%) command is included in modal group 1, so specifying any other command from modal group 1 also cancels the canned cycle. | ||
4 | |||
5 | {{error title="**it is an error if:**"}} | ||
6 | * axis parameters are specified with the (% style="color:#a0be2d" %)//**G80**//(%%) command. | ||
7 | {{/error}} | ||
8 | |||
9 | {{code language="g-code" title="(% style=~"color:#a0be2d~" %)//**G80**//(%%)// example~~://"}} | ||
10 | G90 G81 X1 Y1 Z1.5 R2.8 (canned cycle) | ||
11 | G80 (cancellation of a canned cycle) | ||
12 | G0 X0 Y0 Z0 (fast moving to the origin) | ||
13 | {{/code}} | ||
14 | |||
15 | The following code produces the same result as the previous one. | ||
16 | |||
17 | {{code language="g-code" title="(% style=~"color:#a0be2d~" %)//**G0**//(%%)//** **example~~://"}} | ||
18 | G90 G81 X1 Y1 Z1.5 R2.8 (canned cycle) | ||
19 | G0 X0 Y0 Z0 (fast moving to the origin) | ||
20 | {{/code}} | ||
21 | |||
22 | The advantage of the first option is that the (% style="color:#a0be2d" %)//**G80**//(%%) command explicitly disables the [[(% style="color:#a0be2d" %)//**G81**//>>doc:.G81\: Цикл сверления.WebHome]](%%) canned cycle. In this case, it is necessary to enable the displacement mode on the next line with the [[(% style="color:#a0be2d" %)//**G0**//>>doc:Руководство пользователя.Описание G-кодов.Список G-кодов, поддерживаемых системой.G0-G10.G0: Ускоренное линейное перемещение]](%%) command or another displacement mode selection command. | ||
23 | |||
24 | If the canned cycle has not been disabled by the (% style="color:#a0be2d" %)//**G80**//(%%) command or another command, the canned cycle will be repeated using the following code block containing the parameters X, Y or Z. |