Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: Segrest on February 27, 2007, 09:14:02 PM

Title: G-Code not loading correctly?
Post by: Segrest on February 27, 2007, 09:14:02 PM
Hello Everyone,

I am running Mach3 on two machines.  On the machine where I do my CAD/CAM work I run Mach3 in simulation mode (without any device driver).  The second machine is my shoptask and is equipped with three stepper drives.

For the most part everything is working well.  But I am seeing an odd problem that I'm hoping someone can help me resolve.

I can work out a design in my CAD system, generate a G-Code file and it looks great when loaded into Mach3 on my CAD system.

But when I take the same G-Code file and load it on my shoptask machine, it looks all screwed up.  I thought at first it might be because I had only a minimal amount of memory in the latter machine, but it has been upgraded to a full 2 Gigs and the problem still exists.

In the two attached files you can see a screenshot on the CAD system, a screenshot on the machine system and a copy of the G-Code.

Any ideas?

Bob
Title: Re: G-Code not loading correctly?
Post by: ger21 on February 27, 2007, 10:23:20 PM
Upload the pics separately, not everyone has Word and can see them. If you're getting large circles in the display, your IJ mode may be set wrong.
Title: Re: G-Code not loading correctly?
Post by: Segrest on February 27, 2007, 10:36:19 PM
Ok, I'm game....

What is "IJ mode" and where do I look to see how it is set?

Bob
Title: Re: G-Code not loading correctly?
Post by: ger21 on February 27, 2007, 11:08:22 PM
Depending on what version you're running, either Config>State or Config>General Config.
Title: Re: G-Code not loading correctly?
Post by: Segrest on February 27, 2007, 11:21:22 PM
Ok,

I took a look and the IJ Mode is set to "Inc" on both systems.  Should it be set to Absolute?

If this is the problem, why would the loaded G-Code look different on the two systems?

Bob
Title: Re: G-Code not loading correctly?
Post by: Segrest on February 27, 2007, 11:38:06 PM
OK,

I think I have it working...  I took a look at my CAD/CAM application and found that it can be configured to output either absolute or incremental coordinates.  I changed the setting to incremental and this seems to have resolved the problem.

Thank you for your help.  I don't think I would have figured this one out on my own...

Bob Segrest