Re: [Emc-users] Adjusting Work Coordinates and Offsets?

2013-01-23 Thread Todd Zuercher
What I ended up using can be seen here:
http://linuxcnc.org/index.php/english/forum/10-advanced-configuration/26051-incremental-adjustment-of-work-coordinates?limitstart=0


- Original Message -
I have used this to offset my z axis in proportion to spindle growth 
from heat.

I did also put a limit3 before it the offset hal component so that it 
limited the distance, acceleration and velocity.

sam

On 01/20/2013 03:25 PM, andy pugh wrote:
 On 20 January 2013 20:46, Todd  Zuercher
 zuerc...@embarqmail.com wrote:
 This idea does sound very interesting. Now how do I do it?
 http://www.linuxcnc.org/docs/html/man/man9/offset.9.html

 Insert between Z-command and Z-motor-position.



--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

-- 


Todd Zuercher
mailto:zuerc...@embarqmail.com



--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Adjusting Work Coordinates and Offsets?

2013-01-20 Thread andy pugh
On 17 January 2013 22:19, Todd  Zuercher
zuerc...@embarqmail.com wrote:

 The machine operators often need to make small adjustments to the depth of 
 the carving, bumping it up or down a few thousanths.

For that particular use-case it might be appropriate to have a PyVCP
slider connected directly to a HAL offset function.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Adjusting Work Coordinates and Offsets?

2013-01-20 Thread Gene Heskett
On Sunday 20 January 2013 12:41:50 andy pugh did opine:
Message additions Copyright Sunday 20 January 2013 by Gene Heskett

 On 17 January 2013 22:19, Todd  Zuercher
 
 zuerc...@embarqmail.com wrote:
  The machine operators often need to make small adjustments to the
  depth of the carving, bumping it up or down a few thousanths.
 
 For that particular use-case it might be appropriate to have a PyVCP
 slider connected directly to a HAL offset function.

I'm drooling over over that possibility Andy, it would be handier than 
bottled beer or sliced bread! 


Cheers, Gene
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
My web page: http://coyoteden.dyndns-free.com:85/gene is up!
My views 
http://www.armchairpatriot.com/What%20Has%20America%20Become.shtml
Linux -- Have you administered a real OS today?
I was taught to respect my elders, but its getting 
harder and harder to find any...

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Adjusting Work Coordinates and Offsets?

2013-01-20 Thread Todd Zuercher
This idea does sound very interesting. Now how do I do it?

- Original Message -
On Sunday 20 January 2013 12:41:50 andy pugh did opine:
Message additions Copyright Sunday 20 January 2013 by Gene Heskett

 On 17 January 2013 22:19, Todd  Zuercher
 
 zuerc...@embarqmail.com wrote:
  The machine operators often need to make small adjustments to the
  depth of the carving, bumping it up or down a few thousanths.
 
 For that particular use-case it might be appropriate to have a PyVCP
 slider connected directly to a HAL offset function.

I'm drooling over over that possibility Andy, it would be handier than 
bottled beer or sliced bread! 


Cheers, Gene
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
My web page: http://coyoteden.dyndns-free.com:85/gene is up!
My views 
http://www.armchairpatriot.com/What%20Has%20America%20Become.shtml
Linux -- Have you administered a real OS today?
I was taught to respect my elders, but its getting 
harder and harder to find any...

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

-- 


Todd Zuercher
mailto:zuerc...@embarqmail.com



--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Adjusting Work Coordinates and Offsets?

2013-01-20 Thread andy pugh
On 20 January 2013 20:46, Todd  Zuercher
zuerc...@embarqmail.com wrote:
 This idea does sound very interesting. Now how do I do it?

http://www.linuxcnc.org/docs/html/man/man9/offset.9.html

Insert between Z-command and Z-motor-position.

-- 
atp
If you can't fix it, you don't own it.
http://www.ifixit.com/Manifesto

--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Adjusting Work Coordinates and Offsets?

2013-01-20 Thread sam sokolik
I have used this to offset my z axis in proportion to spindle growth 
from heat.

I did also put a limit3 before it the offset hal component so that it 
limited the distance, acceleration and velocity.

sam

On 01/20/2013 03:25 PM, andy pugh wrote:
 On 20 January 2013 20:46, Todd  Zuercher
 zuerc...@embarqmail.com wrote:
 This idea does sound very interesting. Now how do I do it?
 http://www.linuxcnc.org/docs/html/man/man9/offset.9.html

 Insert between Z-command and Z-motor-position.



--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Adjusting Work Coordinates and Offsets?

