Unknown m code used: M190
- CFE
- Offline
- Elite Member
- 
				  
		Less
		More
		
			
	
		- Posts: 193
- Thank you received: 35
			
	
						21 Jul 2020 05:41				#175297
		by CFE
	
	
		
			
	
			
			 		
													
	
				Unknown m code used: M190 was created by CFE			
			
				Hi all,
We are battling a few issues after running an upgrade. We loaded an existing program which has cut no worries before the upgrade, but after the upgrade we get the error "Unknown m code used: M190" when we press the Run button. I repeat, this program ran without issues prior to the upgrade. What causes this ?
Cheers, Peter
					We are battling a few issues after running an upgrade. We loaded an existing program which has cut no worries before the upgrade, but after the upgrade we get the error "Unknown m code used: M190" when we press the Run button. I repeat, this program ran without issues prior to the upgrade. What causes this ?
Cheers, Peter
Please Log in or Create an account to join the conversation.
- phillc54
- 
				  
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 5711
- Thank you received: 2093
			
	
						21 Jul 2020 05:43		 -  21 Jul 2020 05:43		#175298
		by phillc54
	
	
		
			
	
	
			 		
													
	
				Replied by phillc54 on topic Unknown m code used: M190			
			
				Sorry Peter, this one fell through the cracks...
In your .ini file find the line:and change it to:
You will need to restart LinuxCNC for it to take effect.
					In your .ini file find the line:
USER_M_PATH = ./USER_M_PATH = ./:./plasmacYou will need to restart LinuxCNC for it to take effect.
		Last edit: 21 Jul 2020 05:43  by phillc54.			
	
		The following user(s) said Thank You: CFE 	
			Please Log in or Create an account to join the conversation.
- CFE
- Offline
- Elite Member
- 
				  
		Less
		More
		
			
	
		- Posts: 193
- Thank you received: 35
			
	
						21 Jul 2020 05:58				#175299
		by CFE
	
	
		
			
	
			
			 		
													
	
				Replied by CFE on topic Unknown m code used: M190			
			
				Hi Phil,
Thank you, that works !
Do you know how we can get spotting to work, it used to worked flawlessly before the upgrade, but not anymore. Leaves us baffled. Sorry to be a pain.
Cheers, Peter
					Thank you, that works !
Do you know how we can get spotting to work, it used to worked flawlessly before the upgrade, but not anymore. Leaves us baffled. Sorry to be a pain.
Cheers, Peter
Please Log in or Create an account to join the conversation.
- phillc54
- 
				  
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 5711
- Thank you received: 2093
			
	
						21 Jul 2020 06:06				#175300
		by phillc54
	
	
		
			
	
			
			 		
													
	
				Replied by phillc54 on topic Unknown m code used: M190			
			
				If you run LinuxCNC from a terminal do you get any errors on starting?
Can you explain what is happening?
					Can you explain what is happening?
Please Log in or Create an account to join the conversation.
- CFE
- Offline
- Elite Member
- 
				  
		Less
		More
		
			
	
		- Posts: 193
- Thank you received: 35
			
	
						21 Jul 2020 06:33				#175302
		by CFE
	
	
		
			
	
			
			 		
													
	
				Replied by CFE on topic Unknown m code used: M190			
			
				Hi Phil,
It turns out that we needed to add a $2 after each M5 (for spotting). Funny that the same programs without that addition worked fine before the upgrade.
Thanks again for your help, much appreciated !
Cheers, Peter
					It turns out that we needed to add a $2 after each M5 (for spotting). Funny that the same programs without that addition worked fine before the upgrade.
Thanks again for your help, much appreciated !
Cheers, Peter
Please Log in or Create an account to join the conversation.
- phillc54
- 
				  
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 5711
- Thank you received: 2093
			
	
						21 Jul 2020 06:39				#175303
		by phillc54
	
	
		
			
				
Ahh, the spindle handling was recently changed in LinuxCNC itself. Now you need to use specific spindle numbers. It is a change for the better and a bit safer I feel.
					
	
			
			 		
													
	
				Replied by phillc54 on topic Unknown m code used: M190			
			Hi Phil,
It turns out that we needed to add a $2 after each M5 (for spotting). Funny that the same programs without that addition worked fine before the upgrade.
Thanks again for your help, much appreciated !
Cheers, Peter
Ahh, the spindle handling was recently changed in LinuxCNC itself. Now you need to use specific spindle numbers. It is a change for the better and a bit safer I feel.
Please Log in or Create an account to join the conversation.
- CFE
- Offline
- Elite Member
- 
				  
		Less
		More
		
			
	
		- Posts: 193
- Thank you received: 35
			
	
						21 Jul 2020 06:47				#175305
		by CFE
	
	
		
			
	
			
			 		
													
	
				Replied by CFE on topic Unknown m code used: M190			
			
				It's true that it's better and safer, just a bit of a bugger we were not aware of it. And we have to modify the post processor to suit the change. And it means we have to edit all our existing programs that need this change. That might give the boys in the workshop a few headaches in the near future. Oops.			
					Please Log in or Create an account to join the conversation.
- phillc54
- 
				  
- Offline
- Platinum Member
- 
				  
		Less
		More
		
			
	
		- Posts: 5711
- Thank you received: 2093
			
	
						21 Jul 2020 06:53				#175306
		by phillc54
	
	
		
			
				
There was a bit of discussion about it on the developers mailing list. It is probably worthwhile subscribing to it and then you can keep an eye on any changes to see if the will affect you.
sourceforge.net/projects/emc/lists/emc-developers
All Plasmac changes are announced on the forum as well so you should subscribe to that as well.
forum.linuxcnc.org/plasmac/37233-plasmac-updates#143119
					
	
			
			 		
													
	
				Replied by phillc54 on topic Unknown m code used: M190			
			It's true that it's better and safer, just a bit of a bugger we were not aware of it. And we have to modify the post processor to suit the change. And it means we have to edit all our existing programs that need this change. That might give the boys in the workshop a few headaches in the near future. Oops.
There was a bit of discussion about it on the developers mailing list. It is probably worthwhile subscribing to it and then you can keep an eye on any changes to see if the will affect you.
sourceforge.net/projects/emc/lists/emc-developers
All Plasmac changes are announced on the forum as well so you should subscribe to that as well.
forum.linuxcnc.org/plasmac/37233-plasmac-updates#143119
Please Log in or Create an account to join the conversation.
		Moderators: snowgoer540	
		Time to create page: 0.069 seconds	
