Strange behavior with X-Carve, Chilipeppr, and V-Carve

I’m having a ton of problems exporting gcode from both Aspire 8.0 and VCarve Pro 6 to use with my X-Carve. I export using the inch post processor for X-Carve, drag and drop into Chilipeppr, and everything looks good in my preview window. I think I might be missing a step or have something misconfigured. Hopefully someone can help shine some light on it,

Here is the vector and toolpath preview in Aspire.

And here is the Chilipeppr preview window with the gcode loaded:

The output of my machine isn’t anything like in either of these windows (I taped a sharpie to my spindle):

This is as far is it ran before Chilipeppr got an invalid character error and it was time for dinner. Does anyone recognize what my problems is?

Have you been able to carve other projects from Aspire/Vcarve correctly, or does every Gcode file from Aspire/Vcarve give odd results like this?

More easier test, do you want to try simple circle and square to see if you get the good result. Seems like one of your pulley set screw just gave up, or one of your belt. This is more likely mechanical, Gcode errors dives you into material. You have only X or Y error.

This past Sunday I did have an issue where the machine ran to the middle of the work piece and dug right in, binding X and Y and breaking a v wheel on the Z axis. That was in the middle of troubleshooting this problem.

Yesterday I did the marker on the spindle thing and was able to get Aspire to draw a round circle of the right size.I just tried to have it draw three concentric circles and squares, but now I get an unsupported command when using the X-Carve pp gcode in Chilipeppr. I got about 1/4 of the first circle.

Troubleshooting steps I have taken tonight are check all of the v wheels and belts to make sure everything is snug, everything was except for one v wheel on the x axis was missing it’s eccentric nut. It has been replaced and threadlocked.

OK, I made a circle in Easel, marker “carved” it and it ran fine. I then exported the gcode to an .nc file, opened that file in Chilipeppr, and got the crazy results. Below are the two runs, and a screen capture from Chilipeppr. I guess this rules out mechanical issues and Aspire/VCarve? What is Chilipeppr doing?!

Hi Zach,

Serial console shows an error right after the last command that might be a clue?

Or share that simple circle .nc file and I’ll take a look.

One question though. Have you successfully used Chilipeppr before and this is a new issue?

Cheers

Ian

Not a solution but same problem/description here: Shapeoko CNC Router, Rigid, Accurate, Reliable, and Affordable

Grbl thinks it’s getting repeated commands?

I have not gotten Chilipeppr to work successfully yet. I’m trying to use it because it seems more intuitive than UGS, which I haven’t gotten to work either.

Here is the gcode. It’s a little long, I think it had about 8 passes.

