Axis Homing Final Velocity not working
- U2fletch
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 24
- Thank you received: 1
			
	
						21 Sep 2024 21:00				#310572
		by U2fletch
	
	
		
			
	
	
			
			 		
													
	
				Axis Homing Final Velocity not working was created 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
 			
					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 or Create an account to join the conversation.
- Aciera
- 
				  
- Offline
- Administrator
- 
				  
		Less
		More
		
			
	
		- Posts: 4554
- Thank you received: 2028
			
	
						21 Sep 2024 21:51				#310574
		by Aciera
	
	
		
			
	
	
			 		
													
	
				Replied by Aciera on topic Axis Homing Final Velocity not working			
			
				'HOME_FINAL_VEL' must be a positive number.
					linuxcnc.org/docs/html/config/ini-config...ub:ini:sec:joint-numVelocity 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.
		The following user(s) said Thank You: U2fletch 	
			Please Log in or Create an account to join the conversation.
- tommylight
- 
				  
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 20843
- Thank you received: 7106
			
	
						21 Sep 2024 21:54				#310575
		by tommylight
	
	
		
			
	
			
			 		
													
	
				Replied by tommylight on topic Axis Homing Final Velocity not working			
			
				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.
					It clearly states the value must be positive, you have them negative for both joints/axis in question.
Please Log in or Create an account to join the conversation.
- U2fletch
- Offline
- Junior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 24
- Thank you received: 1
			
	
						21 Sep 2024 22:58				#310577
		by U2fletch
	
	
		
			
	
			
			 		
													
	
				Replied by U2fletch on topic Axis Homing Final Velocity not working			
			
				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.
					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 or Create an account to join the conversation.
		Time to create page: 0.082 seconds	
