Error setting TOOL_CHANGE_POSITION
- RotarySMP
 - 
				
									Topic Author
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1501
 - Thank you received: 558
 
			
	
						14 Oct 2022 19:30				#254131
		by RotarySMP
	
	
		
			
	
			
			 		
													
	
				Error setting TOOL_CHANGE_POSITION was created by RotarySMP			
			
				On my Schaublin, I will get started using a manual QCTP holder. So I want the lathe to retract X to 180, have me change the tool, and then continue. I have Gmoccapy's tool change working fine, except for the move to the change location in X. When I add this to the INI:
[EMCIO]
TOOL_CHANGE _POSITION = 180
I get the error
estop.hal:4: Pin 'iocontrol.0.user-enable-out' does not exist
If I comment out that TOOL_CHANGE _POSITION line, LinuxCNC loads fine, and the HALSHOW shows that iocontrol.0.user-enable-out does exist.
Looks like IOcontrol gets built later in start up than that INI line is read. Any ideas how to address that?
Mark
					[EMCIO]
TOOL_CHANGE _POSITION = 180
I get the error
estop.hal:4: Pin 'iocontrol.0.user-enable-out' does not exist
If I comment out that TOOL_CHANGE _POSITION line, LinuxCNC loads fine, and the HALSHOW shows that iocontrol.0.user-enable-out does exist.
Looks like IOcontrol gets built later in start up than that INI line is read. Any ideas how to address that?
Mark
Please Log in or Create an account to join the conversation.
- tommylight
 - 
				
											 - Online
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 20860
 - Thank you received: 7113
 
			
	
						14 Oct 2022 21:17				#254134
		by tommylight
	
	
		
			
	
	
			 		
													
	
				Replied by tommylight on topic Error setting TOOL_CHANGE_POSITION			
			
				TOOL_CHANGE _POSITION = 180
-
180 what????
Try
TOOL_CHANGE _POSITION = X180
					-
180 what????
Try
TOOL_CHANGE _POSITION = X180
		The following user(s) said Thank You: RotarySMP 	
			Please Log in or Create an account to join the conversation.
- RotarySMP
 - 
				
									Topic Author
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1501
 - Thank you received: 558
 
			
	
						15 Oct 2022 06:48		 -  15 Oct 2022 06:56		#254153
		by RotarySMP
	
	
		
			
	
	
			 		
													
	
				Replied by RotarySMP on topic Error setting TOOL_CHANGE_POSITION			
			
				Thanks Tommy.
I had followed the example in the docs, which listedÂ
TOOL_CHANGE_POSITION = 0 0 2 - Specifies the XYZ location to move to when performing a tool change if three digits are used. Specifies the XYZABC location when 6 digits are used. Specifies the XYZABCUVW location when 9 digits are used. Tool Changes can be combined. For example if you combine the quill up with change position you can move the Z first then the X and Y.
I'll try adding the X and report back.
					I had followed the example in the docs, which listedÂ
TOOL_CHANGE_POSITION = 0 0 2 - Specifies the XYZ location to move to when performing a tool change if three digits are used. Specifies the XYZABC location when 6 digits are used. Specifies the XYZABCUVW location when 9 digits are used. Tool Changes can be combined. For example if you combine the quill up with change position you can move the Z first then the X and Y.
I'll try adding the X and report back.
		Last edit: 15 Oct 2022 06:56  by RotarySMP.			
			Please Log in or Create an account to join the conversation.
- RotarySMP
 - 
				
									Topic Author
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1501
 - Thank you received: 558
 
			
	
						15 Oct 2022 10:12				#254159
		by RotarySMP
	
	
		
			
	
			
			 		
													
	
				Replied by RotarySMP on topic Error setting TOOL_CHANGE_POSITION			
			
				I added the X, but that is not the issue. Same error as before.
Mark
					Mark
Please Log in or Create an account to join the conversation.
- tommylight
 - 
				
											 - Online
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 20860
 - Thank you received: 7113
 
			
	
						15 Oct 2022 11:07				#254162
		by tommylight
	
	
		
			
	
	
			 		
													
	
				Replied by tommylight on topic Error setting TOOL_CHANGE_POSITION			
			
				Adding all 3 values?			
					
		The following user(s) said Thank You: RotarySMP 	
			Please Log in or Create an account to join the conversation.
- cmorley
 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 7230
 - Thank you received: 2106
 
			
	
						16 Oct 2022 01:44				#254201
		by cmorley
	
	
		
			
	
	
			 		
													
	
				Replied by cmorley on topic Error setting TOOL_CHANGE_POSITION			
			
				How about just two values, if you only have two axes.. 
			
					
		The following user(s) said Thank You: tommylight 	
			Please Log in or Create an account to join the conversation.
- tommylight
 - 
				
											 - Online
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 20860
 - Thank you received: 7113
 
			
	
						16 Oct 2022 14:24				#254228
		by tommylight
	
	
		
			
				
			
					
	
			
			 		
													
	
				Replied by tommylight on topic Error setting TOOL_CHANGE_POSITION			
			Yup, forgot he was talking about a lathe, despite watching that lathe on youtube several times!How about just two values, if you only have two axes..
Please Log in or Create an account to join the conversation.
- RotarySMP
 - 
				
									Topic Author
											 - Offline
 - Platinum Member
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 1501
 - Thank you received: 558
 
			
	
						23 Oct 2022 10:21				#254840
		by RotarySMP
	
	
		
			
	
	
			 		
													
	
				Replied by RotarySMP on topic Error setting TOOL_CHANGE_POSITION			
			
				Sorry slow reply, I had a work trip this week.
I have tried adding a value for Z, but always the same error.
Mark
					I have tried adding a value for Z, but always the same error.
Mark
		The following user(s) said Thank You: tommylight 	
			Please Log in or Create an account to join the conversation.
- andypugh
 - 
				
											 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 19678
 - Thank you received: 4559
 
			
	
						24 Oct 2022 10:28				#254893
		by andypugh
	
	
		
			
	
			
			 		
													
	
				Replied by andypugh on topic Error setting TOOL_CHANGE_POSITION			
			
				I think you need three numbers, separated by spaces, and no coordnates.
For a lathe just use a zero as the placeholder for Y.
(Not that I have bothered to test this, of course)
					For a lathe just use a zero as the placeholder for Y.
(Not that I have bothered to test this, of course)
Please Log in or Create an account to join the conversation.
- cmorley
 - Offline
 - Moderator
 - 
				
			 
		Less
		More
		
			
	
		- Posts: 7230
 - Thank you received: 2106
 
			
	
						24 Oct 2022 13:02				#254904
		by cmorley
	
	
		
			
	
			
			 		
													
	
				Replied by cmorley on topic Error setting TOOL_CHANGE_POSITION			
			
				here is the docs:
TOOL_CHANGE_POSITION = 0 0 2 - Specifies the XYZ location to move to when performing a tool change if three digits are used. Specifies the XYZABC location when 6 digits are used. Specifies the XYZABCUVW location when 9 digits are used. Tool Changes can be combined. For example if you combine the quill up with change position you can move the Z first then the X and Y.
					TOOL_CHANGE_POSITION = 0 0 2 - Specifies the XYZ location to move to when performing a tool change if three digits are used. Specifies the XYZABC location when 6 digits are used. Specifies the XYZABCUVW location when 9 digits are used. Tool Changes can be combined. For example if you combine the quill up with change position you can move the Z first then the X and Y.
Please Log in or Create an account to join the conversation.
		Time to create page: 0.130 seconds