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.