Comments (13)
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.
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.
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.
Arduino serial terminal works fine. Connect at 115200 baud and type in commands as you would. Grbl does not echo input.
from grbl.
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.
What version of Grbl are you using and how are you flashing it to your arduino?
from grbl.
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.
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.
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.
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.
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.
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.
I bought a real Arduino UNO: Works like a charm.
Thanks for your help!
from grbl.
Related Issues (20)
- Move generated path in same time
- Grbl sets up correctly but HOT 1
- I encountered a problem with $$ command HOT 3
- GRBL homing problem when using the homing cycle in G-code after G1/G0 commands HOT 2
- How do I use variable spindle speed when Z axis limit switch is in use? HOT 5
- The site being 'moved' HOT 1
- pin assign
- About proactive processing
- Discrepancy sending gcode via python IDE vs a python program in cmd
- Alarm,Lim:000 Arduino CNC Shield HOT 2
- Servo is not working
- Project is dead? HOT 7
- Alarm 11??? HOT 3
- Helix ramping is skipped, goes straight to the end
- Annoy Tools and GRBL 1.1
- Problem load firmware Arduino IDE
- ProverXL Spindle not turning on
- How to disable sleep mode? HOT 5
- GRBL UGS Homing problems HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grbl.