Greetings all; I just trim to trim the z backlash (its hopeless, wait for new ball screw) and set my auto-zero-cal code up to establish its home position as being the back end of this gage I have made.
The code I think, is doing exactly what I wrote it to do, but when I run it, expecting it to set the co-ordinates of g54 properly, I find its setting it relative to whatever it thinks home is. Not at all useful. It appears that I need a method to use this gage twice, once to home the lathe, and then to establish the offset, the touch off IOW, doing both again when I have completed a part and have brought the stock thru the chuck and re-clamped it in preparation for making the next copy of the part. So it appears I will need to do an ini axis homing section, per axis to home it, but this is going to need a switchable home method dependent on the tool mounted since the x home will need to be searched from the outside in for a normal tool, but from the inside out for a boring bar tool. So, is there a way to use the tool number to switch this homing sequence? Or, alternatively, and AFAIAC, the much better way, a method of setting the "home" position of an axis from gcode? Something like a brute force setting of one of the $5xxx variables? Home as one of those vars, doesn't seem to be assigned in the rather limited list included in the G54-etc section of the gcode. All that covers is the variations of co-ordinate systems. Then, can I 'net' the debounced signal from the probe, into the motion.home tree somehow, but without normal probe activity mucking with motions idea of 'home'? Thanks for any guidance. 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> Seize the day, put no trust in the morrow! -- Quintus Horatius Flaccus (Horace) 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_122712 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users