Framing issues with Foxalien 4040

My Foxalien 4040 homes properly and my get position are X 0, Y 0, Z -3 U 0.

When I try to frame a project the laser goes to the back left and just grinds when it reaches the back rail.

Please help

Thank you

Can you post a screenshot of your design so that we can look for clues?

Do you understand the differences between the 3 start from positions and how to use them?

1 Like

Hi Jess. I kind of understand them, I tried using all three and got the same result.

I just drew a box and tried framing that. No real project to speak of.

Can you post a screenshot of your design so that we can look for clues?

Your origin should be set to front left in your device settings and if you use absolute cords, the machine must be homed first.

1 Like

You either do or you don’t. There is no maybe.

Here are some additional troubleshooting steps:

What LightBurn version are you running? 2.0.04? (Shows in main title bar or Help>About).

After homing, to test if your machine origin/direction settings are configured correctly, try to jog the laser head towards the centre of the working area using the back (Y+) and right (X+) direction arrow buttons in the ‘Move Window’ as highlighted below;

  • Set the ‘Distance’ to 10mm
  • Y+ should move the head away from you and toward the back of the machine?
  • X+ should move the head to the right?

Do you see any error or alarm messages in the Console Window? If so, please copy and paste them back to us:

1 Like

No errors after trying this

That’s good! Enable ‘Show all’ in the console window and try to frame a simple square that is placed in the middle of the workspace (while in ‘Absolute Coords’ mode) what happens?

The gcode sent to the machine for framing should be showing in the Console Window, if there is still an issue then paste that gcode here (select the text then right click in the console window and select ‘Copy’).

1 Like

ALARM:3

Reset while in motion. Grbl cannot guarantee position. Lost steps are likely. Re-homing is highly recommended.

Grbl 1.1h [‘$’ for help]

Please scroll up in the Console Window and copy more of the text (ideally text that includes movement & framing coordinates), so we can get a picture of what happened before the Alarm 3.

sorry for the delay but I was out of town. Here is the data from the console window.

<Idle|WPos:0.000,0.000,-3.000|FS:0,0|WCO:-397.000,-397.000,0.000>

ok

Starting stream

G00 G17 G40 G21 G54

G90

G0 X154Y149

G1 Y252S0F6000

G1 X245

G1 Y149

G1 X154

G90

Stream completed in 0:00

ALARM:3

Reset while in motion. Grbl cannot guarantee position. Lost steps are likely. Re-homing is highly recommended.

Grbl 1.1h [‘$’ for help]

[MSG:‘$H’|‘$X’ to unlock]

$X

[MSG:Caution: Unlocked]

ok

Not sure why your framing is not working? The gcode for the framing looks fine.

Try this please:

Home the machine, then in the console window enter these commands, one line at a time, and if any issues tell me which line caused the problems and what happened (and copy/paste the console window activity here).

G00 G17 G40 G21 G54 G90
$g
x150
y150
x400
y400
$h

If you continue to have issues please send your machine’s settings; Go to your console window, and enter these commands, one line at a time, and press “enter” after each:

$i
$$
$#
?

Select and copy the results from the window and then paste them here.

What LightBurn version are you running? 2.0.04?

Hi NicholasL,

I did what you instructed and when I entered X150 and y150 the laser moved to the far right front and just grinded away and then to the far right back and grinded away. When I entered x and y 400 the laser stayed i the far right back corner and just grinded, same when I entered $h.

here is the data from the other commands you had me enter:

Summary

$i

$i

[VER:1.1h.20190825:]

[OPT:V,15,128]

Target buffer size found

ok

$$

$$

$0=10

$1=255

$2=0

$3=0

$4=0

$5=0

$6=0

$10=0

$11=0.010

$12=0.002

$13=0

$20=0

$21=0

$22=1

$23=3

$24=25.000

$25=500.000

$26=250

$27=3.000

$30=1000

$31=0

$32=1

$100=250.000

$101=250.000

$102=250.000

$110=500.000

$111=500.000

$112=500.000

$120=10.000

$121=10.000

$122=10.000

$130=400.000

$131=400.000

$132=55.000

ok

$#

$#

[G54:-397.000,-397.000,0.000]

[G55:0.000,0.000,0.000]

[G56:0.000,0.000,0.000]

[G57:0.000,0.000,0.000]

[G58:0.000,0.000,0.000]

[G59:0.000,0.000,0.000]

[G28:0.000,0.000,0.000]

[G30:0.000,0.000,0.000]

[G92:0.000,0.000,0.000]

[TLO:0.000]

[PRB:0.000,0.000,0.000:0]

ok

?

?

<Idle|WPos:400.000,400.000,-3.000|FS:0,0|Pn:XY>

ok


Mickey1962Lionel Beattie

6d

sorry for the delay but I was out of town. Here is the data from the console window.

<Idle|WPos:0.000,0.000,-3.000|FS:0,0|WCO:-397.000,-397.000,0.000>

ok

Starting stream

G00 G17 G40 G21 G54

G90

G0 X154Y149

