Hello Guest it is March 28, 2024, 09:03:25 AM

Author Topic: m11 and m10 commands  (Read 9627 times)

0 Members and 1 Guest are viewing this topic.

Re: m11 and m10 commands
« Reply #10 on: March 24, 2017, 11:49:49 AM »
thank you for your patience
I think I now know how to get it working

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: m11 and m10 commands
« Reply #11 on: March 25, 2017, 02:42:55 AM »
Excellent.  ;)

Tweakie.
PEACE
Re: m11 and m10 commands
« Reply #12 on: March 25, 2018, 08:14:22 PM »
Hi all,

I've been a lurker here for some time and always found what I was looking for.  However at present I'm coming up with a problem I cant seem to find an answer to, so hoping someone will point me in the right direction.

I've used Mach3 for a couple years now on a diy router without much problem.  However recently I decided to setup a laser diode to it and set it up using m3 & m5.  That worked but had to much delay creating burn spots at end points, so I've tried to go with M10P1 & M11P1.  M10P1 & M11P1 works much better and no longer have a delay, am able to burn simple line drawings and text engraving.  But the problem I have is when I exit Mach3 I persistently receive error 9991 asking me if I want to recover and then a second popup about the application crash asking to send the log to Microsoft.  I get this on my cnc control pc (Winxp Pro SP3) and a similar app crash on my CAD PC running Window 7 both have 3.043.066.  

I've tried a number of things to resolve, uninstalled all plugins, uninstalled Mach3 completely and reinstalled fresh clean version afer deleting the C:\mach3 folder,  Installed older version Mach3 3.043.062, Tried different Output#,  Tried different Pin#.   The way I've determined it's a problem with M10 & M11 was to take the same file and replace M10P1 & M11P1 with M3 & M5,  No error with M3 & M5 but always get it 100% of the time if I switch the code to M10 & M11.  

Thanks in advance for anything you can advise.

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: m11 and m10 commands
« Reply #13 on: March 26, 2018, 01:36:35 AM »
Are you using the LPT parallel port or an external motion controller ?

Tweakie.
PEACE
Re: m11 and m10 commands
« Reply #14 on: March 26, 2018, 01:58:06 AM »
Hi Tweakie,

I've tried it with both LPT and UC100.   My CNC control machine has the UC100 and my CAD/CAM pc does not and is basically a simulator for me.  Since it seems to run fine at least up until I exit Mach3 it's making me think I may have something wrong with my post processor or syntax of gcode??  I don't know I'll attach a portion of the gcode I've been testing with maybe you can see something I'm missing.

Thanks

Offline Tweakie.CNC

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
Re: m11 and m10 commands
« Reply #15 on: March 26, 2018, 02:39:34 AM »
Your sample Gcode runs just fine here and no shutdown errors etc.

I think you should look at your post processor to remove the G4 P0 as these are not necessary and may cause problems also make sure that your Gcode finishes with M10P1 and an axis movement (perhaps G0 X0 Y0) then a null character such as % (to ensure the CR).

Tweakie.
PEACE
Re: m11 and m10 commands
« Reply #16 on: March 26, 2018, 02:52:28 AM »
Thanks tweakie,

That's a small portion of the actual file only about 200 lines which is enough for me to get the error.  There are finishing moves at the end that turns off laser and homes the machine.  I thought the same about the dwell moves just haven't spent time to try to figure out how to remove it yet.  I'll work on that tomorrow and try to isolate the problem further.

Thanks
Re: m11 and m10 commands
« Reply #17 on: March 26, 2018, 03:03:07 PM »
To update on this I've found I've been fighting myself a bit on this testing on two dissimilar systems but neither having an actual physical LPT port and ending up with similar errors when exiting Mach3 when using M10 & M11.  I've taken my old cnc control pc which does have a LPT and re-established connectivity to the router & laser diode still using M10P1 & M11P1 and all worked fine.  In addition I've been able to remove the G4 from the Inkscape script. 

So my best guess is that although Mach3 moves and fires the laser via redirection of the UC100 there's possibly a remnant of code that requires a physical LPT port in Mach3 when using  the M10P# or M11P#???  IDK I'd be interested to know if anyone else has been able to utilize the M10P#, M11P# commands without error on any of their systems that don't physically have a LPT and using a UC100? 

Thanks

Offline Vogavt

*
  •  260 260
    • View Profile
Re: m11 and m10 commands
« Reply #18 on: April 22, 2018, 09:47:05 PM »
I have the XHC MK-IV v5 and haven't been successful yet but I have an email to their tech support.
« Last Edit: April 22, 2018, 09:57:20 PM by Vogavt »
Re: m11 and m10 commands
« Reply #19 on: July 03, 2019, 02:38:10 AM »
Hi Tweakie
This link is no longer available, http://www.cooperman.talktalk.net/files/27_files/Page1020.htm

have you reposted it?

Thanks,
Chuck