Denvi / Candle

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

Candle_1.2.13b_x64. Z axis #542

Open 233figfoz opened 2 years ago

233figfoz commented 2 years ago

Candle_1.2.13b_x64. I click on the icon to look for the zero and then on the other icon to set the zero. then I click to go up the Z axis in the "Continuous movement" it doesn't stop and continues to go up by itself, any ideas?

pad73 commented 2 years ago

Check movement speed, try lower or try not continuous but some distance step. Do you have set machine size corectly? And do you have set in settings Z+ Z- Y+ Y- X+ X- right position of your zero machine coordinates?

I had similar issue one time when I had bad zero machine position, After changing from (example) X+ to X- joging started to work corectly.

233figfoz commented 2 years ago

Thanks for your reply, yes all these matters are correct. it only happens in the "continuous movement" the Z axis travels up to the value declared in $132. And that only happens to me in this version of Candle.

233figfoz commented 2 years ago

All the movements are correct, everything works, even when looking for the Zero point and this problem only happens after I memorize the zero point and then I want to move the cutter a little away from the table with the "continuous movement"

pad73 commented 2 years ago

What speed of movement do you use? I mean G0 speed.

ondras12345 commented 2 years ago

I think it would be easier if you just posted your whole $$ settings. What version of Grbl are you running?

233figfoz commented 2 years ago

What speed of movement do you use? I mean G0 speed.

I don't use any speed, I use the button

Up

233figfoz commented 2 years ago

I think it would be easier if you just posted your whole $$ settings. What version of Grbl are you running?

Candle_1.2.13b_x64 version, and I only have this problem with this version, with 1.1.7 working without the slightest problem.

ondras12345 commented 2 years ago

That's Candle version. Grbl is the firmware that is running on your CNC machine. It's version should be printed in the Console when the machine starts. However, if your machine jogs fine with Candle 1.1.7, it must be running Grbl 1.1. That's all I needed to know.

The full $$ settings would be helpful though.

It seems like the jogging code was quite significantly rewritten between 1.1.7 and current Experimental version. I don't think I have tested the beta with my machine yet, maybe this is an actual bug in Candle and there's nothing we can do about it without modifying the source code. I might get around to testing it, but unfortunately I don't have much free time these days.

LordGG commented 2 years ago

Hi,

Exact same issue for me. The problem is actually not related to the "Zero Z" action, but to the "Probe Z" action (we usually set Z axis to 0 after probing). As soon as I finish probing, next click on Arrows to move Z axis (with Continuous option) result in a infinite move (it actually climbs to 200 ;)).

I had no issue with 1.1.7. Problem occured on 1.2.15b. Grbl 1.1f

mar0x commented 2 years ago

Hello. I have reproduced the issue with Grbl 1.1f. The reason is grbl issue with jog movement after probe:

G91 G38.2 Z-20 F100 (probe)
$J=G21 G91 Z10 F10

Because of unknown reason, "Jog" movement after probe becomes "Run" (can be discovered with ? command during jog).

With Candle 1.1 or 1.2 the issue can be reproduced this way:

I'll try to understand the reason of the issue in Grbl source code...

mar0x commented 2 years ago

Although it seems grbl probe issue, consider a workaround: add micro movement after probe command: G91 G0 Z0.001; Z-0.001. So, modified default probe command will be: G21G91G38.2Z-30F100; G0Z1; G38.2Z-2F10; G0Z0.001; Z-0.001