@@ -146,6 +146,28 @@ MAX_JERK = 1000.0
146146# MIN_LIMIT = -200.0 #disabled to give more space for testing g-codes
147147# MAX_LIMIT = 200.0 #disabled to give more space for testing g-codes
148148
149+ # ========================================================
150+ # HOMING CONFIGURATION FOR S-CURVE
151+ # ========================================================
152+ # WARNING: When using S-curve motion (PLANNER_TYPE=1), you MUST set
153+ # HOME_SEARCH_VEL and HOME_LATCH_VEL significantly SLOWER than you
154+ # would with trapezoidal motion planning.
155+ #
156+ # S-curve motion requires MORE DISTANCE to decelerate due to the
157+ # jerk-limited acceleration profile. If homing velocities are too
158+ # high, the axis may overshoot and hit hard limits or sensor limits.
159+ #
160+ # RECOMMENDED: Start with 50% or less of the velocities you would
161+ # use with trapezoidal planning, then increase cautiously.
162+ #
163+ # Example homing configuration (adjust for your machine):
164+ # HOME_SEARCH_VEL = 5.0 # Velocity for initial limit switch search
165+ # HOME_LATCH_VEL = 1.0 # Velocity for precise homing (slower)
166+ # HOME_OFFSET = 0.0 # Distance from switch to home position
167+ # HOME_USE_INDEX = NO # Use encoder index pulse for homing
168+ # HOME_IGNORE_LIMITS = NO # Ignore limit switches during homing move
169+ # ========================================================
170+
149171[JOINT_1]
150172TYPE = LINEAR
151173HOME = 0.0
@@ -156,6 +178,11 @@ MAX_JERK = 1000.0
156178# MAX_LIMIT = 200.0 #disabled to give more space for testing g-codes
157179HOME_SEQUENCE = 0
158180
181+ # WARNING: S-curve homing requires SLOWER velocities than trapezoidal!
182+ # See JOINT_0 for detailed homing configuration examples.
183+ # HOME_SEARCH_VEL = 5.0
184+ # HOME_LATCH_VEL = 1.0
185+
159186[JOINT_2]
160187TYPE = LINEAR
161188HOME = 0.0
@@ -166,6 +193,11 @@ MAX_JERK = 800.0
166193# MAX_LIMIT = 100.0 #disabled to give more space for testing g-codes
167194HOME_SEQUENCE = 0
168195
196+ # WARNING: S-curve homing requires SLOWER velocities than trapezoidal!
197+ # See JOINT_0 for detailed homing configuration examples.
198+ # HOME_SEARCH_VEL = 4.0
199+ # HOME_LATCH_VEL = 0.8
200+
169201[JOINT_3]
170202TYPE = ANGULAR
171203HOME = 0.0
@@ -176,6 +208,10 @@ MAX_JERK = 600.0
176208# MAX_LIMIT = 360.0
177209HOME_SEQUENCE = 0
178210
211+ # WARNING: S-curve homing requires SLOWER velocities than trapezoidal!
212+ # HOME_SEARCH_VEL = 3.0
213+ # HOME_LATCH_VEL = 0.6
214+
179215[JOINT_4]
180216TYPE = ANGULAR
181217HOME = 0.0
@@ -186,6 +222,10 @@ MAX_JERK = 600.0
186222# MAX_LIMIT = 360.0
187223HOME_SEQUENCE = 0
188224
225+ # WARNING: S-curve homing requires SLOWER velocities than trapezoidal!
226+ # HOME_SEARCH_VEL = 3.0
227+ # HOME_LATCH_VEL = 0.6
228+
189229[JOINT_5]
190230TYPE = ANGULAR
191231HOME = 0.0
@@ -196,6 +236,10 @@ MAX_JERK = 600.0
196236# MAX_LIMIT = 360.0
197237HOME_SEQUENCE = 0
198238
239+ # WARNING: S-curve homing requires SLOWER velocities than trapezoidal!
240+ # HOME_SEARCH_VEL = 3.0
241+ # HOME_LATCH_VEL = 0.6
242+
199243[JOINT_6]
200244TYPE = LINEAR
201245HOME = 0.0
@@ -206,6 +250,10 @@ MAX_JERK = 1000.0
206250# MAX_LIMIT = 200.0
207251HOME_SEQUENCE = 0
208252
253+ # WARNING: S-curve homing requires SLOWER velocities than trapezoidal!
254+ # HOME_SEARCH_VEL = 5.0
255+ # HOME_LATCH_VEL = 1.0
256+
209257[JOINT_7]
210258TYPE = LINEAR
211259HOME = 0.0
@@ -216,6 +264,10 @@ MAX_JERK = 1000.0
216264# MAX_LIMIT = 200.0
217265HOME_SEQUENCE = 0
218266
267+ # WARNING: S-curve homing requires SLOWER velocities than trapezoidal!
268+ # HOME_SEARCH_VEL = 5.0
269+ # HOME_LATCH_VEL = 1.0
270+
219271[JOINT_8]
220272TYPE = LINEAR
221273HOME = 0.0
@@ -226,6 +278,10 @@ MAX_JERK = 800.0
226278# MAX_LIMIT = 100.0
227279HOME_SEQUENCE = 0
228280
281+ # WARNING: S-curve homing requires SLOWER velocities than trapezoidal!
282+ # HOME_SEARCH_VEL = 4.0
283+ # HOME_LATCH_VEL = 0.8
284+
229285# ========================================================
230286# AXIS CONFIGURATION
231287# ========================================================
0 commit comments