On 22 October 2014 23:06, Pete Matos <petefro...@gmail.com> wrote: > Timing setups will > be needed to get it working safely.
Coding a timeout in G-code should be easy, though I have never tried. M66 (for example) sets #5399 if it times-out, and the remap structure introduces both the (abort, ) "magic comment" and a way to specify a clean-up routine in the INI file. http://www.linuxcnc.org/docs/html/remap/structure.html#_error_handling_dealing_with_abort So, M66 P1 L1 Q5 O100 IF [#5399 LT 0] (abort, Oh Noes!) O100 endif http://linuxcnc.org/docs/html/gcode/m-code.html#sec:M66-Input-Control indicates that there are only 4 analogue and digital inputs, but actually that is configurable in the loadrt motmod line: http://linuxcnc.org/docs/html/man/man9/motion.9.html (num_dio and num_aio) -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users