# 控制台命令

| 命令                                                                                                                                               | 功能                                                                                                                                                                     | 示例                                            |
| ------------------------------------------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------- |
| ap                                                                                                                                               | <p>启用/禁用或更改 WiFi 接入点的密码<br>“ap ssid xxxx”（更改 AP 名称）。<br>“ap password xxxx”（设置密码）。<br>“ap disable”（禁用 AP）。<br>“ap enable”（启用 AP）。</p>                                   | ap xxxx                                       |
| goto                                                                                                                                             | <p>从某一行恢复任务。<br>用法<br>打开任务，并正常开始。<br>当任务开始执行时，暂停它。<br>成功暂停后，进入 MDI 窗口并手动输入 goto XXXX<br>你会看到任务跳转到 XXXX 行<br>点击恢复并继续任务。<br>请务必注意 Z 轴高度，避免任何碰撞；在暂停任务后，可以将 Z 轴稍微抬高一点。</p> | goto xxxx                                     |
| 时间                                                                                                                                               | 获取控制板的当前时间，以时间戳格式显示                                                                                                                                                    | 时间                                            |
| 版本                                                                                                                                               | 获取当前固件版本                                                                                                                                                               | 版本                                            |
| wlan \[ssid] \[password] \[-d] \[-e]                                                                                                             | <p>连接/断开或扫描 WiFi 网络。<br>“wlan”（扫描 WiFi）。<br>“wlan ssid password”（连接到某个 WiFi AP）。<br>“wlan -d”（从 WiFi AP 断开）。</p>                                                       | wlan xxxx                                     |
| mem \[-v]                                                                                                                                        | 显示可用内存                                                                                                                                                                 |                                               |
| ls \[-s]\[-e]\[folder]                                                                                                                           | 列出目录中的文件                                                                                                                                                               |                                               |
| cd folder                                                                                                                                        | 将当前绝对路径更改为提供的路径                                                                                                                                                        |                                               |
| pwd                                                                                                                                              | 返回当前工作目录                                                                                                                                                               |                                               |
| cat file \[limit]\[-e]\[-d 10]                                                                                                                   | 输出文件内容，第一个参数是文件名，第二个是限制（输出的行数）                                                                                                                                         |                                               |
| mkdir path                                                                                                                                       | 创建一个新目录                                                                                                                                                                |                                               |
| rm file \[-e]                                                                                                                                    | 删除文件                                                                                                                                                                   |                                               |
| mv file newfile \[-e]                                                                                                                            | 重命名文件                                                                                                                                                                  |                                               |
| remount                                                                                                                                          | 重新挂载 SD 卡                                                                                                                                                              |                                               |
| play file \[-v]                                                                                                                                  |                                                                                                                                                                        |                                               |
| 进度                                                                                                                                               | 显示当前播放进度                                                                                                                                                               |                                               |
| abort                                                                                                                                            | 停止文件并清空队列                                                                                                                                                              |                                               |
| reset                                                                                                                                            | 重启机器                                                                                                                                                                   |                                               |
| dfu                                                                                                                                              | 进入 DFU 引导加载程序                                                                                                                                                          |                                               |
| break                                                                                                                                            | 进入调试器                                                                                                                                                                  |                                               |
| config-get \[\<configuration\_source>] \<configuration\_setting>                                                                                 | 获取某个特定配置值                                                                                                                                                              | config-get sd acceleration                    |
| config-load                                                                                                                                      |                                                                                                                                                                        |                                               |
| config-get-all                                                                                                                                   | 查看配置变量页面                                                                                                                                                               | config-get-all                                |
| config-restore                                                                                                                                   |                                                                                                                                                                        |                                               |
| config-default                                                                                                                                   |                                                                                                                                                                        |                                               |
| config-set \[\<configuration\_source>] \<configuration\_setting> value                                                                           | 设置某个特定配置值                                                                                                                                                              | config-set sd delta\_steps\_per\_mm 44.444444 |
| [config-delete](/docs/stable/zh/gu-jian/supported-commands/console-commands/config-delete.md) \<configuration\_source> \<configuration\_setting> | 从可写配置源中移除一个键（从文件中删除该行）                                                                                                                                                 | config-delete sd some.setting\_key            |
| [波特率](/docs/stable/zh/gu-jian/supported-commands/console-commands/baud.md) \[\<rate>]                                                            | 查询或设置 USB 串口波特率                                                                                                                                                        | baud 1500000                                  |
| 获取 \[pos\|[wcs](/docs/stable/zh/gu-jian/supported-commands/console-commands/wcs-management.md)\|state\|status\|fk\|ik]                           | 获取某个特定系统的状态                                                                                                                                                            |                                               |
| switch name \[value]                                                                                                                             | 设置或获取指定开关的开关状态                                                                                                                                                         |                                               |
| net                                                                                                                                              | 获取网络配置                                                                                                                                                                 |                                               |
| diagnose                                                                                                                                         | 打印各种机器诊断标准的当前状态。主轴状态、激光状态、开关状态、限位触发状态、探针和校准状态、自动换刀器和工具传感器状态、急停状态                                                                                                       |                                               |
| load \[file]                                                                                                                                     | 从指定文件或 config-override 加载配置文件                                                                                                                                          |                                               |
| save \[file]                                                                                                                                     | 将配置文件保存到指定文件或 config-override                                                                                                                                          |                                               |
| 上传 文件名                                                                                                                                           | 将一串文本保存到指定文件                                                                                                                                                           |                                               |
| md5sum file                                                                                                                                      | 打印给定文件的 md5 校验和                                                                                                                                                        |                                               |
| 帮助                                                                                                                                               | 列出控制台命令                                                                                                                                                                |                                               |
| sleep                                                                                                                                            | 进入睡眠                                                                                                                                                                   |                                               |
| ftype                                                                                                                                            | 打印我们支持上传的文件类型                                                                                                                                                          |                                               |


---

# 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/console-commands.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.
