- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- EL8 - Rehoming axis goes max speed ignores machine and driver limits
EL8 - Rehoming axis goes max speed ignores machine and driver limits
- ShemJ
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 3
03 Oct 2025 16:06 - 03 Oct 2025 16:15 #335788
by ShemJ
EL8 - Rehoming axis goes max speed ignores machine and driver limits was created 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
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.
- ShemJ
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 9
- Thank you received: 3
04 Oct 2025 14:56 #335816
by ShemJ
Replied by ShemJ on topic EL8 - Rehoming axis goes max speed ignores machine and driver limits
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 or Create an account to join the conversation.
- Configuring LinuxCNC
- Advanced Configuration
- EtherCAT
- EL8 - Rehoming axis goes max speed ignores machine and driver limits
Time to create page: 0.066 seconds