Hello Sirs/Ladies,
I was wondering if any has encountered/worked around this issue:
Following bizarre behavior related to a remapped M6 (the machine would
automatically load the last gcode file without me knowing), I came in need to
have the machine automatically reload the gcode file following an abort/manual
stop of a program run. I have included the attached oword module, and
<on_abort> is set to be called from ini file.
All is fine with no errors, except that the reload takes more than 30 seconds
to finish. Even manually calling the function from MDI takes that long. On the
other hand, clicking the reload button on AXIS gui takes less than a second to
perform the reload. Also, manually issuing the "axis-remote --reload" from
terminal takes just a second or so. Am I missing something here?
.......Of course, a better solution would be to keep the machine from changing
gcode file on its own accord
Thank you and kind regards,
terans
from interpreter import *
import os
def on_abort(self, *words):
print("aborting")
self.execute("M65 P00")
self.execute("M65 P01")
self.execute("T0")
os.system("axis-remote --reload ")
def reload(self, *words):
os.system("axis-remote --reload ")
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users