Need Help! Mach3 Error when spindle stops DoSpindleStop


Page 1 of 2 12 LastLast
Results 1 to 20 of 22

Thread: Mach3 Error when spindle stops DoSpindleStop

  1. #1
    Member
    Join Date
    May 2017
    Posts
    41
    Downloads
    1
    Uploads
    0

    Default Mach3 Error when spindle stops DoSpindleStop

    The title should say "DoSpinStop". Not spindle. I am using windows8.1 with an ESS with Mach3 on a router. Has worked fine for 2 years. Today, program would start and run but just stop moving on an arc. I was told to add a G91.1 at program start and it worked. But at the end of the program when the M5 spindle came up, the spindle stopped. But on the screen, the spindle button light was flashing. A window pop-up said error triggered, and at the bottom of the screen it said: Error on line: 1 - internal error DoSpinStop. Then it shutdown Mach3. I rebooted everything and at Mach3 start up the bottom said: Application Watchdog Triggered. I have uninstalled and reinstalled Mach3 but it still does the same thing. I can also manually turn on the spindle by M3 or spindle button, but when turned off, the same error occurs. I have tried debounce settings, but it is still the same. What else can I try?

    Similar Threads:
    Last edited by legendarylarry; 12-26-2019 at 07:08 PM.


  2. #2
    Member machinehop5's Avatar
    Join Date
    Aug 2009
    Location
    United States
    Posts
    354
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 Error when spindle stops DoSpindleStop

    Loose wiring terminal or dirty Plug Connectors possible. Ground wiring I have seen cause weird problems, just because of loose wire.



  3. #3
    Member
    Join Date
    Jan 2005
    Location
    USA
    Posts
    10792
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 Error when spindle stops DoSpindleStop

    Quote Originally Posted by legendarylarry View Post
    I am using windows8.1 with an ESS with Mach3 on a router. Has worked fine for 2 years. Today, program would start and run but just stop moving on an arc. I was told to add a G91.1 at program start and it worked. But at the end of the program when the M5 spindle came up, the spindle stopped. But on the screen, the spindle button light was flashing. A window pop-up said error triggered, and at the bottom of the screen it said: Error on line: 1 - internal error . Then it shutdown Mach3. I rebooted everything and at Mach3 start up the bottom said: Application Watchdog Triggered. I have uninstalled and reinstalled Mach3 but it still does the same thing. I can also manually turn on the spindle by M3 or spindle button, but when turned off, the same error occurs. I have tried debounce settings, but it is still the same. What else can I try?
    How do you have the programing at the end of the program

    Mactec54


  4. #4
    Member
    Join Date
    May 2017
    Posts
    41
    Downloads
    1
    Uploads
    0

    Default Re: Mach3 Error when spindle stops DoSpindleStop

    It ends with a home move, M5, and M30. The program end doesn't really matter though, because it does the same thing if I turn on the spindle with a M3 and turn it off with M5 in manual mode. I tried it with another computer and it gave an error after M5. The error message said: "Error on Line: 1 - internal error DoSpinStop".The network diagnosis found no problems so it is either in the ESS or the VFD, I think. But I have no way of checking. Programs run fine until they end. I am not sure if the problem with it stopping during arc is part of the same problem, but it was cleared up by adding a G91.1 at the first. I don't think it is an interference or noise problem because the machine next to it works fine with Mach on a different computer. But it doesn't have an ESS.

    Last edited by legendarylarry; 12-26-2019 at 07:07 PM.


  5. #5
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    34723
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 Error when spindle stops DoSpindleStop

    Sounds like your M5.m1s macro is corrupt.

    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  6. #6
    Member
    Join Date
    May 2017
    Posts
    41
    Downloads
    1
    Uploads
    0

    Default Re: Mach3 Error when spindle stops DoSpindleStop

    Thanks for your reply. I replaced the m5.m1s but there was no change. Then I replaced all the spindle macros: m3.m1s, m4.m1s, m5.m1s, M6End.m1s, M6Start.m1s,
    and spindlespeed.m1s. There is still no change.

    When I start up Mach3, in the status bar it reads: Application Watchdog Triggered. I don't know if that is part of the problem or not. Can you think of anything else I can try?



  7. #7
    Member
    Join Date
    Jan 2005
    Location
    USA
    Posts
    10792
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 Error when spindle stops DoSpindleStop

    Quote Originally Posted by legendarylarry View Post
    It ends with a home move, M5, and M30. The program end doesn't really matter though, because it does the same thing if I turn on the spindle with a M3 and turn it off with M5 in manual mode. I tried it with another computer and it gave an error after M5. The error message said: "Error on Line: 1 - internal error DoSpinStop".The network diagnosis found no problems so it is either in the ESS or the VFD, I think. But I have no way of checking. Programs run fine until they end. I am not sure if the problem with it stopping during arc is part of the same problem, but it was cleared up by adding a G91.1 at the first. I don't think it is an interference or noise problem because the machine next to it works fine with Mach on a different computer. But it doesn't have an ESS.
    G91.1 is not need if you control is set correct this is how your control should be set under General logic Configuration Tab

    But using this has not relationship to M5

    Write the code how you have it in the program saying you have M5 and M30 does not show how you have it formatted

    add this % at the beginning and end of the program and it all should work
    %
    --
    --
    --
    --
    M5
    M30
    %

    Attached Thumbnails Attached Thumbnails Mach3 Error when spindle stops  DoSpindleStop-j-settings-png   Mach3 Error when spindle stops  DoSpindleStop-g91-1-g90-1-png  
    Mactec54


  8. #8
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    34723
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 Error when spindle stops DoSpindleStop

    "Error on Line: 1 - internal error DoSpinStop"
    The error message you are seeing is referring to your M5 macro. Are you sure you replaced the one in your profile folder? What did you replace it with?

    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  9. #9
    Member
    Join Date
    May 2017
    Posts
    41
    Downloads
    1
    Uploads
    0

    Default Re: Mach3 Error when spindle stops DoSpindleStop

    Thanks for your response, Macteck54. My files have been generated for me by Artcam 2011. They are files that worked in the past. But when I ran them this week, they would get stuck on an arc. Adding G91.1 made them run. My General Logic Config is set up for IJK to be absolute. I have never changed it. I guess I should check Artcam's Mach3 post processor to see if it generates arcs in absolute or inc.

    As for the % thing, there is no % anywhere on any of my programs. So I added it to one, but it did the same thing at the end--error, then shutdown.



  10. #10
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    34723
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 Error when spindle stops DoSpindleStop

    G91.1 sets the IJ mode to incremental, which is what virtually all cam software uses. If you have Mach3 set to absolute, you're code will not run without the G91.1.

    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  11. #11
    Member
    Join Date
    May 2017
    Posts
    41
    Downloads
    1
    Uploads
    0

    Default Re: Mach3 Error when spindle stops DoSpindleStop

    In response to ger21:

    I replaced the m5.m1s in my Mach3/macros/router profile. I use one that was from a post on another website that suggested I replace all the spindle macros. I don't see a macro M5 (with a capital M), only the m5.m1s (with a small case m).

    I'll change IJ to inc.
    Thanks



  12. #12
    Member
    Join Date
    Jan 2005
    Location
    USA
    Posts
    10792
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 Error when spindle stops DoSpindleStop

    Quote Originally Posted by legendarylarry View Post
    Thanks for your response, Macteck54. My files have been generated for me by Artcam 2011. They are files that worked in the past. But when I ran them this week, they would get stuck on an arc. Adding G91.1 made them run. My General Logic Config is set up for IJK to be absolute. I have never changed it. I guess I should check Artcam's Mach3 post processor to see if it generates arcs in absolute or inc.

    As for the % thing, there is no % anywhere on any of my programs. So I added it to one, but it did the same thing at the end--error, then shutdown.
    I J K are always incremental it would be rare to find a cam system that does them in absolute, although some cam programs you can choose what you want to use in the post processor

    When setting up Mach3 that is one of the normal first things to change , adding the G91.1 to your program this is telling Mach3 to do it in incremental, so once you set it in Mach3 you won't need to use the G91.1

    You most likely have a problem with the M5 macro or it is not seeing the M5 for some reason as to how it is placed in your program or what is happening before it, if it is not working in MDI mode then it could be a setup problem or a messed up macro

    Using the G91.1 did not have anything to do with the M5 problem

    How do you have the spindle settings setup in Mach3, if you reinstalled the software everything will have to be checked to see if it suits the SmoothStepper

    You need to cut and paste the last part of your program here so we can try it to see if it has a problem

    Mactec54


  13. #13
    Member
    Join Date
    May 2017
    Posts
    41
    Downloads
    1
    Uploads
    0

    Default Re: Mach3 Error when spindle stops DoSpindleStop

    All the g-code *.Tap programs that I've run many times before with no problem now all give an error when the spindle shuts off. Here is my .xml.:
    KL-6090_router.xml

    I am trying to attach my .xml but I don't know how. Can someone help?



  14. #14
    Member
    Join Date
    May 2017
    Posts
    41
    Downloads
    1
    Uploads
    0

    Default Re: Mach3 Error when spindle stops DoSpindleStop

    Here is my .xml file. Change the dxf to xml.

    Attached Files Attached Files


  15. #15
    Member
    Join Date
    Jan 2005
    Location
    USA
    Posts
    10792
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 Error when spindle stops DoSpindleStop

    Quote Originally Posted by legendarylarry View Post
    All the g-code *.Tap programs that I've run many times before with no problem now all give an error when the spindle shuts off. Here is my .xml.:
    KL-6090_router.xml

    I am trying to attach my .xml but I don't know how. Can someone help?
    That does not mean the program is correctly formatted, Mach3 can run almost anything you can through at it, and run then after awhile it will decide to fail for no reason

    Mactec54


  16. #16
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    34723
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 Error when spindle stops DoSpindleStop

    Copy the m5.m1s from the Mach3\macros\Mach3mill\ folder

    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  17. #17
    Member
    Join Date
    May 2017
    Posts
    41
    Downloads
    1
    Uploads
    0

    Default Re: Mach3 Error when spindle stops DoSpindleStop

    I had already tried that but I just tried it again. Still gave an error.

    Attached Thumbnails Attached Thumbnails Mach3 Error when spindle stops  DoSpindleStop-fullsizeoutput_554-jpg  


  18. #18
    Member
    Join Date
    May 2017
    Posts
    41
    Downloads
    1
    Uploads
    0

    Default Re: Mach3 Error when spindle stops DoSpindleStop

    I just tried setting up a new profile. Still gives me an error.



  19. #19
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Township
    Posts
    34723
    Downloads
    0
    Uploads
    0

    Default Re: Mach3 Error when spindle stops DoSpindleStop

    I don't think anyone knows what those Artcode errors are. I've never seen one myself.
    Are you using the parallel port, or a motion controller?
    If the parallel port, I'd do a complete uninstall, and reinstall. There are specific instructions you need to follow when doing this, including a reboot at some point. I believe this info is in the Mach3 manual.

    Gerry

    UCCNC 2017 Screenset
    http://www.thecncwoodworker.com/2017.html

    Mach3 2010 Screenset
    http://www.thecncwoodworker.com/2010.html

    JointCAM - CNC Dovetails & Box Joints
    http://www.g-forcecnc.com/jointcam.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  20. #20
    Member
    Join Date
    May 2017
    Posts
    41
    Downloads
    1
    Uploads
    0

    Default Re: Mach3 Error when spindle stops DoSpindleStop

    I'm using an ethernet connection to a Warp9 ESS. I haven't had any response from their forum.



Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Mach3 Error when spindle stops  DoSpindleStop

Mach3 Error when spindle stops  DoSpindleStop

Mach3 Error when spindle stops  DoSpindleStop