- GCode and Part Programs
- O Codes (subroutines) and NGCGUI
- I'm having trouble calling a subroutine from a separate file.
I'm having trouble calling a subroutine from a separate file.
- andypugh
- 
				  
- Away
- Moderator
- 
				  
		Less
		More
		
			
	
		- Posts: 19665
- Thank you received: 4548
			
	
						13 Feb 2019 22:32				#126404
		by andypugh
	
	
		
			
				
This seems to be a bug in 2.8 / master (if you are not using 2.8 / master then ignore this)
If a subroutine has % at the beginning and end _and_ the loaded G-code file has % at the beginning and end then there is a problem.
If either or both use M2 instead then there is no problem. (probably)
github.com/LinuxCNC/linuxcnc/issues/559
					
	
			
			 		
													
	
				Replied by andypugh on topic I'm having trouble calling a subroutine from a separate file.			
			Ok, got it back to where I was originally.
No, the path is still good.
There seems to be some sort of critical requirements for the %.
This seems to be a bug in 2.8 / master (if you are not using 2.8 / master then ignore this)
If a subroutine has % at the beginning and end _and_ the loaded G-code file has % at the beginning and end then there is a problem.
If either or both use M2 instead then there is no problem. (probably)
github.com/LinuxCNC/linuxcnc/issues/559
Please Log in or Create an account to join the conversation.
- Grotius
- 
				  
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 2419
- Thank you received: 2343
			
	
						13 Feb 2019 23:10				#126417
		by Grotius
	
	
		
			
	
			
			 		
													
	
				Replied by Grotius on topic I'm having trouble calling a subroutine from a separate file.			
			
				I was looking yesterday if it could be a github issue, trough the hidden files. Problably not.			
					Please Log in or Create an account to join the conversation.
- GCode and Part Programs
- O Codes (subroutines) and NGCGUI
- I'm having trouble calling a subroutine from a separate file.
		Time to create page: 0.085 seconds	
