On Sun, 25 Apr 2021 at 12:27, andrew beck <[email protected]> wrote:
> I would like to be able to change hal values depending on what a if > statement says. Basically I want to deactivate my Linuxcnc hal controlled > spindle ramp of I am rigid tapping. Either by doing a setp on the rate of > change or swapping two hal signals. Is that possible? Yes, you could either use a User M-code to setp the hal value (see the M100-M199 docs for an example) Or you could use a mux2 component to switch the value. That would make sense if there was a way to tell (in HAL) that the system was rigid-tapping, but that doesn't seem to be a specific value on motion.motion-type, so might not be possible. -- 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, 1912 _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
