Hi!  I'm merrily trying to remap M6 using the guidelines at
http://linuxcnc.org/docs/devel/html/remap/structure.html#_configuring_iocontrol_with_a_remapped_m6.
 I'm trying to use all-python to implement my rack toolchanger.

I have some stuff working - change_epilog in stdglue.py is called, my code
executes and moves the spindle to the correct location for the new tool,
etc. But change_epilog isn't called.  I put a print statement as the first
line in both change_prolog and change_epilog - the former is executed but
the latter is not.

Perhaps as a result of change_epilog not getting called, my current tool is
never changed from -1.  (Although that could be something else if there's a
step I'm missing in my toolchange code.)

My ini file line is
REMAP=M6 modalgroup=6 prolog=change_prolog epilog=change_epilog
py=toolchange

and the epilog signature (unchanged from src) is
def change_epilog(self, **words):

Any advice?

Thanks!
Rod
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to