GearHeads Corner
July 22, 2019, 06:53:32 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: 1 2 [3]
  Print  
Author Topic: Trying to setup Auggie on cnc machine  (Read 939 times)
0 Members and 1 Guest are viewing this topic.
ArtF
Administrator
Hero Member
*****
Posts: 5320



View Profile
« Reply #30 on: February 19, 2019, 08:33:24 AM »

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.. ZeroToPro be.

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

if( state ) // buttons will send two calls, one for press, one for release, so check states..
{
  GlobalSet( "InvertPro be", 0 );  //set probe normal
  Engine.GC ode( "G38 Z-25 F100" ); //slow down to touch plate or probe
  GlobalSet( "InvertPro be", 1 ); //invert probe
  Engine.GC ode( "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 compensat ion, you can set it with
G43Hnn.nn n 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 inconveni ent 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. Smiley

Art


Logged
Cyrille
Newbie
*
Posts: 15


View Profile
« Reply #31 on: February 21, 2019, 01:45:37 AM »

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
Logged
ArtF
Administrator
Hero Member
*****
Posts: 5320



View Profile
« Reply #32 on: February 21, 2019, 07:38:24 AM »

Hi Cyrille:

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

Art
Logged
Pages: 1 2 [3]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!