Author Topic: Laser runs off the side  (Read 262 times)

CaseyP

  • Newbie
  • *
  • Posts: 29
    • View Profile
Laser runs off the side
« on: August 23, 2019, 04:10:09 PM »
Hello again all. 


I've had t2 laser for a few years now but I'm still a newish engraver.


The biggest issue that has kept us from really engraving is the laser running off the engraving area, and the motors grind against the strap, trying to keep going.

I have the eleksmaker a3, which t2 identifies as a 300x 400 work area.


However something else must be wrong because the laser still tries.

I would like to set the laser at the lower left of the art work, not the canvas, so I can start the project where the work is going to be.


I have set the origin 0,0 where the laser is at, set the lower left as the origin in settings, hit start for the small test square, and zoom it goes off the grid.    I hit the emergency stop before it can damage my motors.



Any help finally solving this would be greatly appreciated.   I will measure the actual workspace and go through the adjustments tab and check on the 80 steps per mm default once I'm off work.


Texting from a cellphone, please forgive the brevity.

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6792
    • View Profile
    • T2Laser
Re: Laser runs off the side
« Reply #1 on: August 23, 2019, 04:54:39 PM »
So you are setting 0,0 but how are you creating the G-code?

It should never crash if you are doing it correctly, but I'm not really sure what step you are missing.

ggallant571

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2901
    • View Profile
Re: Laser runs off the side
« Reply #2 on: August 23, 2019, 07:41:29 PM »
Do you have limit switches? Have you configured the firmware to think it has limit switches? Please post the grbl parameters.
SARCASM - Just one more service we offer here.

CaseyP

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Laser runs off the side
« Reply #3 on: August 24, 2019, 09:00:04 AM »
Thanks for the replies,

I am working in T2 laser but I haven't been able to find the grbl parameters, is there a menu function to display those?

I know I read this on these forums a few days ago but I can't find the right thread...

@Zax:  Yeah I'm not sure what I'm missing either.   I'm going to grab a tape measure and physically measure the work area.   Does the 300x400 refer to mm for the work size?

Thanks again


CaseyP

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Laser runs off the side
« Reply #4 on: August 24, 2019, 09:11:21 AM »
okay, I found the post that answers those questions, let me grab those screenshots right fast...


So measuring the work area, it's 422mm tall x 466 mm wide.   I am assuming the x axis is the wider side, but in my settings I've had to invert X and Y to get them to move predictably.

I calibrated the steps per mm and my 10mm square test came out properly.

Here are the gmbl parameters:

Sending...
Complete (13 lines in 1 seconds)
$0=10 Step pulse, microseconds (10)
$1=25 Step idle delay, milliseconds (25)
$2=0 Step port invert, mask (0)
$3=2 Direction port invert, mask (0)
$4=0 Step enable invert, boolean (0)
$5=0 Limit pins invert, boolean (0)
$6=0 Probe pin invert, boolean (0)
$10=3 Status report, mask (1)
$11=0.020 Junction deviation, mm (0.020)
$12=0.020 Arc tolerance, mm (0.020)
$13=0 Report inches, boolean (0)
$20=0 Soft limits, boolean (0)
$21=0 Hard limits, boolean (0)
$22=0 Homing cycle, boolean (0)
$23=3 Homing dir invert, mask (0)
$24=100.000 Homing feed, mm/min (100.000)
$25=1000.000 Homing seek, mm/min (1000.000)
$26=250 Homing debounce, milliseconds (250)
$27=1.000 Homing pull-off, mm (1.000)
$30=255 Max spindle speed, RPM (255)
$31=0 Min spindle speed, RPM (0)
$32=1 Laser mode, boolean (1)
$100=80.000 X steps/mm (80.000)
$101=80.000 Y steps/mm (80.000)
$102=80.000 Z steps/mm (80.000)
$110=5000.000 X Max rate, mm/min (5000.000)
$111=5000.000 Y Max rate, mm/min (5000.000)
$112=5000.000 Z Max rate, mm/min (5000.000)
$120=800.000 X Acceleration, mm/sec^2 (800.000)
$121=800.000 Y Acceleration, mm/sec^2 (800.000)
$122=5000.000 Z Acceleration, mm/sec^2 (5000.000)
$130=400.000 X Max travel, mm (400)
$131=300.000 Y Max travel, mm (300)
$132=200.000 Z Max travel, mm (200)

