Thanks Andy; The thing I am stumbling over is What to connect the touch switch pin to in the .hal file. After that I have no idea ask but I think you may have answered some of it. Thanks again. Don
On Thu, Sep 8, 2011 at 3:51 PM, andy pugh <bodge...@gmail.com> wrote: > On 8 September 2011 19:19, Don Stanley <dstanley1...@gmail.com> wrote: > > > I need to implement Manual Tool Change Length Probing on an > > EMC2 2.4.5 mill to avoid breaking the G-code into many parts. > > I have several versions of the G-code subroutines. > > I don't think that there are any settings which will do it automatically. > > I think you should be able to replace all M6 T3 with O<toolchange> [3] > though. > > I think that the O<toolchange> would then have to call M6 in the > normal way, and do a G43, then G0 to some tolerance above the setting > plate, do a G38 probe, then do a bit if maths with the values in #5063 > and #5403, and use the value in a G10 L1, or maybe a fixed/known > relationship between the toolsetter and the machine coordinates and > then a bit of clever in the O<sub> to pick the right Z offset for the > current coordinate system (which I think is #[5214 + 9 * 5220] ) and a > G10 L10. > > If you don't have a tool setter, but can measure the tool-length > (maybe even just height-above-table measured with a caliper with a > suitable choice of toolchange position) then the G10 could pull a > measurement out of a textbox in a GladeVCP panel. > > I probably am not answering the question you asked am I? > > -- > atp > "Torque wrenches are for the obedience of fools and the guidance of wise > men" > > > ------------------------------------------------------------------------------ > Doing More with Less: The Next Generation Virtual Desktop > What are the key obstacles that have prevented many mid-market businesses > from deploying virtual desktops? How do next-generation virtual desktops > provide companies an easier-to-deploy, easier-to-manage and more affordable > virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users > ------------------------------------------------------------------------------ Doing More with Less: The Next Generation Virtual Desktop What are the key obstacles that have prevented many mid-market businesses from deploying virtual desktops? How do next-generation virtual desktops provide companies an easier-to-deploy, easier-to-manage and more affordable virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users