X Carve with laser and Picengraver - only black results

Mach3, grbl, ect.
Forum rules
Be Kind to other's.
No Cussing or Swearing.
Don't post anything Illegal or Obscene.
Image attachment size limit is 500 KiB.
ErwinTuijtel
Posts: 10
Joined: Wed Feb 01, 2017 9:58 am

X Carve with laser and Picengraver - only black results

Postby ErwinTuijtel » Thu Feb 02, 2017 3:54 am

Dear fellow Engravers,

This week I bought the PicEngraver Pro 5 and Picsender software and used it in combination with my X-Carve and J-Tech 2.8W laser. I allready had some great results using Inkscape and the laser. However with the PicEngrave software I cann't get it to the right settings. I probably overlook something and I hope someone of you can help me. Here are the latest settings I used. All metric (Europe - The Netherlands).

I use a Xcarve 1000 x 1000 with GRBL1.0 c pre-installed by Inventables. The laser of Jtech 2,8 W is connected to the PWN and GDN of the X-Controller. I have used the picture of Roy Rogers as a test. In the first few test I used the GRBL PWN laser mode in PicEngraver. I have played with the feed rate (1000 to 4000 units/min), Pixel resolution a round 0,1524. Always had the max PWM on 12000 and min PWM on 0. Tried the horizontal angle and left-45 degrees . The results where all pitch black and only the really white areas where not lasered.

After reading this forum. I have tried to use the analog/PWM mode. Basically the same settings and combinations. Only I used the FRC with 25% setting. Results more or less the same. When I first used this mode I noticed my laser didn't turn on. So I manually added a M03 S0000 before the feed rate in the first few lines of code. After that it worked.

$0=10 (step pulse, usec)
$1=255 (step idle delay, msec)
$2=0 (step port invert mask:00000000)
$3=4 (dir port invert mask:00000100)
$4=0 (step enable invert, bool)
$5=0 (limit pins invert, bool)
$6=0 (probe pin invert, bool)
$10=115 (status report mask:01110011)
$11=0.020 (junction deviation, mm)
$12=0.002 (arc tolerance, mm)
$13=0 (report inches, bool)
$20=0 (soft limits, bool)
$21=0 (hard limits, bool)
$22=1 (homing cycle, bool)
$23=3 (homing dir invert mask:00000011)
$24=25.000 (homing feed, mm/min)
$25=750.000 (homing seek, mm/min)
$26=250 (homing debounce, msec)
$27=1.000 (homing pull-off, mm)
$30=12000. (rpm max)
$31=0. (rpm min)
$100=40.000 (x, step/mm)
$101=40.000 (y, step/mm)
$102=320.000 (z, step/mm)
$110=8000.000 (x max rate, mm/min)
$111=8000.000 (y max rate, mm/min)
$112=500.000 (z max rate, mm/min)
$120=500.000 (x accel, mm/sec^2)
$121=500.000 (y accel, mm/sec^2)
$122=50.000 (z accel, mm/sec^2)
$130=790.000 (x max travel, mm)
$131=790.000 (y max travel, mm)
$132=100.000 (z max travel, mm)

I hope someone can give me direction?

User avatar
Picengravertoo
Full Access Moderator
Posts: 1069
Joined: Thu Dec 18, 2014 4:02 pm
Contact:

Re: X Carve with laser and Picengraver - only black results

Postby Picengravertoo » Thu Feb 02, 2017 6:59 am

When using S commands to vary the laser power to engrave grayscale, you have to use a version of grbl that executes the S commands in real time. On this forum's main page, there is a MultiMode grbl hex file that can run both spindle & laser gcode files. There is instructions for setting up PicSender included also. Here is the download link: viewforum.php?f=33

Here is a link to X-Loader for flashing the new firmware to your UNO/controller. http://russemotto.com/xloader/

Make sure you follow the instructions for backing up your current grbl settings before flashing the new firmware.

After setting up PicSender, there are a few grbl settings that need changed to increase the performance only in the laser.txt grbl settings file.