G1 Y252S0F6000

G1 X245

G1 Y149

G1 X154

G90

Stream completed in 0:00

ALARM:3

Reset while in motion. Grbl cannot guarantee position. Lost steps are likely. Re-homing is highly recommended.

Grbl 1.1h [‘$’ for help]

[MSG:‘$H’|‘$X’ to unlock]

$X

[MSG:Caution: Unlocked]

ok

**NicholasL Nicholas Leqeta**Support Team

6d

Not sure why your framing is not working? The gcode for the framing looks fine.

Try this please:

Home the machine, then in the console window enter these commands, one line at a time, and if any issues tell me which line caused the problems and what happened (and copy/paste the console window activity here).

G00 G17 G40 G21 G54 G90
$g
x150
y150
x400
y400
$h

If you continue to have issues please send your machine’s settings; Go to your console window, and enter these commands, one line at a time, and press “enter” after each:

$i
$$
$#
?

Select and copy the results from the window and then paste them here.

What LightBurn version are you running? 2.0.04?

Which model do you have? - Are the X and Y axes belt or lead screw driven?

If belt, the axes step resolutions may be incorrect, yours are currently set to 250 steps/mm.

Try reducing these values by entering these lines one at a time;

$101=80

$102=80

And then test a square again.

Use the ‘Calibrate Axis’ tool to help you find the right step length:
Machine Settings - LightBurn Documentation

Hi Nicholas,

I am using a Foxalien 4040xe

I made the changes you suggested and the machine still won’t frame.

Also, when I went to calibrate axis I get a communication with controller failed message

Try resetting the GRBL settings using the line:

$RST=*

If you still have issues after that then after homing enter these lines and paste the activity from the console window back here:

$$ (show grbl settings)
$# (show offsets)
? (get the current location)
$g (display gcode settings)
X5 (try moving to the right 5mm)
Y5 (try moving up 5mm)

I did as instructed and here is the data (note when I entered x5 the laser moved to the far right and grinded away)

$$

$$

$0=10

$1=25

$2=0

$3=0

$4=0

<Idle|MPos:-199.000,-199.000,-1.000|FS:0,0|Ov:100,100,100>

ok

$#

$#

[G54:0.000,0.000,0.000]

[G55:0.000,0.000,0.000]

[G56:0.000,0.000,0.000]

[G57:0.000,0.000,0.000]

[G58:0.000,0.000,0.000]

[G59:0.000,0.000,0.000]

[G28:0.000,0.000,0.000]

[G30:0.000,0.000,0.000]

[G92:0.000,0.000,0.000]

[TLO:0.000]

[PRB:0.000,0.000,0.000:0]

ok

?

?

<Idle|MPos:-199.000,-199.000,-1.000|FS:0,0|Ov:100,100,100>

ok

$g

$g

[GC:G0 G54 G17 G21 G90 G94 M5 M9 T0 F0 S0]

ok

X5

X5

ok



ALARM:3

Reset while in motion. Grbl cannot guarantee position. Lost steps are likely. Re-homing is highly recommended.

$H

ALARM:8

Homing fail. Cycle failed to clear limit switch when pulling off. Try increasing pull-off setting or check wiring.

ok

Grbl 1.1h [‘$’ for help]

[MSG:‘$H’|‘$X’ to unlock]

$X

[MSG:Caution: Unlocked]

ok

Y5

Y5

ok

X5

X5

ok

Thats interesting, it appears that the machine size somehow changed!, we can put the right settings back… please enter these lines into the Console Window one line at a time;

$130
$130=400
$130
$131
$131=400
$131

And copy the results here (the extra lines are just to confirm the value before and after the change).

And I think that your steps/mm should be lower based on that model,

(FYI other 4040xe settings I am comparing with)
$I

[VER:1.1h.20190825:]

[OPT:V,15,128]

Target buffer size found

ok

$$

$0=10

$1=255

$2=0

$3=0

$4=0

$5=0

$6=0

$10=3

$11=0.010

$12=0.002

$13=0

$20=0

$21=1

$22=1

$23=3

$24=25.000

$25=500.000

$26=250

$27=3.000

$30=10000

$31=0

$32=1

$100=40.000

$101=40.000

$102=160.000

$110=2000.000

$111=2000.000

$112=2000.000

$120=300.000

$121=146.587

$122=300.000

$130=400.000

$131=400.000

$132=55.000

so enter also;

$100=40
$101=40

Now Home the machine and enter these lines and copy all of the results here (you may need to scroll up in the console window to select all of the $$ values - you/we will need to check all of them)

$$
?

What version of LightBurn are you using?

If you see it, enable the ‘CNC Machine’ setting in device settings, and set the axes Origin to rear right. This will cause LightBurn to address the machine in the negative machine coordinate space it is naturally in (instead of using the X-397,Y-397 G54 offset that was set before).

To test, these changes , make sure you are in Absolute Coordinate mode;

then try again framing and burning a small square, and check the size of it is as expected.

It is working. Thank you so much for your time and help.

Appreciate you