Denvi / Candle

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

Firmware v1.1f and Candle v1.17, restore origin does not work? #240

Open twinclouds opened 6 years ago

twinclouds commented 6 years ago

I recently bought a SainSmart 3018 CNC come with grblcontrol v0.9. Based on seller's suggestion, I update firmware to v1.1f and running Candle v1.17. Everything seems works fine but the only issue is that the restore origin button appears not working. When I click on it, there no effect at all. Can someone tell me why is that? Did I do something wrong? Your help is greatly appreciated. Thank you.

tcarpenter67 commented 6 years ago

I've noticed this issue as well. However, in the settings dialog box, under "Control", there is a check box to enable "Restore origin" and then there's a drop down next to it. I enabled this, changed it to 'space'. I did see the tool move on the visualizer screen, but not on my 3018. I'm a newbie too, so I'm just guessing I don't have everything setup right...

HTH

twinclouds commented 6 years ago

Thanks. I will check that out later and report back.

Jodank commented 6 years ago

Hi! Are you solved your "Restore origin" issue? If not, here is how I figured out how to use this option in Candle 1.1.7 with fw.1.1: In the "Settings" menu you have and option called: "Restore origin" moves tool in So, there is a drop-down menu, in there you can sellect one of thwo options:

  1. Plane
  2. Space After this settings, my machine is working again with the "Restore origin" feature. What I don't know, what is for the Plane and Space value? I didn't notice any differences...

Problem what I noticed is: The "Restore origin" is driving back the machine XYZ to the 0 point when let's say I was using the JOG option and I changed with the JOG foption the XYZ coordinates to a new one. If I press now the "Restore origin" then the machine goes back to the origina ) point what was defined before witht the "Zero XZ" & "Zero Z".

But, If I send a gcode from my project to engrave, and I abort the machine, and I now press the "Reset origin" the machine moves only the XY coordinates to the begining - starting point, but the Z axis will not be lifted and set to the same starting point.

This is a big problem I assume if this is a bug, the spindel mus t first be lifted to a safe zone or whatever, than the X&Z axis should travel to the startingpoint or so to say to the "origin" coordinate.

What you think about?

Btw. My CNC is a DIY 2418 CNC with a "POWERDEVELOP 2.0" electronic with an Arduino Nano on it...

SanYT commented 5 years ago

What I don't know, what is for the Plane and Space value? I didn't notice any differences...

I think if you choice the "Plane" option, the "Restore origin" button only makes the machine move to the X,Y origin(X=0, Y=0, and ignore Z position). Whereas the "Space" option would move all 3 axes to the origin(X=0, Y=0, Z=0)

positron96 commented 4 years ago

Hi, I write this to confirm the issue with restoring position. My GRBL complains about G0X0Y0 command issued when I click the button (requiring to reset). This is probably because I've enabled soft limits, and after issuing G92..., zero position is outside the workspace.

What's more, I've noticed that tooltip of that button shows incorrect values. As far as I understand, restored origin is read from [G92: ] $# output, however, the screenshot shows that it's not reading it correctly, that causes grbl to move out of work area, which is refuses.

image

ArtPetch commented 2 years ago

There is a difference between "SPACE" and "PLANE". When Origin is set with "SPACE" the spindle will lift as it moves to home. When left in "PLANE" the spindle will NOT LIFT when it moves to Origin ie. it is moving on the same PLANE. If you don't want it to wreck your engraving set to "SPACE".