I've been following various threads and guides and video series, always finding one more setting that I haven't properly configured over the last year or so.

Hopefully I'm getting close now...

I really appreciate the attention people put into these forums, hanging around for us newbies, once their own machine works perfectly fine.
« Last Edit: August 24, 2019, 09:28:04 AM by CaseyP »

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6792
    • View Profile
    • T2Laser
Re: Laser runs off the side
« Reply #5 on: August 24, 2019, 09:48:57 AM »
Do you have home switches?

If not, the machine size is meaningless.

You would set the size to the material and then set the 0,0 to the front left corner (assuming the default lower left start point).

If you display work coordinates you'll see the coordinates change to 0,0 and then the machine won't move beyond the G-code job size shown on the simulation "view".

ggallant571

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2901
    • View Profile
Re: Laser runs off the side
« Reply #6 on: August 24, 2019, 10:09:08 AM »
Are you running Zax's firmware? I have 2 core-xy machines and 1 Cartesian machine. The firmware for the core-xy needs to be compiled locally and if I cross the two I get  results similar to yours.
SARCASM - Just one more service we offer here.

CaseyP

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Laser runs off the side
« Reply #7 on: August 24, 2019, 01:09:07 PM »
I think so? 

I told the machine to update firmware to 1.1e, which was its own button.  Nothing happened so I assume it's up to date.

Zax: the machine chose 300x400 when I told it I had the A3.  I don't think I have home switches.

How do I set the canvas size to my material, vs the output image size?

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6792
    • View Profile
    • T2Laser
Re: Laser runs off the side
« Reply #8 on: August 24, 2019, 01:16:31 PM »
I'm still not sure where you are seeing the machine size, are you selecting Sketch? You should set it to custom and enter the material size.

CaseyP

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Laser runs off the side
« Reply #9 on: August 24, 2019, 03:01:17 PM »
oh wow!

okay that makes a world of difference.   

Is it accepting measurements in mm?  so the 300 x 400 is showing mm of work space?

Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6792
    • View Profile
    • T2Laser
Re: Laser runs off the side
« Reply #10 on: August 25, 2019, 03:54:36 AM »
Correct, but if your material is a 50mm square you would create the job 50 x 50.

ThothLoki

  • Hero Member
  • *****
  • Posts: 2161
  • Tinkerer
    • View Profile
Re: Laser runs off the side
« Reply #11 on: August 25, 2019, 09:45:15 AM »
Also, donít just measure your work space with a ruler. Move your laser from one end to the other and see what t2 says your workspace is

My A3 has a useable space or 280x380.
Laser: A5 2000mw with L7 Board / A3 2500mw PWM with Mana SE -- All using T2Laser
3D Printer: Monoprice Maker Select v2.1
Image Resizer Applications (All OS): http://benboxlaser.us/index.php/topic,1434.msg17297.html#msg17297

CaseyP

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Laser runs off the side
« Reply #12 on: August 27, 2019, 09:06:58 PM »
Thanks Loki,

but I have no idea how to get T2 to measure my workspace like that.

I've watched the Youtube videos for T2 and I've read the introduction thread that covers its features, etc.


Zax

  • T2Laser
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 6792
    • View Profile
    • T2Laser
Re: Laser runs off the side
« Reply #13 on: August 28, 2019, 05:04:41 AM »
Move to lower left of your machine, set 0,0 and move to the top right... coordinates will tell you the size.

CaseyP

  • Newbie
  • *
  • Posts: 29
    • View Profile
Re: Laser runs off the side
« Reply #14 on: August 29, 2019, 09:37:02 AM »
great, thanks!

I've gone into the advanced sections and told the machine 80 steps per mm, and now that I am using the right sizes, everything seems right.

I also saw a youtube video showing me how to preview the frame and that really helps with surprises in size and spacing. 

I really feel like I have a good idea what is going to happen when I press play, now.

I am doing a test engraving right now for the grey scale and a flower that I manually sized. 

The tests are already pre-sized, so they always worked great.   It was everything else that was wonky.   

But now I am 3-4 tests in with predictable results, and I feel like I can actually test in a controlled manner, and predict the results.

Thank you all so much!