Wiki source code of G98, G99: Режим возврата на уровень по Z в постоянных циклах
Last modified by writer on 2023/02/09 18:34
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% style="color:#a0be2d" %)//**G98**//(%%) – return to the position in which the axis was before a series of one or more canned cycles began. | ||
2 | |||
3 | (% style="color:#a0be2d" %)//**G99**//(%%) – return to the position defined by the canned cycle parameter R. | ||
4 | |||
5 | When the (% style="color:#a0be2d" %)//**G98**//(%%) command is issued, the canned cycle will use the Z position before the beginning of the canned cycle as the return level if this value is greater than the parameter R. Otherwise, the parameter R. | ||
6 | |||
7 | {{code language="g-code" title="(% style=~"color:#a0be2d~" %)//**G98**//(%%)// example~~://"}} | ||
8 | G0 X1 Y2 Z3 | ||
9 | G90 G98 G81 X4 Y5 Z-0.6 R1.8 F10 | ||
10 | {{/code}} | ||
11 | |||
12 | (% style="color:#a0be2d" %)//**G98**//(%%) mode is reset when exiting a canned cycle, explicit ([[(% style="color:#a0be2d" %)//**G80**//>>doc:Руководство пользователя.Описание G-кодов.Список G-кодов, поддерживаемых системой.G80-G89\: Постоянные циклы.G80: Отмена циклов сверления, растачивания, нарезания резьбы]](%%)) or implicit (any other move command). Switching between different canned cycles does not reset the (% style="color:#a0be2d" %)//**G98**//(%%) mode. In a series of canned cycles, you can switch between modes (% style="color:#a0be2d" %)//**G98**//(%%) and (% style="color:#a0be2d" %)//**G99**//(%%). |