Snapmaker Ray - no crosshairs when framing

What keys are you pressing?

2 requirements:

  1. focus is on workspace
  2. numlock on; using numpad

There is another set of keyboard combination controls but are less commonly used. Which are you using?

It sounds like you may not be aware of the various origin concepts. If that’s the case, be aware that “Set origin” is used to change job origin, not the absolute origin. Also it’s mostly only valid when using “User origin” as start from mode.

However, until the issue with your coordinates not showing correctly is resolved there’s little value in this.

I’d like to understand how the machine is working. Can you run these commands in Console and return the full output? Also, please describe what happens when you do this. What motion do you see?

$H
G0X20Y20
?

Hi,

I runs against the limit at the rear . The same as if I send it to a defined position.
I have added the screenshots with the results of the test.


I use the arrow keys on my notebook (Lenovo Yoga). This notebook has no numpad, the numbers are only on top of the keyboard.

Regarding the origin - sorry I have confused that with the workspace origin.

Thank you and kind regards
Franz

Was this the first move that occurred? Or did the machine home first, then move to the rear? Was there any movement to the right?

Can you run these commands and return the output? Also describe the motion:

$H
G91
G0X20Y20
?

This won’t work with arrow keys. Only numpad is supported that way.

You could use the keys described here as an alternative:

sorry I was not precise - yes it went home first and then wanted to move to the rear but could not.

The new test was practically the same behavior:

$H
ok
G91
ok
G0X20Y20
ok
[I][PLAT]Check limits
[I][PLAT]‘$H’|‘$X’ to unlock
ALARM:3
Reset while in motion. Grbl cannot guarantee position. Lost steps are likely. Re-homing is highly recommended.
[I][PLAT]Caution: Unlocked
?
<Idle|MPos:0.000,0.000,0.000,0.000|FS:0,0|Pn:Y|WCO:0.000,0.000,0.000,0.000>
ok

Thank you for the alternative keys. I will try that.

Kind regards
Franz

Hi,

I have tried the alternative keys, unfortunately neither one of them works with my notebook. They don’t work when activated through the mouse in the dialogue either.

The first reason will probably depend on my notebook. We can leave this point, it is not really important.

The second issue could be related with my general problem with the movements.

However, many thanks again for your help. It is really very appreciated.

Kind regards
Franz

This indicates that your Y limit switch is being actuated. Is that actually the case?

I’m finding your motion very unusual.

Can you confirm a few things for me please:

  1. To what corner of the machine does your machine home?
  2. Can you enable “Show all” in Console. After that please take these steps:
    2a. push Home button
    2b. Type ? in Console window
    2c. push Up in Move window
    2d. push Right in Move window
    2e. push Down in Move window
    2f. push Left in Move window
    2g. Type ? in Console
    2h. Capture all the output generated and copy/paste the text here.

Good morning,

I can’t see a limit switch outside of the linear drives. Where should it be ?

The machine homes to the left corner at the rear - seen from the front.

Good Morning,

I can’t see the limit switch outside of the linear drives, where should it be ?

the machine homes to the left corner at the rear - senn from in front of the machine.

here the result of the test:

Waiting for connection…
Port failed to open - already in use?
Waiting for connection…
4���+ok
ok
[VER:V1.6.8.20240124:]
[OPT:PHSW]
[I][PLAT]Machine: Snapmaker Ray Controller
[I][WIFI]Mode=STA:SSID=wN8PtlpPvQS:Status=Connected:IP=192.168.0.104:MAC=34-85-18-46-4F-50
ok
Homing
ok
ok
?
<Idle|MPos:0.000,0.000,0.000,0.000|FS:0,0|WCO:0.000,0.000,0.000,0.000>
ok
<Idle|MPos:0.000,0.000,0.000,0.000|FS:0,0|Ov:100,100,100>
ok
Starting stream
[I][PLAT]Program End
Stream completed in 0:00
<Idle|MPos:0.000,-30.000,0.000,0.000|FS:0,0|WCO:0.000,0.000,0.000,0.000>
ok
Starting stream
[I][PLAT]Program End
Stream completed in 0:00
<Idle|MPos:30.000,-30.000,0.000,0.000|FS:0,0|WCO:0.000,0.000,0.000,0.000>
ok
Starting stream
[I][PLAT]Program End
Stream completed in 0:00
<Idle|MPos:30.000,0.000,0.000,0.000|FS:0,0|WCO:0.000,0.000,0.000,0.000>
ok
Starting stream
[I][PLAT]Program End
Stream completed in 0:00
?
<Idle|MPos:0.000,0.000,0.000,0.000|FS:0,0|WCO:0.000,0.000,0.000,0.000>
ok

