-
-
Notifications
You must be signed in to change notification settings - Fork 497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Direction arrows wrong after homing #2399
Comments
I just downloaded Gsender and installed to try. |
Somtime it depends on how the machine firmware was build. Grbl (the firmware) can be settled up to have homing, and zero, at top right position, and to work in negative space. This is common CNC behavior, and Grbl born as a firmware for CNC. Laser engraver instead, follow cartesian plane logic. Zero in bottom left, x increase from left to right, y increase from near to far. Axis direction can be changed in grbl configuration, but I believe it change also homing direction (not sure). Please refer to grbl configuration because it is not a LaserGRBL issue. |
I have done all of that several times. I have spent a whole week trying to get it to work correctly.
As I have shown in the messages I have left about the issues.
Both UGS and Gsender work perfectly with the same settings in GRBL.
LaserGRBL works fine until I do a homing, then it will only go positive, even if I select the negative direction with the arrow buttons.
Sent with [Proton Mail](https://proton.me/mail/home) secure email.
…On Sunday, November 3rd, 2024 at 6:35 PM, arkypita ***@***.***> wrote:
Somtime it depends on how the machine firmware was build. Grbl (the firmware) can be settled up to have homing, and zero, at top right position, and work in negative space. This is common CNC behavior, and Grbl born as a firmware for CNC.
Laser engraver instead, follow cartesian plane logic. Zero in bottom left, x increase from left to right, y increase from near to far.
Axis direction can be changed in grbl configuration, but I believe it change also homing direction (not sure). Please refer to grbl configuration because it is not a LaserGRBL issue.
—
Reply to this email directly, [view it on GitHub](#2399 (comment)), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/BMB4SU7HEXV4ZPZ2FCS7VNTZ6XKOBAVCNFSM6AAAAABRCH2JRKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJTGMZTKOBSGQ).
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Your message: I don't feel you understand what is going on. |
And you probably didn't understand my answer. LaserGRBL commands the movement to the microcontroller that is on the board, the behavior and the resulting movement depends on how the wiring is done, how the board is set up, how the firmware of the board is compiled. The board runs a firmware called GRBL. It is the configuration of GRBL (and how it was compiled) that determines how the machine behaves, in which direction it homes, and the direction in which the axes move when a movement command is sent (before and after homing). You need to focus on the GRBL configuration, LaserGRBL has nothing to do with this problem. |
Please refer to GRBL firmware documentation. https://github.com/gnea/grbl/wiki/Set-up-the-Homing-Cycle |
What is the position reported after homing? Top right of LaserGRBL windows. |
I can send you a short screen capture movie that shows everything. |
I also flashed GRBL from LaserGRBL 1.1h original |
I redownloaded GRBL 1.1h and edited config.h line 129 and now it is working 0 0 0 when I first start up, but after homing it is back to negative values. |
First step is correct, especially if you have your homing switches position at bottom-left. https://github.com/gnea/grbl/wiki/Grbl-v1.1-Configuration#3--direction-port-invert-mask |
Did you read the file Laser K30 machine.txt |
This morning I used UGS wizard to configure the settings in GRBL. I exported the settings and carefully copied the content into a text file. I then rebooted the computer and open LaserGRBL again and connected to my machine. I then tried using the arrow buttons and again the movements are only positive even if I use in the negative direction. The settings exported from LaserGRBL that are giving the problem, but only in LaserGRBL: $0=10 I need to use homing in LaserGRBL. The machine will work ok without homing, but I have spent a very lot of money to build a machine with Z axis that requires a working homing cycle and I need this problem to be sorted please. |
The parameter $120 is not written correctly, it should say $120=120,000. This could be one of the factors, but wait to see what the experts say. |
Thanks for noticing that, I will make a correction. |
I have fixed the problem I think. |
where did you find line 129? |
That is correct. I uncommented that line, recompiled and reprogramed my Uno. Then I restarted my controller, rehomed again and before moving any axis I typed in G10 L20 P1 X0 Y0 |
After doing a mpos homing the arrow direction buttons only work in a positive direction.
Before homing the machine will work flawlessly.
I tested my machine using both LaserGRBL (latest version) and UGS
I just tried both softwares and found out that LaserGRBL seems to be the problem.
It all works fine in UGS but the problem happens in LaserGRBL so I zoomed out on the work area shown on the computer screen so I could see the cursor that represents the tool.
When I have homed and use the direction arrow buttons the cursor moves only in positive directions. So this shows me that it is NOT a hardware error, but a software error, because if it were the reverse the cursor would move in the pos and neg directions when asked.
Also another fault is in the Z Up/Down control when using Windows 11.
Although the function has been selected in the setup it does not appear in the control window as it does in Windows 10.
I have reported this fault before and just told to activate it in the settings window which I have done, and it doesn't work.
The text was updated successfully, but these errors were encountered: