Axis Homing Final Velocity not working

More
2 years 1 month ago #310572 by U2fletch
On my PM-940V mill  I have the pretty standard single limit/home switch at the top of the column.  The Y axis home/limit switch is placed at the position where the bed is closest to the operator (min Y).  The joints home just fine, however the Y and Z axes move at the joint limit velocity to the final home position.  The X axis does not. So the Z axis for example slowly goes up the column, hits the limit switch, backs off, then slowly approaches the limit switch one final time, then rips into high gear and moves down half an inch to the home position.  Similar with the Y axis.

The documentation mentions that if you do not have HOME_FINAL_VELOCITY declared, it will use the joint limit speed. Mine are all configured the exact same way.  The axes all move the proper directions with the jog plus/minus, code runs fine.  I configured the machine using STEPCNF, and the homing worked right from the beginning. Just an issue with the final velocity.

Attached are the .ini and HAL files.  Your thoughts are welcome!

Jeff

 

Please Log in to join the conversation.

More
2 years 1 month ago #310574 by Aciera
'HOME_FINAL_VEL' must be a positive number.

Velocity in machine units per second from home latch position to home position. If left at 0 or not included in the joint rapid velocity is used. Must be a positive number.

linuxcnc.org/docs/html/config/ini-config...ub:ini:sec:joint-num

Please Log in to join the conversation.

More
2 years 1 month ago #310575 by tommylight
linuxcnc.org/docs/html/config/ini-homing.html#_home_final_vel
It clearly states the value must be positive, you have them negative for both joints/axis in question.

Please Log in to join the conversation.

More
2 years 1 month ago #310577 by U2fletch
Oh good grief!
In my troubleshooting, I configured the axis limits a few different ways. The Z axis was setup originally with 14 as max, and 0 as min. That worked fine, but to align with convention I switched to 0 as max, and -14 as min. On the X axis, the Search and Latch velocity are both negative, which makes sense as the table moves in the negative direction towards zero to find the switch. The Z and Y axes need to go the other way so the Search and Latch are positive. It kind of made sense looking at it that the Final Velocity should be the opposite direction of the Search and Latch. Kind of thought there might be a configuration out there where this was what you wanted.
I also could have sworn that I tried changing the sign on the final velocity number just to see what it would do.

All works fine now! DOH.

Please Log in to join the conversation.

Time to create page: 0.083 seconds
Powered by Kunena Forum