docs: 为全部5份换板G-code添加逐段中文注释

标注每段功能(归零/下压/前推/抖板/弹射/归位)、
关键指令含义(G380/M400/M17/M211)、
三个类型间的差异点。
This commit is contained in:
2026-07-27 11:31:21 +08:00
parent 27fade244e
commit e9378ce7bd
5 changed files with 406 additions and 287 deletions
+69 -51
View File
@@ -1,58 +1,71 @@
;==========================================================
; A1 SwapMod 换板 G-code — 类型 C2:安全换板(慢速版)
; 特点:与 C1 标准版完全相同,仅第2轮弹射速度从 F20000 降为 F1000
; 更温和的弹射,减少对板和打印机的冲击
;==========================================================
;start change plate
; 开始换板
G28 Y
G1 Y262 F2000
; --- 阶段1:Y 轴归零并退到后端 ---
G28 Y ; Y 轴归零(寻找限位开关)
G1 Y262 F2000 ; 推到 Y262(后端位置)
M400 ; wait all motion done
M17 Z0.4 ; lower z motor current to reduce impact if there is something in the bottom
; --- 阶段2:运动保护 ---
M400 ; 等待所有运动队列清空
M17 Z0.4 ; 将 Z 轴电机电流降至 0.4A,降低阻力,防止碰撞损伤打印件
G91
G1 Z-35 F1200
G380 S2 Z95
; --- 阶段3Z 轴下压(G1 Z- + G380 S2 纯力控 ×4轮)---
G91 ; 切换相对坐标
G1 Z-35 F1200 ; Z 轴下降 35mm
G380 S2 Z95 ; 力控上升 95mm
G1 Z-25
G1 Z-25 ; 第二轮
G380 S2 Z90
G1 Z-25
G1 Z-25 ; 第三轮
G380 S2 Z90
G1 Z-30
G1 Z-30 ; 第四轮
G380 S2 Z95
G1 Z-5
G90
G4 P2000
G1 Z-5 ; Z 轴微降释放张力
G90 ; 切回绝对坐标
G1 Y15 F800
G1 Y150 F1200
; --- 阶段4:驻留稳定 ---
G4 P2000 ; 驻留 2 秒
;This line controls how much distance the tail of the reel hangs. The smaller the value, the less distance it hangs.
G1 Y40 F1000
; --- 阶段5:前推弹板 ---
G1 Y15 F800 ; 缓慢推到前端 Y15
G1 Y150 F1200 ; 后退到 Y150
;The platform ensures that new plate can be added properly even when no plate are available.
;G1 Y260 F3000
G380 S2 Y264 F2000
; 此行控制卷料尾端的悬垂距离。值越小,悬垂越少。
G1 Y40 F1000 ; 推到 Y40
G91;
G1 Z-70 F1200
G90;
; 平台通过力控确保即使没有板也能正常装入新板
; G1 Y260 F3000
G380 S2 Y264 F2000 ; 力控推到最前端 Y264
;
G1 Y200 F10000
; --- 阶段6:Z 轴上撤退让 ---
G91 ; 切相对坐标
G1 Z-70 F1200 ; Z 轴下降 70mm(为弹射留空间)
G90 ; 切回绝对坐标
G1 Y25 F4000
; --- 阶段7:Y 轴高速移动 + 微调定位 ---
G1 Y200 F10000 ; 高速推到 Y200
G1 Y25 F4000 ; 减速靠前
;Avoiding the use of the G380 command is to prevent failure in reaching the correct position.
G1 Y-1 F20000
;G380 S3 Y-1 F1200
; 使用 G1 而非 G380,防止触力传感器干扰定位
G1 Y-1 F20000 ; 高速后退 1mm
G4 P500
G4 P500 ; 驻留 500ms
G28 Y
; --- 抖板校准归零 ---
G28 Y ; Y 轴归零校准
;start Shake-triggered plate replacement
; ═══════════════════════════════════════════
; 抖板 第1轮:振动确保板完全脱离(1→2.5mm)
; ═══════════════════════════════════════════
; 开始 振动触发换板
G1 Y1 F100
G1 Y0 F20000
G4 P500
@@ -68,26 +81,32 @@ G4 P500
G1 Y2.5 F100
G1 Y0 F10000
G4 P500
;G1 Y3.5 F100
;G1 Y0 F5000
;end Shake-triggered plate replacement
; G1 Y3.5 F100 ; 注释掉:更大的振幅(备选)
; G1 Y0 F5000
; 结束 振动触发换板
; --- 阶段8:推板 + 力控校准 ---
G1 Y235 F1200
G1 Y110 F5000
G1 Y200 F1200
;G1 Y266 F1500
G380 S2 Y264 F2000
; G1 Y266 F1500
G380 S2 Y264 F2000 ; 力控推到最前端
;After retracting the build plate to the frontmost position, dwell for 1 second.
G4 P1000
; 驻留 1 秒
G4 P1000
G1 Y25 F4000
;G1 Y-2 F20000
G1 Y-2 F1000
; --- 阶段9:第2轮弹射(🐌 慢速版关键差异)---
G1 Y25 F4000 ; 推到 Y25
; G1 Y-2 F20000 ; 注释掉:原标准版高速弹射
G1 Y-2 F1000 ; 🐌 慢速弹射(F1000 vs 标准版 F20000
; 更温和,减少对板和结构的冲击
G4 P500
;start Shake-triggered plate replacement
; ═══════════════════════════════════════════
; 抖板 第2轮:再次振动(1→2.5mm)
; ═══════════════════════════════════════════
; 开始 振动触发换板
G1 Y1 F100
G1 Y0 F20000
G4 P500
@@ -104,12 +123,11 @@ G1 Y2.5 F100
G1 Y0 F10000
G4 P500
; 结束 振动触发换板
;end Shake-triggered plate replacement
;move to front
; --- 阶段10:归位 ---
; 推到前端
G1 Y262 F1500
G1 Y120 F2000 ; 回到 Y120 待机位置
G1 Y120 F2000
;end change plate
; 结束换板