thank you, and a nice day.

kind regards
Franz

Okay. In that case there’s likely something setup incorrectly on your laser.
One of the following should not be the case:

  1. Your origin should be top-left, not bottom-left. However, I happen to know based on the .lbdev file that bottom-left is actually correct. So this is not the issue.
  2. Your machine should not be setting position to 0,0 after homing. If your machine is meant to home top-left but have bottom-left origin then your position should be something like 0,400 after homing.
  3. Your machine should not be homing top-left but should instead home bottom-left. This would require that your machine have homing switches at both locations for this to work. Have you changed any of the GRBL configuration values since getting your machine?

Note that your output does not include the expected g-code. Did you enable “Show all” in Console before running?

Hi

I did not change anything in GRBL - at least not intentionally. Can I change it back to the correct setting ?

I enabled show all but maybe I lost it later. Here the same again:

Waiting for connection…
��B�ok
ok
[VER:V1.6.8.20240124:]
[OPT:PHSW]
[I][PLAT]Machine: Snapmaker Ray Controller
[I][WIFI]Mode=STA:SSID=wN8PtlpPvQS:Status=Connected:IP=192.168.0.104:MAC=34-85-18-46-4F-50
ok
Homing
ok
$H
ok
?
?
<Idle|MPos:0.000,0.000,0.000,0.000|FS:0,0|WCO:0.000,0.000,0.000,0.000>
ok
?
<Idle|MPos:0.000,0.000,0.000,0.000|FS:0,0|Ov:100,100,100>
ok
Starting stream
G21 G54
G91
G1 X0 Y-30 F3300 S0
G90
M2
[I][PLAT]Program End
Stream completed in 0:00
?
<Idle|MPos:0.000,-30.000,0.000,0.000|FS:0,0|WCO:0.000,0.000,0.000,0.000>
ok
Starting stream
G21 G54
G91
G1 X30 Y0 F3300 S0
G90
M2
[I][PLAT]Program End
Stream completed in 0:00
?
<Idle|MPos:30.000,-30.000,0.000,0.000|FS:0,0|WCO:0.000,0.000,0.000,0.000>
ok
Starting stream
G21 G54
G91
G1 X0 Y30 F3300 S0
G90
M2
[I][PLAT]Program End
Stream completed in 0:00
?
<Idle|MPos:30.000,0.000,0.000,0.000|FS:0,0|WCO:0.000,0.000,0.000,0.000>
ok
Starting stream
G21 G54
G91
G1 X-30 Y0 F3300 S0
G90
M2
[I][PLAT]Program End
Stream completed in 0:00
?
?
<Idle|MPos:0.000,0.000,0.000,0.000|FS:0,0|WCO:0.000,0.000,0.000,0.000>
ok

kind regards
Franz

Can you confirm that jogging controls work as expected? Up goes up, down goes down, left goes left, and right goes right?

Your results make me thing that up goes down and down goes up.

Also, if jogging controls are backward, do your images burn upside down as well?

I’m looking back at a separate topic with a Snapmaker Ray. I’m not sure what’s going on but it seems like these machines are not getting shipped with the proper configuration or it’s not clear how they’re meant to work.

The conclusion in that Topic was that machine homed top-left with origin at bottom-left. In order to accommodate this a work offset was applied.

