Retract no longer works after a while.
- wusel0464
- Offline
- Senior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 69
- Thank you received: 7
			
	
						05 Oct 2024 19:30				#311365
		by wusel0464
	
	
		
			
	
			
			 		
													
	
				Retract no longer works after a while. was created by wusel0464			
			
				Hello,
Something is wrong. If Qtdragon is running for a while, the retract function does not work for Z measurement or tool measurement. Z simply remains on the button in the triggered state. If Linuxcnc is restarted, it works again for a short while. Maybe there is a connection to the program length of the program being processed, approx. >50,000 steps. Qtdragon also feels a bit slow. BS and Linux CNC Version: 2.10.0-pre0-3685-gcbfe160071 up to date. I noticed the effect with the last version, but I suspected my wiring, but that was not confirmed.
Best regards, Frank.
					Something is wrong. If Qtdragon is running for a while, the retract function does not work for Z measurement or tool measurement. Z simply remains on the button in the triggered state. If Linuxcnc is restarted, it works again for a short while. Maybe there is a connection to the program length of the program being processed, approx. >50,000 steps. Qtdragon also feels a bit slow. BS and Linux CNC Version: 2.10.0-pre0-3685-gcbfe160071 up to date. I noticed the effect with the last version, but I suspected my wiring, but that was not confirmed.
Best regards, Frank.
Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 7230
- Thank you received: 2106
			
	
						05 Oct 2024 21:51				#311370
		by cmorley
	
	
		
			
	
			
			 		
													
	
				Replied by cmorley on topic Retract no longer works after a while.			
			
				Could you post a sample long program to test with?			
					Please Log in or Create an account to join the conversation.
- wusel0464
- Offline
- Senior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 69
- Thank you received: 7
			
	
						06 Oct 2024 07:59				#311391
		by wusel0464
	
	
		
			
	
	
			
			 		
													
	
				Replied by wusel0464 on topic Retract no longer works after a while.			
			
				Hello,
no problem, I'm attaching it as a zip file.
It's not that long but this is where the problem occurred last.
I have another problem right now but I'm starting a new topic for it.
Sorry for my google English
Thank you for your efforts.
Kind regards, Frank.
					no problem, I'm attaching it as a zip file.
It's not that long but this is where the problem occurred last.
I have another problem right now but I'm starting a new topic for it.
Sorry for my google English
Thank you for your efforts.
Kind regards, Frank.
Please Log in or Create an account to join the conversation.
- wusel0464
- Offline
- Senior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 69
- Thank you received: 7
			
	
						06 Oct 2024 12:02				#311398
		by wusel0464
	
	
		
			
	
	
			
			 		
													
	
				Replied by wusel0464 on topic Retract no longer works after a while.			
			
				Hello,
I just ran a small program to test the change and the problem occurred there too, so the length of the program is not relevant. I'm attaching the changer routines.
Many thanks and best regards, Frank.
					I just ran a small program to test the change and the problem occurred there too, so the length of the program is not relevant. I'm attaching the changer routines.
Many thanks and best regards, Frank.
Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 7230
- Thank you received: 2106
			
	
						06 Oct 2024 13:06				#311406
		by cmorley
	
	
		
			
	
			
			 		
													
	
				Replied by cmorley on topic Retract no longer works after a while.			
			
				Can you post your INI file?			
					Please Log in or Create an account to join the conversation.
- wusel0464
- Offline
- Senior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 69
- Thank you received: 7
			
	
						07 Oct 2024 15:11		 -  07 Oct 2024 15:13		#311497
		by wusel0464
	
	
		
			
	
	
		
	
			 		
													
	
				Replied by wusel0464 on topic Retract no longer works after a while.			
			
				Hello,
of course.
I now suspect that it could be the kernel. The description of a similar routine said that it was time-critical. However, the behavior is not really reproducible when measuring tools and workpieces.
In my test, it happened on the second attempt after restarting Qtdragon and then only after several attempts.
Unfortunately, I can't say for sure whether it could have been a while ago, as I didn't do anything in the summer and therefore only installed the last two Bookworm updates.
Many thanks and best regards, Frank.
 
			
					of course.
