- 
						LinuxCNC
			
		
 
					 
			- 
				General LinuxCNC Questions
				
			
 
					 
			- 
				ngc file cancels remapping
				
			
 
		
	
	
	
						ngc file cancels remapping		
	
	
	
		
	
	
	
	
	
		
		
				
	
		Less
		More
		
			
									- 
						Posts: 55					
 
				
				
									- 
						Thank you received: 2					
 
				
				
				
				
									- 
											
 
				
				
				
									- 
											
 
				
				
							
		 
	 
		 
		
			
	
						23 Dec 2016 03:19				#84591
		by an92626
	
	
		
			
			
				I have remapped m300 to a ngc subroutine  which returns the mill to its home position using these line in the ini file.
[RS274NGC]
PARAMETER_FILE = linuxcnc.var
USER_M_PATH = /home/shop/linuxcnc/subroutines
SUBROUTINE_PATH = /home/shop/linuxcnc/subroutines
REMAP=M300   modalgroup=10 ngc=m300
The routine works fine when called from mdi or called from within a hal file by called mdi_command-01, but once I load a new ngc file linuxcnc no longer can find the m300.ngc subroutine file. Anyone know why when I open a ngc file linuxcnc can not longer find the remapped subroutine.			
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
 
	
		
	
	
	
	
	
	
 
	
		- 
						LinuxCNC
			
		
 
					 
			- 
				General LinuxCNC Questions
				
			
 
					 
			- 
				ngc file cancels remapping
				
			
 
		
	
	
	
	
		Time to create page: 0.159 seconds