On 4 September 2014 15:17, Marius Liebenberg <[email protected]> wrote:
> I understand that one can get a value from HAL into a gcode sub routine. > I am trying to set a HAL pin from my gcode but it seems not to want to > happen. The #<_hal[hal.pin.name]> format is read-only, so the easy option is unfortunately not available. To set a HAL pin you need to use the G-code "analog output" or "digital output". See M62 etc: http://www.linuxcnc.org/docs/html/gcode/m-code.html#sec:M62-M65 -- atp If you can't fix it, you don't own it. http://www.ifixit.com/Manifesto ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
