EL8 - Rehoming axis goes max speed ignores machine and driver limits

More
03 Oct 2025 16:06 - 03 Oct 2025 16:15 #335788 by ShemJ
I have EL8 drivers and I have an issue that gave me a serious startle.

I am using internal homing (-4) which is working exactly as expected. However, if I rehome all (axis) or Ref any axis or rehome (Probe basic), the drive shoots back to the homing position at what I believe is top speed for the servo. This ignores both the machine limits and the limits I have set in the parameters (POE.31-36).

I have set homing limits on the driver, but also control them via HAL. As a stopgap, I also tried adding a max velocity parameter (bold), but it errors out. I tried adding a max velocity pin. I am not sure how to limit the speed of the drive using motion control yet.  Any takers?

          <pdoEntry idx="6098" subIdx="00" bitLen="8"  halPin="home-mode" halType="s32"/>
          <pdoEntry idx="6099" subIdx="01" bitLen="32" halPin="home-hi-speed" halType="u32"/>
          <pdoEntry idx="6099" subIdx="02" bitLen="32" halPin="home-lo-speed" halType="u32"/>
          <pdoEntry idx="609A" subIdx="00" bitLen="32" halPin="home-acc" halType="u32"/>
          <pdoEntry idx="6080" subIdx="00" bitLen="32" halPin="max-velocity" halType="u32"/>

and in HAL
#limit max velocity in rev/min
setp lcec.0.0.max-velocity 1000

This is a safety risk for now.  I'd like to get around this issue if possible. 

Good god, this HTML editor is horrific.
Last edit: 03 Oct 2025 16:15 by ShemJ. Reason: submitted early by error.

Please Log in or Create an account to join the conversation.

More
04 Oct 2025 14:56 #335816 by ShemJ
Maybe it is in the homing file? Perhaps I can change the homing file to rehome rather than return to home if that it is indeed the case that it is not actually rehoming?
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.066 seconds
Powered by Kunena Forum