2013-01-18 Thread Marcus Bowman
I think these have been suggested, but just to clarify (as much in my mind as 
anyone else's):

(a) Assuming you decide the Z height is to be 0.1 lower than it is at the 
moment, use MDI mode to go to a known position (say X0 Y10 Z20), Step Jog down 
0.1 and Home Z to a value of 20. 

(b) G92 can be used, with care, and that can be set manually, so once you know 
how much you need to add (+ or -) you can manually enter the appropriate G92 
using MDI mode. Go to X0 Y10 Z20 then, assuming you want an extra 0.1 on Z, G92 
X0 Y10 Z19.9 should apply a global offset. G92.1 will cancel that offset.

(c) You could alter the tool offset in the Tool Offset table. I think this can 
be done quickly and conveniently via FileEdit tool table, or if you issue a T~ 
M6 command, but it would let you enter a new value directly. Once completed, 
you need to invoke a G43 to have the change take effect, but that could be in 
the program when it runs, anyway.

(d) You could use a G10 L20 command. Take the tool to a known position like X0 
Y10 Z20. Assuming you want to make it X0 Y10 Z19.9 (so that you are effectively 
getting an extra 0.1 depth next time you run the program)  then type G10 L20 X0 
Y10 Z19.9 and LinuxCNC will calculate the offsets required to assign those 
co-ordinates to that point. That is done in MDI mode. When you run the program 
again, the Z will be 0.1 lower without altering the depths in the program. 

(e) Less handy - you might be able to leave the G54 offsets as they are, but 
always add a variable whose value is picked up from a memory location. The 
added-on value would be set manually, either by defining its value at the 
start of the program (so this would mean a quick edit to set its value), by 
placing it directly into the memory location using MDI mode, or by defining a 
button to set its value. When the program runs next time, it will pick the 
value up and add it on to the position. This is a bit like adding a wear offset 
(see http://comments.gmane.org/gmane.linux.distributions.emc.devel/6631 ) which 
is not currently implemented in LinuxCNC. I have not tried this.

These would all require some testing and checking, as my machine is off at the 
moment, so I have not tried these out (although the situation is familiar 
enough, and I have used (a) to (d) regularly. Simplest is best, of course, so 
(a) is often enough for my jobs.

Regards,

Marcus

On 18 Jan 2013, at 05:51, Chris Radek wrote:

On Thu, Jan 17, 2013 at 09:37:30PM -0500, Erik Friesen wrote:
 
 One downside to this, is that unless your chosen variable is persistent, it
 won't show up correctly in the axis preview.  One workaround is to use one
 of the unused persistent variables from something, or the way I did it, I
 custom built linuxcnc to add some loose persistent variables.

It may not be well documented, but any variable number becomes
persistent if you just add it to your var file manually.


--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Adjusting Work Coordinates and Offsets?

2013-01-17 Thread Todd Zuercher


Is there a simple  way to add or subtract a small amount to the offset for an 
axis.  It seems all the G10 commands replace the stored value, What I would 
like is a comand that adds to the old one regaurdless of machine position .  Is 
there such a thing?  How hard would it be to make one? 



I need this for a wood carving machine.  The machine operators often need to 
make small adjustments to the depth of the carving, bumping it up or down a few 
thousanths.  Using touch off is a bit cumbersum, the operator either has to do 
the math to figure out what the new offset should be and type it in, or jog the 
machine from the machine 0  (where the machine parks) to the new part 0 then 
touch off.  



I would love to be able to set up a pyvcp panel with buttons like incremental 
jog buttons that could jog the selected coordinate offsets incrementally.  
But I don't see an easy way to set this up. 
-- 

 

Todd Zuercher 
mailto:zuerc...@embarqmail.com 

 
--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Adjusting Work Coordinates and Offsets?

2013-01-17 Thread Erik Friesen
This takes some special work for your g code, but I have done something
remotely similar.  What I did was use the G54-59 offset system and G file
subroutines called from pyvcp.

If I have this straight in my mind what you are doing, it would be
something like this.

1. Home to G54 x,y, and z.

2. Pre-define some variable(for Z offset) that is set using a g subroutine
called from a pyvcp button/value combo.

3. Include a subroutine or code in your G code(set up your post processor
to include it) that sets up G55 based on G54 + your Z offset, and sets the
coordinate system to G55.

4.  Include code ending to put back to coordinate G54.

One downside to this, is that unless your chosen variable is persistent, it
won't show up correctly in the axis preview.  One workaround is to use one
of the unused persistent variables from something, or the way I did it, I
custom built linuxcnc to add some loose persistent variables.


On Thu, Jan 17, 2013 at 6:38 PM, Kirk Wallace
kwall...@wallacecompany.comwrote:

 On Thu, 2013-01-17 at 17:19 -0500, Todd Zuercher wrote:
 
  Is there a simple  way to add or subtract a small amount to the offset
  for an axis.  It seems all the G10 commands replace the stored value,
  What I would like is a comand that adds to the old one regaurdless of
  machine position .  Is there such a thing?  How hard would it be to
  make one?

 I seem to recall something like this with the G92 code:
 http://www.linuxcnc.org/docs/html/gcode/coordinates.html

 Sorry, if this is a red herring.
 --
 Kirk Wallace
 http://www.wallacecompany.com/machine_shop/
 http://www.wallacecompany.com/E45/index.html
 California, USA



 --
 Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
 MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
 with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
 MVPs and experts. ON SALE this month only -- learn more at:
 http://p.sf.net/sfu/learnmore_122712
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Adjusting Work Coordinates and Offsets?

2013-01-17 Thread Chris Radek
On Thu, Jan 17, 2013 at 09:37:30PM -0500, Erik Friesen wrote:
 
 One downside to this, is that unless your chosen variable is persistent, it
 won't show up correctly in the axis preview.  One workaround is to use one
 of the unused persistent variables from something, or the way I did it, I
 custom built linuxcnc to add some loose persistent variables.

It may not be well documented, but any variable number becomes
persistent if you just add it to your var file manually.


--
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users