On Sat, Sep 04, 2010 at 05:00:17PM -0500, Stuart Stevenson wrote: > Gentlemen, > I am working on the tool change for the Enshu. The spindle and the axes > are working. I need to be able to inhibit the tool change sequence if the Z > axis is NOT in tool change position. I have been unable to understand how to > do this. > comments? suggestions? solutions? > thanks > Stuart
If Z tool change location is Z=0, you can put [EMCIO]TOOL_CHANGE_QUILL_UP=1 to make it always lift up all the way when you do M6. You can also have a [EMCIO]TOOL_CHANGE_POSITION defined, containing all three axes, if you want to move the table to a safe location. On my VMC I have both of these defind, so it goes up all the way and then moves the table so the arm has room to swing. For additional safety I also set up my ladder to require the Z home switch to be activated in order for a tool change to run. This would avoid a smashup if for some reason EMC "forgot" to move Z up. (This has never happened...) If you don't have your home switch in such a convenient location (and can't move it) maybe you can use a wcomp component on your Z position: http://linuxcnc.org/docs/2.4/html/man/man9/wcomp.9.html There is some information about the various tool change location variables here: http://linuxcnc.org/docs/2.4/html/config_ini_config.html#sub:[EMCIO]-Section ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users