On 28 August 2016 at 00:54, <dan...@austin.rr.com> wrote: > So is there any way to signal from the .ngc back to the HAL?
Yes, that is what codes M62 to M68 do: http://linuxcnc.org/docs/2.7/html/gcode/m-code.html#mcode:m62-m65 > Lemme see, is there a NEED for the .ngc to talk back? Can HAL logic alone > launch the .ngc and reliably implement this without anything back? I don't think so. You can't guarantee that both "watchers" have seen the signal if one is running in realtime and one in userspace. > How do I make a latch in HAL? Is that just the flipflop logic component? Yes. You might find that estop_latch has the right behaviour, or can be set up to have. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1916 ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users