On Monday, November 14, 2011 08:06:29 AM Farzin Kamangar did opine: > 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
Farzin: Subroutine calls are great ways to not have to re-invent the wheel, and since the code executes at many times the speed the machine can move, shrinking the line count in the GCode by orders of magnitude, I don't understand the reticence you have to their use. I have used them to advantage, in one case 90 lines of GCode took about 35 hours to run on my admitted slow toy machine. No tool changes involved in that instance, so I just left it running, lights out. Can you elaborate on why you want to avoid using this valuable programming tool? 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> If God had meant for us to be naked, we would have been born that way. ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
