On Mon, 2011-11-14 at 16:06 +0330, Farzin Kamangar wrote: ... snip > 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. ... snip
I use HAL comps for my changers. My lathe has a simple one: http://www.wallacecompany.com/cnc_lathe/HNC/emc2/turret.comp because I just need to turn bits on and off at the proper time. My mill comp will be much more complicated but uses the same sort of method of looping through and checking status, reacting, then setting new status. Karl made a comp for his mill: http://www.wallacecompany.com/machine_shop/Shizuoka/qdtoolchange.comp I move my carousel with pwmgen and limit3, but so far there is no way to to move any axes other than with the .ini parameters you mentioned before. I am very reluctant to use machine dependent code, such as for a changer, in my g-code files. -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/index.html California, USA ------------------------------------------------------------------------------ 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
