Unknown m code used: M190

More
6 years 3 months ago #175297 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

Please Log in to join the conversation.

More
6 years 3 months ago #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:
Code:
USER_M_PATH = ./
and change it to:
Code:
USER_M_PATH = ./:./plasmac

You will need to restart LinuxCNC for it to take effect.

Please Log in to join the conversation.

More
6 years 3 months ago #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

Please Log in to join the conversation.

More
6 years 3 months ago #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?

Please Log in to join the conversation.

More
6 years 3 months ago #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

Please Log in to join the conversation.

More
6 years 3 months ago #175303 by phillc54
Replied by phillc54 on topic Unknown m code used: M190

CFE wrote: 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 to join the conversation.

More
6 years 3 months ago #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 to join the conversation.

More
6 years 3 months ago #175306 by phillc54
Replied by phillc54 on topic Unknown m code used: M190

CFE wrote: 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 to join the conversation.

Time to create page: 0.267 seconds
Powered by Kunena Forum