584,865 active members*
5,061 visitors online*
Register for free
Login
Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2017
    Posts
    591

    mach3 is toggling outputs when loading gcode

    Getting some strange behavior. I have 4 macros for my mill turn setup that i use within programs. One for activating spindle brake, one for deactivating spindle brake, one for activating collet closer, and one for deactivating collet closer. Before loading a program, if i have either my brake or collet closer active and load a program that has my deactivate macros within it, it will deactivate them while loading the program. While loading i can see it running through the code backwards and pausing momentarily on the deactivate macros and it releases the brake and collet closer. This is a problem for me especially with the collet closer. Sometimes i run a program and need to then run a second program with more operations. When the closer releases, i obviously lose the accurate position of the work. Why is mach3 running macros within code while loading it? The odd thing is, its only running deactivates within macros, not activates. In an opposite situation where my collet closer and brake are deactivated and i load a file that has activates in it, nothing happens while loading. Can i prevent it from doing this?

  2. #2
    Join Date
    Mar 2003
    Posts
    35538

    Re: mach3 is toggling outputs when loading gcode

    Yes, there's a checkbox in General Config. Ignore M calls when loading.
    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)

  3. #3
    Join Date
    Nov 2017
    Posts
    591

    Re: mach3 is toggling outputs when loading gcode

    perfect! thanks

  4. #4
    Join Date
    Nov 2017
    Posts
    591

    Re: mach3 is toggling outputs when loading gcode

    another related question, mach3 also disables all outputs with estop. Not as big of a problem, but would rather outputs stay active with estop. can i do that?

  5. #5
    Join Date
    Mar 2003
    Posts
    35538

    Re: mach3 is toggling outputs when loading gcode

    Don't have a copy of Mach3 here, but I doubt it.
    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
    Join Date
    Nov 2017
    Posts
    591
    Quote Originally Posted by ger21 View Post
    Don't have a copy of Mach3 here, but I doubt it.
    Ok, not a huge deal. Only scenario is when servo spindle faults and alarms, chuck let's go. I'll consider setting up pneumatic chuck output backwards so it's normally closed and activating output opens it. Probably safer anyway in case of some failure that opens chuck during turning.

Similar Threads

  1. Mach3 autozero issues after loading GCode
    By daybowbow in forum Mach Software (ArtSoft software)
    Replies: 1
    Last Post: 11-08-2014, 11:35 AM
  2. mach3 not loading full gcode
    By shiv15uk63 in forum Mach Software (ArtSoft software)
    Replies: 0
    Last Post: 04-09-2013, 01:48 PM
  3. Mach3 parallel port outputs
    By Drools in forum Mach Software (ArtSoft software)
    Replies: 2
    Last Post: 09-10-2012, 01:12 AM
  4. Replies: 4
    Last Post: 03-22-2011, 02:05 PM
  5. Replies: 6
    Last Post: 01-12-2007, 05:42 PM

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
  •