gerritv / Grbl-Panel

A control panel for Grbl
MIT License
180 stars 103 forks source link

Typing in values for work offset #12

Closed Legendaire closed 7 years ago

Legendaire commented 10 years ago

I know one may issue an gcode command to set the work offset to a value (as opposed to just zero). I've been using probing to find the edges of my stock or vise depending on which I used in my CAM program. I am using a feeler gauge with a wire attached to it and an alligator clip attached to the tool in the spindle. I'd like to just be able to type in the value for an axis once the probe is done. ie. if I am using a 1mm feeler gauge for setting z I'd like to be able to set the z axis to 1. Right now I have to set it to 0 via the gui, move the x and y away from the part, move down 1mm and then reset to 0. As an example, I know mach3 does this.

gerritv commented 10 years ago

You can accomplish this on the Position/ Offsets tab, click on a cell, enter value, double click to send to Grbl. Also described here: https://github.com/gerritv/Grbl-Panel/wiki/Using-Grbl-Panel as presetting Work Offsets.

Legendaire commented 10 years ago

I am not at the mill right now so I can't connect and get to that panel. Does it let me set the current tool position to a value? Does it do something else like have me put in machine coordinates to adjust the offset? On Nov 16, 2014 6:05 PM, "Gerrit" notifications@github.com wrote:

You can accomplish this on the Position/ Offsets tab, click on a cell, enter value, double click to send to Grbl.

— Reply to this email directly or view it on GitHub https://github.com/gerritv/Grbl-Panel/issues/12#issuecomment-63248995.

gerritv commented 10 years ago

The Offset page has a line for each work offset, e.g. G54. It shows you the Machine coords at top so you can do the math for probe diameter. For each axis you can enter the Work Offset value you want and double click to enter. I think this is what you want to do, perhaps worded differently at https://github.com/gerritv/Grbl-Panel/wiki/Using-Grbl-Panel but same intent.

Legendaire commented 10 years ago

The process under Setting your work 0 is what I am attempting to do. I have homing switches. From what I read it says I need to put in the machine coordinates to adjust the work offset. So it is do-able but, well, it can be much easier. If I am using a 0.2" edge finder as an example I would like to just type -.1 for x and -.1 for y into the boxes for the G5x offset so I can put a zero in the lower left corner of my work. Ideally it would be nice to have something in which one just enters the size of their edge finder, jog to the right position, and then hit "0 this axis". ie. edge finding for dummies The same would be nice for z but using a height block instead of an edge finder diameter.

On Sun, Nov 16, 2014 at 8:47 PM, Gerrit notifications@github.com wrote:

The Offset page has a line for each work offset, e.g. G54. It shows you the Machine coords at top so you can do the math for probe diameter. For each axis you can enter the Work Offset value you want and double click to enter. I think this is what you want to do, perhaps worded differently at https://github.com/gerritv/Grbl-Panel/wiki/Using-Grbl-Panel but same intent.

— Reply to this email directly or view it on GitHub https://github.com/gerritv/Grbl-Panel/issues/12#issuecomment-63256653.

gerritv commented 10 years ago

Work Offsets are from Machine 0, aka Home wherever that is. So you enter machine coordinates plus/minus your finder diameter. Re: automating, the first problem is knowing whether to add or subtract the edge finder radius to the machine position. I am having a hard time seeing how this can be made to work.

Legendaire commented 10 years ago

Do you have a copy of mach3 available? The offsets tab gives buttons from which to choose as to where your edge finder is and on what axis to set. It has a graphic to give a visual of what is happening. So, behind the scenes one would find current machine coords, add or subtract the offset to x or y depending on the button pressed, and then g10 to set the new position. On Nov 17, 2014 4:51 PM, "Gerrit" notifications@github.com wrote:

Work Offsets are from Machine 0, aka Home wherever that is. So you enter machine coordinates plus/minus your finder diameter. Re: automating, the first problem is knowing whether to add or subtract the edge finder radius to the machine position. I am having a hard time seeing how this can be made to work.

— Reply to this email directly or view it on GitHub https://github.com/gerritv/Grbl-Panel/issues/12#issuecomment-63399059.

gerritv commented 10 years ago

I guess I will have to load Mach3 :-) I hope to spend a bunch of days on Grbl-Panel soon, this will get added to my list.

In meantime I hope what is there will work for you.

Legendaire commented 10 years ago

It will. I often hesitate to ask for something to be added since, in essence, I am making more work for you. Would you be open to feature suggestions which you can always turn down?

On Mon, Nov 17, 2014 at 5:48 PM, Gerrit notifications@github.com wrote:

I guess I will have to load Mach3 :-) I hope to spend a bunch of days on Grbl-Panel soon, this will get added to my list.

In meantime I hope what is there will work for you.

— Reply to this email directly or view it on GitHub https://github.com/gerritv/Grbl-Panel/issues/12#issuecomment-63404579.

gerritv commented 10 years ago

My time for the next month and a bit is very constrained but I also don't want this tool to wither. Suggestions are always welcome. I have some already bunched up, e.g. downgrading the com code to work with Mono and a few other internal things as well as M1/M6 related work.. Mark them as Enhancement and if you can't (blocked?) then I will so they don't get lost.

gerritv commented 9 years ago

I reviewed the http://home.comcast.net/~cncwoodworker/2010.html screenset, it has a decent implementation and a description of what you are looking for. Not sure when I can implement this, I am away from my machine until at least June 2015 :-(

Legendaire commented 9 years ago

Yes, exactly like that. One would just click on the text box next to X, Y, or Z and type in a value. I am not in any hurry for this to be put in. It's just a bummer you have to be away from your machine for so long.

On Tue, Jan 6, 2015 at 8:27 AM, Gerrit notifications@github.com wrote:

I reviewed the http://home.comcast.net/~cncwoodworker/2010.html screenset, it has a decent implementation and a description of what you are looking for. Not sure when I can implement this, I am away from my machine until at least June 2015 :-(

— Reply to this email directly or view it on GitHub https://github.com/gerritv/Grbl-Panel/issues/12#issuecomment-68879302.

gerritv commented 7 years ago

@Legendaire Finally I implemented the main part of this request. The edge finding has to stil wait until I have a working machine, that might be a while yet.