# G0 默认快速进给

## G0 — 快速移动

### 描述

**G0** 执行一次快速、非切削移动到编程位置。在 Community 固件中，以下内容的进给速度 **G0** 的处理方式与 **G1**:

* **F** 在一个 **G0** 行中应用 **仅适用于该行**。它不会 **不** 更新供后续使用的模态进给速度 **G1** / **G2** / **G3** 移动仍保持该模态状态开启。
* 如果 **G0** 被发出时 **没有 F**，则该移动使用 **默认寻位速度** 配置中的`default_seek_rate`（mm/min）， **不** 上一个 **G1** **F** 值。默认值为 **3000** mm/min。

### 参数

* **X**, **Y**, **Z**, **A**，…：活动坐标系中的目标位置（与标准 G0 相同）。
* **F**：适用于 **仅此一条 G0 线的可选进给速度**

### 配置

* **`default_seek_rate`** — 在 **G0** 时使用的快速速度 **F** 被省略。可像其他机器设置一样通过 `config-set` 进行设置，例如：

```
config-get sd default_seek_rate
config-set sd default_seek_rate 4000
```

### 示例

```gcode
G21 G94
G1 F600 Z5
G0 X50 Y30          ; 以默认的 seek 速度快速移动，而不是 600 mm/min
G0 X0 Y0 F12000     ; 这一行仅使用 12000 mm/min
G1 Z-1 F300         ; 进给速度为 300 mm/min；G0 的 F 不会继承下来
```

### 另请参见

* [Smoothieware G0 参考](https://smoothieware.org/g0)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://carvera-community.gitbook.io/docs/stable/zh/gu-jian/supported-commands/gcodes/g0-default-rapid-feed.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
