Setting up Mesa 7i76e - issues
- Jocman
- Offline
- Premium Member
- 
				  
		Less
		More
		
			
	
		- Posts: 100
- Thank you received: 10
			
	
						14 Sep 2020 08:33		 -  14 Sep 2020 08:33		#182060
		by Jocman
	
	
		
			
	
	
	
			 		
													
	
				Setting up Mesa 7i76e - issues was created by Jocman			
			
				Hi all.
Eventually, it seems I got my new setup working.
Or at least, the homing procedure does well.
Now I' going on with other issues.
The next big issue is my Z-touch probe.
I wired the probe to +24V and to input07; same as for the limit/home switch, the only difference I set up the probe in config.hal
The Z-touch procedure run a gcode file (100.ngc)
Basically, it seems to work, but I have some issues I can't fix (my ignorance):
- I adapted (or better, i tried to) the old hal settings based on my old board (china parport) to the new 7i76e; I mean, for sure I messed something (or all....)
- anyway, by running the code, the axis run slow to touch the plate, but the plate need to be touched for 1 full second, before the system detects the touch, the motor stops and backs and the new 0 is set. But in that second the axis keep going down; and this isn't good.
I'm pretty sure it depends on the debounce setting (and I'm sure I did it in the wrong/worst way), but honestly I don't know how to fix it.
Any help?
Thankyou
Andrea
					Eventually, it seems I got my new setup working.
Or at least, the homing procedure does well.
Now I' going on with other issues.
The next big issue is my Z-touch probe.
I wired the probe to +24V and to input07; same as for the limit/home switch, the only difference I set up the probe in config.hal
The Z-touch procedure run a gcode file (100.ngc)
Basically, it seems to work, but I have some issues I can't fix (my ignorance):
- I adapted (or better, i tried to) the old hal settings based on my old board (china parport) to the new 7i76e; I mean, for sure I messed something (or all....)
- anyway, by running the code, the axis run slow to touch the plate, but the plate need to be touched for 1 full second, before the system detects the touch, the motor stops and backs and the new 0 is set. But in that second the axis keep going down; and this isn't good.
I'm pretty sure it depends on the debounce setting (and I'm sure I did it in the wrong/worst way), but honestly I don't know how to fix it.
Any help?
Thankyou
Andrea
		Last edit: 14 Sep 2020 08:33  by Jocman.			
			Please Log in or Create an account to join the conversation.
- PCW
- 
				  
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 17372
- Thank you received: 5064
			
	
						14 Sep 2020 14:00				#182083
		by PCW
	
	
		
			
	
			
			 		
													
	
				Replied by PCW on topic Setting up Mesa 7i76e - issues			
			
				in custom.hal:
setp debounce.0.delay 300
Sets the debounce delay to 300 servo periods = 0.3 seconds
I would expect that this should be 5 or less
					setp debounce.0.delay 300
Sets the debounce delay to 300 servo periods = 0.3 seconds
I would expect that this should be 5 or less
Please Log in or Create an account to join the conversation.
- Jocman
- Offline
- Premium Member
- 
				  
		Less
		More
		
			
	
		- Posts: 100
- Thank you received: 10
			
	
						14 Sep 2020 16:28				#182103
		by Jocman
	
	
		
			
	
			
			 		
													
	
				Replied by Jocman on topic Setting up Mesa 7i76e - issues			
			
				I tried with both settings (100 & 300),but i didn't see differences.
Btw,i made some test by marking an old broken bit and marking the different height between start and stop probing
Both settings,the bit travels about 0.3 mm before the detecting of the touch.
This could be unhealty for some kind of tiny bits (such v-bit 0.1 or similar)....
					Btw,i made some test by marking an old broken bit and marking the different height between start and stop probing
Both settings,the bit travels about 0.3 mm before the detecting of the touch.
This could be unhealty for some kind of tiny bits (such v-bit 0.1 or similar)....
Please Log in or Create an account to join the conversation.
- PCW
- 
				  
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 17372
- Thank you received: 5064
			
	
						14 Sep 2020 16:32				#182104
		by PCW
	
	
		
			
	
			
			 		
													
	
				Replied by PCW on topic Setting up Mesa 7i76e - issues			
			
				Umm 100ms is still _WAY_ too long			
					Please Log in or Create an account to join the conversation.
- Jocman
- Offline
- Premium Member
- 
				  
		Less
		More
		
			
	
		- Posts: 100
- Thank you received: 10
			
	
						15 Sep 2020 06:25				#182187
		by Jocman
	
	
		
			
	
			
			 		
													
	
				Replied by Jocman on topic Setting up Mesa 7i76e - issues			
			
				well, I can try with higher values?			
					Please Log in or Create an account to join the conversation.
- Aciera
- 
				  
- Offline
- Administrator
- 
				  
		Less
		More
		
			
	
		- Posts: 4554
- Thank you received: 2028
			
	
						15 Sep 2020 08:34				#182192
		by Aciera
	
	
		
			
				
I think PCW thought you should try with smaller values. That's why he suggested 5.
					
	
			
			 		
													
	
				Replied by Aciera on topic Setting up Mesa 7i76e - issues			
			I would expect that this should be 5 or less
I think PCW thought you should try with smaller values. That's why he suggested 5.
Please Log in or Create an account to join the conversation.
- andypugh
- 
				  
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 19677
- Thank you received: 4554
			
	
						15 Sep 2020 12:10				#182220
		by andypugh
	
	
		
			
	
			
			 		
													
	
				Replied by andypugh on topic Setting up Mesa 7i76e - issues			
			
				The issue might be that the debounce has moved from a fast thread (where 300 cycles is maybe 6mS or less) to a slow (1mS) thread where 300 cycles is 300mS.			
					Please Log in or Create an account to join the conversation.
- Jocman
- Offline
- Premium Member
- 
				  
		Less
		More
		
			
	
		- Posts: 100
- Thank you received: 10
			
	
						16 Sep 2020 06:32				#182382
		by Jocman
	
	
		
			
	
			
			 		
													
	
				Replied by Jocman on topic Setting up Mesa 7i76e - issues			
			
				All of you are right, my fault.
I was thinking I put 100 in my custom.hal, but 300.
I'll reduce the value to lower ones and see if it goes better (it will, I know.....)
					I was thinking I put 100 in my custom.hal, but 300.
I'll reduce the value to lower ones and see if it goes better (it will, I know.....)
Please Log in or Create an account to join the conversation.
- Jocman
- Offline
- Premium Member
- 
				  
		Less
		More
		
			
	
		- Posts: 100
- Thank you received: 10
			
	
						18 Sep 2020 16:24				#182660
		by Jocman
	
	
		
			
	
	
			 		
													
	
				Replied by Jocman on topic Setting up Mesa 7i76e - issues			
			
				I made some test,up to 10ms, and it works really fine now.
Now the z-touch and x-y-touch plates work both great.
Thanks all for theyr support.
Andrea
					Now the z-touch and x-y-touch plates work both great.
Thanks all for theyr support.
Andrea
		The following user(s) said Thank You: rodw 	
			Please Log in or Create an account to join the conversation.
		Time to create page: 0.078 seconds	
