QtDragon_HD Manual tool change
- Zavrl
- Offline
- New Member
- 
				  
		Less
		More
		
			
	
		- Posts: 13
- Thank you received: 2
			
	
						13 Jan 2023 14:00				#261796
		by Zavrl
	
	
		
			
	
			
			 		
													
	
				QtDragon_HD Manual tool change was created by Zavrl			
			
				Hello,
following the instructions from chapter 10.5.6 HAL Pins, I entered the suggested code in postgui.hal. I would like to be notified when the tool needs to be changed.
Now it happens that if the command Tn or M6 is written in the G-code, the program stops and does not continue. Nowhere on the screen does a dialog box appear, for confirming that the tool has been replaced. I think the problem is that the dialog box doesn't appear.
What and where needs to be set for it to work.
					following the instructions from chapter 10.5.6 HAL Pins, I entered the suggested code in postgui.hal. I would like to be notified when the tool needs to be changed.
Now it happens that if the command Tn or M6 is written in the G-code, the program stops and does not continue. Nowhere on the screen does a dialog box appear, for confirming that the tool has been replaced. I think the problem is that the dialog box doesn't appear.
What and where needs to be set for it to work.
Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 7230
- Thank you received: 2106
			
	
						13 Jan 2023 19:56				#261824
		by cmorley
	
	
		
			
	
			
			 		
													
	
				Replied by cmorley on topic QtDragon_HD Manual tool change			
			
				Can you post your config files?			
					Please Log in or Create an account to join the conversation.
- Zavrl
- Offline
- New Member
- 
				  
		Less
		More
		
			
	
		- Posts: 13
- Thank you received: 2
			
	
						14 Jan 2023 16:57				#261952
		by Zavrl
	
	
		
			
	
	
			
			 		
													
	
				Replied by Zavrl on topic QtDragon_HD Manual tool change			
			
				I am attaching the working CONFIG files and also the NC file. The tool limit command is commented out.			
					Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 7230
- Thank you received: 2106
			
	
						14 Jan 2023 18:13				#261963
		by cmorley
	
	
		
			
	
			
			 		
													
	
				Replied by cmorley on topic QtDragon_HD Manual tool change			
			
				try un commenting these lines:
# create signals for tool loading loopback
#net tool-prep-loop iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
#net tool-change-loop iocontrol.0.tool-change => iocontrol.0.tool-changed
					# create signals for tool loading loopback
#net tool-prep-loop iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
#net tool-change-loop iocontrol.0.tool-change => iocontrol.0.tool-changed
Please Log in or Create an account to join the conversation.
- Zavrl
- Offline
- New Member
- 
				  
		Less
		More
		
			
	
		- Posts: 13
- Thank you received: 2
			
	
						15 Jan 2023 08:30				#262021
		by Zavrl
	
	
		
			
	
	
			
			 		
													
	
				Replied by Zavrl on topic QtDragon_HD Manual tool change			
			
				I un commented it in the hal file.
Linuxcnc does not start, gives an error:
Pin 'iocontrol.0.tool-change' was already linked to signal 'tool-change-loop'
I can't find a duplicate of this part in my two HAL files.
There is a complete description of the error in the PDF attachment.
					Linuxcnc does not start, gives an error:
Pin 'iocontrol.0.tool-change' was already linked to signal 'tool-change-loop'
I can't find a duplicate of this part in my two HAL files.
There is a complete description of the error in the PDF attachment.
Please Log in or Create an account to join the conversation.
- cmorley
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 7230
- Thank you received: 2106
			
	
						15 Jan 2023 08:50				#262022
		by cmorley
	
	
		
			
	
			
			 		
													
	
				Replied by cmorley on topic QtDragon_HD Manual tool change			
			
				Sorry just uncomment this one:
net tool-prep-loop iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
					net tool-prep-loop iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
Please Log in or Create an account to join the conversation.
- Zavrl
- Offline
- New Member
- 
				  
		Less
		More
		
			
	
		- Posts: 13
- Thank you received: 2
			
	
						15 Jan 2023 10:36				#262027
		by Zavrl
	
	
		
			
	
	
			 		
													
	
				Replied by Zavrl on topic QtDragon_HD Manual tool change			
			
				Yes, now is working. I receive message window with information. It is smart solution, it checks the tool number which is active.and don't prompt if toll is the same.
You don't need to justify yourself, I'm very glad that the problem is solved.
I myself worked in IT for 22 years and I know this situation well.
Once again, thank you very much.
Greetings
Tibor Zavrl
					You don't need to justify yourself, I'm very glad that the problem is solved.
I myself worked in IT for 22 years and I know this situation well.
Once again, thank you very much.
Greetings
Tibor Zavrl
		The following user(s) said Thank You: cmorley 	
			Please Log in or Create an account to join the conversation.
		Moderators: cmorley	
		Time to create page: 0.210 seconds	
