gnea / grbl-Mega

An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on an Arduino Mega2560
https://github.com/gnea/grbl/wiki
Other
495 stars 230 forks source link

Error 22 #129

Open Shahid-lateef opened 4 years ago

Shahid-lateef commented 4 years ago

When I try to move X or Y axis it shows error 22 now what is the solution.

langwadt commented 4 years ago

https://github.com/gnea/grbl/wiki/Grbl-v1.1-Interface#grbl-response-messages

Shahid-lateef commented 4 years ago

https://github.com/gnea/grbl/wiki/Grbl-v1.1-Interface#grbl-response-messages

How to set feed rate

ChristianBrandtner commented 4 years ago

Read the manual please. https://github.com/gnea/grbl/wiki/Grbl-v1.1-Configuration

Shahid-lateef commented 4 years ago

Read the manual please. https://github.com/gnea/grbl/wiki/Grbl-v1.1-Configuration

I read manual but not written this issue now tell me how to fix it please.

langwadt commented 4 years ago

http://linuxcnc.org/docs/html/gcode/other-code.html#sec:set-feed-rate

Shahid-lateef commented 4 years ago

http://linuxcnc.org/docs/html/gcode/other-code.html#sec:set-feed-rate

IMG_20200723_124632

See my error and please send me all settings.

fra589 commented 4 years ago

CNC is not trivial and we can't do this for you: Read the doc and learn Gcode!!! http://linuxcnc.org/docs/html/gcode/g-code.html

Shahid-lateef commented 4 years ago

CNC is not trivial and we can't do this for you: Read the doc and learn Gcode!!! http://linuxcnc.org/docs/html/gcode/g-code.html

No send me some settings for running a CNC and after doing these settings I will change some value according to my setup.

ChristianBrandtner commented 4 years ago

CNC is not trivial and we can't do this for you: Read the doc and learn Gcode!!! http://linuxcnc.org/docs/html/gcode/g-code.html

No send me some settings for running a CNC and after doing these settings I will change some value according to my setup.

No, use the GRBL defaultsettings (use $RST command, for more information see https://github.com/gnea/grbl/wiki/Grbl-v1.1-Commands) and then change some values according to your setup. Learning by doing, that's what you have do do!

Shahid-lateef commented 4 years ago

CNC is not trivial and we can't do this for you: Read the doc and learn Gcode!!! http://linuxcnc.org/docs/html/gcode/g-code.html

No send me some settings for running a CNC and after doing these settings I will change some value according to my setup.

No, use the GRBL defaultsettings (use $RST command, for more information see https://github.com/gnea/grbl/wiki/Grbl-v1.1-Commands) and then change some values according to your setup. Learning by doing, that's what you have do do!

What is the full command of feed rate I know G93 and G94 is cmd of feed rate but how to set feed rate. Is G94=F500.0 is a cmd or not

langwadt commented 4 years ago

no it is not a command, did you not read the links provided? G94 alone set the feedrate type to mm(inches) per minute (you don't need it, it is default unless you have changed it) F500 alone or at the end of line with a move sets the feed rate to 500mm/minute

Shahid-lateef commented 4 years ago

no it is not a command, did you not read the links provided? G94 alone set the feedrate type to mm(inches) per minute (you don't need it, it is default unless you have changed it) F500 alone or at the end of line with a move sets the feed rate to 500mm/minute

Yes I can write these cmd also but error 22 not gone

langwadt commented 4 years ago

you posted a screen shot, there is no error22 after F260

Shahid-lateef commented 4 years ago

you posted a screen shot, there is no error22 after F260

That's only for z axis X and y axis have an error

langwadt commented 4 years ago

try again, you only tried x and y before you set the feedrate

Shahid-lateef commented 4 years ago

try again, you only tried x and y before you set the feedrate

No I tried after setting the feedrate also but shows error 22

langwadt commented 4 years ago

no you didn't because that is not how it works, set the feedrate and it will be the feedrate for everything until you set a new feedrate

Shahid-lateef commented 4 years ago

no you didn't because that is not how it works, set the feedrate and it will be the feedrate for everything until you set a new feedrate

Now it will not seen an error 22 but motors are not working after setting feedrate