I've played a bit with EMC and found that it's impossible to call function with some M66 or probing instructions in MDI mode. To be correct it's possible but stops at first instruction returing INTERP_EXECUTE_FINISH. So I'm sending for review patch set fixing this problem. It is split into 3 patches: first fixing src/emc/rs274ngc execution code, second adding emcTaskPlanLevel into src/emc/task and third adding control loop into milltask.
Third patch is most dirty since I've not found correct way to mark command in EMC_TASK_PLAN_EXECUTE message as NULL. One possible way is to add bool field to the message and set it when NULL command is needed but "autogenerated" commens in emc/nml_intf/emc.cc scared me a lot. Pavel ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers