Machsupport Forum

G-Code, CAD, and CAM => G-Code, CAD, and CAM discussions => Topic started by: KLJ on February 23, 2018, 07:43:18 PM

Title: Jogging in Mach3 while paused using M0
Post by: KLJ on February 23, 2018, 07:43:18 PM
Hi,

Thank you in advance for your help.

About 5 years ago I loaded Mach3 into a PC to control a CNC router.  I wrote G code files to control the machine and used M0 to pause the program while the spindle is still running.  I then was able to jog the spindle a safe distance away and secure the pattern that I was cutting with retaining screws. Upon completing this I could resume operating the file and the spindle would automatically travel back to its original location (the coordinates on the line prior to the M0 command).

I had a problem with the motherboard in the old PC and so replaced the computer.  In the meantime I licensed another copy of Mach3.  Now when the program pauses at the M0 command I am unable to jog the spindle. 

Has the Mach3 program been altered in the intervening 5 years to disable the jogging function while the M0 command is active?

I have written at least several hundred G-code programs in the meantime and would like to avoid having to alter all of them to accommodate such a change.
Title: Re: Jogging in Mach3 while paused using M0
Post by: joeaverage on February 23, 2018, 08:56:35 PM
Hi,
to my knowledge development on Mach3 ceased five years ago, so no it has not been re-written.

The latest build is 066 however many believe it to be buggy and prefer 062.

I rather suspect that there is some setting you are overlooking rather than a change in Mach3. As to what setting, I don't know, I upgraded to Mach4 about 18 months
ago.

Craig
Title: Re: Jogging in Mach3 while paused using M0
Post by: KLJ on February 23, 2018, 10:40:39 PM
Thank you, Craig.
Title: Re: Jogging in Mach3 while paused using M0
Post by: KLJ on February 24, 2018, 09:32:54 AM
Hi,
to my knowledge development on Mach3 ceased five years ago, so no it has not been re-written.

The latest build is 066 however many believe it to be buggy and prefer 062.

I rather suspect that there is some setting you are overlooking rather than a change in Mach3. As to what setting, I don't know, I upgraded to Mach4 about 18 months
ago.

Craig

Hi Craig,

Yes, the current version where the jogging does not work is 066.  I used an external sata drive enclosure to examine the version in use five years ago and it is: Version R3.043.022.  It appears to have been bundled with a UC100 controller.  I am using a new UC100 controller with the 066.  Perhaps this is involved.  Can you or another member confirm that you can or cannot jog while an M0 command is in effect with 066 or 062?  What about when you use Mach4?  Thanks!

Edit: I should mention that I believe the original UC100 controller to be genuine (I have the serial number and can provide photos).  I went to pains to assure that the new UC100 controller is genuine.
Title: Re: Jogging in Mach3 while paused using M0
Post by: Chaoticone on February 24, 2018, 09:45:32 AM
Being able to jog while Gcode was active was actually considered a bug and fixed in later versions. This is a perfect example of how a bug for some is considered a feature by others.

If your UC100 plugin will work with the older version using that older version is what you will need to do to take advantage of that bug (feature). Really the proper and industry standard fix would be to edit your Gcode but I can understand not wanting to do that.
Title: Re: Jogging in Mach3 while paused using M0
Post by: KLJ on February 24, 2018, 09:57:33 AM
Being able to jog while Gcode was active was actually considered a bug and fixed in later versions. This is a perfect example of how a bug for some is considered a feature by others.

If your UC100 plugin will work with the older version using that older version is what you will need to do to take advantage of that bug (feature). Really the proper and industry standard fix would be to edit your Gcode but I can understand not wanting to do that.

Thank you for confirming that.  I have read the discussions about it being undesireable.  I am just trying to be methodical and determine whether what I am experiencing is somehow an artifact of my equipment or software. 

Yesterday I noticed that Yahoo mail was backing up and replacing "K" with "to" although I could copy and paste "K" with no problem.  Then years ago while using Paradox I entered a customer name which promptly crashed the system.  Nice.
Title: Re: Jogging in Mach3 while paused using M0
Post by: Chaoticone on February 24, 2018, 09:17:59 PM
No problem, hope you get it sorted soon.
Title: Re: Jogging in Mach3 while paused using M0
Post by: KLJ on February 25, 2018, 09:08:40 AM
No problem, hope you get it sorted soon.

Yes, the jogging "feature" works with the older version of Mach3 while M0 is in effect.  I am not sure what the etiquette or rules are here -- is it possible to upload this old version in case someone else wants to use this "feature"? 
Title: Re: Jogging in Mach3 while paused using M0
Post by: Chaoticone on February 25, 2018, 02:07:03 PM
Quote
is it possible to upload this old version in case someone else wants to use this "feature"?

As far as I know it has bee on the FTP all along.

ftp://ftp.machsupport.com/Mach3/ (ftp://ftp.machsupport.com/Mach3/)
Title: Re: Jogging in Mach3 while paused using M0
Post by: KLJ on February 25, 2018, 04:43:18 PM
Chaoticone and Craig,

Thank you very much for your help!


When I purchased the machine I traveled to the city it was located and insisted that the supplier configure my PC to run the machine under Mach3.  He did and that lasted until the PC died last week.

I am glad that you mentioned the standards for writing G-code.  A couple years ago I took a software development class and one of the surprising take-aways was the instructor's strong expression of desirable and undesirable styles of writing code.  I plan on purchasing a text on how to program G-code more professionally (any suggestions?).   I had been using a very brief reference from the supplier of my first CNC machine obtained 16 years ago.  That was a real learning experience (trial by fire) where a large collection of parts arrived and (apparently) their assembly was assumed to be intuitively obvious for any Professional Engineer. That experience was why I demanded a ready to run machine the second time around as I had numerous other tasks in my business demanding my time.

Again, thank you both!
Title: Re: Jogging in Mach3 while paused using M0
Post by: Chaoticone on February 25, 2018, 10:14:59 PM
No problem, glad your making progress.

The CNC programming handbook 3rd edition by Peter Smid is considered the G-Code Bible by most.

You can also find a lot of good information on line. CNCcookbook and Wikipedia are just a couple.

Title: Re: Jogging in Mach3 while paused using M0
Post by: joeaverage on February 25, 2018, 10:19:46 PM
Hi,
Peter Smid's CNC Handbook is drier than the Sahara but is to my thinking 'the authoritive source'/

Craig