Trying to setup Auggie on cnc machine

Discussions and file drops for Auggie
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4591
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: Trying to setup Auggie on cnc machine

Post by ArtF »

Cyrille:

  OK, just so I never forget, I added a script call for Gcode, in future to do a very exact
zero you can drop a button on the screen, Give it a variable name of say.. ZeroToProbe.

Then in the GCode library add a function named ZeroToProbe( state ).
In it you would script..

if( state ) // buttons will send two calls, one for press, one for release, so check states..
{
  GlobalSet( "InvertProbe", 0 );  //set probe normal
  Engine.GCode( "G38 Z-25 F100" ); //slow down to touch plate or probe
  GlobalSet( "InvertProbe", 1 ); //invert probe
  Engine.GCode( "G38 Z0 F1" ); //very slow rise for 1 step accuracy.
}

        That should suffice for pretty accurate zeroing. I have not tested all
this on a machine, I'm using laser mirrors at the moment as axis, so I will
leave it to you to test as you get there. Ill release in a day or two after
more testing in the code.  The only thing I haven't verified is the actual
switch of a probe as I have none hooked up. All else seems to work fine.
  IF you get tempted to use Tool Length compensation, you can set it with
G43Hnn.nnn where nn.nnn is an actual tool length. There is no tool table.

  Be very cautious in testing this, Auggie is pretty complex after one has
not worked in there for a year or two, and getting inconvenient side effects
can happen when I do intrusive additions such as these. Try your probe in
the air to simulate it all to make sure you dont crash. Your the test
pilot. :)

Art


Cyrille
Old Timer
Posts: 15
Joined: Sun Feb 10, 2019 11:09 am

Re: Trying to setup Auggie on cnc machine

Post by Cyrille »

Hello Art,

Thanks so much for this work.

I will try it the week after next (I am away from the cnc this week and on business trip next week:-)... Sorry for the delay.

Is the latest version available from the regular download location?


Cyrille
User avatar
ArtF
Global Moderator
Global Moderator
Posts: 4591
Joined: Sun Sep 05, 2010 6:14 am
Contact:

Re: Trying to setup Auggie on cnc machine

Post by ArtF »

Hi Cyrille:

  Yes, regular download was updated. No rush, No hurry, its there when you need it.

Art
Post Reply

Who is online

Users browsing this forum: No registered users and 69 guests