I now suspect that it could be the kernel. The description of a similar routine said that it was time-critical. However, the behavior is not really reproducible when measuring tools and workpieces.
In my test, it happened on the second attempt after restarting Qtdragon and then only after several attempts.
Unfortunately, I can't say for sure whether it could have been a while ago, as I didn't do anything in the summer and therefore only installed the last two Bookworm updates.
Many thanks and best regards, Frank.
Attachments:
		Last edit: 07 Oct 2024 15:13  by wusel0464.			
			Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 7230
- Thank you received: 2106
			
	
						11 Oct 2024 03:39				#311791
		by cmorley
	
	
		
			
	
			
			 		
													
	
				Replied by cmorley on topic Retract no longer works after a while.			
			
				I don;t see any glaring problems in the INI.
You could try checking the system monitor to see if a particular program is stealing all the cpu cycles.
You could try a larger servo period to give the GUI more cycle time, but if this is a 'sometimes' problem, I would look at hardware: memory, storage medium, temperature, power supply.
					You could try checking the system monitor to see if a particular program is stealing all the cpu cycles.
You could try a larger servo period to give the GUI more cycle time, but if this is a 'sometimes' problem, I would look at hardware: memory, storage medium, temperature, power supply.
Please Log in or Create an account to join the conversation.
- wusel0464
- Offline
- Senior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 69
- Thank you received: 7
			
	
						13 Oct 2024 08:45				#311940
		by wusel0464
	
	
		
			
	
			
			 		
													
	
				Replied by wusel0464 on topic Retract no longer works after a while.			
			
				Hello,
Today I activated Kernel 6.1.0-11 Rt and immediately noticed something interesting that I hadn't paid any attention to before. My right mouse button, which I felt like I had to press for a long time before the context menu appeared, now works without any delays, Max Jitter is a good factor of 10 better.
Let's see what Qtdragon says about that.
I can't explain why the current kernel is so noticeable for me.
Best regards, Frank
					Today I activated Kernel 6.1.0-11 Rt and immediately noticed something interesting that I hadn't paid any attention to before. My right mouse button, which I felt like I had to press for a long time before the context menu appeared, now works without any delays, Max Jitter is a good factor of 10 better.
Let's see what Qtdragon says about that.
I can't explain why the current kernel is so noticeable for me.
Best regards, Frank
Please Log in or Create an account to join the conversation.
- wusel0464
- Offline
- Senior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 69
- Thank you received: 7
			
	
						25 Oct 2024 15:54				#313220
		by wusel0464
	
	
		
			
	
			
			 		
													
	
				Replied by wusel0464 on topic Retract no longer works after a while.			
			
				Hello,
After I thought I had the solution, things turned out differently.
No retract for tool measurement or workpiece measurement.
Tried several times in a row, restarted Qdragon and it worked again. Unfortunately, the message that retrackt could not be executed is not really useful. But I can't provoke the problem either, at least I don't know how, since it occurs in the normal course of events.
Kind regards, Frank.
					After I thought I had the solution, things turned out differently.
No retract for tool measurement or workpiece measurement.
Tried several times in a row, restarted Qdragon and it worked again. Unfortunately, the message that retrackt could not be executed is not really useful. But I can't provoke the problem either, at least I don't know how, since it occurs in the normal course of events.
Kind regards, Frank.
Please Log in or Create an account to join the conversation.
- wusel0464
- Offline
- Senior Member
- 
				  
		Less
		More
		
			
	
		- Posts: 69
- Thank you received: 7
			
	
						27 Oct 2024 14:32				#313302
		by wusel0464
	
	
		
			
	
			
			 		
													
	
				Replied by wusel0464 on topic Retract no longer works after a while.			
			
				Hello,
Unfortunately the idea of debouncing the probe button didn't work either. I can press the emergency stop, switch the software off and on again, run the reference but nothing gets it working again, only closing Linuxcnc and restarting it. After that everything is back to normal.
Kind regards, Frank.
					Unfortunately the idea of debouncing the probe button didn't work either. I can press the emergency stop, switch the software off and on again, run the reference but nothing gets it working again, only closing Linuxcnc and restarting it. After that everything is back to normal.
Kind regards, Frank.
Please Log in or Create an account to join the conversation.
		Moderators: cmorley	
		Time to create page: 0.118 seconds	