Let’s reproduce that.

Can you run these commands in Console:

G10 L2 P1 X0Y-400
$10=0

Then home the machine. Test jogging controls to make sure they work correctly. Then run a job to make sure that things are oriented correctly.

Test the laser positioning to make sure that’s working correctly.

Hi,

that solved the issue - many thanks !

Now it does everything as it should.

Home is still at the left rear cornen, but the origin ist at the left corner in front.
It moves to the defined positions both in the workspace and in the move dialogue.
And finally it cuts the parts as it should - as before.

Is that a permanent solution or do I have to set these commands before every session ?

Again many thanks for your help, that was really great. How can I thank you for that ?

Kind regards
Franz

This is permanent and should work predictably. The only question marks would be is this truly the intended mode of operation and if not, what that should be. But this is a perfectly valid way of operating.

Do something for the guy behind you.

1 Like

Many thanks again.

The machine is working perfectly with your last changes.
I usually support the people around me and I will do that in your name as well.

I wish you that you get also such a great support if you need it.

Kind regards
Franz

1 Like

I have made a donation to the SOS Children’s Villages in your name.

Many thanks again.

Kind regards
Franz

2 Likes

Hi again,

the machine is working fine with the last changes, I only have one issue with the origin. This is set to x31, y0. I assume it is a result of my original snapmaker setup. With this origin I can not use the full 600x400 work area.

Can I set the origin of the machine to 0,0 in Lightburn ? I don’t want to change anything in the snapmaker setup since it is working fine with Lightburn.

Many thanks
Franz

This is surprising.

Can you run these commands in Console? Please copy and paste the full output back here?

$H
$$
$#
?

Also, please provide a screenshot of Edit->Device Settings.

Hi,

Waiting for connection…
�HD��ok
ok
[VER:V1.6.8.20240124:]
[OPT:PHSW]
[I][PLAT]Machine: Snapmaker Ray Controller
[I][WIFI]Mode=STA:SSID=wN8PtlpPvQS:Status=Connected:IP=192.168.0.104:MAC=34-85-18-46-4F-50
ok
Homing
ok
[I][PLAT]max rpm: 1000
$H
ok
$$
$0=1
$1=100
$2=0
$3=2
$4=0
$5=0
$6=0
$10=0
$11=0.006
$12=0.002
$13=0
$20=0
$21=1
$22=1
$23=1
$24=300.000
$25=3000.000
$26=250.000
$27=2.000
$30=1000.000
$31=0.000
$32=1
$100=80.000
$101=80.000
$102=100.000
$103=35.556
$104=100.000
$105=100.000
$110=30000.000
$111=12000.000
$112=1000.000
$113=3000.000
$114=1000.000
$115=1000.000
$120=2000.000
$121=200.000
$122=200.000
$123=500.000
$124=200.000
$125=200.000
$130=600.000
$131=400.000
$132=300.000
$133=3600.000
$134=300.000
$135=300.000
ok
$#
[G54:0.000,-400.000,0.000,0.000]
[G55:0.000,0.000,0.000,0.000]
[G56:0.000,0.000,0.000,0.000]
[G57:0.000,0.000,0.000,0.000]
[G58:0.000,0.000,0.000,0.000]
[G59:0.000,0.000,0.000,0.000]
[G28:0.000,0.000,0.000,0.000]
[G30:0.000,0.000,0.000,0.000]
[G92:0.000,0.000,0.000,0.000]
[TLO:0.000]
[PRB:0.000,0.000,0.000,0.000:0]
ok
?
<Idle|WPos:0.000,400.000,0.000,0.000|FS:0,0|WCO:0.000,-400.000,0.000,0.000>
ok

It did not go to the origin with these commands.

Many thanks
Franz

I have to apologize - I probably confused the origin again. I can set it in the dialogue and it moves exactly to the desired position. (0,0)

I am very sorry for my mistake.
Many thanks again for your help.

Kind regards
Franz