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

More
1 year 3 weeks ago #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
Code:
#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.

Please Log in to join the conversation.

More
1 year 3 weeks ago #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?

Please Log in to join the conversation.

More
1 year 1 week ago #336663 by Will_cnc
Hi Shemj
I am currently having the same issue as you when I press ref (X/Y/Z) in probe basic the machine moves to its 0 position on that axis uncontrollability ignoring the maximum velocity.

Please let me know if you have found a way to home to machine and retain the encoder values when the machine is powered off ?
cheers will

Please Log in to join the conversation.

Time to create page: 0.078 seconds
Powered by Kunena Forum