Denvi / Candle

GRBL controller application with G-Code visualizer written in Qt.
GNU General Public License v3.0
1.37k stars 547 forks source link

Candle 1.2b jog bad number format #557

Open PaulHosh opened 2 years ago

PaulHosh commented 2 years ago

Hi Denvi thanks for the candle code.

A while ago, I used the Candle on a 3018 machine with success. Now I have built a new CNC with UNO. Using GRBL commands in the serial monitor (Arduino IDE) I can move the spindle as requested (up down, left right) with no problems.

I had a NC file made by fusion 360 which I loaded and surprise! it moves the spindle as expected. but I cannot jog the spindle with either Candle 1.1.7 nor Candle 1.2.13b. With Candle 1.2.13b I get a bad number format error. I looked at the GRBL documentation and the command string seems ok

I would like suggestions to get the jog feature to work. thanks kind regards paul

jog error

mar0x commented 2 years ago

Hello. According to prompt, your machine has Grbl 0.9j. Candle 1.1 and 1.2 requires Grbl 1.1 for jog control.

PaulHosh commented 2 years ago

Hi Max

I am sending the screenshot of the Help window and a screenshot of the error. This latest version has the camera plugin which did not exist in the earlier versions. [image: jog error(2).jpg][image: help screen.jpg]

regards

Paul

On Thu, 9 Jun 2022 at 18:55, Max @.***> wrote:

Hello. According to prompt, your machine has Grbl 0.9j. Candle 1.1 and 1.2 requires Grbl 1.1 for jog control.

— Reply to this email directly, view it on GitHub https://github.com/Denvi/Candle/issues/557#issuecomment-1151372213, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZRWGDSE33EBRL3ARANCNHDVOIOZRANCNFSM5YJFE3FA . You are receiving this because you authored the thread.Message ID: @.***>

mar0x commented 2 years ago

Although I cannot see attached images, I agree the 1.2 version has many useful features. To be able to use it with your CNC machine, you need to upgrade GRBL firmware up to 1.1 version.

GRBL firmware is running on your UNO board.

PaulHosh commented 2 years ago

HI Max

Thanks for your help.

When compiling GRBL 1.1h, I have encountered the errors noted at https://github.com/gnea/grbl/issues/390.

Required HOMING_CYCLE_0 not defined. WCO refresh must be greater than one. Override refresh must be greater than zero.

Further reading told me to remove all previous copies of GRBL from the Arduino libraries folder. This I did. I did a search of the entire C: drive and removed anything remotely looking like GRBL. I then downloaded GRBL 1.1h. Following the instructions (right/wrong?) at https://www.youtube.com/watch?v=AeuFev3Bv74 I copied the GRBL folder to the Arduino libraries folder.

Then this is where I am not quite sure what should happen. I opened the Arduino IDE, selected New (file) and chose GRBL from the Include Sketch menu. I connected a UNO to the USB and the port was found. I then compiled and encountered the compile errors. I did not make any changes to any file.

The discussion for issue 390 says to comment out some lines, uncomment others for the Homing cycle error. And there is a note about changing (or not ) other variables to resolve the second and third compile error.

My CNC machine I built using standard NEMA 23 motors, drive controllers and a UNO. So I think that the comment about the CoreXY does not apply.

When looking for the GRBL files to remove, I found a zip file for version 1.1h that I got two years ago. I tried that and had the same compile errors.

Thank you for your patience. Please advise how I should proceed. Kind regards paul

On Thu, 9 Jun 2022 at 21:14, Max @.***> wrote:

Although I cannot see attached images, I agree the 1.2 version has many useful features. To be able to use it with your CNC machine, you need to upgrade GRBL firmware up to 1.1 version.

— Reply to this email directly, view it on GitHub https://github.com/Denvi/Candle/issues/557#issuecomment-1151513926, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZRWGDQZ3VYXD77GCVGPHLDVOI7AJANCNFSM5YJFE3FA . You are receiving this because you authored the thread.Message ID: @.***>

mar0x commented 2 years ago

Hi Paul,

Please read carefully the official Compiling Grbl article. Just follow the instructions (no "Copy-And-Paste", no "New (File)", no need to choose "grbl" from "Include.." menu etc.). I'm sure you'll compile it!

NOTE: Backup your settings (the output of "$$" GRBL command) before uploading version 1.1!

PaulHosh commented 2 years ago

Thanks Max

On Fri, 10 Jun 2022 at 23:33, Max @.***> wrote:

Hi Paul,

Please read carefully the official Compiling Grbl https://github.com/gnea/grbl/wiki/Compiling-Grbl article. Just follow the instructions (no "Copy-And-Paste", no "New (File)", no need to choose "grbl" from "Include.." menu etc.). I'm sure you'll compile it!

— Reply to this email directly, view it on GitHub https://github.com/Denvi/Candle/issues/557#issuecomment-1152753120, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZRWGDSH5ORABJXCBHFYHW3VOOYCZANCNFSM5YJFE3FA . You are receiving this because you authored the thread.Message ID: @.***>

PaulHosh commented 1 year ago

Hi Max

success!! I had two versions of Arduino IDE 1.8.15 and 1.8.16. The 1.8.15 compiles but the other did not.

so I downloaded IDE 1.8.19. ALL is Good!! I now can jog the machine.

thanks!!

On Fri, 10 Jun 2022 at 23:33, Max @.***> wrote:

Hi Paul,

Please read carefully the official Compiling Grbl https://github.com/gnea/grbl/wiki/Compiling-Grbl article. Just follow the instructions (no "Copy-And-Paste", no "New (File)", no need to choose "grbl" from "Include.." menu etc.). I'm sure you'll compile it!

— Reply to this email directly, view it on GitHub https://github.com/Denvi/Candle/issues/557#issuecomment-1152753120, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZRWGDSH5ORABJXCBHFYHW3VOOYCZANCNFSM5YJFE3FA . You are receiving this because you authored the thread.Message ID: @.***>

mar0x commented 1 year ago

Hi Paul,

I'm glad you did it!