We routinely use MDI commands in complicated probing macros and detecting errors is difficult but very important. There is no way to definitively know if a single MDI command was run and failed, other then checking for an error message.
After adding a faulty mdi command to the stack we do get a static 'rcs_error' message in the 'state' attribute of the status channel. This would have to be checked before adding the next mdi command.
_______________________________________________ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers