I've done a bit more work on this.  I've made an assumption that the  home 
switch is about 5" from the theoretical lathe centerline with a specific tool 
inserted in a fixed holder.

I home the cross slide setting 0.000 into the world coordinates G53 location.  
Then move it -4.0" inwards which puts it conveniently at exactly 0.5" from the 
real lathe center line.

Now we want the DRO to read 0.5" at this point, not -4.000.  So this is where 
the G54 comes in and the AXIS Touch Off Tool dialog.  In that dialog we'd enter 
0.5" which then ends up putting a value into the G54 offsets locations which 
then is combined with the G53 to fill in the DRO position fields to show the 
position relative to this new 'home' position.

Since I had trouble getting my head around this I wrote a small program to 
simulate some of the AXIS interface.  I haven't done the tool table stuff yet.  
I want to get this clarified first.

What I'm not sure about is whether I'm doing the math (and the sign of the 
value or even the value) correctly in the G54 locations.

I've attached some screen shots.   These shots show the initial move, the touch 
and then the change to G54.  It appears to work.

John



_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to