Page 1 of 4
M command above 199
Posted: 24 May 2015, 21:53
by brosskgm
Getting an error in LinuxCNC(EMC2) about the M command being larger than 199
referencing these lines about 200 lines down.
*** Warning Extruder 1 to 255 C
M542
M551 P32000 S900
M543
Thanks in advance for any help.
Bob
Re: M command above 199
Posted: 25 May 2015, 13:55
by frozen.rabbit
LinuxCNC doesn't handle PID temperature controls.
Re: M command above 199
Posted: 25 May 2015, 19:55
by brosskgm
Ok, I'll take that out. With the beginner option it put that in automatically. So I had no idea it wasn't needed.
Thanks for the reply.
Re: M command above 199
Posted: 25 May 2015, 20:12
by brosskgm
Then it pops another E word with no G76 M66, M67 or M68 to use it.
I need to step away from this one. I don't know it well enough to be messing with this.
It might be easier to send see if I can find someone to 3D print it from the .stl file.
Thanks for all your help.
Bob
Re: M command above 199
Posted: 25 May 2015, 21:12
by frozen.rabbit
What type of printer do you have? Electroics? EMC2 is for Parallel port driven control boards.
Re: M command above 199
Posted: 25 May 2015, 21:32
by brosskgm
Yes it's parallel driven, 3020T(Picture). I've had it for about 5 month's already. I use it mainly for PCB boards
and it's been doing fine with those.
This is the first time I tried to convert an stl file to gcode. Yours was the 1st one that didn't spend 1/2
the night building the toolpath/gcode. The other built it and LinuxCNC loaded it fine, but has several size issues
that making a small adjustment takes forever just waiting for the toolpath to be generated.
Re: M command above 199
Posted: 26 May 2015, 08:24
by frozen.rabbit
I run MACH3 with manual heat control. To use EMC2, you need to open your gcode file with a text editor, and replace M with ;M.
Re: M command above 199
Posted: 26 May 2015, 10:01
by brosskgm
After doing that even tried deleting those lines I still get E word with no G76 M66, M67 or M68 to use it mentioned above.
Re: M command above 199
Posted: 26 May 2015, 10:41
by frozen.rabbit
Comment out ALL G and M codes that are causing errors.
Have you been able to print anything with your printer setup?
Re: M command above 199
Posted: 26 May 2015, 12:00
by brosskgm
Not with these errors. It doesn't even load the gcode file all the way to even try.
I etch PCB's just fine, and image files but they don't use stl files. This was my first try at stl file translations.
PCBs are created in Gerber and must translate cleaner, I've never had any issues like this with them or image files.
frozen.rabbit wrote:Comment out ALL G and M codes that are causing errors.
Have you been able to print anything with your printer setup?