Author Topic: Laserweb3  (Read 12428 times)

Agastar

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1878
    • View Profile
Re: Laserweb3
« Reply #30 on: October 14, 2016, 09:38:01 AM »
The only other thing I changed was $10=3. For some reason it was set to $10=1 and Laserweb3 didn't like that. With those two changes it started working again for me.

beikeland

  • Guest
Re: Laserweb3
« Reply #31 on: October 16, 2016, 04:58:18 AM »
While the 1.1c (the beta) works with LaserWeb3 it does not fully take adavantage of the new laser mode, at least not for rastering it seems. I briefly tested T2 to see if the continiued stuttering after enableing Grbls new lasermode with $32=1 was due to software or firmware. T2 rans smooth with lasermode enabled, laserweb3 did not.

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5997
    • View Profile
    • T2Laser
Re: Laserweb3
« Reply #32 on: October 16, 2016, 05:25:10 AM »
Did you use v1.3g? Since the only report I've had is "nothing worked" I'm a little worried  :-\

beikeland

  • Guest
Re: Laserweb3
« Reply #33 on: October 16, 2016, 05:36:01 AM »
No, I just briefly tried 1.3f as it was the first download in the T2 sw thread i found, and the feedback provided there was also based on that.

Left a sample img of an small engraving on glass over in that glass thread, only run i did, to compare the stuttering in lasermode. T2 was much smoother than LW3

beikeland

  • Guest
Re: Laserweb3
« Reply #34 on: October 16, 2016, 03:41:39 PM »
Cant say for sure but seems that removing the laser on/laser off command from LW3 settings improves the motion a little with Grbl 1.1c, I still think there is room for improvement, maybe I need to look at my acceleration settings or something.

But the generated G code contains enough S0 and Sn commands to turn the laser off when needed without the M codes. M codes will be needed at the beginning and end of course. Added S0 and M3 to the start codes, then M5 to end codes.

Agastar

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1878
    • View Profile
Re: Laserweb3
« Reply #35 on: October 16, 2016, 04:12:44 PM »
I thought that as well and I removed them but the problem didn't go away. I did however place the gcode into T2Laser and the problem went away. Same code from Laserweb3 didn't have a problem in T2L.

beikeland

  • Guest
Re: Laserweb3
« Reply #36 on: October 16, 2016, 05:35:32 PM »
Interesting, having the laser on windows is a bit of a chore atm, so I only did the one test on T2. Sounds like I should squeeze on another test.

For now I'm just trying the the thing square, went over everything with a square and tightened belts some, but I'm still getting wavy lines along my X axis and straight lines along my Y axis. Almost at the point where i disassemble the aluminum extrusion to check if its actually straight.

I thought the broken sections in the grid may have been due to small changes in height/focus, but same result when using a pane of glass to press the paper flat to the surface.

There is nothing in the rather plain g code to cause the breaks I presume? Having read that T2 actually sends things differently I guess I'll have to test the same code with T2 and UGS.

Code below, and picture attached. (Pictured corrected for perspective along Y to square it up, but its pretty representative for the result). The really strange part is thats is extremely repeatable, impossible to tell if I home the machine and run a second pass with the same code.

Any suggestions?

Code: [Select]
G0 F1500
S0
M3
G0 X0 Y0 F1500
S255
G1 X0 Y170 F1500

S0
G0 X10 Y170 F1500
S255
G1 X10 Y0 F1500

S0
G0 X20 Y0 F1500
S255
G1 X20 Y170 F1500

S0
G0 X30 Y170 F1500
S255
G1 X30 Y0 F1500

S0
G0 X40 Y0 F1500
S255
G1 X40 Y170 F1500

S0
G0 X50 Y170 F1500
S255
G1 X50 Y0 F1500

S0
G0 X60 Y0 F1500
S255
G1 X60 Y170 F1500

S0
G0 X70 Y170 F1500
S255
G1 X70 Y0 F1500

S0
G0 X80 Y0 F1500
S255
G1 X80 Y170 F1500

S0
G0 X90 Y170 F1500
S255
G1 X90 Y0 F1500

S0
G0 X100 Y0 F1500
S255
G1 X100 Y170 F1500

S0
G0 X110 Y170 F1500
S255
G1 X110 Y0 F1500

S0
G0 X120 Y0 F1500
S255
G1 X120 Y170 F1500

S0
G0 X130 Y170 F1500
S255
G1 X130 Y0 F1500

S0
G0 X140 Y0 F1500
S255
G1 X140 Y170 F1500

(do horizontal lines)
S0
G0 X140 Y170 F1500
S255
G1 X0 Y170 F1500

S0
G0 X0 Y160 F1500
S255
G1 X140 Y160 F1500

S0
G0 X140 Y150 F1500
S255
G1 X0 Y150 F1500

S0
G0 X0 Y140 F1500
S255
G1 X140 Y140 F1500

S0
G0 X140 Y130 F1500
S255
G1 X0 Y130 F1500

S0
G0 X0 Y120 F1500
S255
G1 X140 Y120 F1500

S0
G0 X140 Y110 F1500
S255
G1 X0 Y110 F1500

S0
G0 X0 Y100 F1500
S255
G1 X140 Y100 F1500

S0
G0 X140 Y90 F1500
S255
G1 X0 Y90 F1500

S0
G0 X0 Y80 F1500
S255
G1 X140 Y80 F1500

S0
G0 X140 Y70 F1500
S255
G1 X0 Y70 F1500

S0
G0 X0 Y60 F1500
S255
G1 X140 Y60 F1500

S0
G0 X140 Y50 F1500
S255
G1 X0 Y50 F1500

