Farzin, an alternate route would be to use an M6 remapped to a o-word procedure, which is now in master.
For an example, see http://git.linuxcnc.org/gitweb?p=emc2.git;a=tree;f=configs/sim/remap/manual-toolchange-with-tool-length-switch;h=88bb75a5ddc14e33637975e7095cb5be978ec2aa;hb=0bf76007cb3a11c9218bb2cf03367313d77290a6 . Documentation on remapping is here: http://www.linuxcnc.org/docs/devel/html/remap/structure.html -Michael Am 14.11.2011 um 13:36 schrieb Farzin Kamangar: > Hello, dear EMC users; > Considering the tool changing process, is there a way to send some > movement commands from PLC to CNC? > I have entered the TOOL_CHANGE_POSITION and TOOL_CHANGE_QUILL_UP in the INI > file and in the EMCIO section. This is fine and causes the tool go to the > tool change > position. Now I need to move an axis towards the tool changer, orient the > spindle, open the tool collet, move the tool changer carrousel to the old > tool position, put the old tool > back in its position, move the carrousel to the new tool position, grab the > tool, close the tool collet and go back to the cutting area to continue. I > was wondering how these > actions could be done without using subroutine calls in the Gcode? Please > let me know if I am not clear enough. Thanks > Farzin > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Emc-users mailing list > Emc-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users