瀏覽代碼

Document set_axis_is_at_home

Scott Lahteine 8 年之前
父節點
當前提交
e7882e45e3
共有 1 個檔案被更改,包括 17 行新增0 行删除
  1. 17
    0
      Marlin/Marlin_main.cpp

+ 17
- 0
Marlin/Marlin_main.cpp 查看文件

@@ -1323,6 +1323,23 @@ static void set_home_offset(AxisEnum axis, float v) {
1323 1323
   update_software_endstops(axis);
1324 1324
 }
1325 1325
 
1326
+/**
1327
+ * Set an axis' current position to its home position (after homing).
1328
+ *
1329
+ * For Core and Cartesian robots this applies one-to-one when an
1330
+ * individual axis has been homed.
1331
+ *
1332
+ * DELTA should wait until all homing is done before setting the XYZ
1333
+ * current_position to home, because homing is a single operation.
1334
+ * In the case where the axis positions are already known and previously
1335
+ * homed, DELTA could home to X or Y individually by moving either one
1336
+ * to the center. However, homing Z always homes XY and Z.
1337
+ *
1338
+ * SCARA should wait until all XY homing is done before setting the XY
1339
+ * current_position to home, because neither X nor Y is at home until
1340
+ * both are at home. Z can however be homed individually.
1341
+ * 
1342
+ */
1326 1343
 static void set_axis_is_at_home(AxisEnum axis) {
1327 1344
   #if ENABLED(DEBUG_LEVELING_FEATURE)
1328 1345
     if (DEBUGGING(LEVELING)) {

Loading…
取消
儲存