S0
G0 X0 Y40 F1500
S255
G1 X140 Y40 F1500

S0
G0 X140 Y30 F1500
S255
G1 X0 Y30 F1500

S0
G0 X0 Y20 F1500
S255
G1 X140 Y20 F1500

S0
G0 X140 Y10 F1500
S255
G1 X0 Y10 F1500

S0
G0 X0 Y0 F1500
S255
G1 X140 Y0 F1500


S0
G0 X0 Y0 F1500
M5

Administrator

  • Administrator
  • Hero Member
  • *****
  • Posts: 2765
  • Administrator
    • View Profile
Re: Laserweb3
« Reply #37 on: October 16, 2016, 05:43:27 PM »
Check the screws securing all your stepper motors. I found one was loose on my machine.

Check the nuts on each roller wheel axle...I found several that were not snug on mine.

The belts should be firm to the touch such that you can push in on a belt 'about' 1/4 of an inch. If you can't push in that much your belt is too tight. If you can push in more than that, it's too loose.

I mixed up some epoxy glue and put a dab on all four laser legs to bond my machine down to my work bench so it would not move at all.

If you still have leveling/square issues, then do what I had to do: remove all the belts, hope you installed easy on/easy off belt anchors  ;) and manually turn (slowly) each stepper pulley...one of mine did not turn smoothly so I had to replace it. That was my main problem.

These steps solved my problem and probably will solve yours too.
« Last Edit: October 16, 2016, 05:44:50 PM by Administrator »
Admin -- Ralph -- support @ BenCutLaser dot us
https://www.dropbox.com/s/qv1qee2vb65785t/SetupBenCutLaser3.2a.zip?dl=0
BCL Paid license: $49.95
via Paypal to bclpp@primemail.com

beikeland

  • Guest
Re: Laserweb3
« Reply #38 on: October 16, 2016, 05:58:43 PM »
That sounds like pretty much everything I just did today. Except I put some tape on the machine and placed it in hot glue - but it won't budge, until i put some isopropanol on the hot glue while the tape protects the machine from the solvent. And I didn't spin the steppers, so I guess I''ll be repeating everything tomorrow and test the steppers as well.

Going by memory 1/4" sounds about right for the tension I got, and sadly no, no easy anchors yet.

I put some rubber bands on the bolts for the rollers to keep them snug on the alu profiles while i tightened them down. Zip tied off a portion of the band to get some good tension too.

Thanks for the tips tho!

ggallant571

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2284
    • View Profile
Re: Laserweb3
« Reply #39 on: October 16, 2016, 06:43:43 PM »
I know it won't help anything get better but attached is my grid test gcode file. Looks re markedly like yours. Some deviations:

   1. Smaller 70mm x 70mm as I have an A5 frame
   2. You don't need Fxxxx on every line
   3. Sx on line with X,Y motion
   4. Power is 25 out of 255. I use neon colored card stock for test prints. Cheaper than wood
       and the top color burns off with very little power.

I also do not know how the grbl firmware processes blank lines. I had to add extra code on my gcode interpreter to properly ignore them.

The bad news (for you) is it burns very nice on my jig.

SARCASM - Just one more service we offer here.

ggallant571

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2284
    • View Profile
Re: Laserweb3
« Reply #40 on: October 16, 2016, 07:08:58 PM »
Anyone had success get laserweb3 to run on Linux? My throws an exception somewhere in the serialport node module complaining about bindings. Java is a foreign language to me.
SARCASM - Just one more service we offer here.

beikeland

  • Guest
Re: Laserweb3
« Reply #41 on: October 16, 2016, 07:17:51 PM »
Anyone had success get laserweb3 to run on Linux? My throws an exception somewhere in the serialport node module complaining about bindings. Java is a foreign language to me.
During or after installation?

After installation could be due to permission on accessing /dev/tty* ? Add your user to dialout group?

If its during installation I had some issues with using the "Install: Using NPM install to simplify the process", don't remember the specifics, but serial sounds familiar. The old school way of wget and git worked just fine.

ggallant571

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2284
    • View Profile
Re: Laserweb3
« Reply #42 on: October 16, 2016, 07:29:31 PM »
Yes to groups and tried with sudo.

Error message is:
/usr/local/src/LaserWeb3-master/node_modules/serialport/node_modules/bindings/bindings.js:83
        throw e
        ^

Error: Module did not self-register.
    at Error (native)
    at Object.Module._extensions..node (module.js:434:18)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Module.require (module.js:353:17)
    at require (internal/module.js:12:17)
    at bindings (/usr/local/src/LaserWeb3-master/node_modules/serialport/node_modules/bindings/bindings.js:76:44)
    at Object.<anonymous> (/usr/local/src/LaserWeb3-master/node_modules/serialport/lib/bindings.js:3:35)
    at Module._compile (module.js:409:26)
    at Object.Module._extensions..js (module.js:416:10)
SARCASM - Just one more service we offer here.

beikeland

  • Guest
Re: Laserweb3
« Reply #43 on: October 16, 2016, 07:46:51 PM »
Hmm, then I don't know.

Did you install by using "npm install laserweb" if so it could be worth trying Git instead, i was unable to get the npm install method working, but must admit I didn't spend much time figurin out why, just dropped a clean SD card in my PI and went with the Git install instead.

ggallant571

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2284
    • View Profile
Re: Laserweb3
« Reply #44 on: October 16, 2016, 07:50:47 PM »
I'm trying on Fedora23 laptop. Think I did download. Was a couple of weeks ago. Will try the npm and git.
SARCASM - Just one more service we offer here.