M command above 199

brosskgm

M command above 199

Post 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
frozen.rabbit
Posts: 132
Joined: 17 Nov 2014, 09:20

Re: M command above 199

Post by frozen.rabbit »

LinuxCNC doesn't handle PID temperature controls.
brosskgm

Re: M command above 199

Post 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.
brosskgm

Re: M command above 199

Post 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
frozen.rabbit
Posts: 132
Joined: 17 Nov 2014, 09:20

Re: M command above 199

Post by frozen.rabbit »

What type of printer do you have? Electroics? EMC2 is for Parallel port driven control boards.
brosskgm

Re: M command above 199

Post 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.
Attachments
3020T.JPG
frozen.rabbit
Posts: 132
Joined: 17 Nov 2014, 09:20

Re: M command above 199

Post 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.
brosskgm

Re: M command above 199

Post 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.
frozen.rabbit
Posts: 132
Joined: 17 Nov 2014, 09:20

Re: M command above 199

Post 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?
brosskgm

Re: M command above 199

Post 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?
Locked