On Wed, Apr 03, 2013 at 09:09:33PM +0200, Henrik Munktell wrote: > Still having problems with M code executing "axis-remote --reload". > > Read this post: > > http://www.linuxcnc.org/index.php/english/forum/10-advanced-configuration/24367-creating-a-qone-button-touch-offq-button?start=10#28660 > > Just updated to latest master and this still bugs me. I call this M code in > a probe routine to reload the gcode, and then perform a Z retract. Problem > is that code after the M155 call is not executed, and thus not the Z > retract. This is my probe sub:
axis-remote --reload tells AXIS to do the same thing it does when you poke the reload button. It only makes sense to do this while in manual mode with no program running. You've contrived a way to trigger it while a program is running, but that's just not going to work. When I try that at the shell with a program running, I get an error: % axis-remote --reload axis cannot accept remote command while running When I poke the reload button (which should be greyed out) while a program's running, it does nothing. I am not sure why you are getting anything other than a simple error but that is mostly beside the point. This will not work and you need to accomplish your goal (and I'm not actually sure what it is) in a different way. ------------------------------------------------------------------------------ Minimize network downtime and maximize team effectiveness. Reduce network management and security costs.Learn how to hire the most talented Cisco Certified professionals. Visit the Employer Resources Portal http://www.cisco.com/web/learning/employer_resources/index.html _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users