Hello Guest it is October 18, 2019, 03:18:10 PM

Author Topic: Mach3 Error when running G-code  (Read 3217 times)

0 Members and 1 Guest are viewing this topic.

Offline Gordo

*
  •  17 17
    • View Profile
Mach3 Error when running G-code
« on: February 04, 2018, 07:43:38 PM »
Hi
I have built my own CNC machine (Dave Gatton Sidewinder. I am trying to cut a clip art drawing of a Lions head. The program starts and runs great, and when it is just about finished I get an error saying "Command to Long" the screen goes blank and stops the process. Can any one help me with this problem.
Thanks

Offline Tweakie.CNC

*
  • *
  •  7,951 7,951
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Mach3 Error when running G-code
« Reply #1 on: February 05, 2018, 02:12:32 AM »
If you .zip then attach your Gcode file it can be checked for errors.

Which motion controller are you using (make and model) ?

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.

Offline Gordo

*
  •  17 17
    • View Profile
Re: Mach3 Error when running G-code
« Reply #2 on: February 05, 2018, 07:26:09 PM »
Here is the G-Code Zip file
Thanks for the reply
I am going to try to split the Tool paths in 2 to see if that works

Offline Gordo

*
  •  17 17
    • View Profile
Re: Mach3 Error when running G-code
« Reply #3 on: February 05, 2018, 08:46:30 PM »
Sorry
I am using Mach 3 and the controller is xylotex 4AX-40V-425-DB. Hope this helps.

Offline Tweakie.CNC

*
  • *
  •  7,951 7,951
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Mach3 Error when running G-code
« Reply #4 on: February 06, 2018, 03:51:50 AM »
Hi Gordo,

Your Gcode file runs through to the end just fine here so nothing wrong with that.

We had a similar problem to the one you are describing some years back when graphics memory was limited. If you are up for a bit of experimentation then try turning off the Toolpath Display (Diagnostics window) and running your Gcode file again. If it completes successfully then it indicates that you need more graphics memory.

Now that graphics cards with 1 Gig or greater are cheap and readily available perhaps fitting one of those would be the way to go.

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.

Offline Gordo

*
  •  17 17
    • View Profile
Re: Mach3 Error when running G-code
« Reply #5 on: February 06, 2018, 01:03:34 PM »
I disconnected the wifi from the computer and the G-code ran threw to the end. I made the cut and to my surprise it was smaller than expected. The stock was 15" x 15" and the Lion and circle came out with a diameter of 6"1/2 ", can anyone help me with this issue.
Thanks

Offline TPS

*
  •  1,389 1,389
    • View Profile
Re: Mach3 Error when running G-code
« Reply #6 on: February 06, 2018, 02:51:21 PM »
just have a look into your GCode file, for example the big circle:

N239020G2X0.3354Y-6.0715I-6.0636J0.4566F100.0
N239030G1Z-0.6450
N239040G1X0.1678Y-6.0785
N239050G1X0.0000Y-6.0808
N239060G1X-0.2938Y-6.0737
N239070G1X-0.5870Y-6.0524
N239080G1Z-0.7700F30.0
N239090G2X-6.0636Y-0.4566I0.5870J6.0524F100.0
N239100G1Z-0.6450
N239110G1X-6.0765Y-0.2284
N239120G1X-6.0808Y0.0000
N239130G1X-6.0764Y0.2313
N239140G1X-6.0632Y0.4623
N239150G1Z-0.7700F30.0
N239160G2X-0.6194Y6.0492I6.0632J-0.4623F100.0
N239170G1Z-0.6450
N239180G1X-0.4134Y6.0667
N239190G1X-0.2068Y6.0773
N239200G1X0.0000Y6.0808
N239210G1X0.2950Y6.0736
N239220G1Z-0.7700F30.0
N239230G2X6.0634Y0.4594I-0.2950J-6.0736F100.0

the ist nothing bigger than 6.something Inch

also if you have a look in Standard Screen set (1024 -> tool path)  for the
Programm Limits, they are +/- 6.08",

so why should  the result be bigger than this ?




anything is possible, just try it.
if you find some mistakes, in my bad bavarian english,they are yours.
Re: Mach3 Error when running G-code
« Reply #7 on: February 06, 2018, 03:26:26 PM »
I made the cut and to my surprise it was smaller than expected. The stock was 15" x 15" and the Lion and circle came out with a diameter of 6"1/2 ", can anyone help me with this issue.
Thanks

Is there any scaling in effect ?
Are you sure your steps per unit are set correctly ?
Should come out to about 12" diameter.  From -6 to +6 in x and y.

Nice lion, btw ... I think I'll keep it  ;), Thanks

Offline Gordo

*
  •  17 17
    • View Profile
Re: Mach3 Error when running G-code
« Reply #8 on: February 06, 2018, 04:10:25 PM »
How do I check scaling
How do I check steps per unit

Offline Gordo

*
  •  17 17
    • View Profile
Re: Mach3 Error when running G-code
« Reply #9 on: February 06, 2018, 05:06:53 PM »
Hi
When I measure the stock on the 2D drawing screen it is 15" x 15"
When i measure the Lion the Dia is 9.33"
When I measure the the circle the Dia is 11.66 "
I am not sure were the problem is. In Vcarve or Mach3.

Any help would be appreciated.