T1M6
G17
G20
G0 Z0.8000
G0 X0.0000 Y0.0000 S12000 M3
G0 X1.9169 Y1.9087 Z0.2000
G1 Z-0.0333 F10.0
G2 X0.3705 Y3.4551 I0.0000 J1.5464 F40.0
G2 X1.9169 Y5.0015 I1.5464 J0.0000
G2 X3.4633 Y3.4551 I0.0000 J-1.5464
G2 X1.9169 Y1.9087 I-1.5464 J0.0000
G1 Z-0.0667 F10.0
G2 X0.3705 Y3.4551 I0.0000 J1.5464 F40.0
G2 X1.9169 Y5.0015 I1.5464 J0.0000
G2 X3.4633 Y3.4551 I0.0000 J-1.5464
G2 X1.9169 Y1.9087 I-1.5464 J0.0000
G1 Z-0.1000 F10.0
G2 X0.3705 Y3.4551 I0.0000 J1.5464 F40.0
G2 X1.9169 Y5.0015 I1.5464 J0.0000
G2 X3.4633 Y3.4551 I0.0000 J-1.5464
G2 X1.9169 Y1.9087 I-1.5464 J0.0000
G0 Z0.2000
G0 X1.9169 Y2.4087 Z0.2000
G1 Z-0.0333 F10.0
G2 X0.8705 Y3.4551 I0.0000 J1.0464 F40.0
G2 X1.9169 Y4.5015 I1.0464 J0.0000
G2 X2.9633 Y3.4551 I0.0000 J-1.0464
G2 X1.9169 Y2.4087 I-1.0464 J0.0000
G1 Z-0.0667 F10.0
G2 X0.8705 Y3.4551 I0.0000 J1.0464 F40.0
G2 X1.9169 Y4.5015 I1.0464 J0.0000
G2 X2.9633 Y3.4551 I0.0000 J-1.0464
G2 X1.9169 Y2.4087 I-1.0464 J0.0000
G1 Z-0.1000 F10.0
G2 X0.8705 Y3.4551 I0.0000 J1.0464 F40.0
G2 X1.9169 Y4.5015 I1.0464 J0.0000
G2 X2.9633 Y3.4551 I0.0000 J-1.0464
G2 X1.9169 Y2.4087 I-1.0464 J0.0000
G0 Z0.2000
G0 X1.9169 Y2.9087 Z0.2000
G1 Z-0.0333 F10.0
G2 X1.3705 Y3.4551 I0.0000 J0.5464 F40.0
G2 X1.9169 Y4.0015 I0.5464 J0.0000
G2 X2.4633 Y3.4551 I0.0000 J-0.5464
G2 X1.9169 Y2.9087 I-0.5464 J0.0000
G1 Z-0.0667 F10.0
G2 X1.3705 Y3.4551 I0.0000 J0.5464 F40.0
G2 X1.9169 Y4.0015 I0.5464 J0.0000
G2 X2.4633 Y3.4551 I0.0000 J-0.5464
G2 X1.9169 Y2.9087 I-0.5464 J0.0000
G1 Z-0.1000 F10.0
G2 X1.3705 Y3.4551 I0.0000 J0.5464 F40.0
G2 X1.9169 Y4.0015 I0.5464 J0.0000
G2 X2.4633 Y3.4551 I0.0000 J-0.5464
G2 X1.9169 Y2.9087 I-0.5464 J0.0000
G0 Z0.2000
G0 X4.9536 Y2.5000 Z0.2000
G1 Z-0.0333 F10.0
G1 Y5.5000 F40.0
G2 X5.0000 Y5.5464 I0.0464 J0.0000
G1 X8.0000
G2 X8.0464 Y5.5000 I0.0000 J-0.0464
G1 Y2.5000
G2 X8.0000 Y2.4536 I-0.0464 J0.0000
G1 X5.0000
G2 X4.9536 Y2.5000 I0.0000 J0.0464
G1 Z-0.0667 F10.0
G1 Y5.5000 F40.0
G2 X5.0000 Y5.5464 I0.0464 J0.0000
G1 X8.0000
G2 X8.0464 Y5.5000 I0.0000 J-0.0464
G1 Y2.5000
G2 X8.0000 Y2.4536 I-0.0464 J0.0000
G1 X5.0000
G2 X4.9536 Y2.5000 I0.0000 J0.0464
G1 Z-0.1000 F10.0
G1 Y5.5000 F40.0
G2 X5.0000 Y5.5464 I0.0464 J0.0000
G1 X8.0000
G2 X8.0464 Y5.5000 I0.0000 J-0.0464
G1 Y2.5000
G2 X8.0000 Y2.4536 I-0.0464 J0.0000
G1 X5.0000
G2 X4.9536 Y2.5000 I0.0000 J0.0464
G0 Z0.2000
G0 X5.4536 Y3.0000 Z0.2000
G1 Z-0.0333 F10.0
G1 Y5.0000 F40.0
G2 X5.5000 Y5.0464 I0.0464 J0.0000
G1 X7.5000
G2 X7.5464 Y5.0000 I0.0000 J-0.0464
G1 Y3.0000
G2 X7.5000 Y2.9536 I-0.0464 J0.0000
G1 X5.5000
G2 X5.4536 Y3.0000 I0.0000 J0.0464
G1 Z-0.0667 F10.0
G1 Y5.0000 F40.0
G2 X5.5000 Y5.0464 I0.0464 J0.0000
G1 X7.5000
G2 X7.5464 Y5.0000 I0.0000 J-0.0464
G1 Y3.0000
G2 X7.5000 Y2.9536 I-0.0464 J0.0000
G1 X5.5000
G2 X5.4536 Y3.0000 I0.0000 J0.0464
G1 Z-0.1000 F10.0
G1 Y5.0000 F40.0
G2 X5.5000 Y5.0464 I0.0464 J0.0000
G1 X7.5000
G2 X7.5464 Y5.0000 I0.0000 J-0.0464
G1 Y3.0000
G2 X7.5000 Y2.9536 I-0.0464 J0.0000
G1 X5.5000
G2 X5.4536 Y3.0000 I0.0000 J0.0464
G0 Z0.2000
G0 X5.9536 Y3.5000 Z0.2000
G1 Z-0.0333 F10.0
G1 Y4.5000 F40.0
G2 X6.0000 Y4.5464 I0.0464 J0.0000
G1 X7.0000
G2 X7.0464 Y4.5000 I0.0000 J-0.0464
G1 Y3.5000
G2 X7.0000 Y3.4536 I-0.0464 J0.0000
G1 X6.0000
G2 X5.9536 Y3.5000 I0.0000 J0.0464
G1 Z-0.0667 F10.0
G1 Y4.5000 F40.0
G2 X6.0000 Y4.5464 I0.0464 J0.0000
G1 X7.0000
G2 X7.0464 Y4.5000 I0.0000 J-0.0464
G1 Y3.5000
G2 X7.0000 Y3.4536 I-0.0464 J0.0000
G1 X6.0000
G2 X5.9536 Y3.5000 I0.0000 J0.0464
G1 Z-0.1000 F10.0
G1 Y4.5000 F40.0
G2 X6.0000 Y4.5464 I0.0464 J0.0000
G1 X7.0000
G2 X7.0464 Y4.5000 I0.0000 J-0.0464
G1 Y3.5000
G2 X7.0000 Y3.4536 I-0.0464 J0.0000
G1 X6.0000
G2 X5.9536 Y3.5000 I0.0000 J0.0464
G0 Z0.2000
G0 Z0.8000
G0 X0.0000 Y0.0000

Zach,

Is this the export of the simple circle job from within Easel?

Cheers

Ian

Yes, Ian, this is the .nc gcode file exported directly from Easel.

OK, strange one.

The GCode above gives me the view in Chilipeppr below, i.e three concentric circles and three concentric squares.

I think that was my mistake. Here is the correct gcode from easel for the test circle.

T1M6
G17
G20
G0 Z0.8000
G0 X0.0000 Y0.0000 S12000 M3
G0 X1.1428 Y2.7863 Z0.2000
G1 Z-0.1000 F30.0
G2 X3.2678 Y4.9113 I2.1250 J0.0000 F100.0
G2 X5.3928 Y2.7863 I0.0000 J-2.1250
G2 X3.2678 Y0.6613 I-2.1250 J0.0000
G2 X1.1428 Y2.7863 I0.0000 J2.1250
G0 Z0.2000
G0 Z0.8000
G0 X0.0000 Y0.0000
M30

Ahh, that looks more like it. Loads OK in Chilipeppr just won’t be able to actually run it until the morning.

I must admit I’m confused too. You have I and J instructions in there plus starts with a tool change (T1M6) and code has G2 commands in there.

If I do a single pass, small circle in Easel my exported gcode looks like this:

G20
G90
G1 Z0.15000 F9.0
M3 S18000
G1 Z0.15000 F9.0
G0 X1.26570 Y1.00049
G1 Z-0.10000 F9.0
G1 X1.26570 Y1.00049 F30.0
G1 X1.28652 Y1.00268 F30.0
G1 X1.30709 Y1.00661 F30.0
G1 X1.32725 Y1.01224 F30.0
< removed some lines here to not flood the forum >
G1 X1.22387 Y1.00137 F30.0
G1 X1.24476 Y1.00005 F30.0
G1 X1.26570 Y1.00049 F30.0
G1 Z0.15000 F9.0
M5
G0 X0.00000 Y0.00000

I wonder if there something weird about your Easel setup. Wonder if Jeff has any ideas? @JeffTalbot

Cheers

Ian

Just to be safe and eliminate a variable, you might delete that x-carve post processor. Download the new ones (both incha and mm) available here and try this again. On the surface, this looks like a post processor issue. And if not, it will only take a minute or two to try this.

Yeah, that does not look like Easel-generated g-code.

Didn’t want to say that as wasn’t sure, but my thoughts as well. Thanks Jeff.

Zach, Earwigger has suggested this might be a post processor issue in the other software you are using not an Easel issue. Maybe try that and get that sorted first? Then worry about getting the job working in Chilipeppr.

Cheers

Ian

I’ve finally narrowed it down to a problem with Chilipeppr. I made a bunch of tests and the common factor is Chilipeppr. I did the basic circle again, this time making sure I was using the correct file exported from Easel. It run fine in Easel, and then does the crazy lines across the shape when imported into Chilipeppr. I’ve switched to UGS 2.0 nightly build and it ran just fine. Now I’m doing one of my more complicated carves from Aspire using UGS 2.0, and everything looks good so far! Thanks for your help, guys!

Uploading IMG_20151108_171220688.jpg…

@ZachWinning I had a similar problem.

should be able to run it properly by following these steps:

  1. Plug in the x-carve. An arduino should appear in the lower right section of the screen (if you have a json port server installed)
  2. There will be a drop down list above the port number,change it from “default” to “grbl”
  3. Hit the checkmark next to the arduino to connect.

G-code execution should match the preview, but do an air-run just to make sure! Hope this helps!