$0=30 (step pulse, usec)
$10=18 (status report mask:01110011)
$11=0.005 (junction deviation, mm)
$120=8000.000 (x accel, mm/sec^2)
$121=8000.000 (x accel, mm/sec^2)

ErwinTuijtel
Posts: 10
Joined: Wed Feb 01, 2017 9:58 am

Re: X Carve with laser and Picengraver - only black results

Postby ErwinTuijtel » Thu Feb 02, 2017 7:19 am

Thank you for your quick reply. I didn't use this version of GRBL because the 1.0 c version was allready on the x-controller when I purchased it via a company in the UK. Is the version you talk about a diffrent one?

User avatar
Picengravertoo
Full Access Moderator
Posts: 1069
Joined: Thu Dec 18, 2014 4:02 pm
Contact:

Re: X Carve with laser and Picengraver - only black results

Postby Picengravertoo » Thu Feb 02, 2017 7:51 am

Yes, it's different. S commands were intended for spindle RPM's and there is a dwell to allow for the spindle to spin up to speed before the axis's start to move. If you have S commands on every line of gcode, it's constantly dwelling and causes the black burning you are experiencing. The MultiMode grbl 1.0c has another $32 setting to enable/disable the dwelling for laser engraving using the S commands.

When setup properly in PicSender, when you select the spindle mode, the dwelling is enabled with the $32=0 and when selecting the laser mode it disables the dwelling with a $32=1. It does this automatically without anymore input from you after setting it up properly. In laser mode the settings are $30=255 & $31=0, so in PicEngrave you need to use a Min 0 to Max 255 range instead. The $30, $31 and $32 settings are explained in the readme.pdf from Larry.

https://discuss.inventables.com/t/xcarv ... 2016/28943

ErwinTuijtel
Posts: 10
Joined: Wed Feb 01, 2017 9:58 am

Re: X Carve with laser and Picengraver - only black results

Postby ErwinTuijtel » Thu Feb 02, 2017 9:59 am

Ok. I am trying to install the HEX. However I do not succeed. I have tried it via my windows machine with Xloader and via IOS with HEXLoader. The XLoader does nothing (still updating after 25 min) and in HexLoader I get the following error.

avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

Is there someone who has overcome this problem?

User avatar
Picengravertoo
Full Access Moderator
Posts: 1069
Joined: Thu Dec 18, 2014 4:02 pm
Contact:

Re: X Carve with laser and Picengraver - only black results

Postby Picengravertoo » Thu Feb 02, 2017 5:29 pm

Do you have the device set for a UNO with X-Loader and the correct com port with a 115200 Baud Rate?

ErwinTuijtel
Posts: 10
Joined: Wed Feb 01, 2017 9:58 am

Re: X Carve with laser and Picengraver - only black results

Postby ErwinTuijtel » Fri Feb 03, 2017 4:09 am

Yes I did. I have set it on the same settings wich I use normally when I controll my Xcarve.

User avatar
Picengravertoo
Full Access Moderator
Posts: 1069
Joined: Thu Dec 18, 2014 4:02 pm
Contact:

Re: X Carve with laser and Picengraver - only black results

Postby Picengravertoo » Fri Feb 03, 2017 4:30 am

I have had the X-Loader lock up a couple of times and had to use the Task Manager to close it, but the next time I tried it worked. I'm not sure what is the issue your having with it.

User avatar
Picengraver
Full Access Moderator
Posts: 270
Joined: Tue Dec 23, 2014 5:40 pm
Contact:

Re: X Carve with laser and Picengraver - only black results

Postby Picengraver » Sat Feb 04, 2017 4:36 pm

Maybe it is obvious, but did you unzip the hex file and save it as a .hex file?
If X-Loader balks, then it is necessary to shut it down, click the reset button on the Arduino and restart again with X-Loader.
John

walkerdata
Posts: 1
Joined: Sat Jan 14, 2017 12:47 am

Re: X Carve with laser and Picengraver - only black results

Postby walkerdata » Sat Feb 04, 2017 4:54 pm

Also make sure that no other program has the port open. (PicSender, Easel, etc.)


Return to “CNC Controller Discussions”

Who is online

Users browsing this forum: No registered users and 3 guests