Dave pravi:
OK.. now I am confused.   I haven't looked at Les' jog during tool change fix.  
 Where is that fix documented?  Is it in the Wiki?

I have no idea why that is not in V2.4.  Perhaps no one asked that it be 
included?

Are you saying that you can do a jog during a tool change but you cannot do a 
jog during a pause?

I can clearly see the value of doing a jog during a pause as I have seen 
cutters get bound up with stringy swarf many times.

Dave

The fix has no other documentattion than just posts on this list long time ago. It alow jog/touchOff during tool change as it's executed when toolchange appears. How to execute it just on M1 or pause I don't know.

From discussion there are some user's that realy like that feature enabled and in opposite group that say's this is danger operation. On big commercial machines that sort of thing is (can be) enabled and only warning in manual tell's that this can be dangerous. I don't think that we need some automatic here. KISS is the best. If user pause machine and stop spindle collant's or whatever or jog machine the 1'st thing when machine resume operation is to move xyz to last coordinate in linear move. If they hit fixture that's operator problem not the problem for developer of software. So before resume the user is responsible to jog machine back into position when linear move can't hurd and before resume to turn on spindle collant as is before.

Slavko.

p.s.
here is repost of hal_manualtoolchange.py
#!/usr/bin/env python
import sys, os
import gettext
BASE = os.path.abspath(os.path.join(os.path.dirname(sys.argv[0]), ".."))
gettext.install("emc2", localedir=os.path.join(BASE, "share", "locale"), 
unicode=True)

import emc, hal

def do_change(n):
    if n:
        message = _("Insert tool %d and click continue when ready") % n
    else:
        message = _("Remove the tool and click continue when ready")
    app.wm_withdraw()
    app.update()
    app.tk.call("nf_dialog", ".tool_change",
        _("Tool change"), message, "info", 0, _("Continue"))
    h.changed = True
    app.update()

h = hal.component("hal_manualtoolchange")
h.newpin("number", hal.HAL_S32, hal.HAL_IN)
h.newpin("change", hal.HAL_BIT, hal.HAL_IN)
h.newpin("changed", hal.HAL_BIT, hal.HAL_OUT)
h.ready()

import Tkinter, nf, rs274.options

app = Tkinter.Tk(className="AxisToolChanger")
app.wm_geometry("-60-60")
app.wm_title(_("AXIS Manual Toolchanger"))
rs274.options.install(app)
nf.start(app); nf.makecommand(app, "_", _)
app.wm_protocol("WM_DELETE_WINDOW", app.wm_withdraw)
lab = Tkinter.Message(app, aspect=500, text = _("\
This window is part of the AXIS manual toolchanger.  It is safe to close \
or iconify this window, or it will close automatically after a few seconds."))
lab.pack()

def withdraw():
    app.wm_withdraw()
    app.bind("<Expose>", lambda event: app.wm_withdraw())

app.after(10 * 1000, withdraw)

try:
    while 1:
        change = h.change
        if change and not h.changed:
            do_change(h.number)
        elif not change:
            h.changed = False
        app.after(100)
        app.update()
except KeyboardInterrupt:
    pass
------------------------------------------------------------------------------

_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to