GrblGru not reporting status correctly on arduino mega 2560

hello i’m newbie
i have installing grblgru 3.48
first i try to run ch340 cnc 3018 ,and i setting $$ all work status run on verbose output too everything work.

2nd i try run arduino mega 2560(driver ch341)+ramps 5 axis (install mega5x on arduino without xloader)
in grblgru x y z a b 5 axis i try jogging is work but status run on verbose output not show up.
am i make some mistake ,missing something?
need help please
thankyou verymuch

First of all thanks for giving GrblGru a try. :slight_smile:
Unfortunately I haven’t understood yet what the problem is. Therefore I still have some questions:

  • Does GRBL show up ready in the left controller window?
  • Is the 3D model moving ?
  • Are the motors moving ?
  • What version of Mega-5X have you flashed ?

Can you please make a screenshot of the two controller windows when the error occurs

this is setting $$ grbl mega5x grblgru arduino2560+ramps 1.4

cmiiiw .need help to run correctly. thankyou

according to gblmega5x pin out map,may will be like this

cmiiw .need help for progress

I read in your Youtube comment that you had problems with flashing the Mega with Xloader.
You cannot see in the screenshots which GRBL version you have loaded now.
Please check this once. It should be grbl1.1L (see pic 1)

Then I suggest the following procedure:

  • Remove the ramp board
  • Connect only the Mega via USB to GrblGru
  • Switch on the macros in the settings (see pic 2)
  • Select the GRBL macro file (see pic 3)
  • Start the macro “SetSettings4milly@mega”; Attention ! this overwrites your settings, save them first (see pic 4)
  • Press the Jog Button X -> (see pic 5)

The X position must now change

1 Like

ok thanks a lot,i’ll try it.

Hi I have same problem
After Macro file added nothing cheng stapper not moving yet !!
In right window show grbl 1.1 f

IMG20201222000537|690x388

The displayed error message indicates that you have used a command that GRBL does not know.
Mostly it is an unsupported M-command.
Supported commands can be found at: https://github.com/gnea/grbl/wiki/Grbl-v1.1-Commands

You can also suppress this error message in the settings if you are sure that the command is not important.

pic 1

2 Likes

Thank you for replying

I have done all staps as you told
Still stappers are not moving
I used grblgru V3.49.20

Uplod a grbl fill form arduino ide then send .hex file with x loader
Then send mecro file
When command with aero key bord blink led but stapper are not moving yet
I checked wirring 2/3 time wiring is proper connecting in it’s place

Plz help I can’t understand Where do I go wrong

Can it be that you have “Soft limits” control active ? To disable it you have to set $20 to 0 in the GRBL settings.

Set the checkbox ‘Command line’ and enter ‘$$’ in the left window. Then your GRBL settings will be displayed in the right window. If the parameter $20=1, enter ‘$20=0’ in the left window.
Check if $20 is now 0 by entering ‘$$’ again.
Also compare the other settings with mine

Please take a screenshot of your Grbl settings and send it to me.

3 Likes

IM\G20201223015149|690x388now same settings as yours
Next what to do?

I saw in your last post that you tried to move the axes with the jog keys. That did not work. That’s why I suspected that it was the parameter $20. What was $20 before you entered $20= 0 ?

Anyway. Try again to move the axes with the jog keys and take a screenshot of the two windows below.

It’s all redy $20=0
Other perametar Cheng As I uploaded in last comment pic .

in first pic I pres jog key y, x, z

Second pi when I pres "a"rotry axis jog key and come dilog box of eror

Maybe a stupid question.
Which hardware and which controller do you use ?

If you use an Arduino Uno with Grbl, you have only 3 linear axes X,Y and Z. There is no A axis.

5 axes are provided by the Mega-5X operating system. This will only run on an Arduino Mega.In the operating system Mega-5X you can set which axes you want to have.
If you have an Arduino Mega. With which HEX file did you flash it ?

Are your axes X, Y and Z running ?

I have grbl mega 2560 and it’s ramps bord
And hex file is (grbl-mega_v1.1f.20170802.hex).

No one axes move
Pressd jog key and take screen shot and sand hear as you say

And I have no electronic expirince .
I just see your video on YouTube for mega 5x and arduino Mega I just ordered and start to make cnc
I need only x, z and a rotary axes

See your video and start all staps as you say

In hardware arduino mega, ramps bord, 12v dc power supply, Nema 17 stepper motor, 4988 stepper driver

If I made mistake in grbl 5x setting
So plz tell me all the settings for mega 5x coz I haven’t experience for all this.

And my English is little week so just understand what am I telling you
Thank you

Merry Christmas to all :slight_smile:

I guess you have a wrong hex file and I recommend you to use my HEX file.
So if you want to continue to work on Christmas I suggest the following:

  • First of all flash your Mega with the attached file. But you have to rename the extention .STL to .HEX before.

  • Select in the GrblGru controller box “GRBL-Mega-5x” and check the ready message in the right controller window. (pic 1+2)

  • Then switch on the macro bar in the setting of GrblGru.(pic3)

  • Now click with the left mouse button on the text “Macro” in the title bar and select “GRBL” in the combo box (pic4).

  • Some buttons should now appear at the right edge. Press the button “setsettings4milly@mega”.
    (pic5)

  • A window appears with the message that your settings will be overwritten.
    Press “OK” (pic6)

  • Your settings will now be overwritten with my settings, so that you have the same state as I have. Check the values again with “$$” (pic7).

  • Now select the machine “DIYCNC” for example.
    and press the keys to move the A-axis. In the right window the actual positions must be sent back.(pic8)

Good luck

grbl-Mega-5X-v1.1l.20190605.STL (94.9 KB)

pic1 pic2 pic3 pic4 pic5 pic6

2 Likes

New issue creat :sweat_smile:

As you say all staps are done
(Pic 1) but new issue is your hex file is installed in arduino then my ramps 1.4 bord aren’t show power so obviously can’t move stappers (pic 2)
Then I installed hex file which I have (grbl-mega_v1.1f.20170802.hex) and ramps bord show power and hear start old issues is controller can’t move sttapers (pic 3)

Now what am I doing :no_mouth:!
I can’t understand where is the problemIMG20201226000139|690x388

I removed sttaper when clicking pics

Believe me, I put everything together again just for you. The hex file I sent you is correct. I don’t know how you know that the ramps board has no power. On my board no leds light up either, but the motor runs fine.
On your last picture you can see that Mega-5X is sending axis positions in the right window. This must be the correct way !
Please flash my hex file again and check your motor connections. Use only one motor at first. Your power supply may not be able to supply enough current for more than one motor.

2 Likes