grblHAL 命令英中對照表(含功能分類)

使用說明

符號約定:「=」代表後面需接參數;「<…>」代表可變內容。
某些語法依韌體/外掛可能略有差異,已在「備註」欄標示需確認之處。

🛠 Motion & Machine Control(運動與機器控制)

CommandEnglish (Original)中文解釋備註 / Example
$Goutput parser state (active G-codes).輸出解析器狀態(當前 G-code)
$J=<…>jog machine with specified G-code.使用指定 G-code 執行 Jog 移動Example: $J=G91 X1 F200
$Xunlock machine.解鎖機器
$Hhome configured axes.回零已配置軸
$HSSreport homing switch status.報告回零開關狀態
$Cenable check mode (dry run).啟用檢查模式(模擬執行)
$SLPenter sleep mode.進入睡眠模式

⚙️ Settings & Parameters(設定與參數)

CommandEnglish (Original)中文解釋備註 / Example
$#output offsets, tool table, probing, home position.輸出偏移、刀具表、探測、回零位置
$#=<n>output value for parameter n.輸出參數 n 的值
$<n>output setting n value.輸出設定 n 的值原文件僅寫「$」;常見用法為 $<n>(依控制器實作)
$=<n>=<v>assign value to setting n.將設定 n 設為指定值
$$output all setting values.輸出所有設定值
$$=<n>output details for setting n.輸出設定 n 的詳細資訊
$+output all setting values (alternate).輸出所有設定值(另一種方式)
$SED=<n>output description for setting n.輸出設定 n 的描述
$RST=*restore/reset all settings.重置所有設定
$RST=$restore default settings.恢復預設設定
$RST=&restore driver/plugin defaults.恢復驅動/插件預設
$RST=#reset offsets and tool data.重置偏移與刀具數據
$EGenumerate setting groups.枚舉設定群組
$ESenumerate settings.枚舉設定
$ESGenumerate settings (Grbl format).枚舉設定(Grbl 格式)
$ESHenumerate settings (grblHAL format).枚舉設定(grblHAL 格式)

🔧 Tool & Spindle(工具與主軸)

CommandEnglish (Original)中文解釋備註 / Example
$TLRset tool offset reference.設定刀具偏移參考
$TPWprobe tool plate.探測刀具測板
$SPINDLESenumerate spindles (human readable).枚舉主軸(人類可讀)
$SPINDLESHenumerate spindles (machine readable).枚舉主軸(機器可讀)

📊 Diagnostics & Status(診斷與狀態)

CommandEnglish (Original)中文解釋備註 / Example
$EAenumerate alarms.枚舉警報
$EAGenumerate alarms (Grbl format).枚舉警報(Grbl 格式)
$EEenumerate status codes.枚舉狀態碼
$EEGenumerate status codes (Grbl format).枚舉狀態碼(Grbl 格式)
$E*enumerate alarms, status codes, settings.枚舉警報、狀態碼、設定
$PINSenumerate pin bindings.枚舉引腳綁定
$PINSTATEoutput auxiliary pin states.輸出輔助引腳狀態
$PORTSenumerate UART ports.枚舉 UART 埠
$LEVoutput last control signal events.輸出最後控制信號事件
$LIMoutput current limit pins.輸出限位引腳狀態
$RTCoutput current time.輸出當前時間
$RTC=<time>set current time.設定當前時間
$NETIFnetwork interface info.提供網路介面資訊

📂 File & SD Card Management(檔案與 SD 卡管理)

CommandEnglish (Original)中文解釋備註 / Example
$FMmount SD card.掛載 SD 卡
$FUunmount SD card.卸載 SD 卡
$FF=yesformat SD card.格式化 SD 卡This is destructive.
$Flist files (filtered).列出檔案(過濾)
$F=<name>run file.執行檔案
$F+list all files.列出所有檔案
$FRenable rewind mode.啟用回放模式
$FD=<name>delete file.刪除檔案This is destructive.
$F<=dump file to output.輸出檔案內容

🖥 System & Startup(系統與啟動)

CommandEnglish (Original)中文解釋備註 / Example
$Ioutput system info.輸出系統資訊
$I=<text>set build info string.設定編譯資訊字串
$I+extended system info.輸出擴展系統資訊
$Noutput startup lines.輸出啟動行
$N0=<gcode>set startup line 0.設定啟動行 0
$N1=<gcode>set startup line 1.設定啟動行 1
$REBOOThard reset controller.重啟控制器
$HELPoutput help topics.輸出幫助主題原文件另列「help for specific topic」但命令同為 $HELP;建議確認語法
$DWNGRDtoggle downgrade setting flags.切換降級設定標誌

🧩 Execution Control(執行控制)

CommandEnglish (Original)中文解釋備註 / Example
$Btoggle block delete.切換刪除區塊開關
$Stoggle single stepping.切換單步執行開關
$Otoggle optional stop (M1).切換可選停(M1)
Subscribe
Notify of
0
Would love your thoughts, please comment.x
()
x