Git Product home page Git Product logo

Comments (13)

TomKamphuys avatar TomKamphuys commented on September 26, 2024

I did some more tests. Just the Uno in the laptop; no shield, no motors, no limit switches. Limit switches turned off and not inverted.

`

$$
$0 = 10 (Step pulse time, microseconds)
$1 = 25 (Step idle delay, milliseconds)
$2 = 0 (Step pulse invert, mask)
$3 = 0 (Step direction invert, mask)
$4 = 0 (Invert step enable pin, boolean)
$5 = 0 (Invert limit pins, boolean)
$6 = 0 (Invert probe pin, boolean)
$10 = 1 (Status report options, mask)
$11 = 0.010 (Junction deviation, millimeters)
$12 = 0.002 (Arc tolerance, millimeters)
$13 = 0 (Report in inches, boolean)
$20 = 0 (Soft limits enable, boolean)
$21 = 0 (Hard limits enable, boolean)
$22 = 0 (Homing cycle enable, boolean)
$23 = 0 (Homing direction invert, mask)
$24 = 25.000 (Homing locate feed rate, mm/min)
$25 = 500.000 (Homing search seek rate, mm/min)
$26 = 250 (Homing switch debounce delay, milliseconds)
$27 = 1.000 (Homing switch pull-off distance, millimeters)
$30 = 1000 (Maximum spindle speed, RPM)
$31 = 0 (Minimum spindle speed, RPM)
$32 = 0 (Laser-mode enable, boolean)
$100 = 250.000 (X-axis travel resolution, step/mm)
$101 = 250.000 (Y-axis travel resolution, step/mm)
$102 = 250.000 (Z-axis travel resolution, step/mm)
$110 = 500.000 (X-axis maximum rate, mm/min)
$111 = 500.000 (Y-axis maximum rate, mm/min)
$112 = 500.000 (Z-axis maximum rate, mm/min)
$120 = 10.000 (X-axis acceleration, mm/sec^2)
$121 = 10.000 (Y-axis acceleration, mm/sec^2)
$122 = 10.000 (Z-axis acceleration, mm/sec^2)
$130 = 200.000 (X-axis maximum travel, millimeters)
$131 = 200.000 (Y-axis maximum travel, millimeters)
$132 = 200.000 (Z-axis maximum travel, millimeters)
ok
`

'Nothing' EMI sensitive attached, 'nothing' to cause EMI and yet I get ALARM 1:

An error was detected while sending 'G0X50Y50Z50': (ALARM:1) Hard limit has been triggered. Machine position is likely lost due to sudden halt. Re-homing is highly recommended. Streaming has been paused.

And sometimes the streaming of the file just stops. Nothing weird to see. I used a COM port monitoring tool, but I see nothing special.

from grbl.

chamnit avatar chamnit commented on September 26, 2024

This certainly is weird. Your hard limits are disabled and shouldn’t give you this error. When I run into weird behavior, I try a n EEPROM restore ($rst=*) and connect direct to Grbl through a serial terminal program.

from grbl.

TomKamphuys avatar TomKamphuys commented on September 26, 2024

EEPROM restore did not help.

How do I connect direct to Grbl and what should I do after that? I'm on Windows.

from grbl.

chamnit avatar chamnit commented on September 26, 2024

Arduino serial terminal works fine. Connect at 115200 baud and type in commands as you would. Grbl does not echo input.

from grbl.

TomKamphuys avatar TomKamphuys commented on September 26, 2024

I tried putty. Now I get the results/errors as in post #1 after a move. Grbl commands $ have not gone wrong, but not tested that extensively.

from grbl.

chamnit avatar chamnit commented on September 26, 2024

What version of Grbl are you using and how are you flashing it to your arduino?

from grbl.

TomKamphuys avatar TomKamphuys commented on September 26, 2024

I'm mostly using the latest: 1.1 f or h. Can't check now. I'm at work. I've installed this using the arduino ide grbl upload.

I've also tested 0.8 something (c?) that I installed using xloader. Similar results.

from grbl.

chamnit avatar chamnit commented on September 26, 2024

Ok. At this point, I’d try flashing the gnea/Grbl official hex build, rather than compiling. Also, I’d rule out your Arduino clone. Any reputable clone with a 328p or genuine should work.

from grbl.

TomKamphuys avatar TomKamphuys commented on September 26, 2024

I flashed 1.1h. Doesn't work either. The Arduino clone is a suspect, I agree. I don't have another board, no clone and no original arduino.

Do you havea favorite? Which one would you advice me to buy?

from grbl.

TomKamphuys avatar TomKamphuys commented on September 26, 2024

I created a test sketch that sends 10Hz data to the computer. I tested until 18k messages: no problem.

I created a test sketch that sends back what I sent to it: large amount of cycles: no problem.

Whatever I try with grbl: some problem.

from grbl.

chamnit avatar chamnit commented on September 26, 2024

Grbl uses literally all available resources on the 328p processor. So simple tests may not uncover all issues. Given we’ve ruled out the compiler (flashing hex) , resetting eeprom, and GUI (direct connection), this only leaves hardware or something specific to your setup. Sorry I don’t have any other suggestions.

from grbl.

TomKamphuys avatar TomKamphuys commented on September 26, 2024

I checked whether the hex file is correctly written using avrdude. It reads back the hex file from the UNO and checks it with the original file: OK

On Friday I can borrow an arduino from a colleague.

from grbl.

TomKamphuys avatar TomKamphuys commented on September 26, 2024

I bought a real Arduino UNO: Works like a charm.

Thanks for your help!

from grbl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.